@lssm/example.workflow-system 0.0.0-canary-20251217060433 → 0.0.0-canary-20251217060804

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.
@@ -1,220 +1,220 @@
1
- import * as _lssm_lib_schema31 from "@lssm/lib.schema";
1
+ import * as _lssm_lib_schema360 from "@lssm/lib.schema";
2
2
 
3
3
  //#region src/instance/instance.schema.d.ts
4
4
  /**
5
5
  * A running workflow instance.
6
6
  */
7
- declare const WorkflowInstanceModel: _lssm_lib_schema31.SchemaModel<{
7
+ declare const WorkflowInstanceModel: _lssm_lib_schema360.SchemaModel<{
8
8
  id: {
9
- type: _lssm_lib_schema31.FieldType<string, string>;
9
+ type: _lssm_lib_schema360.FieldType<string, string>;
10
10
  isOptional: false;
11
11
  };
12
12
  workflowDefinitionId: {
13
- type: _lssm_lib_schema31.FieldType<string, string>;
13
+ type: _lssm_lib_schema360.FieldType<string, string>;
14
14
  isOptional: false;
15
15
  };
16
16
  referenceId: {
17
- type: _lssm_lib_schema31.FieldType<string, string>;
17
+ type: _lssm_lib_schema360.FieldType<string, string>;
18
18
  isOptional: true;
19
19
  };
20
20
  referenceType: {
21
- type: _lssm_lib_schema31.FieldType<string, string>;
21
+ type: _lssm_lib_schema360.FieldType<string, string>;
22
22
  isOptional: true;
23
23
  };
24
24
  status: {
25
- type: _lssm_lib_schema31.EnumType<[string, string, string, string, string, string, string, string]>;
25
+ type: _lssm_lib_schema360.EnumType<[string, string, string, string, string, string, string, string]>;
26
26
  isOptional: false;
27
27
  };
28
28
  currentStepId: {
29
- type: _lssm_lib_schema31.FieldType<string, string>;
29
+ type: _lssm_lib_schema360.FieldType<string, string>;
30
30
  isOptional: true;
31
31
  };
32
32
  contextData: {
33
- type: _lssm_lib_schema31.FieldType<unknown, unknown>;
33
+ type: _lssm_lib_schema360.FieldType<unknown, unknown>;
34
34
  isOptional: true;
35
35
  };
36
36
  triggeredBy: {
37
- type: _lssm_lib_schema31.FieldType<string, string>;
37
+ type: _lssm_lib_schema360.FieldType<string, string>;
38
38
  isOptional: false;
39
39
  };
40
40
  organizationId: {
41
- type: _lssm_lib_schema31.FieldType<string, string>;
41
+ type: _lssm_lib_schema360.FieldType<string, string>;
42
42
  isOptional: false;
43
43
  };
44
44
  priority: {
45
- type: _lssm_lib_schema31.FieldType<number, number>;
45
+ type: _lssm_lib_schema360.FieldType<number, number>;
46
46
  isOptional: false;
47
47
  };
48
48
  dueAt: {
49
- type: _lssm_lib_schema31.FieldType<Date, string>;
49
+ type: _lssm_lib_schema360.FieldType<Date, string>;
50
50
  isOptional: true;
51
51
  };
52
52
  outcome: {
53
- type: _lssm_lib_schema31.FieldType<string, string>;
53
+ type: _lssm_lib_schema360.FieldType<string, string>;
54
54
  isOptional: true;
55
55
  };
56
56
  resultData: {
57
- type: _lssm_lib_schema31.FieldType<unknown, unknown>;
57
+ type: _lssm_lib_schema360.FieldType<unknown, unknown>;
58
58
  isOptional: true;
59
59
  };
60
60
  errorMessage: {
61
- type: _lssm_lib_schema31.FieldType<string, string>;
61
+ type: _lssm_lib_schema360.FieldType<string, string>;
62
62
  isOptional: true;
63
63
  };
64
64
  createdAt: {
65
- type: _lssm_lib_schema31.FieldType<Date, string>;
65
+ type: _lssm_lib_schema360.FieldType<Date, string>;
66
66
  isOptional: false;
67
67
  };
68
68
  startedAt: {
69
- type: _lssm_lib_schema31.FieldType<Date, string>;
69
+ type: _lssm_lib_schema360.FieldType<Date, string>;
70
70
  isOptional: true;
71
71
  };
72
72
  completedAt: {
73
- type: _lssm_lib_schema31.FieldType<Date, string>;
73
+ type: _lssm_lib_schema360.FieldType<Date, string>;
74
74
  isOptional: true;
75
75
  };
76
76
  }>;
77
77
  /**
78
78
  * Input for starting a workflow.
79
79
  */
80
- declare const StartWorkflowInputModel: _lssm_lib_schema31.SchemaModel<{
80
+ declare const StartWorkflowInputModel: _lssm_lib_schema360.SchemaModel<{
81
81
  workflowKey: {
82
- type: _lssm_lib_schema31.FieldType<string, string>;
82
+ type: _lssm_lib_schema360.FieldType<string, string>;
83
83
  isOptional: false;
84
84
  };
85
85
  contextData: {
86
- type: _lssm_lib_schema31.FieldType<unknown, unknown>;
86
+ type: _lssm_lib_schema360.FieldType<unknown, unknown>;
87
87
  isOptional: true;
88
88
  };
89
89
  referenceId: {
90
- type: _lssm_lib_schema31.FieldType<string, string>;
90
+ type: _lssm_lib_schema360.FieldType<string, string>;
91
91
  isOptional: true;
92
92
  };
93
93
  referenceType: {
94
- type: _lssm_lib_schema31.FieldType<string, string>;
94
+ type: _lssm_lib_schema360.FieldType<string, string>;
95
95
  isOptional: true;
96
96
  };
97
97
  priority: {
98
- type: _lssm_lib_schema31.FieldType<number, number>;
98
+ type: _lssm_lib_schema360.FieldType<number, number>;
99
99
  isOptional: true;
100
100
  };
101
101
  dueAt: {
102
- type: _lssm_lib_schema31.FieldType<Date, string>;
102
+ type: _lssm_lib_schema360.FieldType<Date, string>;
103
103
  isOptional: true;
104
104
  };
105
105
  }>;
106
106
  /**
107
107
  * Input for transitioning a workflow.
108
108
  */
109
- declare const TransitionInputModel: _lssm_lib_schema31.SchemaModel<{
109
+ declare const TransitionInputModel: _lssm_lib_schema360.SchemaModel<{
110
110
  instanceId: {
111
- type: _lssm_lib_schema31.FieldType<string, string>;
111
+ type: _lssm_lib_schema360.FieldType<string, string>;
112
112
  isOptional: false;
113
113
  };
114
114
  action: {
115
- type: _lssm_lib_schema31.FieldType<string, string>;
115
+ type: _lssm_lib_schema360.FieldType<string, string>;
116
116
  isOptional: false;
117
117
  };
118
118
  data: {
119
- type: _lssm_lib_schema31.FieldType<unknown, unknown>;
119
+ type: _lssm_lib_schema360.FieldType<unknown, unknown>;
120
120
  isOptional: true;
121
121
  };
122
122
  comment: {
123
- type: _lssm_lib_schema31.FieldType<string, string>;
123
+ type: _lssm_lib_schema360.FieldType<string, string>;
124
124
  isOptional: true;
125
125
  };
126
126
  }>;
127
127
  /**
128
128
  * Result of a workflow transition.
129
129
  */
130
- declare const TransitionResultModel: _lssm_lib_schema31.SchemaModel<{
130
+ declare const TransitionResultModel: _lssm_lib_schema360.SchemaModel<{
131
131
  success: {
132
- type: _lssm_lib_schema31.FieldType<boolean, boolean>;
132
+ type: _lssm_lib_schema360.FieldType<boolean, boolean>;
133
133
  isOptional: false;
134
134
  };
135
135
  instance: {
136
- type: _lssm_lib_schema31.SchemaModel<{
136
+ type: _lssm_lib_schema360.SchemaModel<{
137
137
  id: {
138
- type: _lssm_lib_schema31.FieldType<string, string>;
138
+ type: _lssm_lib_schema360.FieldType<string, string>;
139
139
  isOptional: false;
140
140
  };
141
141
  workflowDefinitionId: {
142
- type: _lssm_lib_schema31.FieldType<string, string>;
142
+ type: _lssm_lib_schema360.FieldType<string, string>;
143
143
  isOptional: false;
144
144
  };
145
145
  referenceId: {
146
- type: _lssm_lib_schema31.FieldType<string, string>;
146
+ type: _lssm_lib_schema360.FieldType<string, string>;
147
147
  isOptional: true;
148
148
  };
149
149
  referenceType: {
150
- type: _lssm_lib_schema31.FieldType<string, string>;
150
+ type: _lssm_lib_schema360.FieldType<string, string>;
151
151
  isOptional: true;
152
152
  };
153
153
  status: {
154
- type: _lssm_lib_schema31.EnumType<[string, string, string, string, string, string, string, string]>;
154
+ type: _lssm_lib_schema360.EnumType<[string, string, string, string, string, string, string, string]>;
155
155
  isOptional: false;
156
156
  };
157
157
  currentStepId: {
158
- type: _lssm_lib_schema31.FieldType<string, string>;
158
+ type: _lssm_lib_schema360.FieldType<string, string>;
159
159
  isOptional: true;
160
160
  };
161
161
  contextData: {
162
- type: _lssm_lib_schema31.FieldType<unknown, unknown>;
162
+ type: _lssm_lib_schema360.FieldType<unknown, unknown>;
163
163
  isOptional: true;
164
164
  };
165
165
  triggeredBy: {
166
- type: _lssm_lib_schema31.FieldType<string, string>;
166
+ type: _lssm_lib_schema360.FieldType<string, string>;
167
167
  isOptional: false;
168
168
  };
169
169
  organizationId: {
170
- type: _lssm_lib_schema31.FieldType<string, string>;
170
+ type: _lssm_lib_schema360.FieldType<string, string>;
171
171
  isOptional: false;
172
172
  };
173
173
  priority: {
174
- type: _lssm_lib_schema31.FieldType<number, number>;
174
+ type: _lssm_lib_schema360.FieldType<number, number>;
175
175
  isOptional: false;
176
176
  };
177
177
  dueAt: {
178
- type: _lssm_lib_schema31.FieldType<Date, string>;
178
+ type: _lssm_lib_schema360.FieldType<Date, string>;
179
179
  isOptional: true;
180
180
  };
181
181
  outcome: {
182
- type: _lssm_lib_schema31.FieldType<string, string>;
182
+ type: _lssm_lib_schema360.FieldType<string, string>;
183
183
  isOptional: true;
184
184
  };
185
185
  resultData: {
186
- type: _lssm_lib_schema31.FieldType<unknown, unknown>;
186
+ type: _lssm_lib_schema360.FieldType<unknown, unknown>;
187
187
  isOptional: true;
188
188
  };
189
189
  errorMessage: {
190
- type: _lssm_lib_schema31.FieldType<string, string>;
190
+ type: _lssm_lib_schema360.FieldType<string, string>;
191
191
  isOptional: true;
192
192
  };
193
193
  createdAt: {
194
- type: _lssm_lib_schema31.FieldType<Date, string>;
194
+ type: _lssm_lib_schema360.FieldType<Date, string>;
195
195
  isOptional: false;
196
196
  };
197
197
  startedAt: {
198
- type: _lssm_lib_schema31.FieldType<Date, string>;
198
+ type: _lssm_lib_schema360.FieldType<Date, string>;
199
199
  isOptional: true;
200
200
  };
201
201
  completedAt: {
202
- type: _lssm_lib_schema31.FieldType<Date, string>;
202
+ type: _lssm_lib_schema360.FieldType<Date, string>;
203
203
  isOptional: true;
204
204
  };
205
205
  }>;
206
206
  isOptional: false;
207
207
  };
208
208
  previousStepKey: {
209
- type: _lssm_lib_schema31.FieldType<string, string>;
209
+ type: _lssm_lib_schema360.FieldType<string, string>;
210
210
  isOptional: true;
211
211
  };
212
212
  currentStepKey: {
213
- type: _lssm_lib_schema31.FieldType<string, string>;
213
+ type: _lssm_lib_schema360.FieldType<string, string>;
214
214
  isOptional: true;
215
215
  };
216
216
  message: {
217
- type: _lssm_lib_schema31.FieldType<string, string>;
217
+ type: _lssm_lib_schema360.FieldType<string, string>;
218
218
  isOptional: true;
219
219
  };
220
220
  }>;