-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'feat/node-migrations' into rlamb/new-data-kinds
- Loading branch information
Showing
20 changed files
with
1,144 additions
and
236 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,6 +1,7 @@ | ||
import InputCustomEvent from './InputCustomEvent'; | ||
import InputEvalEvent from './InputEvalEvent'; | ||
import InputIdentifyEvent from './InputIdentifyEvent'; | ||
import InputMigrationEvent from './InputMigrationEvent'; | ||
|
||
type InputEvent = InputEvalEvent | InputCustomEvent | InputIdentifyEvent; | ||
type InputEvent = InputEvalEvent | InputCustomEvent | InputIdentifyEvent | InputMigrationEvent; | ||
export default InputEvent; |
13 changes: 13 additions & 0 deletions
13
packages/shared/common/src/internal/events/InputMigrationEvent.ts
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,13 @@ | ||
// Migration events are not currently supported by client-side SDKs, so this | ||
// shared implementation contains minimal typing. If/When migration events are | ||
// to be supported by client-side SDKs the appropriate types would be moved | ||
// to the common implementation. | ||
|
||
export default interface InputMigrationEvent { | ||
kind: 'migration_op'; | ||
operation: string; | ||
creationDate: number; | ||
contextKeys: Record<string, string>; | ||
evaluation: any; | ||
measurements: any[]; | ||
} |
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
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
Oops, something went wrong.