@contractspec/example.workflow-system 0.0.0-canary-20260119224109 → 0.0.0-canary-20260119224015
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/approval/approval.event.d.ts +31 -31
- package/dist/approval/approval.event.d.ts.map +1 -1
- package/dist/approval/approval.operations.d.ts +133 -133
- package/dist/approval/approval.operations.d.ts.map +1 -1
- package/dist/approval/approval.schema.d.ts +24 -24
- package/dist/entities/approval.d.ts +36 -36
- package/dist/entities/approval.d.ts.map +1 -1
- package/dist/entities/index.d.ts +127 -127
- package/dist/entities/index.d.ts.map +1 -1
- package/dist/instance/instance.enum.d.ts +2 -2
- package/dist/instance/instance.event.d.ts +87 -87
- package/dist/instance/instance.operations.d.ts +256 -256
- package/dist/instance/instance.schema.d.ts +54 -54
- package/dist/workflow/workflow.operations.d.ts +245 -245
- package/dist/workflow/workflow.schema.d.ts +63 -63
- package/dist/workflow/workflow.schema.d.ts.map +1 -1
- package/package.json +4 -4
|
@@ -1,128 +1,128 @@
|
|
|
1
1
|
import * as _contractspec_lib_contracts4 from "@contractspec/lib.contracts";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _contractspec_lib_schema1 from "@contractspec/lib.schema";
|
|
3
3
|
|
|
4
4
|
//#region src/approval/approval.event.d.ts
|
|
5
5
|
/**
|
|
6
6
|
* ApprovalRequestedEvent - An approval has been requested.
|
|
7
7
|
*/
|
|
8
|
-
declare const ApprovalRequestedEvent: _contractspec_lib_contracts4.EventSpec<
|
|
8
|
+
declare const ApprovalRequestedEvent: _contractspec_lib_contracts4.EventSpec<_contractspec_lib_schema1.SchemaModel<{
|
|
9
9
|
requestId: {
|
|
10
|
-
type:
|
|
10
|
+
type: _contractspec_lib_schema1.FieldType<string, string>;
|
|
11
11
|
isOptional: false;
|
|
12
12
|
};
|
|
13
13
|
instanceId: {
|
|
14
|
-
type:
|
|
14
|
+
type: _contractspec_lib_schema1.FieldType<string, string>;
|
|
15
15
|
isOptional: false;
|
|
16
16
|
};
|
|
17
17
|
workflowKey: {
|
|
18
|
-
type:
|
|
18
|
+
type: _contractspec_lib_schema1.FieldType<string, string>;
|
|
19
19
|
isOptional: false;
|
|
20
20
|
};
|
|
21
21
|
approverId: {
|
|
22
|
-
type:
|
|
22
|
+
type: _contractspec_lib_schema1.FieldType<string, string>;
|
|
23
23
|
isOptional: false;
|
|
24
24
|
};
|
|
25
25
|
approverRole: {
|
|
26
|
-
type:
|
|
26
|
+
type: _contractspec_lib_schema1.FieldType<string, string>;
|
|
27
27
|
isOptional: true;
|
|
28
28
|
};
|
|
29
29
|
title: {
|
|
30
|
-
type:
|
|
30
|
+
type: _contractspec_lib_schema1.FieldType<string, string>;
|
|
31
31
|
isOptional: false;
|
|
32
32
|
};
|
|
33
33
|
dueAt: {
|
|
34
|
-
type:
|
|
34
|
+
type: _contractspec_lib_schema1.FieldType<Date, string>;
|
|
35
35
|
isOptional: true;
|
|
36
36
|
};
|
|
37
37
|
timestamp: {
|
|
38
|
-
type:
|
|
38
|
+
type: _contractspec_lib_schema1.FieldType<Date, string>;
|
|
39
39
|
isOptional: false;
|
|
40
40
|
};
|
|
41
41
|
}>>;
|
|
42
42
|
/**
|
|
43
43
|
* ApprovalDecidedEvent - An approval decision has been made.
|
|
44
44
|
*/
|
|
45
|
-
declare const ApprovalDecidedEvent: _contractspec_lib_contracts4.EventSpec<
|
|
45
|
+
declare const ApprovalDecidedEvent: _contractspec_lib_contracts4.EventSpec<_contractspec_lib_schema1.SchemaModel<{
|
|
46
46
|
requestId: {
|
|
47
|
-
type:
|
|
47
|
+
type: _contractspec_lib_schema1.FieldType<string, string>;
|
|
48
48
|
isOptional: false;
|
|
49
49
|
};
|
|
50
50
|
instanceId: {
|
|
51
|
-
type:
|
|
51
|
+
type: _contractspec_lib_schema1.FieldType<string, string>;
|
|
52
52
|
isOptional: false;
|
|
53
53
|
};
|
|
54
54
|
decision: {
|
|
55
|
-
type:
|
|
55
|
+
type: _contractspec_lib_schema1.FieldType<string, string>;
|
|
56
56
|
isOptional: false;
|
|
57
57
|
};
|
|
58
58
|
decidedBy: {
|
|
59
|
-
type:
|
|
59
|
+
type: _contractspec_lib_schema1.FieldType<string, string>;
|
|
60
60
|
isOptional: false;
|
|
61
61
|
};
|
|
62
62
|
comment: {
|
|
63
|
-
type:
|
|
63
|
+
type: _contractspec_lib_schema1.FieldType<string, string>;
|
|
64
64
|
isOptional: true;
|
|
65
65
|
};
|
|
66
66
|
timestamp: {
|
|
67
|
-
type:
|
|
67
|
+
type: _contractspec_lib_schema1.FieldType<Date, string>;
|
|
68
68
|
isOptional: false;
|
|
69
69
|
};
|
|
70
70
|
}>>;
|
|
71
71
|
/**
|
|
72
72
|
* ApprovalDelegatedEvent - An approval has been delegated.
|
|
73
73
|
*/
|
|
74
|
-
declare const ApprovalDelegatedEvent: _contractspec_lib_contracts4.EventSpec<
|
|
74
|
+
declare const ApprovalDelegatedEvent: _contractspec_lib_contracts4.EventSpec<_contractspec_lib_schema1.SchemaModel<{
|
|
75
75
|
requestId: {
|
|
76
|
-
type:
|
|
76
|
+
type: _contractspec_lib_schema1.FieldType<string, string>;
|
|
77
77
|
isOptional: false;
|
|
78
78
|
};
|
|
79
79
|
instanceId: {
|
|
80
|
-
type:
|
|
80
|
+
type: _contractspec_lib_schema1.FieldType<string, string>;
|
|
81
81
|
isOptional: false;
|
|
82
82
|
};
|
|
83
83
|
fromUserId: {
|
|
84
|
-
type:
|
|
84
|
+
type: _contractspec_lib_schema1.FieldType<string, string>;
|
|
85
85
|
isOptional: false;
|
|
86
86
|
};
|
|
87
87
|
toUserId: {
|
|
88
|
-
type:
|
|
88
|
+
type: _contractspec_lib_schema1.FieldType<string, string>;
|
|
89
89
|
isOptional: false;
|
|
90
90
|
};
|
|
91
91
|
reason: {
|
|
92
|
-
type:
|
|
92
|
+
type: _contractspec_lib_schema1.FieldType<string, string>;
|
|
93
93
|
isOptional: true;
|
|
94
94
|
};
|
|
95
95
|
timestamp: {
|
|
96
|
-
type:
|
|
96
|
+
type: _contractspec_lib_schema1.FieldType<Date, string>;
|
|
97
97
|
isOptional: false;
|
|
98
98
|
};
|
|
99
99
|
}>>;
|
|
100
100
|
/**
|
|
101
101
|
* ApprovalEscalatedEvent - An approval has been escalated.
|
|
102
102
|
*/
|
|
103
|
-
declare const ApprovalEscalatedEvent: _contractspec_lib_contracts4.EventSpec<
|
|
103
|
+
declare const ApprovalEscalatedEvent: _contractspec_lib_contracts4.EventSpec<_contractspec_lib_schema1.SchemaModel<{
|
|
104
104
|
requestId: {
|
|
105
|
-
type:
|
|
105
|
+
type: _contractspec_lib_schema1.FieldType<string, string>;
|
|
106
106
|
isOptional: false;
|
|
107
107
|
};
|
|
108
108
|
instanceId: {
|
|
109
|
-
type:
|
|
109
|
+
type: _contractspec_lib_schema1.FieldType<string, string>;
|
|
110
110
|
isOptional: false;
|
|
111
111
|
};
|
|
112
112
|
escalationLevel: {
|
|
113
|
-
type:
|
|
113
|
+
type: _contractspec_lib_schema1.FieldType<number, number>;
|
|
114
114
|
isOptional: false;
|
|
115
115
|
};
|
|
116
116
|
escalatedTo: {
|
|
117
|
-
type:
|
|
117
|
+
type: _contractspec_lib_schema1.FieldType<string, string>;
|
|
118
118
|
isOptional: false;
|
|
119
119
|
};
|
|
120
120
|
reason: {
|
|
121
|
-
type:
|
|
121
|
+
type: _contractspec_lib_schema1.FieldType<string, string>;
|
|
122
122
|
isOptional: false;
|
|
123
123
|
};
|
|
124
124
|
timestamp: {
|
|
125
|
-
type:
|
|
125
|
+
type: _contractspec_lib_schema1.FieldType<Date, string>;
|
|
126
126
|
isOptional: false;
|
|
127
127
|
};
|
|
128
128
|
}>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"approval.event.d.ts","names":[],"sources":["../../src/approval/approval.event.ts"],"sourcesContent":[],"mappings":";;;;;;;cAiFa,wBAAsB,4BAAA,CAAA,
|
|
1
|
+
{"version":3,"file":"approval.event.d.ts","names":[],"sources":["../../src/approval/approval.event.ts"],"sourcesContent":[],"mappings":";;;;;;;cAiFa,wBAAsB,4BAAA,CAAA,oCAAA;EAAtB,SAAA,EAAA;IAUX,IAAA,EAAA,yBAAA,CAAA,SAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;;;;;;;;EAViC,UAAA,EAAA;IAAA,IAAA,qCAAA,CAAA,MAAA,EAAA,MAAA,CAAA;IAetB,UAAA,EAAA,KAAA;EAUX,CAAA;;;;;;;;EAV+B,CAAA;EAAA,KAAA,EAAA;IAepB,IAAA,qCAUX,KAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,IAAA;;;;;;;;;;AAKW,cA9BA,oBAwCX,EAxC+B,4BAAA,CAAA,SAwC/B,2BAxC+B,WAwC/B,CAAA;EAAA,SAAA,EAAA;UA9BA,yBAAA,CAAA;;;;;;;EAoBiC,QAAA,EAAA;IAAA,IAAA,qCAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;;;;;;;;;;;;;;;;cAftB,wBAAsB,4BAAA,CAAA,oCAAA;;UAUjC,yBAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKW,wBAAsB,4BAAA,CAAA,oCAAA;;UAUjC,yBAAA,CAAA"}
|