-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #104 from codex-team/feat-dismiss
chore(types): export js catcher event type
- Loading branch information
Showing
7 changed files
with
22 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
import 'regenerator-runtime/runtime'; | ||
import Catcher from './catcher'; | ||
import { HawkInitialSettings, AffectedUser } from './types/hawk-initial-settings'; | ||
import { HawkJavaScriptEvent } from './types/event'; | ||
|
||
export default Catcher; | ||
|
||
export { | ||
HawkInitialSettings, | ||
AffectedUser | ||
AffectedUser, | ||
HawkJavaScriptEvent | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import type { EventData, JavaScriptAddons } from '@hawk.so/types'; | ||
|
||
/** | ||
* Event will be sent to Hawk by Hawk JavaScript SDK | ||
*/ | ||
export type HawkJavaScriptEvent = EventData<JavaScriptAddons>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
import CatcherMessage from './catcher-message'; | ||
import HawkInitialSettings from './hawk-initial-settings'; | ||
import { HawkJavaScriptEvent } from './event'; | ||
|
||
export { | ||
CatcherMessage, | ||
HawkInitialSettings | ||
HawkInitialSettings, | ||
HawkJavaScriptEvent | ||
}; |