File tree Expand file tree Collapse file tree 3 files changed +30
-0
lines changed Expand file tree Collapse file tree 3 files changed +30
-0
lines changed Original file line number Diff line number Diff line change
1
+ import { Contract } from "../types.js" ;
2
+ export interface PersonRegisteredContract extends Contract {
3
+ "detail-type" : "PersonRegisteredContract" ;
4
+ detail : {
5
+ "detail-version" : 1 ;
6
+ data : {
7
+ firstName : string ;
8
+ lastName : string ;
9
+ } ;
10
+ } ;
11
+ }
Original file line number Diff line number Diff line change
1
+ import { Contract } from "../types.js" ;
2
+ export interface PersonRegisteredContract extends Contract {
3
+ "detail-type" : "PersonRegisteredContract" ;
4
+ detail : {
5
+ "detail-version" : 2 ;
6
+ data : {
7
+ firstName : string ;
8
+ } ;
9
+ } ;
10
+ }
Original file line number Diff line number Diff line change
1
+ export interface Contract {
2
+ readonly "detail-type" : string ;
3
+ readonly detail : Detail ;
4
+ }
5
+
6
+ export interface Detail {
7
+ readonly "detail-version" : number ;
8
+ readonly data : Record < string , unknown > ;
9
+ }
You can’t perform that action at this time.
0 commit comments