@lssm/lib.contracts 1.7.1 → 1.7.3
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/app-config/contracts.d.ts +49 -51
- package/dist/app-config/contracts.d.ts.map +1 -1
- package/dist/app-config/contracts.js +1 -1
- package/dist/app-config/contracts.js.map +1 -1
- package/dist/app-config/events.d.ts +26 -28
- package/dist/app-config/events.d.ts.map +1 -1
- package/dist/app-config/events.js +1 -1
- package/dist/app-config/events.js.map +1 -1
- package/dist/app-config/lifecycle-contracts.d.ts +79 -81
- package/dist/app-config/lifecycle-contracts.d.ts.map +1 -1
- package/dist/app-config/lifecycle-contracts.js +1 -1
- package/dist/app-config/lifecycle-contracts.js.map +1 -1
- package/dist/capabilities/openbanking.js.map +1 -1
- package/dist/client/react/form-render.d.ts +0 -1
- package/dist/client/react/form-render.d.ts.map +1 -1
- package/dist/contracts-adapter-input.d.ts +0 -1
- package/dist/contracts-adapter-input.d.ts.map +1 -1
- package/dist/events.d.ts +0 -1
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js +1 -1
- package/dist/events.js.map +1 -1
- package/dist/forms.d.ts +0 -1
- package/dist/forms.d.ts.map +1 -1
- package/dist/install.d.ts +0 -1
- package/dist/install.d.ts.map +1 -1
- package/dist/integrations/contracts.d.ts +101 -103
- package/dist/integrations/contracts.d.ts.map +1 -1
- package/dist/integrations/contracts.js +1 -1
- package/dist/integrations/contracts.js.map +1 -1
- package/dist/integrations/openbanking/contracts/accounts.d.ts +65 -67
- package/dist/integrations/openbanking/contracts/accounts.d.ts.map +1 -1
- package/dist/integrations/openbanking/contracts/accounts.js +1 -1
- package/dist/integrations/openbanking/contracts/accounts.js.map +1 -1
- package/dist/integrations/openbanking/contracts/balances.d.ts +33 -35
- package/dist/integrations/openbanking/contracts/balances.d.ts.map +1 -1
- package/dist/integrations/openbanking/contracts/balances.js +1 -1
- package/dist/integrations/openbanking/contracts/balances.js.map +1 -1
- package/dist/integrations/openbanking/contracts/index.js.map +1 -1
- package/dist/integrations/openbanking/contracts/transactions.d.ts +47 -49
- package/dist/integrations/openbanking/contracts/transactions.d.ts.map +1 -1
- package/dist/integrations/openbanking/contracts/transactions.js +1 -1
- package/dist/integrations/openbanking/contracts/transactions.js.map +1 -1
- package/dist/integrations/openbanking/guards.js.map +1 -1
- package/dist/integrations/openbanking/models.d.ts +54 -57
- package/dist/integrations/openbanking/models.d.ts.map +1 -1
- package/dist/integrations/openbanking/models.js +1 -1
- package/dist/integrations/openbanking/models.js.map +1 -1
- package/dist/integrations/openbanking/telemetry.js.map +1 -1
- package/dist/integrations/providers/powens.js.map +1 -1
- package/dist/jsonschema.d.ts +1 -1
- package/dist/jsonschema.d.ts.map +1 -1
- package/dist/knowledge/contracts.d.ts +65 -67
- package/dist/knowledge/contracts.d.ts.map +1 -1
- package/dist/knowledge/contracts.js +1 -1
- package/dist/knowledge/contracts.js.map +1 -1
- package/dist/knowledge/spaces/product-canon.js.map +1 -1
- package/dist/knowledge/spaces/support-faq.js.map +1 -1
- package/dist/knowledge/spec.js.map +1 -1
- package/dist/onboarding-base.d.ts +28 -30
- package/dist/onboarding-base.d.ts.map +1 -1
- package/dist/onboarding-base.js +1 -1
- package/dist/onboarding-base.js.map +1 -1
- package/dist/presentations.d.ts +0 -1
- package/dist/presentations.d.ts.map +1 -1
- package/dist/presentations.v2.d.ts +0 -1
- package/dist/presentations.v2.d.ts.map +1 -1
- package/dist/regenerator/executor.js.map +1 -1
- package/dist/regenerator/service.js.map +1 -1
- package/dist/regenerator/sinks.js.map +1 -1
- package/dist/regenerator/utils.js.map +1 -1
- package/dist/registry.d.ts +0 -1
- package/dist/registry.d.ts.map +1 -1
- package/dist/resources.d.ts.map +1 -1
- package/dist/schema/{dist → src}/FieldType.js +1 -1
- package/dist/schema/src/FieldType.js.map +1 -0
- package/dist/schema/src/ScalarTypeEnum.js +2 -0
- package/dist/schema/src/ScalarTypeEnum.js.map +1 -0
- package/dist/schema/{dist → src}/SchemaModel.js +1 -1
- package/dist/schema/src/SchemaModel.js.map +1 -0
- package/dist/schema/src/index.js +1 -0
- package/dist/spec.d.ts +0 -1
- package/dist/spec.d.ts.map +1 -1
- package/dist/workflow/spec.d.ts.map +1 -1
- package/package.json +339 -168
- package/dist/schema/dist/FieldType.js.map +0 -1
- package/dist/schema/dist/ScalarTypeEnum.js +0 -2
- package/dist/schema/dist/ScalarTypeEnum.js.map +0 -1
- package/dist/schema/dist/SchemaModel.js.map +0 -1
- package/dist/schema/dist/index.js +0 -1
- /package/dist/schema/{dist → src}/EnumType.js +0 -0
|
@@ -2,80 +2,78 @@ import { EventSpec } from "../events.js";
|
|
|
2
2
|
import { ContractSpec } from "../spec.js";
|
|
3
3
|
import { SpecRegistry } from "../registry.js";
|
|
4
4
|
import "../index.js";
|
|
5
|
-
import * as _lssm_lib_schema102 from "@lssm/lib.schema";
|
|
6
|
-
import { SchemaModel } from "@lssm/lib.schema";
|
|
7
5
|
|
|
8
6
|
//#region src/app-config/lifecycle-contracts.d.ts
|
|
9
7
|
declare const CreateTenantConfigDraftCommand: ContractSpec<SchemaModel<{
|
|
10
8
|
tenantId: {
|
|
11
|
-
type:
|
|
9
|
+
type: void 0<string, string>;
|
|
12
10
|
isOptional: false;
|
|
13
11
|
};
|
|
14
12
|
appId: {
|
|
15
|
-
type:
|
|
13
|
+
type: void 0<string, string>;
|
|
16
14
|
isOptional: false;
|
|
17
15
|
};
|
|
18
16
|
blueprintName: {
|
|
19
|
-
type:
|
|
17
|
+
type: void 0<string, string>;
|
|
20
18
|
isOptional: false;
|
|
21
19
|
};
|
|
22
20
|
blueprintVersion: {
|
|
23
|
-
type:
|
|
21
|
+
type: void 0<number, number>;
|
|
24
22
|
isOptional: false;
|
|
25
23
|
};
|
|
26
24
|
environment: {
|
|
27
|
-
type:
|
|
25
|
+
type: void 0<string, string>;
|
|
28
26
|
isOptional: true;
|
|
29
27
|
};
|
|
30
28
|
fromVersion: {
|
|
31
|
-
type:
|
|
29
|
+
type: void 0<number, number>;
|
|
32
30
|
isOptional: true;
|
|
33
31
|
};
|
|
34
32
|
createdBy: {
|
|
35
|
-
type:
|
|
33
|
+
type: void 0<string, string>;
|
|
36
34
|
isOptional: false;
|
|
37
35
|
};
|
|
38
36
|
}>, SchemaModel<{
|
|
39
37
|
version: {
|
|
40
|
-
type:
|
|
38
|
+
type: void 0<number, number>;
|
|
41
39
|
isOptional: false;
|
|
42
40
|
};
|
|
43
41
|
status: {
|
|
44
|
-
type:
|
|
42
|
+
type: void 0<string, string>;
|
|
45
43
|
isOptional: false;
|
|
46
44
|
};
|
|
47
45
|
createdAt: {
|
|
48
|
-
type:
|
|
46
|
+
type: void 0<Date, string>;
|
|
49
47
|
isOptional: false;
|
|
50
48
|
};
|
|
51
49
|
}>, {
|
|
52
50
|
ref: EventSpec<SchemaModel<{
|
|
53
51
|
tenantId: {
|
|
54
|
-
type:
|
|
52
|
+
type: void 0<string, string>;
|
|
55
53
|
isOptional: false;
|
|
56
54
|
};
|
|
57
55
|
appId: {
|
|
58
|
-
type:
|
|
56
|
+
type: void 0<string, string>;
|
|
59
57
|
isOptional: false;
|
|
60
58
|
};
|
|
61
59
|
version: {
|
|
62
|
-
type:
|
|
60
|
+
type: void 0<number, number>;
|
|
63
61
|
isOptional: false;
|
|
64
62
|
};
|
|
65
63
|
blueprintName: {
|
|
66
|
-
type:
|
|
64
|
+
type: void 0<string, string>;
|
|
67
65
|
isOptional: false;
|
|
68
66
|
};
|
|
69
67
|
blueprintVersion: {
|
|
70
|
-
type:
|
|
68
|
+
type: void 0<number, number>;
|
|
71
69
|
isOptional: false;
|
|
72
70
|
};
|
|
73
71
|
createdBy: {
|
|
74
|
-
type:
|
|
72
|
+
type: void 0<string, string>;
|
|
75
73
|
isOptional: false;
|
|
76
74
|
};
|
|
77
75
|
clonedFrom: {
|
|
78
|
-
type:
|
|
76
|
+
type: void 0<number, number>;
|
|
79
77
|
isOptional: true;
|
|
80
78
|
};
|
|
81
79
|
}>>;
|
|
@@ -83,55 +81,55 @@ declare const CreateTenantConfigDraftCommand: ContractSpec<SchemaModel<{
|
|
|
83
81
|
}[]>;
|
|
84
82
|
declare const PromoteTenantConfigToPreviewCommand: ContractSpec<SchemaModel<{
|
|
85
83
|
tenantId: {
|
|
86
|
-
type:
|
|
84
|
+
type: void 0<string, string>;
|
|
87
85
|
isOptional: false;
|
|
88
86
|
};
|
|
89
87
|
appId: {
|
|
90
|
-
type:
|
|
88
|
+
type: void 0<string, string>;
|
|
91
89
|
isOptional: false;
|
|
92
90
|
};
|
|
93
91
|
version: {
|
|
94
|
-
type:
|
|
92
|
+
type: void 0<number, number>;
|
|
95
93
|
isOptional: false;
|
|
96
94
|
};
|
|
97
95
|
promotedBy: {
|
|
98
|
-
type:
|
|
96
|
+
type: void 0<string, string>;
|
|
99
97
|
isOptional: false;
|
|
100
98
|
};
|
|
101
99
|
}>, SchemaModel<{
|
|
102
100
|
version: {
|
|
103
|
-
type:
|
|
101
|
+
type: void 0<number, number>;
|
|
104
102
|
isOptional: false;
|
|
105
103
|
};
|
|
106
104
|
status: {
|
|
107
|
-
type:
|
|
105
|
+
type: void 0<string, string>;
|
|
108
106
|
isOptional: false;
|
|
109
107
|
};
|
|
110
108
|
warnings: {
|
|
111
|
-
type:
|
|
109
|
+
type: void 0<string, string>;
|
|
112
110
|
isOptional: true;
|
|
113
111
|
isArray: true;
|
|
114
112
|
};
|
|
115
113
|
}>, {
|
|
116
114
|
ref: EventSpec<SchemaModel<{
|
|
117
115
|
tenantId: {
|
|
118
|
-
type:
|
|
116
|
+
type: void 0<string, string>;
|
|
119
117
|
isOptional: false;
|
|
120
118
|
};
|
|
121
119
|
appId: {
|
|
122
|
-
type:
|
|
120
|
+
type: void 0<string, string>;
|
|
123
121
|
isOptional: false;
|
|
124
122
|
};
|
|
125
123
|
version: {
|
|
126
|
-
type:
|
|
124
|
+
type: void 0<number, number>;
|
|
127
125
|
isOptional: false;
|
|
128
126
|
};
|
|
129
127
|
promotedBy: {
|
|
130
|
-
type:
|
|
128
|
+
type: void 0<string, string>;
|
|
131
129
|
isOptional: false;
|
|
132
130
|
};
|
|
133
131
|
warnings: {
|
|
134
|
-
type:
|
|
132
|
+
type: void 0<string, string>;
|
|
135
133
|
isOptional: true;
|
|
136
134
|
isArray: true;
|
|
137
135
|
};
|
|
@@ -140,74 +138,74 @@ declare const PromoteTenantConfigToPreviewCommand: ContractSpec<SchemaModel<{
|
|
|
140
138
|
}[]>;
|
|
141
139
|
declare const PublishTenantConfigCommand: ContractSpec<SchemaModel<{
|
|
142
140
|
tenantId: {
|
|
143
|
-
type:
|
|
141
|
+
type: void 0<string, string>;
|
|
144
142
|
isOptional: false;
|
|
145
143
|
};
|
|
146
144
|
appId: {
|
|
147
|
-
type:
|
|
145
|
+
type: void 0<string, string>;
|
|
148
146
|
isOptional: false;
|
|
149
147
|
};
|
|
150
148
|
version: {
|
|
151
|
-
type:
|
|
149
|
+
type: void 0<number, number>;
|
|
152
150
|
isOptional: false;
|
|
153
151
|
};
|
|
154
152
|
environment: {
|
|
155
|
-
type:
|
|
153
|
+
type: void 0<string, string>;
|
|
156
154
|
isOptional: true;
|
|
157
155
|
};
|
|
158
156
|
publishedBy: {
|
|
159
|
-
type:
|
|
157
|
+
type: void 0<string, string>;
|
|
160
158
|
isOptional: false;
|
|
161
159
|
};
|
|
162
160
|
changeSummary: {
|
|
163
|
-
type:
|
|
161
|
+
type: void 0<string, string>;
|
|
164
162
|
isOptional: true;
|
|
165
163
|
};
|
|
166
164
|
}>, SchemaModel<{
|
|
167
165
|
version: {
|
|
168
|
-
type:
|
|
166
|
+
type: void 0<number, number>;
|
|
169
167
|
isOptional: false;
|
|
170
168
|
};
|
|
171
169
|
status: {
|
|
172
|
-
type:
|
|
170
|
+
type: void 0<string, string>;
|
|
173
171
|
isOptional: false;
|
|
174
172
|
};
|
|
175
173
|
previousVersion: {
|
|
176
|
-
type:
|
|
174
|
+
type: void 0<number, number>;
|
|
177
175
|
isOptional: true;
|
|
178
176
|
};
|
|
179
177
|
publishedAt: {
|
|
180
|
-
type:
|
|
178
|
+
type: void 0<Date, string>;
|
|
181
179
|
isOptional: false;
|
|
182
180
|
};
|
|
183
181
|
}>, {
|
|
184
182
|
ref: EventSpec<SchemaModel<{
|
|
185
183
|
tenantId: {
|
|
186
|
-
type:
|
|
184
|
+
type: void 0<string, string>;
|
|
187
185
|
isOptional: false;
|
|
188
186
|
};
|
|
189
187
|
appId: {
|
|
190
|
-
type:
|
|
188
|
+
type: void 0<string, string>;
|
|
191
189
|
isOptional: false;
|
|
192
190
|
};
|
|
193
191
|
version: {
|
|
194
|
-
type:
|
|
192
|
+
type: void 0<number, number>;
|
|
195
193
|
isOptional: false;
|
|
196
194
|
};
|
|
197
195
|
previousVersion: {
|
|
198
|
-
type:
|
|
196
|
+
type: void 0<number, number>;
|
|
199
197
|
isOptional: true;
|
|
200
198
|
};
|
|
201
199
|
publishedBy: {
|
|
202
|
-
type:
|
|
200
|
+
type: void 0<string, string>;
|
|
203
201
|
isOptional: false;
|
|
204
202
|
};
|
|
205
203
|
changeSummary: {
|
|
206
|
-
type:
|
|
204
|
+
type: void 0<string, string>;
|
|
207
205
|
isOptional: true;
|
|
208
206
|
};
|
|
209
207
|
changedSections: {
|
|
210
|
-
type:
|
|
208
|
+
type: void 0<string, string>;
|
|
211
209
|
isOptional: true;
|
|
212
210
|
isArray: true;
|
|
213
211
|
};
|
|
@@ -216,70 +214,70 @@ declare const PublishTenantConfigCommand: ContractSpec<SchemaModel<{
|
|
|
216
214
|
}[]>;
|
|
217
215
|
declare const RollbackTenantConfigCommand: ContractSpec<SchemaModel<{
|
|
218
216
|
tenantId: {
|
|
219
|
-
type:
|
|
217
|
+
type: void 0<string, string>;
|
|
220
218
|
isOptional: false;
|
|
221
219
|
};
|
|
222
220
|
appId: {
|
|
223
|
-
type:
|
|
221
|
+
type: void 0<string, string>;
|
|
224
222
|
isOptional: false;
|
|
225
223
|
};
|
|
226
224
|
toVersion: {
|
|
227
|
-
type:
|
|
225
|
+
type: void 0<number, number>;
|
|
228
226
|
isOptional: false;
|
|
229
227
|
};
|
|
230
228
|
environment: {
|
|
231
|
-
type:
|
|
229
|
+
type: void 0<string, string>;
|
|
232
230
|
isOptional: true;
|
|
233
231
|
};
|
|
234
232
|
rolledBackBy: {
|
|
235
|
-
type:
|
|
233
|
+
type: void 0<string, string>;
|
|
236
234
|
isOptional: false;
|
|
237
235
|
};
|
|
238
236
|
reason: {
|
|
239
|
-
type:
|
|
237
|
+
type: void 0<string, string>;
|
|
240
238
|
isOptional: false;
|
|
241
239
|
};
|
|
242
240
|
}>, SchemaModel<{
|
|
243
241
|
newVersion: {
|
|
244
|
-
type:
|
|
242
|
+
type: void 0<number, number>;
|
|
245
243
|
isOptional: false;
|
|
246
244
|
};
|
|
247
245
|
status: {
|
|
248
|
-
type:
|
|
246
|
+
type: void 0<string, string>;
|
|
249
247
|
isOptional: false;
|
|
250
248
|
};
|
|
251
249
|
rolledBackFrom: {
|
|
252
|
-
type:
|
|
250
|
+
type: void 0<number, number>;
|
|
253
251
|
isOptional: false;
|
|
254
252
|
};
|
|
255
253
|
}>, {
|
|
256
254
|
ref: EventSpec<SchemaModel<{
|
|
257
255
|
tenantId: {
|
|
258
|
-
type:
|
|
256
|
+
type: void 0<string, string>;
|
|
259
257
|
isOptional: false;
|
|
260
258
|
};
|
|
261
259
|
appId: {
|
|
262
|
-
type:
|
|
260
|
+
type: void 0<string, string>;
|
|
263
261
|
isOptional: false;
|
|
264
262
|
};
|
|
265
263
|
newVersion: {
|
|
266
|
-
type:
|
|
264
|
+
type: void 0<number, number>;
|
|
267
265
|
isOptional: false;
|
|
268
266
|
};
|
|
269
267
|
rolledBackFrom: {
|
|
270
|
-
type:
|
|
268
|
+
type: void 0<number, number>;
|
|
271
269
|
isOptional: false;
|
|
272
270
|
};
|
|
273
271
|
rolledBackTo: {
|
|
274
|
-
type:
|
|
272
|
+
type: void 0<number, number>;
|
|
275
273
|
isOptional: false;
|
|
276
274
|
};
|
|
277
275
|
rolledBackBy: {
|
|
278
|
-
type:
|
|
276
|
+
type: void 0<string, string>;
|
|
279
277
|
isOptional: false;
|
|
280
278
|
};
|
|
281
279
|
reason: {
|
|
282
|
-
type:
|
|
280
|
+
type: void 0<string, string>;
|
|
283
281
|
isOptional: false;
|
|
284
282
|
};
|
|
285
283
|
}>>;
|
|
@@ -287,22 +285,22 @@ declare const RollbackTenantConfigCommand: ContractSpec<SchemaModel<{
|
|
|
287
285
|
}[]>;
|
|
288
286
|
declare const ListTenantConfigVersionsQuery: ContractSpec<SchemaModel<{
|
|
289
287
|
tenantId: {
|
|
290
|
-
type:
|
|
288
|
+
type: void 0<string, string>;
|
|
291
289
|
isOptional: false;
|
|
292
290
|
};
|
|
293
291
|
appId: {
|
|
294
|
-
type:
|
|
292
|
+
type: void 0<string, string>;
|
|
295
293
|
isOptional: false;
|
|
296
294
|
};
|
|
297
295
|
}>, SchemaModel<{
|
|
298
296
|
versions: {
|
|
299
297
|
type: SchemaModel<{
|
|
300
298
|
meta: {
|
|
301
|
-
type:
|
|
299
|
+
type: void 0<Record<string, unknown>, Record<string, unknown>>;
|
|
302
300
|
isOptional: false;
|
|
303
301
|
};
|
|
304
302
|
config: {
|
|
305
|
-
type:
|
|
303
|
+
type: void 0<Record<string, unknown>, Record<string, unknown>>;
|
|
306
304
|
isOptional: false;
|
|
307
305
|
};
|
|
308
306
|
}>;
|
|
@@ -312,35 +310,35 @@ declare const ListTenantConfigVersionsQuery: ContractSpec<SchemaModel<{
|
|
|
312
310
|
transitions: {
|
|
313
311
|
type: SchemaModel<{
|
|
314
312
|
tenantId: {
|
|
315
|
-
type:
|
|
313
|
+
type: void 0<string, string>;
|
|
316
314
|
isOptional: false;
|
|
317
315
|
};
|
|
318
316
|
appId: {
|
|
319
|
-
type:
|
|
317
|
+
type: void 0<string, string>;
|
|
320
318
|
isOptional: false;
|
|
321
319
|
};
|
|
322
320
|
fromStatus: {
|
|
323
|
-
type:
|
|
321
|
+
type: void 0<string, string>;
|
|
324
322
|
isOptional: false;
|
|
325
323
|
};
|
|
326
324
|
toStatus: {
|
|
327
|
-
type:
|
|
325
|
+
type: void 0<string, string>;
|
|
328
326
|
isOptional: false;
|
|
329
327
|
};
|
|
330
328
|
version: {
|
|
331
|
-
type:
|
|
329
|
+
type: void 0<number, number>;
|
|
332
330
|
isOptional: false;
|
|
333
331
|
};
|
|
334
332
|
timestamp: {
|
|
335
|
-
type:
|
|
333
|
+
type: void 0<Date, string>;
|
|
336
334
|
isOptional: false;
|
|
337
335
|
};
|
|
338
336
|
actor: {
|
|
339
|
-
type:
|
|
337
|
+
type: void 0<string, string>;
|
|
340
338
|
isOptional: false;
|
|
341
339
|
};
|
|
342
340
|
reason: {
|
|
343
|
-
type:
|
|
341
|
+
type: void 0<string, string>;
|
|
344
342
|
isOptional: true;
|
|
345
343
|
};
|
|
346
344
|
}>;
|
|
@@ -350,26 +348,26 @@ declare const ListTenantConfigVersionsQuery: ContractSpec<SchemaModel<{
|
|
|
350
348
|
}>, undefined>;
|
|
351
349
|
declare const GetTenantConfigVersionQuery: ContractSpec<SchemaModel<{
|
|
352
350
|
tenantId: {
|
|
353
|
-
type:
|
|
351
|
+
type: void 0<string, string>;
|
|
354
352
|
isOptional: false;
|
|
355
353
|
};
|
|
356
354
|
appId: {
|
|
357
|
-
type:
|
|
355
|
+
type: void 0<string, string>;
|
|
358
356
|
isOptional: false;
|
|
359
357
|
};
|
|
360
358
|
version: {
|
|
361
|
-
type:
|
|
359
|
+
type: void 0<number, number>;
|
|
362
360
|
isOptional: false;
|
|
363
361
|
};
|
|
364
362
|
}>, SchemaModel<{
|
|
365
363
|
version: {
|
|
366
364
|
type: SchemaModel<{
|
|
367
365
|
meta: {
|
|
368
|
-
type:
|
|
366
|
+
type: void 0<Record<string, unknown>, Record<string, unknown>>;
|
|
369
367
|
isOptional: false;
|
|
370
368
|
};
|
|
371
369
|
config: {
|
|
372
|
-
type:
|
|
370
|
+
type: void 0<Record<string, unknown>, Record<string, unknown>>;
|
|
373
371
|
isOptional: false;
|
|
374
372
|
};
|
|
375
373
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lifecycle-contracts.d.ts","names":[],"sources":["../../src/app-config/lifecycle-contracts.ts"],"sourcesContent":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"lifecycle-contracts.d.ts","names":[],"sources":["../../src/app-config/lifecycle-contracts.ts"],"sourcesContent":[],"mappings":";;;;;;cAwEa,gCAA8B,aAAA;;UAyBzC,KAAA;IAzBW,UAAA,EAAA,KAAA;EAyBX,CAAA;;;;;;;IAzByC,UAAA,EAAA,KAAA;EAAA,CAAA;;;;;;;;;;;;;;IAAA,IAAA,QAAA,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;EAkD9B,CAAA;CAyBX,CAAA,aAAA,CAAA;;UA3EyC,KAAA;;EAkDK,CAAA;EAAA,MAAA,EAAA;;;;;;;;;;;MAAA,IAAA,QAAA,CAAA,MAAA,EAAA,MAAA,CAAA;MAAA,UAAA,EAAA,KAAA;IAoDnC,CAAA;IAyBX,KAAA,EAAA;;;;;;MAzBqC,UAAA,EAAA,KAAA;IAAA,CAAA;;;;;;;;;;;;;;;MAAA,UAAA,EAAA,IAAA;IAAA,CAAA;EAgD1B,CAAA,CAAA,CAAA;EAyBX,IAAA,EAAA,MAAA;;cA7HW,qCAAmC,aAAA;;UAyB9C,KAAA;;EA2EsC,CAAA;EAAA,KAAA,EAAA;;;;;;;;;;;;;EAAA,OAAA,EAAA;IAAA,IAAA,EApGQ,KAAA,CAoGR,CAAA,MAAA,EAAA,MAAA,CAAA;IA+C3B,UAAA,EAAA,KAAA;EAiBX,CAAA;;IAjBwC,IAAA,QAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;;;;;;;;;;;;;;;;MAAA,IAAA,QAAA,CAAA,MAAA,EAAA,MAAA,CAAA;MAAA,UAAA,EAAA,KAAA;IAmC7B,CAAA;IAiBX,UAAA,EAAA;;;IAjBsC,CAAA;;;;;;;;;AAAA,cAlI3B,0BAkI2B,EAlID,YAkIC,CAlID,WAkIC,CAAA;EAAA,QAAA,EAAA;IAmB3B,IAAA,EA5HX,KAAA,CA4H8C,CAAA,MAAf,EAAM,MAAA,CAAA;IASvB,UAAA,EAAA,KAAA;;;;;;;;;;;;;;;;;;;;;;;;UA9JuB,KAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAgD1B,6BAA2B,aAAA;;UAyBtC,KAAA;;;;;;;;;;;;;;;;;;;;;;;;;UAzBsC,KAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA+C3B,+BAA6B,aAAA;;UAiBxC,KAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAkBW,6BAA2B,aAAA;;UAiBtC,KAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cAEW,oBAAoB,eAAe;iBAShC,mCAAA,WAA8C,eAAY"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{ScalarTypeEnum as e}from"../schema/src/ScalarTypeEnum.js";import{SchemaModel as t}from"../schema/src/SchemaModel.js";import"../schema/src/index.js";import{defineCommand as n,defineQuery as r}from"../spec.js";import{OwnersEnum as i,StabilityEnum as a,TagsEnum as o}from"../ownership.js";import{ConfigDraftCreatedEvent as s,ConfigPromotedToPreviewEvent as c,ConfigPublishedEvent as l,ConfigRolledBackEvent as u}from"./events.js";const d={auth:`admin`,policies:[{name:`platform.app-config.manage`,version:1}]},f={auth:`admin`,policies:[{name:`platform.app-config.read`,version:1}]},p=new t({name:`ConfigVersionRecord`,fields:{meta:{type:e.JSONObject(),isOptional:!1},config:{type:e.JSONObject(),isOptional:!1}}}),m=new t({name:`ConfigTransitionRecord`,fields:{tenantId:{type:e.ID(),isOptional:!1},appId:{type:e.ID(),isOptional:!1},fromStatus:{type:e.String_unsecure(),isOptional:!1},toStatus:{type:e.String_unsecure(),isOptional:!1},version:{type:e.Int_unsecure(),isOptional:!1},timestamp:{type:e.DateTime(),isOptional:!1},actor:{type:e.String_unsecure(),isOptional:!1},reason:{type:e.String_unsecure(),isOptional:!0}}}),h=new t({name:`CreateTenantConfigDraftInput`,fields:{tenantId:{type:e.ID(),isOptional:!1},appId:{type:e.ID(),isOptional:!1},blueprintName:{type:e.String_unsecure(),isOptional:!1},blueprintVersion:{type:e.Int_unsecure(),isOptional:!1},environment:{type:e.String_unsecure(),isOptional:!0},fromVersion:{type:e.Int_unsecure(),isOptional:!0},createdBy:{type:e.String_unsecure(),isOptional:!1}}}),g=new t({name:`CreateTenantConfigDraftOutput`,fields:{version:{type:e.Int_unsecure(),isOptional:!1},status:{type:e.String_unsecure(),isOptional:!1},createdAt:{type:e.DateTime(),isOptional:!1}}}),_=n({meta:{name:`appConfig.lifecycle.createDraft`,version:1,description:`Creates a new draft tenant config version.`,owners:[i.PlatformSigil],tags:[o.Hygiene,`app-config`],stability:a.Experimental,goal:`Allow operators to start editing a new tenant config version.`,context:`Invoked by the Studio or automation when starting a new configuration run.`},io:{input:h,output:g},policy:d,sideEffects:{emits:[{ref:s,when:`after successful draft creation`}]}}),v=new t({name:`PromoteTenantConfigPreviewInput`,fields:{tenantId:{type:e.ID(),isOptional:!1},appId:{type:e.ID(),isOptional:!1},version:{type:e.Int_unsecure(),isOptional:!1},promotedBy:{type:e.String_unsecure(),isOptional:!1}}}),y=new t({name:`PromoteTenantConfigPreviewOutput`,fields:{version:{type:e.Int_unsecure(),isOptional:!1},status:{type:e.String_unsecure(),isOptional:!1},warnings:{type:e.String_unsecure(),isOptional:!0,isArray:!0}}}),b=n({meta:{name:`appConfig.lifecycle.promoteToPreview`,version:1,description:`Promotes a draft tenant config to preview/testing state.`,owners:[i.PlatformSigil],tags:[o.Hygiene,`app-config`],stability:a.Experimental,goal:`Enable validation and testing of draft configurations.`,context:`Called when a draft passes initial checks and should be exposed to preview environments.`},io:{input:v,output:y},policy:d,sideEffects:{emits:[{ref:c,when:`after promotion to preview`}]}}),x=new t({name:`PublishTenantConfigInput`,fields:{tenantId:{type:e.ID(),isOptional:!1},appId:{type:e.ID(),isOptional:!1},version:{type:e.Int_unsecure(),isOptional:!1},environment:{type:e.String_unsecure(),isOptional:!0},publishedBy:{type:e.String_unsecure(),isOptional:!1},changeSummary:{type:e.String_unsecure(),isOptional:!0}}}),S=new t({name:`PublishTenantConfigOutput`,fields:{version:{type:e.Int_unsecure(),isOptional:!1},status:{type:e.String_unsecure(),isOptional:!1},previousVersion:{type:e.Int_unsecure(),isOptional:!0},publishedAt:{type:e.DateTime(),isOptional:!1}}}),C=n({meta:{name:`appConfig.lifecycle.publish`,version:1,description:`Publishes a preview tenant config to production.`,owners:[i.PlatformSigil],tags:[o.Hygiene,`app-config`],stability:a.Experimental,goal:`Promote tested configurations to production safely.`,context:`Triggered after validation passes and change management approvals are complete.`},io:{input:x,output:S},policy:d,sideEffects:{emits:[{ref:l,when:`after publish succeeds`}]}}),w=new t({name:`RollbackTenantConfigInput`,fields:{tenantId:{type:e.ID(),isOptional:!1},appId:{type:e.ID(),isOptional:!1},toVersion:{type:e.Int_unsecure(),isOptional:!1},environment:{type:e.String_unsecure(),isOptional:!0},rolledBackBy:{type:e.String_unsecure(),isOptional:!1},reason:{type:e.String_unsecure(),isOptional:!1}}}),T=new t({name:`RollbackTenantConfigOutput`,fields:{newVersion:{type:e.Int_unsecure(),isOptional:!1},status:{type:e.String_unsecure(),isOptional:!1},rolledBackFrom:{type:e.Int_unsecure(),isOptional:!1}}}),E=n({meta:{name:`appConfig.lifecycle.rollback`,version:1,description:`Rolls back to a previously published tenant config version.`,owners:[i.PlatformSigil],tags:[o.Hygiene,`app-config`],stability:a.Experimental,goal:`Provide rapid recovery when new configs regress production.`,context:`Called manually or automatically when monitoring detects regression and a rollback is required.`},io:{input:w,output:T},policy:d,sideEffects:{emits:[{ref:u,when:`after rollback completes`}]}}),D=new t({name:`ListTenantConfigVersionsInput`,fields:{tenantId:{type:e.ID(),isOptional:!1},appId:{type:e.ID(),isOptional:!1}}}),O=new t({name:`ListTenantConfigVersionsOutput`,fields:{versions:{type:p,isOptional:!1,isArray:!0},transitions:{type:m,isOptional:!0,isArray:!0}}}),k=r({meta:{name:`appConfig.lifecycle.listVersions`,version:1,description:`Lists all versions of a tenant configuration.`,owners:[i.PlatformSigil],tags:[`app-config`,o.Hygiene],stability:a.Experimental,goal:`Support lifecycle views and change audit tooling.`,context:`Used by the Studio to render history timelines and by automation for change tracking.`},io:{input:D,output:O},policy:f}),A=new t({name:`GetTenantConfigVersionInput`,fields:{tenantId:{type:e.ID(),isOptional:!1},appId:{type:e.ID(),isOptional:!1},version:{type:e.Int_unsecure(),isOptional:!1}}}),j=new t({name:`GetTenantConfigVersionOutput`,fields:{version:{type:p,isOptional:!1}}}),M=r({meta:{name:`appConfig.lifecycle.getVersion`,version:1,description:`Fetches a single tenant config version by id.`,owners:[i.PlatformSigil],tags:[`app-config`,o.Hygiene],stability:a.Experimental,goal:`Allow detail drill-down for lifecycle entries.`,context:`Used by automation to fetch config payloads for comparison or export.`},io:{input:A,output:j},policy:f}),N={CreateTenantConfigDraftCommand:_,PromoteTenantConfigToPreviewCommand:b,PublishTenantConfigCommand:C,RollbackTenantConfigCommand:E,ListTenantConfigVersionsQuery:k,GetTenantConfigVersionQuery:M};function P(e){return e.register(_).register(b).register(C).register(E).register(k).register(M)}export{_ as CreateTenantConfigDraftCommand,M as GetTenantConfigVersionQuery,k as ListTenantConfigVersionsQuery,b as PromoteTenantConfigToPreviewCommand,C as PublishTenantConfigCommand,E as RollbackTenantConfigCommand,N as lifecycleContracts,P as registerAppConfigLifecycleContracts};
|
|
2
2
|
//# sourceMappingURL=lifecycle-contracts.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lifecycle-contracts.js","names":["SchemaModel","ScalarTypeEnum","lifecycleContracts: Record<string, ContractSpec<any, any>>"],"sources":["../../src/app-config/lifecycle-contracts.ts"],"sourcesContent":["import { SchemaModel, ScalarTypeEnum } from '@lssm/lib.schema';\nimport type { ContractSpec } from '../spec';\nimport { defineCommand, defineQuery } from '../spec';\nimport { OwnersEnum, StabilityEnum, TagsEnum } from '../ownership';\nimport type { SpecRegistry } from '../registry';\nimport {\n ConfigDraftCreatedEvent,\n ConfigPromotedToPreviewEvent,\n ConfigPublishedEvent,\n ConfigRolledBackEvent,\n} from './events';\n\nconst LifecyclePolicy = {\n auth: 'admin' as const,\n policies: [{ name: 'platform.app-config.manage', version: 1 }],\n};\n\nconst LifecycleReadPolicy = {\n auth: 'admin' as const,\n policies: [{ name: 'platform.app-config.read', version: 1 }],\n};\n\nconst ConfigVersionRecord = new SchemaModel({\n name: 'ConfigVersionRecord',\n fields: {\n meta: { type: ScalarTypeEnum.JSONObject(), isOptional: false },\n config: { type: ScalarTypeEnum.JSONObject(), isOptional: false },\n },\n});\n\nconst ConfigTransitionRecord = new SchemaModel({\n name: 'ConfigTransitionRecord',\n fields: {\n tenantId: { type: ScalarTypeEnum.ID(), isOptional: false },\n appId: { type: ScalarTypeEnum.ID(), isOptional: false },\n fromStatus: {\n type: ScalarTypeEnum.String_unsecure(),\n isOptional: false,\n },\n toStatus: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n version: { type: ScalarTypeEnum.Int_unsecure(), isOptional: false },\n timestamp: { type: ScalarTypeEnum.DateTime(), isOptional: false },\n actor: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n reason: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n },\n});\n\nconst CreateDraftInput = new SchemaModel({\n name: 'CreateTenantConfigDraftInput',\n fields: {\n tenantId: { type: ScalarTypeEnum.ID(), isOptional: false },\n appId: { type: ScalarTypeEnum.ID(), isOptional: false },\n blueprintName: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n blueprintVersion: {\n type: ScalarTypeEnum.Int_unsecure(),\n isOptional: false,\n },\n environment: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n fromVersion: { type: ScalarTypeEnum.Int_unsecure(), isOptional: true },\n createdBy: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n },\n});\n\nconst CreateDraftOutput = new SchemaModel({\n name: 'CreateTenantConfigDraftOutput',\n fields: {\n version: { type: ScalarTypeEnum.Int_unsecure(), isOptional: false },\n status: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n createdAt: { type: ScalarTypeEnum.DateTime(), isOptional: false },\n },\n});\n\nexport const CreateTenantConfigDraftCommand = defineCommand({\n meta: {\n name: 'appConfig.lifecycle.createDraft',\n version: 1,\n description: 'Creates a new draft tenant config version.',\n owners: [OwnersEnum.PlatformSigil],\n tags: [TagsEnum.Hygiene, 'app-config'],\n stability: StabilityEnum.Experimental,\n goal: 'Allow operators to start editing a new tenant config version.',\n context:\n 'Invoked by the Studio or automation when starting a new configuration run.',\n },\n io: {\n input: CreateDraftInput,\n output: CreateDraftOutput,\n },\n policy: LifecyclePolicy,\n sideEffects: {\n emits: [\n {\n ref: ConfigDraftCreatedEvent,\n when: 'after successful draft creation',\n },\n ],\n },\n});\n\nconst PromotePreviewInput = new SchemaModel({\n name: 'PromoteTenantConfigPreviewInput',\n fields: {\n tenantId: { type: ScalarTypeEnum.ID(), isOptional: false },\n appId: { type: ScalarTypeEnum.ID(), isOptional: false },\n version: { type: ScalarTypeEnum.Int_unsecure(), isOptional: false },\n promotedBy: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n },\n});\n\nconst PromotePreviewOutput = new SchemaModel({\n name: 'PromoteTenantConfigPreviewOutput',\n fields: {\n version: { type: ScalarTypeEnum.Int_unsecure(), isOptional: false },\n status: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n warnings: {\n type: ScalarTypeEnum.String_unsecure(),\n isOptional: true,\n isArray: true,\n },\n },\n});\n\nexport const PromoteTenantConfigToPreviewCommand = defineCommand({\n meta: {\n name: 'appConfig.lifecycle.promoteToPreview',\n version: 1,\n description: 'Promotes a draft tenant config to preview/testing state.',\n owners: [OwnersEnum.PlatformSigil],\n tags: [TagsEnum.Hygiene, 'app-config'],\n stability: StabilityEnum.Experimental,\n goal: 'Enable validation and testing of draft configurations.',\n context:\n 'Called when a draft passes initial checks and should be exposed to preview environments.',\n },\n io: {\n input: PromotePreviewInput,\n output: PromotePreviewOutput,\n },\n policy: LifecyclePolicy,\n sideEffects: {\n emits: [\n {\n ref: ConfigPromotedToPreviewEvent,\n when: 'after promotion to preview',\n },\n ],\n },\n});\n\nconst PublishConfigInput = new SchemaModel({\n name: 'PublishTenantConfigInput',\n fields: {\n tenantId: { type: ScalarTypeEnum.ID(), isOptional: false },\n appId: { type: ScalarTypeEnum.ID(), isOptional: false },\n version: { type: ScalarTypeEnum.Int_unsecure(), isOptional: false },\n environment: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n publishedBy: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n changeSummary: {\n type: ScalarTypeEnum.String_unsecure(),\n isOptional: true,\n },\n },\n});\n\nconst PublishConfigOutput = new SchemaModel({\n name: 'PublishTenantConfigOutput',\n fields: {\n version: { type: ScalarTypeEnum.Int_unsecure(), isOptional: false },\n status: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n previousVersion: { type: ScalarTypeEnum.Int_unsecure(), isOptional: true },\n publishedAt: { type: ScalarTypeEnum.DateTime(), isOptional: false },\n },\n});\n\nexport const PublishTenantConfigCommand = defineCommand({\n meta: {\n name: 'appConfig.lifecycle.publish',\n version: 1,\n description: 'Publishes a preview tenant config to production.',\n owners: [OwnersEnum.PlatformSigil],\n tags: [TagsEnum.Hygiene, 'app-config'],\n stability: StabilityEnum.Experimental,\n goal: 'Promote tested configurations to production safely.',\n context:\n 'Triggered after validation passes and change management approvals are complete.',\n },\n io: {\n input: PublishConfigInput,\n output: PublishConfigOutput,\n },\n policy: LifecyclePolicy,\n sideEffects: {\n emits: [\n {\n ref: ConfigPublishedEvent,\n when: 'after publish succeeds',\n },\n ],\n },\n});\n\nconst RollbackConfigInput = new SchemaModel({\n name: 'RollbackTenantConfigInput',\n fields: {\n tenantId: { type: ScalarTypeEnum.ID(), isOptional: false },\n appId: { type: ScalarTypeEnum.ID(), isOptional: false },\n toVersion: { type: ScalarTypeEnum.Int_unsecure(), isOptional: false },\n environment: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n rolledBackBy: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n reason: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n },\n});\n\nconst RollbackConfigOutput = new SchemaModel({\n name: 'RollbackTenantConfigOutput',\n fields: {\n newVersion: { type: ScalarTypeEnum.Int_unsecure(), isOptional: false },\n status: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n rolledBackFrom: { type: ScalarTypeEnum.Int_unsecure(), isOptional: false },\n },\n});\n\nexport const RollbackTenantConfigCommand = defineCommand({\n meta: {\n name: 'appConfig.lifecycle.rollback',\n version: 1,\n description: 'Rolls back to a previously published tenant config version.',\n owners: [OwnersEnum.PlatformSigil],\n tags: [TagsEnum.Hygiene, 'app-config'],\n stability: StabilityEnum.Experimental,\n goal: 'Provide rapid recovery when new configs regress production.',\n context:\n 'Called manually or automatically when monitoring detects regression and a rollback is required.',\n },\n io: {\n input: RollbackConfigInput,\n output: RollbackConfigOutput,\n },\n policy: LifecyclePolicy,\n sideEffects: {\n emits: [\n {\n ref: ConfigRolledBackEvent,\n when: 'after rollback completes',\n },\n ],\n },\n});\n\nconst ListVersionsInput = new SchemaModel({\n name: 'ListTenantConfigVersionsInput',\n fields: {\n tenantId: { type: ScalarTypeEnum.ID(), isOptional: false },\n appId: { type: ScalarTypeEnum.ID(), isOptional: false },\n },\n});\n\nconst ListVersionsOutput = new SchemaModel({\n name: 'ListTenantConfigVersionsOutput',\n fields: {\n versions: { type: ConfigVersionRecord, isOptional: false, isArray: true },\n transitions: {\n type: ConfigTransitionRecord,\n isOptional: true,\n isArray: true,\n },\n },\n});\n\nexport const ListTenantConfigVersionsQuery = defineQuery({\n meta: {\n name: 'appConfig.lifecycle.listVersions',\n version: 1,\n description: 'Lists all versions of a tenant configuration.',\n owners: [OwnersEnum.PlatformSigil],\n tags: ['app-config', TagsEnum.Hygiene],\n stability: StabilityEnum.Experimental,\n goal: 'Support lifecycle views and change audit tooling.',\n context:\n 'Used by the Studio to render history timelines and by automation for change tracking.',\n },\n io: {\n input: ListVersionsInput,\n output: ListVersionsOutput,\n },\n policy: LifecycleReadPolicy,\n});\n\nconst GetVersionInput = new SchemaModel({\n name: 'GetTenantConfigVersionInput',\n fields: {\n tenantId: { type: ScalarTypeEnum.ID(), isOptional: false },\n appId: { type: ScalarTypeEnum.ID(), isOptional: false },\n version: { type: ScalarTypeEnum.Int_unsecure(), isOptional: false },\n },\n});\n\nconst GetVersionOutput = new SchemaModel({\n name: 'GetTenantConfigVersionOutput',\n fields: {\n version: { type: ConfigVersionRecord, isOptional: false },\n },\n});\n\nexport const GetTenantConfigVersionQuery = defineQuery({\n meta: {\n name: 'appConfig.lifecycle.getVersion',\n version: 1,\n description: 'Fetches a single tenant config version by id.',\n owners: [OwnersEnum.PlatformSigil],\n tags: ['app-config', TagsEnum.Hygiene],\n stability: StabilityEnum.Experimental,\n goal: 'Allow detail drill-down for lifecycle entries.',\n context:\n 'Used by automation to fetch config payloads for comparison or export.',\n },\n io: {\n input: GetVersionInput,\n output: GetVersionOutput,\n },\n policy: LifecycleReadPolicy,\n});\n\nexport const lifecycleContracts: Record<string, ContractSpec<any, any>> = {\n CreateTenantConfigDraftCommand,\n PromoteTenantConfigToPreviewCommand,\n PublishTenantConfigCommand,\n RollbackTenantConfigCommand,\n ListTenantConfigVersionsQuery,\n GetTenantConfigVersionQuery,\n};\n\nexport function registerAppConfigLifecycleContracts(registry: SpecRegistry) {\n return registry\n .register(CreateTenantConfigDraftCommand)\n .register(PromoteTenantConfigToPreviewCommand)\n .register(PublishTenantConfigCommand)\n .register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,CACvC,SAAS,EAA4B"}
|
|
1
|
+
{"version":3,"file":"lifecycle-contracts.js","names":["lifecycleContracts: Record<string, ContractSpec<any, any>>"],"sources":["../../src/app-config/lifecycle-contracts.ts"],"sourcesContent":["import { SchemaModel, ScalarTypeEnum } from '@lssm/lib.schema';\nimport type { ContractSpec } from '../spec';\nimport { defineCommand, defineQuery } from '../spec';\nimport { OwnersEnum, StabilityEnum, TagsEnum } from '../ownership';\nimport type { SpecRegistry } from '../registry';\nimport {\n ConfigDraftCreatedEvent,\n ConfigPromotedToPreviewEvent,\n ConfigPublishedEvent,\n ConfigRolledBackEvent,\n} from './events';\n\nconst LifecyclePolicy = {\n auth: 'admin' as const,\n policies: [{ name: 'platform.app-config.manage', version: 1 }],\n};\n\nconst LifecycleReadPolicy = {\n auth: 'admin' as const,\n policies: [{ name: 'platform.app-config.read', version: 1 }],\n};\n\nconst ConfigVersionRecord = new SchemaModel({\n name: 'ConfigVersionRecord',\n fields: {\n meta: { type: ScalarTypeEnum.JSONObject(), isOptional: false },\n config: { type: ScalarTypeEnum.JSONObject(), isOptional: false },\n },\n});\n\nconst ConfigTransitionRecord = new SchemaModel({\n name: 'ConfigTransitionRecord',\n fields: {\n tenantId: { type: ScalarTypeEnum.ID(), isOptional: false },\n appId: { type: ScalarTypeEnum.ID(), isOptional: false },\n fromStatus: {\n type: ScalarTypeEnum.String_unsecure(),\n isOptional: false,\n },\n toStatus: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n version: { type: ScalarTypeEnum.Int_unsecure(), isOptional: false },\n timestamp: { type: ScalarTypeEnum.DateTime(), isOptional: false },\n actor: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n reason: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n },\n});\n\nconst CreateDraftInput = new SchemaModel({\n name: 'CreateTenantConfigDraftInput',\n fields: {\n tenantId: { type: ScalarTypeEnum.ID(), isOptional: false },\n appId: { type: ScalarTypeEnum.ID(), isOptional: false },\n blueprintName: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n blueprintVersion: {\n type: ScalarTypeEnum.Int_unsecure(),\n isOptional: false,\n },\n environment: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n fromVersion: { type: ScalarTypeEnum.Int_unsecure(), isOptional: true },\n createdBy: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n },\n});\n\nconst CreateDraftOutput = new SchemaModel({\n name: 'CreateTenantConfigDraftOutput',\n fields: {\n version: { type: ScalarTypeEnum.Int_unsecure(), isOptional: false },\n status: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n createdAt: { type: ScalarTypeEnum.DateTime(), isOptional: false },\n },\n});\n\nexport const CreateTenantConfigDraftCommand = defineCommand({\n meta: {\n name: 'appConfig.lifecycle.createDraft',\n version: 1,\n description: 'Creates a new draft tenant config version.',\n owners: [OwnersEnum.PlatformSigil],\n tags: [TagsEnum.Hygiene, 'app-config'],\n stability: StabilityEnum.Experimental,\n goal: 'Allow operators to start editing a new tenant config version.',\n context:\n 'Invoked by the Studio or automation when starting a new configuration run.',\n },\n io: {\n input: CreateDraftInput,\n output: CreateDraftOutput,\n },\n policy: LifecyclePolicy,\n sideEffects: {\n emits: [\n {\n ref: ConfigDraftCreatedEvent,\n when: 'after successful draft creation',\n },\n ],\n },\n});\n\nconst PromotePreviewInput = new SchemaModel({\n name: 'PromoteTenantConfigPreviewInput',\n fields: {\n tenantId: { type: ScalarTypeEnum.ID(), isOptional: false },\n appId: { type: ScalarTypeEnum.ID(), isOptional: false },\n version: { type: ScalarTypeEnum.Int_unsecure(), isOptional: false },\n promotedBy: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n },\n});\n\nconst PromotePreviewOutput = new SchemaModel({\n name: 'PromoteTenantConfigPreviewOutput',\n fields: {\n version: { type: ScalarTypeEnum.Int_unsecure(), isOptional: false },\n status: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n warnings: {\n type: ScalarTypeEnum.String_unsecure(),\n isOptional: true,\n isArray: true,\n },\n },\n});\n\nexport const PromoteTenantConfigToPreviewCommand = defineCommand({\n meta: {\n name: 'appConfig.lifecycle.promoteToPreview',\n version: 1,\n description: 'Promotes a draft tenant config to preview/testing state.',\n owners: [OwnersEnum.PlatformSigil],\n tags: [TagsEnum.Hygiene, 'app-config'],\n stability: StabilityEnum.Experimental,\n goal: 'Enable validation and testing of draft configurations.',\n context:\n 'Called when a draft passes initial checks and should be exposed to preview environments.',\n },\n io: {\n input: PromotePreviewInput,\n output: PromotePreviewOutput,\n },\n policy: LifecyclePolicy,\n sideEffects: {\n emits: [\n {\n ref: ConfigPromotedToPreviewEvent,\n when: 'after promotion to preview',\n },\n ],\n },\n});\n\nconst PublishConfigInput = new SchemaModel({\n name: 'PublishTenantConfigInput',\n fields: {\n tenantId: { type: ScalarTypeEnum.ID(), isOptional: false },\n appId: { type: ScalarTypeEnum.ID(), isOptional: false },\n version: { type: ScalarTypeEnum.Int_unsecure(), isOptional: false },\n environment: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n publishedBy: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n changeSummary: {\n type: ScalarTypeEnum.String_unsecure(),\n isOptional: true,\n },\n },\n});\n\nconst PublishConfigOutput = new SchemaModel({\n name: 'PublishTenantConfigOutput',\n fields: {\n version: { type: ScalarTypeEnum.Int_unsecure(), isOptional: false },\n status: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n previousVersion: { type: ScalarTypeEnum.Int_unsecure(), isOptional: true },\n publishedAt: { type: ScalarTypeEnum.DateTime(), isOptional: false },\n },\n});\n\nexport const PublishTenantConfigCommand = defineCommand({\n meta: {\n name: 'appConfig.lifecycle.publish',\n version: 1,\n description: 'Publishes a preview tenant config to production.',\n owners: [OwnersEnum.PlatformSigil],\n tags: [TagsEnum.Hygiene, 'app-config'],\n stability: StabilityEnum.Experimental,\n goal: 'Promote tested configurations to production safely.',\n context:\n 'Triggered after validation passes and change management approvals are complete.',\n },\n io: {\n input: PublishConfigInput,\n output: PublishConfigOutput,\n },\n policy: LifecyclePolicy,\n sideEffects: {\n emits: [\n {\n ref: ConfigPublishedEvent,\n when: 'after publish succeeds',\n },\n ],\n },\n});\n\nconst RollbackConfigInput = new SchemaModel({\n name: 'RollbackTenantConfigInput',\n fields: {\n tenantId: { type: ScalarTypeEnum.ID(), isOptional: false },\n appId: { type: ScalarTypeEnum.ID(), isOptional: false },\n toVersion: { type: ScalarTypeEnum.Int_unsecure(), isOptional: false },\n environment: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n rolledBackBy: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n reason: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n },\n});\n\nconst RollbackConfigOutput = new SchemaModel({\n name: 'RollbackTenantConfigOutput',\n fields: {\n newVersion: { type: ScalarTypeEnum.Int_unsecure(), isOptional: false },\n status: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n rolledBackFrom: { type: ScalarTypeEnum.Int_unsecure(), isOptional: false },\n },\n});\n\nexport const RollbackTenantConfigCommand = defineCommand({\n meta: {\n name: 'appConfig.lifecycle.rollback',\n version: 1,\n description: 'Rolls back to a previously published tenant config version.',\n owners: [OwnersEnum.PlatformSigil],\n tags: [TagsEnum.Hygiene, 'app-config'],\n stability: StabilityEnum.Experimental,\n goal: 'Provide rapid recovery when new configs regress production.',\n context:\n 'Called manually or automatically when monitoring detects regression and a rollback is required.',\n },\n io: {\n input: RollbackConfigInput,\n output: RollbackConfigOutput,\n },\n policy: LifecyclePolicy,\n sideEffects: {\n emits: [\n {\n ref: ConfigRolledBackEvent,\n when: 'after rollback completes',\n },\n ],\n },\n});\n\nconst ListVersionsInput = new SchemaModel({\n name: 'ListTenantConfigVersionsInput',\n fields: {\n tenantId: { type: ScalarTypeEnum.ID(), isOptional: false },\n appId: { type: ScalarTypeEnum.ID(), isOptional: false },\n },\n});\n\nconst ListVersionsOutput = new SchemaModel({\n name: 'ListTenantConfigVersionsOutput',\n fields: {\n versions: { type: ConfigVersionRecord, isOptional: false, isArray: true },\n transitions: {\n type: ConfigTransitionRecord,\n isOptional: true,\n isArray: true,\n },\n },\n});\n\nexport const ListTenantConfigVersionsQuery = defineQuery({\n meta: {\n name: 'appConfig.lifecycle.listVersions',\n version: 1,\n description: 'Lists all versions of a tenant configuration.',\n owners: [OwnersEnum.PlatformSigil],\n tags: ['app-config', TagsEnum.Hygiene],\n stability: StabilityEnum.Experimental,\n goal: 'Support lifecycle views and change audit tooling.',\n context:\n 'Used by the Studio to render history timelines and by automation for change tracking.',\n },\n io: {\n input: ListVersionsInput,\n output: ListVersionsOutput,\n },\n policy: LifecycleReadPolicy,\n});\n\nconst GetVersionInput = new SchemaModel({\n name: 'GetTenantConfigVersionInput',\n fields: {\n tenantId: { type: ScalarTypeEnum.ID(), isOptional: false },\n appId: { type: ScalarTypeEnum.ID(), isOptional: false },\n version: { type: ScalarTypeEnum.Int_unsecure(), isOptional: false },\n },\n});\n\nconst GetVersionOutput = new SchemaModel({\n name: 'GetTenantConfigVersionOutput',\n fields: {\n version: { type: ConfigVersionRecord, isOptional: false },\n },\n});\n\nexport const GetTenantConfigVersionQuery = defineQuery({\n meta: {\n name: 'appConfig.lifecycle.getVersion',\n version: 1,\n description: 'Fetches a single tenant config version by id.',\n owners: [OwnersEnum.PlatformSigil],\n tags: ['app-config', TagsEnum.Hygiene],\n stability: StabilityEnum.Experimental,\n goal: 'Allow detail drill-down for lifecycle entries.',\n context:\n 'Used by automation to fetch config payloads for comparison or export.',\n },\n io: {\n input: GetVersionInput,\n output: GetVersionOutput,\n },\n policy: LifecycleReadPolicy,\n});\n\nexport const lifecycleContracts: Record<string, ContractSpec<any, any>> = {\n CreateTenantConfigDraftCommand,\n PromoteTenantConfigToPreviewCommand,\n PublishTenantConfigCommand,\n RollbackTenantConfigCommand,\n ListTenantConfigVersionsQuery,\n GetTenantConfigVersionQuery,\n};\n\nexport function registerAppConfigLifecycleContracts(registry: SpecRegistry) {\n return registry\n .register(CreateTenantConfigDraftCommand)\n .register(PromoteTenantConfigToPreviewCommand)\n .register(PublishTenantConfigCommand)\n .register(RollbackTenantConfigCommand)\n .register(ListTenantConfigVersionsQuery)\n .register(GetTenantConfigVersionQuery);\n}\n\n\n"],"mappings":"kbAYA,MAAM,EAAkB,CACtB,KAAM,QACN,SAAU,CAAC,CAAE,KAAM,6BAA8B,QAAS,EAAG,CAAC,CAC/D,CAEK,EAAsB,CAC1B,KAAM,QACN,SAAU,CAAC,CAAE,KAAM,2BAA4B,QAAS,EAAG,CAAC,CAC7D,CAEK,EAAsB,IAAI,EAAY,CAC1C,KAAM,sBACN,OAAQ,CACN,KAAM,CAAE,KAAM,EAAe,YAAY,CAAE,WAAY,GAAO,CAC9D,OAAQ,CAAE,KAAM,EAAe,YAAY,CAAE,WAAY,GAAO,CACjE,CACF,CAAC,CAEI,EAAyB,IAAI,EAAY,CAC7C,KAAM,yBACN,OAAQ,CACN,SAAU,CAAE,KAAM,EAAe,IAAI,CAAE,WAAY,GAAO,CAC1D,MAAO,CAAE,KAAM,EAAe,IAAI,CAAE,WAAY,GAAO,CACvD,WAAY,CACV,KAAM,EAAe,iBAAiB,CACtC,WAAY,GACb,CACD,SAAU,CAAE,KAAM,EAAe,iBAAiB,CAAE,WAAY,GAAO,CACvE,QAAS,CAAE,KAAM,EAAe,cAAc,CAAE,WAAY,GAAO,CACnE,UAAW,CAAE,KAAM,EAAe,UAAU,CAAE,WAAY,GAAO,CACjE,MAAO,CAAE,KAAM,EAAe,iBAAiB,CAAE,WAAY,GAAO,CACpE,OAAQ,CAAE,KAAM,EAAe,iBAAiB,CAAE,WAAY,GAAM,CACrE,CACF,CAAC,CAEI,EAAmB,IAAI,EAAY,CACvC,KAAM,+BACN,OAAQ,CACN,SAAU,CAAE,KAAM,EAAe,IAAI,CAAE,WAAY,GAAO,CAC1D,MAAO,CAAE,KAAM,EAAe,IAAI,CAAE,WAAY,GAAO,CACvD,cAAe,CAAE,KAAM,EAAe,iBAAi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C,SAAS,EAA8B,CACvC,SAAS,EAA4B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"openbanking.js","names":["openBankingAccountsReadCapability: CapabilitySpec","openBankingTransactionsReadCapability: CapabilitySpec","openBankingBalancesReadCapability: CapabilitySpec"],"sources":["../../src/capabilities/openbanking.ts"],"sourcesContent":["import type { CapabilityRegistry, CapabilitySpec } from '../capabilities';\nimport { StabilityEnum } from '../ownership';\n\nconst OWNERS = ['platform.finance'] as const;\nconst TAGS = ['open-banking', 'finance'] as const;\n\nexport const openBankingAccountsReadCapability: CapabilitySpec = {\n meta: {\n key: 'openbanking.accounts.read',\n version: 1,\n kind: 'integration',\n title: 'Open Banking Accounts (Read)',\n description:\n 'Provides read-only access to linked bank accounts, including account summaries and metadata.',\n domain: 'finance',\n owners: [...OWNERS],\n tags: [...TAGS],\n stability: StabilityEnum.Experimental,\n },\n provides: [\n {\n surface: 'operation',\n name: 'openbanking.accounts.list',\n version: 1,\n description: 'List bank accounts linked to a Powens open banking connection.',\n },\n {\n surface: 'operation',\n name: 'openbanking.accounts.get',\n version: 1,\n description: 'Retrieve the canonical bank account record for a specific account.',\n },\n {\n surface: 'operation',\n name: 'openbanking.accounts.sync',\n version: 1,\n description: 'Trigger a refresh of bank account metadata from the open banking provider.',\n },\n ],\n};\n\nexport const openBankingTransactionsReadCapability: CapabilitySpec = {\n meta: {\n key: 'openbanking.transactions.read',\n version: 1,\n kind: 'integration',\n title: 'Open Banking Transactions (Read)',\n description:\n 'Enables retrieval of transaction history for linked bank accounts via open banking providers.',\n domain: 'finance',\n owners: [...OWNERS],\n tags: [...TAGS, 'transactions'],\n stability: StabilityEnum.Experimental,\n },\n provides: [\n {\n surface: 'operation',\n name: 'openbanking.transactions.list',\n version: 1,\n description: 'List transactions for a given bank account with optional date filtering.',\n },\n {\n surface: 'operation',\n name: 'openbanking.transactions.sync',\n version: 1,\n description: 'Synchronise transactions from the open banking provider into the canonical ledger.',\n },\n ],\n};\n\nexport const openBankingBalancesReadCapability: CapabilitySpec = {\n meta: {\n key: 'openbanking.balances.read',\n version: 1,\n kind: 'integration',\n title: 'Open Banking Balances (Read)',\n description:\n 'Allows querying of current and available balances for linked bank accounts via open banking providers.',\n domain: 'finance',\n owners: [...OWNERS],\n tags: [...TAGS, 'balances'],\n stability: StabilityEnum.Experimental,\n },\n provides: [\n {\n surface: 'operation',\n name: 'openbanking.balances.get',\n version: 1,\n description: 'Retrieve the latest known balances for a specified bank account.',\n },\n {\n surface: 'operation',\n name: 'openbanking.balances.refresh',\n version: 1,\n description: 'Force a balance refresh from the open banking provider.',\n },\n ],\n};\n\nexport function registerOpenBankingCapabilities(\n registry: CapabilityRegistry\n): CapabilityRegistry {\n return registry\n .register(openBankingAccountsReadCapability)\n .register(openBankingTransactionsReadCapability)\n .register(openBankingBalancesReadCapability);\n}\n\n\n"],"mappings":"gDAGA,MAAM,EAAS,CAAC,mBAAmB,CAC7B,EAAO,CAAC,eAAgB,UAAU,CAE3BA,EAAoD,CAC/D,KAAM,CACJ,IAAK,4BACL,QAAS,EACT,KAAM,cACN,MAAO,+BACP,YACE,+FACF,OAAQ,UACR,OAAQ,CAAC,GAAG,EAAO,CACnB,KAAM,CAAC,GAAG,EAAK,CACf,UAAW,EAAc,aAC1B,CACD,SAAU,CACR,CACE,QAAS,YACT,KAAM,4BACN,QAAS,EACT,YAAa,iEACd,CACD,CACE,QAAS,YACT,KAAM,2BACN,QAAS,EACT,YAAa,qEACd,CACD,CACE,QAAS,YACT,KAAM,4BACN,QAAS,EACT,YAAa,6EACd,CACF,CACF,CAEYC,EAAwD,CACnE,KAAM,CACJ,IAAK,gCACL,QAAS,EACT,KAAM,cACN,MAAO,mCACP,YACE,gGACF,OAAQ,UACR,OAAQ,CAAC,GAAG,EAAO,CACnB,KAAM,CAAC,GAAG,EAAM,eAAe,CAC/B,UAAW,EAAc,aAC1B,CACD,SAAU,CACR,CACE,QAAS,YACT,KAAM,gCACN,QAAS,EACT,YAAa,2EACd,CACD,CACE,QAAS,YACT,KAAM,gCACN,QAAS,EACT,YAAa,qFACd,CACF,CACF,CAEYC,EAAoD,CAC/D,KAAM,CACJ,IAAK,4BACL,QAAS,EACT,KAAM,cACN,MAAO,+BACP,YACE,yGACF,OAAQ,UACR,OAAQ,CAAC,GAAG,EAAO,CACnB,KAAM,CAAC,GAAG,EAAM,WAAW,CAC3B,UAAW,EAAc,aAC1B,CACD,SAAU,CACR,CACE,QAAS,YACT,KAAM,2BACN,QAAS,EACT,YAAa,mEACd,CACD,CACE,QAAS,YACT,KAAM,+BACN,QAAS,EACT,YAAa,0DACd,CACF,CACF,CAED,SAAgB,EACd,EACoB,CACpB,OAAO,EACJ,SAAS,EAAkC,CAC3C,SAAS,EAAsC,CAC/C,SAAS,EAAkC"}
|
|
1
|
+
{"version":3,"file":"openbanking.js","names":["openBankingAccountsReadCapability: CapabilitySpec","openBankingTransactionsReadCapability: CapabilitySpec","openBankingBalancesReadCapability: CapabilitySpec"],"sources":["../../src/capabilities/openbanking.ts"],"sourcesContent":["import type { CapabilityRegistry, CapabilitySpec } from '../capabilities';\nimport { StabilityEnum } from '../ownership';\n\nconst OWNERS = ['platform.finance'] as const;\nconst TAGS = ['open-banking', 'finance'] as const;\n\nexport const openBankingAccountsReadCapability: CapabilitySpec = {\n meta: {\n key: 'openbanking.accounts.read',\n version: 1,\n kind: 'integration',\n title: 'Open Banking Accounts (Read)',\n description:\n 'Provides read-only access to linked bank accounts, including account summaries and metadata.',\n domain: 'finance',\n owners: [...OWNERS],\n tags: [...TAGS],\n stability: StabilityEnum.Experimental,\n },\n provides: [\n {\n surface: 'operation',\n name: 'openbanking.accounts.list',\n version: 1,\n description: 'List bank accounts linked to a Powens open banking connection.',\n },\n {\n surface: 'operation',\n name: 'openbanking.accounts.get',\n version: 1,\n description: 'Retrieve the canonical bank account record for a specific account.',\n },\n {\n surface: 'operation',\n name: 'openbanking.accounts.sync',\n version: 1,\n description: 'Trigger a refresh of bank account metadata from the open banking provider.',\n },\n ],\n};\n\nexport const openBankingTransactionsReadCapability: CapabilitySpec = {\n meta: {\n key: 'openbanking.transactions.read',\n version: 1,\n kind: 'integration',\n title: 'Open Banking Transactions (Read)',\n description:\n 'Enables retrieval of transaction history for linked bank accounts via open banking providers.',\n domain: 'finance',\n owners: [...OWNERS],\n tags: [...TAGS, 'transactions'],\n stability: StabilityEnum.Experimental,\n },\n provides: [\n {\n surface: 'operation',\n name: 'openbanking.transactions.list',\n version: 1,\n description: 'List transactions for a given bank account with optional date filtering.',\n },\n {\n surface: 'operation',\n name: 'openbanking.transactions.sync',\n version: 1,\n description: 'Synchronise transactions from the open banking provider into the canonical ledger.',\n },\n ],\n};\n\nexport const openBankingBalancesReadCapability: CapabilitySpec = {\n meta: {\n key: 'openbanking.balances.read',\n version: 1,\n kind: 'integration',\n title: 'Open Banking Balances (Read)',\n description:\n 'Allows querying of current and available balances for linked bank accounts via open banking providers.',\n domain: 'finance',\n owners: [...OWNERS],\n tags: [...TAGS, 'balances'],\n stability: StabilityEnum.Experimental,\n },\n provides: [\n {\n surface: 'operation',\n name: 'openbanking.balances.get',\n version: 1,\n description: 'Retrieve the latest known balances for a specified bank account.',\n },\n {\n surface: 'operation',\n name: 'openbanking.balances.refresh',\n version: 1,\n description: 'Force a balance refresh from the open banking provider.',\n },\n ],\n};\n\nexport function registerOpenBankingCapabilities(\n registry: CapabilityRegistry\n): CapabilityRegistry {\n return registry\n .register(openBankingAccountsReadCapability)\n .register(openBankingTransactionsReadCapability)\n .register(openBankingBalancesReadCapability);\n}\n\n\n\n\n"],"mappings":"gDAGA,MAAM,EAAS,CAAC,mBAAmB,CAC7B,EAAO,CAAC,eAAgB,UAAU,CAE3BA,EAAoD,CAC/D,KAAM,CACJ,IAAK,4BACL,QAAS,EACT,KAAM,cACN,MAAO,+BACP,YACE,+FACF,OAAQ,UACR,OAAQ,CAAC,GAAG,EAAO,CACnB,KAAM,CAAC,GAAG,EAAK,CACf,UAAW,EAAc,aAC1B,CACD,SAAU,CACR,CACE,QAAS,YACT,KAAM,4BACN,QAAS,EACT,YAAa,iEACd,CACD,CACE,QAAS,YACT,KAAM,2BACN,QAAS,EACT,YAAa,qEACd,CACD,CACE,QAAS,YACT,KAAM,4BACN,QAAS,EACT,YAAa,6EACd,CACF,CACF,CAEYC,EAAwD,CACnE,KAAM,CACJ,IAAK,gCACL,QAAS,EACT,KAAM,cACN,MAAO,mCACP,YACE,gGACF,OAAQ,UACR,OAAQ,CAAC,GAAG,EAAO,CACnB,KAAM,CAAC,GAAG,EAAM,eAAe,CAC/B,UAAW,EAAc,aAC1B,CACD,SAAU,CACR,CACE,QAAS,YACT,KAAM,gCACN,QAAS,EACT,YAAa,2EACd,CACD,CACE,QAAS,YACT,KAAM,gCACN,QAAS,EACT,YAAa,qFACd,CACF,CACF,CAEYC,EAAoD,CAC/D,KAAM,CACJ,IAAK,4BACL,QAAS,EACT,KAAM,cACN,MAAO,+BACP,YACE,yGACF,OAAQ,UACR,OAAQ,CAAC,GAAG,EAAO,CACnB,KAAM,CAAC,GAAG,EAAM,WAAW,CAC3B,UAAW,EAAc,aAC1B,CACD,SAAU,CACR,CACE,QAAS,YACT,KAAM,2BACN,QAAS,EACT,YAAa,mEACd,CACD,CACE,QAAS,YACT,KAAM,+BACN,QAAS,EACT,YAAa,0DACd,CACF,CACF,CAED,SAAgB,EACd,EACoB,CACpB,OAAO,EACJ,SAAS,EAAkC,CAC3C,SAAS,EAAsC,CAC/C,SAAS,EAAkC"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { FormOption, FormSpec, FormValuesFor } from "../../forms.js";
|
|
2
2
|
import React from "react";
|
|
3
3
|
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
|
-
import { AnySchemaModel } from "@lssm/lib.schema";
|
|
5
4
|
|
|
6
5
|
//#region src/client/react/form-render.d.ts
|
|
7
6
|
interface DriverSlots {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form-render.d.ts","names":[],"sources":["../../../src/client/react/form-render.tsx"],"sourcesContent":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"form-render.d.ts","names":[],"sources":["../../../src/client/react/form-render.tsx"],"sourcesContent":[],"mappings":";;;;;UAeiB,WAAA;SACR,KAAA,CAAM,cACX,KAAA,CAAM;IAFO,cAAW,CAAA,EAAA,OAAA;IAElB,MAAA,CAAA,EAAA,OAAA;IADK,QAAA,CAAA,EAAA,OAAA;EAQX,CAAA,CAAA,CAAM;EADI,UAAM,EAAN,KAAA,CAAM,aAAA,CAChB,KAAA,CAAM,iBADU,CAAA;IAG0B,OAAA,CAAA,EAAA,MAAA;EAA1B,CAAA,CAAA,CAAM;EACZ,gBAAM,EADA,KAAA,CAAM,aACN,CADoB,KAAA,CAAM,iBAC1B,CAAA,CAAA,CAAA,CAAA,CAAA;EAEhB,UAAM,EAFI,KAAA,CAAM,aAEV,CAAA;IADW,MAAA,EAAA;MAIX,OAAA,CAAA,EAAA,MAAA;IADS,CAAA,EAAA;EAIf,CAAA,CAAA;EADY,UAAM,CAAA,EANP,KAAA,CAAM,aAMC,CALlB,KAAA,CAAM,iBAKY,CAAA;IAIiC,SAAA,CAAA,EAAA,MAAA;EAA1B,CAAA,CAAA,CAAM;EAA1B,QAAM,CAAA,EAPF,KAAA,CAAM,aAOJ,CANX,KAAA,CAAM,iBAMK,CAAA;IAEkB,SAAA,CAAA,EAAA,MAAA;EAA7B,CAAA,CAAA,CAAM;EADE,WAAM,CAAA,EALF,KAAA,CAAM,aAKJ,CAJd,KAAA,CAAM,iBAIQ,CAAA;IAYH,OAAA,CAAA,EAAA,OAAA,GAAA,SAAA;EACP,CAAA,CAAA,CAAA;EATE,KAAM,EALP,KAAA,CAAM,aAKC,CALa,KAAA,CAAM,mBAKnB,CALuC,gBAKvC,CAAA,CAAA;EAkBR,QAAA,EAtBI,KAAA,CAAM,aAsBV,CArBJ,KAAA,CAAM,sBAqBF,CArByB,mBAqBzB,CAAA,CAAA;EAPI,MAAM,EAXR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