-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat/62 adding schema generator code (#5)
* feat: adding schema-generator code * feat: updating root package.json * feat: adding types file * feat: adding functionality to run tests
- Loading branch information
1 parent
b59f626
commit 64e9c04
Showing
17 changed files
with
4,563 additions
and
111 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
example-architecture/events/contracts/personRegisteredContractV1.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
2 changes: 1 addition & 1 deletion
2
example-architecture/events/contracts/personRegisteredContractV2.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
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,9 @@ | ||
export interface Contract { | ||
readonly "detail-type": string; | ||
readonly detail: Detail; | ||
} | ||
|
||
export interface Detail { | ||
readonly "detail-version": number; | ||
readonly data: Record<string, unknown>; | ||
} |
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.