-
-
Notifications
You must be signed in to change notification settings - Fork 64
Expand file tree
/
Copy pathconcerto@1.0.0.ts
More file actions
75 lines (61 loc) · 1.59 KB
/
Copy pathconcerto@1.0.0.ts
File metadata and controls
75 lines (61 loc) · 1.59 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
/* eslint-disable @typescript-eslint/no-unused-vars*/
// Generated code for namespace: concerto@1.0.0
// imports
// Warning: Beware of circular dependencies when modifying these imports
import type {
ILateDeliveryAndPenaltyState
} from './io.clause.latedeliveryandpenalty@0.1.0';
import type {
Month,
Day,
TemporalUnit,
IDuration,
PeriodUnit,
IPeriod
} from './org.accordproject.time@0.3.0';
// Warning: Beware of circular dependencies when modifying these imports
import type {
IContract,
IClause
} from './org.accordproject.contract@0.2.0';
import type {
IState
} from './org.accordproject.runtime@0.2.0';
// Warning: Beware of circular dependencies when modifying these imports
import type {
IRequest,
IResponse
} from './org.accordproject.runtime@0.2.0';
// Warning: Beware of circular dependencies when modifying these imports
import type {
ILateDeliveryAndPenaltyEvent
} from './io.clause.latedeliveryandpenalty@0.1.0';
import type {
IObligation
} from './org.accordproject.runtime@0.2.0';
// interfaces
export interface IConcept {
$class: string;
}
export type ConceptUnion = ILateDeliveryAndPenaltyState |
IDuration |
IPeriod;
export interface IAsset extends IConcept {
$identifier: string;
}
export type AssetUnion = IContract |
IClause |
IState;
export interface IParticipant extends IConcept {
$identifier: string;
}
export interface ITransaction extends IConcept {
$timestamp: Date;
}
export type TransactionUnion = IRequest |
IResponse;
export interface IEvent extends IConcept {
$timestamp: Date;
}
export type EventUnion = ILateDeliveryAndPenaltyEvent |
IObligation;