@lssm/lib.contracts 1.7.3 → 1.7.4
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 +51 -49
- 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 +28 -26
- 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 +81 -79
- 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.d.ts.map +1 -1
- package/dist/client/react/form-render.d.ts +1 -0
- package/dist/client/react/form-render.d.ts.map +1 -1
- package/dist/contracts-adapter-input.d.ts +1 -0
- package/dist/contracts-adapter-input.d.ts.map +1 -1
- package/dist/events.d.ts +1 -0
- 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 +1 -0
- package/dist/forms.d.ts.map +1 -1
- package/dist/graphql-federation/dist/index.js +2 -0
- package/dist/graphql-federation/dist/index.js.map +1 -0
- package/dist/install.d.ts +1 -0
- package/dist/install.d.ts.map +1 -1
- package/dist/integrations/contracts.d.ts +103 -101
- 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 +67 -65
- 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 +35 -33
- 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/transactions.d.ts +49 -47
- 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/models.d.ts +57 -54
- 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/jsonschema.d.ts +1 -1
- package/dist/jsonschema.d.ts.map +1 -1
- package/dist/knowledge/contracts.d.ts +67 -65
- 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/onboarding-base.d.ts +30 -28
- 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 +1 -0
- package/dist/presentations.d.ts.map +1 -1
- package/dist/presentations.v2.d.ts +1 -0
- package/dist/presentations.v2.d.ts.map +1 -1
- package/dist/registry.d.ts +1 -0
- package/dist/registry.d.ts.map +1 -1
- package/dist/resources.d.ts.map +1 -1
- package/dist/schema/{src → dist}/FieldType.js +1 -1
- package/dist/schema/dist/FieldType.js.map +1 -0
- package/dist/schema/dist/ScalarTypeEnum.js +2 -0
- package/dist/schema/dist/ScalarTypeEnum.js.map +1 -0
- package/dist/schema/{src → dist}/SchemaModel.js +1 -1
- package/dist/schema/dist/SchemaModel.js.map +1 -0
- package/dist/schema/dist/index.js +1 -0
- package/dist/server/graphql-schema-export.js +1 -1
- package/dist/server/graphql-schema-export.js.map +1 -1
- package/dist/spec.d.ts +1 -0
- package/dist/spec.d.ts.map +1 -1
- package/dist/workflow/spec.d.ts.map +1 -1
- package/package.json +168 -168
- package/dist/graphql-federation/src/index.js +0 -2
- package/dist/graphql-federation/src/index.js.map +0 -1
- package/dist/schema/src/FieldType.js.map +0 -1
- package/dist/schema/src/ScalarTypeEnum.js +0 -2
- package/dist/schema/src/ScalarTypeEnum.js.map +0 -1
- package/dist/schema/src/SchemaModel.js.map +0 -1
- package/dist/schema/src/index.js +0 -1
- /package/dist/schema/{src → dist}/EnumType.js +0 -0
|
@@ -2,78 +2,80 @@ 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_schema0 from "@lssm/lib.schema";
|
|
6
|
+
import { SchemaModel } from "@lssm/lib.schema";
|
|
5
7
|
|
|
6
8
|
//#region src/app-config/lifecycle-contracts.d.ts
|
|
7
9
|
declare const CreateTenantConfigDraftCommand: ContractSpec<SchemaModel<{
|
|
8
10
|
tenantId: {
|
|
9
|
-
type:
|
|
11
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
10
12
|
isOptional: false;
|
|
11
13
|
};
|
|
12
14
|
appId: {
|
|
13
|
-
type:
|
|
15
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
14
16
|
isOptional: false;
|
|
15
17
|
};
|
|
16
18
|
blueprintName: {
|
|
17
|
-
type:
|
|
19
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
18
20
|
isOptional: false;
|
|
19
21
|
};
|
|
20
22
|
blueprintVersion: {
|
|
21
|
-
type:
|
|
23
|
+
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
22
24
|
isOptional: false;
|
|
23
25
|
};
|
|
24
26
|
environment: {
|
|
25
|
-
type:
|
|
27
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
26
28
|
isOptional: true;
|
|
27
29
|
};
|
|
28
30
|
fromVersion: {
|
|
29
|
-
type:
|
|
31
|
+
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
30
32
|
isOptional: true;
|
|
31
33
|
};
|
|
32
34
|
createdBy: {
|
|
33
|
-
type:
|
|
35
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
34
36
|
isOptional: false;
|
|
35
37
|
};
|
|
36
38
|
}>, SchemaModel<{
|
|
37
39
|
version: {
|
|
38
|
-
type:
|
|
40
|
+
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
39
41
|
isOptional: false;
|
|
40
42
|
};
|
|
41
43
|
status: {
|
|
42
|
-
type:
|
|
44
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
43
45
|
isOptional: false;
|
|
44
46
|
};
|
|
45
47
|
createdAt: {
|
|
46
|
-
type:
|
|
48
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
47
49
|
isOptional: false;
|
|
48
50
|
};
|
|
49
51
|
}>, {
|
|
50
52
|
ref: EventSpec<SchemaModel<{
|
|
51
53
|
tenantId: {
|
|
52
|
-
type:
|
|
54
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
53
55
|
isOptional: false;
|
|
54
56
|
};
|
|
55
57
|
appId: {
|
|
56
|
-
type:
|
|
58
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
57
59
|
isOptional: false;
|
|
58
60
|
};
|
|
59
61
|
version: {
|
|
60
|
-
type:
|
|
62
|
+
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
61
63
|
isOptional: false;
|
|
62
64
|
};
|
|
63
65
|
blueprintName: {
|
|
64
|
-
type:
|
|
66
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
65
67
|
isOptional: false;
|
|
66
68
|
};
|
|
67
69
|
blueprintVersion: {
|
|
68
|
-
type:
|
|
70
|
+
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
69
71
|
isOptional: false;
|
|
70
72
|
};
|
|
71
73
|
createdBy: {
|
|
72
|
-
type:
|
|
74
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
73
75
|
isOptional: false;
|
|
74
76
|
};
|
|
75
77
|
clonedFrom: {
|
|
76
|
-
type:
|
|
78
|
+
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
77
79
|
isOptional: true;
|
|
78
80
|
};
|
|
79
81
|
}>>;
|
|
@@ -81,55 +83,55 @@ declare const CreateTenantConfigDraftCommand: ContractSpec<SchemaModel<{
|
|
|
81
83
|
}[]>;
|
|
82
84
|
declare const PromoteTenantConfigToPreviewCommand: ContractSpec<SchemaModel<{
|
|
83
85
|
tenantId: {
|
|
84
|
-
type:
|
|
86
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
85
87
|
isOptional: false;
|
|
86
88
|
};
|
|
87
89
|
appId: {
|
|
88
|
-
type:
|
|
90
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
89
91
|
isOptional: false;
|
|
90
92
|
};
|
|
91
93
|
version: {
|
|
92
|
-
type:
|
|
94
|
+
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
93
95
|
isOptional: false;
|
|
94
96
|
};
|
|
95
97
|
promotedBy: {
|
|
96
|
-
type:
|
|
98
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
97
99
|
isOptional: false;
|
|
98
100
|
};
|
|
99
101
|
}>, SchemaModel<{
|
|
100
102
|
version: {
|
|
101
|
-
type:
|
|
103
|
+
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
102
104
|
isOptional: false;
|
|
103
105
|
};
|
|
104
106
|
status: {
|
|
105
|
-
type:
|
|
107
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
106
108
|
isOptional: false;
|
|
107
109
|
};
|
|
108
110
|
warnings: {
|
|
109
|
-
type:
|
|
111
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
110
112
|
isOptional: true;
|
|
111
113
|
isArray: true;
|
|
112
114
|
};
|
|
113
115
|
}>, {
|
|
114
116
|
ref: EventSpec<SchemaModel<{
|
|
115
117
|
tenantId: {
|
|
116
|
-
type:
|
|
118
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
117
119
|
isOptional: false;
|
|
118
120
|
};
|
|
119
121
|
appId: {
|
|
120
|
-
type:
|
|
122
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
121
123
|
isOptional: false;
|
|
122
124
|
};
|
|
123
125
|
version: {
|
|
124
|
-
type:
|
|
126
|
+
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
125
127
|
isOptional: false;
|
|
126
128
|
};
|
|
127
129
|
promotedBy: {
|
|
128
|
-
type:
|
|
130
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
129
131
|
isOptional: false;
|
|
130
132
|
};
|
|
131
133
|
warnings: {
|
|
132
|
-
type:
|
|
134
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
133
135
|
isOptional: true;
|
|
134
136
|
isArray: true;
|
|
135
137
|
};
|
|
@@ -138,74 +140,74 @@ declare const PromoteTenantConfigToPreviewCommand: ContractSpec<SchemaModel<{
|
|
|
138
140
|
}[]>;
|
|
139
141
|
declare const PublishTenantConfigCommand: ContractSpec<SchemaModel<{
|
|
140
142
|
tenantId: {
|
|
141
|
-
type:
|
|
143
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
142
144
|
isOptional: false;
|
|
143
145
|
};
|
|
144
146
|
appId: {
|
|
145
|
-
type:
|
|
147
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
146
148
|
isOptional: false;
|
|
147
149
|
};
|
|
148
150
|
version: {
|
|
149
|
-
type:
|
|
151
|
+
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
150
152
|
isOptional: false;
|
|
151
153
|
};
|
|
152
154
|
environment: {
|
|
153
|
-
type:
|
|
155
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
154
156
|
isOptional: true;
|
|
155
157
|
};
|
|
156
158
|
publishedBy: {
|
|
157
|
-
type:
|
|
159
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
158
160
|
isOptional: false;
|
|
159
161
|
};
|
|
160
162
|
changeSummary: {
|
|
161
|
-
type:
|
|
163
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
162
164
|
isOptional: true;
|
|
163
165
|
};
|
|
164
166
|
}>, SchemaModel<{
|
|
165
167
|
version: {
|
|
166
|
-
type:
|
|
168
|
+
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
167
169
|
isOptional: false;
|
|
168
170
|
};
|
|
169
171
|
status: {
|
|
170
|
-
type:
|
|
172
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
171
173
|
isOptional: false;
|
|
172
174
|
};
|
|
173
175
|
previousVersion: {
|
|
174
|
-
type:
|
|
176
|
+
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
175
177
|
isOptional: true;
|
|
176
178
|
};
|
|
177
179
|
publishedAt: {
|
|
178
|
-
type:
|
|
180
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
179
181
|
isOptional: false;
|
|
180
182
|
};
|
|
181
183
|
}>, {
|
|
182
184
|
ref: EventSpec<SchemaModel<{
|
|
183
185
|
tenantId: {
|
|
184
|
-
type:
|
|
186
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
185
187
|
isOptional: false;
|
|
186
188
|
};
|
|
187
189
|
appId: {
|
|
188
|
-
type:
|
|
190
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
189
191
|
isOptional: false;
|
|
190
192
|
};
|
|
191
193
|
version: {
|
|
192
|
-
type:
|
|
194
|
+
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
193
195
|
isOptional: false;
|
|
194
196
|
};
|
|
195
197
|
previousVersion: {
|
|
196
|
-
type:
|
|
198
|
+
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
197
199
|
isOptional: true;
|
|
198
200
|
};
|
|
199
201
|
publishedBy: {
|
|
200
|
-
type:
|
|
202
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
201
203
|
isOptional: false;
|
|
202
204
|
};
|
|
203
205
|
changeSummary: {
|
|
204
|
-
type:
|
|
206
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
205
207
|
isOptional: true;
|
|
206
208
|
};
|
|
207
209
|
changedSections: {
|
|
208
|
-
type:
|
|
210
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
209
211
|
isOptional: true;
|
|
210
212
|
isArray: true;
|
|
211
213
|
};
|
|
@@ -214,70 +216,70 @@ declare const PublishTenantConfigCommand: ContractSpec<SchemaModel<{
|
|
|
214
216
|
}[]>;
|
|
215
217
|
declare const RollbackTenantConfigCommand: ContractSpec<SchemaModel<{
|
|
216
218
|
tenantId: {
|
|
217
|
-
type:
|
|
219
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
218
220
|
isOptional: false;
|
|
219
221
|
};
|
|
220
222
|
appId: {
|
|
221
|
-
type:
|
|
223
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
222
224
|
isOptional: false;
|
|
223
225
|
};
|
|
224
226
|
toVersion: {
|
|
225
|
-
type:
|
|
227
|
+
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
226
228
|
isOptional: false;
|
|
227
229
|
};
|
|
228
230
|
environment: {
|
|
229
|
-
type:
|
|
231
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
230
232
|
isOptional: true;
|
|
231
233
|
};
|
|
232
234
|
rolledBackBy: {
|
|
233
|
-
type:
|
|
235
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
234
236
|
isOptional: false;
|
|
235
237
|
};
|
|
236
238
|
reason: {
|
|
237
|
-
type:
|
|
239
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
238
240
|
isOptional: false;
|
|
239
241
|
};
|
|
240
242
|
}>, SchemaModel<{
|
|
241
243
|
newVersion: {
|
|
242
|
-
type:
|
|
244
|
+
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
243
245
|
isOptional: false;
|
|
244
246
|
};
|
|
245
247
|
status: {
|
|
246
|
-
type:
|
|
248
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
247
249
|
isOptional: false;
|
|
248
250
|
};
|
|
249
251
|
rolledBackFrom: {
|
|
250
|
-
type:
|
|
252
|
+
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
251
253
|
isOptional: false;
|
|
252
254
|
};
|
|
253
255
|
}>, {
|
|
254
256
|
ref: EventSpec<SchemaModel<{
|
|
255
257
|
tenantId: {
|
|
256
|
-
type:
|
|
258
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
257
259
|
isOptional: false;
|
|
258
260
|
};
|
|
259
261
|
appId: {
|
|
260
|
-
type:
|
|
262
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
261
263
|
isOptional: false;
|
|
262
264
|
};
|
|
263
265
|
newVersion: {
|
|
264
|
-
type:
|
|
266
|
+
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
265
267
|
isOptional: false;
|
|
266
268
|
};
|
|
267
269
|
rolledBackFrom: {
|
|
268
|
-
type:
|
|
270
|
+
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
269
271
|
isOptional: false;
|
|
270
272
|
};
|
|
271
273
|
rolledBackTo: {
|
|
272
|
-
type:
|
|
274
|
+
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
273
275
|
isOptional: false;
|
|
274
276
|
};
|
|
275
277
|
rolledBackBy: {
|
|
276
|
-
type:
|
|
278
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
277
279
|
isOptional: false;
|
|
278
280
|
};
|
|
279
281
|
reason: {
|
|
280
|
-
type:
|
|
282
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
281
283
|
isOptional: false;
|
|
282
284
|
};
|
|
283
285
|
}>>;
|
|
@@ -285,22 +287,22 @@ declare const RollbackTenantConfigCommand: ContractSpec<SchemaModel<{
|
|
|
285
287
|
}[]>;
|
|
286
288
|
declare const ListTenantConfigVersionsQuery: ContractSpec<SchemaModel<{
|
|
287
289
|
tenantId: {
|
|
288
|
-
type:
|
|
290
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
289
291
|
isOptional: false;
|
|
290
292
|
};
|
|
291
293
|
appId: {
|
|
292
|
-
type:
|
|
294
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
293
295
|
isOptional: false;
|
|
294
296
|
};
|
|
295
297
|
}>, SchemaModel<{
|
|
296
298
|
versions: {
|
|
297
299
|
type: SchemaModel<{
|
|
298
300
|
meta: {
|
|
299
|
-
type:
|
|
301
|
+
type: _lssm_lib_schema0.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
300
302
|
isOptional: false;
|
|
301
303
|
};
|
|
302
304
|
config: {
|
|
303
|
-
type:
|
|
305
|
+
type: _lssm_lib_schema0.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
304
306
|
isOptional: false;
|
|
305
307
|
};
|
|
306
308
|
}>;
|
|
@@ -310,35 +312,35 @@ declare const ListTenantConfigVersionsQuery: ContractSpec<SchemaModel<{
|
|
|
310
312
|
transitions: {
|
|
311
313
|
type: SchemaModel<{
|
|
312
314
|
tenantId: {
|
|
313
|
-
type:
|
|
315
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
314
316
|
isOptional: false;
|
|
315
317
|
};
|
|
316
318
|
appId: {
|
|
317
|
-
type:
|
|
319
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
318
320
|
isOptional: false;
|
|
319
321
|
};
|
|
320
322
|
fromStatus: {
|
|
321
|
-
type:
|
|
323
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
322
324
|
isOptional: false;
|
|
323
325
|
};
|
|
324
326
|
toStatus: {
|
|
325
|
-
type:
|
|
327
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
326
328
|
isOptional: false;
|
|
327
329
|
};
|
|
328
330
|
version: {
|
|
329
|
-
type:
|
|
331
|
+
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
330
332
|
isOptional: false;
|
|
331
333
|
};
|
|
332
334
|
timestamp: {
|
|
333
|
-
type:
|
|
335
|
+
type: _lssm_lib_schema0.FieldType<Date, string>;
|
|
334
336
|
isOptional: false;
|
|
335
337
|
};
|
|
336
338
|
actor: {
|
|
337
|
-
type:
|
|
339
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
338
340
|
isOptional: false;
|
|
339
341
|
};
|
|
340
342
|
reason: {
|
|
341
|
-
type:
|
|
343
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
342
344
|
isOptional: true;
|
|
343
345
|
};
|
|
344
346
|
}>;
|
|
@@ -348,26 +350,26 @@ declare const ListTenantConfigVersionsQuery: ContractSpec<SchemaModel<{
|
|
|
348
350
|
}>, undefined>;
|
|
349
351
|
declare const GetTenantConfigVersionQuery: ContractSpec<SchemaModel<{
|
|
350
352
|
tenantId: {
|
|
351
|
-
type:
|
|
353
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
352
354
|
isOptional: false;
|
|
353
355
|
};
|
|
354
356
|
appId: {
|
|
355
|
-
type:
|
|
357
|
+
type: _lssm_lib_schema0.FieldType<string, string>;
|
|
356
358
|
isOptional: false;
|
|
357
359
|
};
|
|
358
360
|
version: {
|
|
359
|
-
type:
|
|
361
|
+
type: _lssm_lib_schema0.FieldType<number, number>;
|
|
360
362
|
isOptional: false;
|
|
361
363
|
};
|
|
362
364
|
}>, SchemaModel<{
|
|
363
365
|
version: {
|
|
364
366
|
type: SchemaModel<{
|
|
365
367
|
meta: {
|
|
366
|
-
type:
|
|
368
|
+
type: _lssm_lib_schema0.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
367
369
|
isOptional: false;
|
|
368
370
|
};
|
|
369
371
|
config: {
|
|
370
|
-
type:
|
|
372
|
+
type: _lssm_lib_schema0.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
371
373
|
isOptional: false;
|
|
372
374
|
};
|
|
373
375
|
}>;
|
|
@@ -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,iBAAA,CAAA;;;EAzBW,KAAA,EAAA;IAyBX,IAAA,6BAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;;;;EAzByC,gBAAA,EAAA;IAAA,IAAA,6BAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;;;;;;;;;;;EAAA,CAAA;CAAA,CAAA,aAAA,CAAA;EAkD9B,OAAA,EAAA;IAyBX,IAAA,EA3EyC,iBAAA,CAAA,SA2EzC,CAAA,MAAA,EAAA,MAAA,CAAA;;;;IAzB8C,IAAA,6BAAA,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;;;;;;;;;;;IAAA,CAAA;IAAA,KAAA,EAAA;MAoDnC,IAAA,6BAyBX,CAAA,MAAA,EAAA,MAAA,CAAA;MAAA,UAAA,EAAA,KAAA;;;;;;IAzBqC,aAAA,EAAA;MAAA,IAAA,6BAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;;;;;;;;;;;;EAAA,CAAA,CAAA,CAAA;EAAA,IAAA,EAAA,MAAA;AAgDvC,CAAA,EAAA,CAAa;AAyBX,cA7HW,mCA6HX,EA7H8C,YA6H9C,CA7H8C,WA6H9C,CAAA;;UApGA,iBAAA,CAAA;;;;IA2EsC,IAAA,6BAAA,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;;;;;;;;;;;;UApGQ,iBAAA,CAAA;IAoGR,UAAA,EAAA,KAAA;EAAA,CAAA;EA+C3B,MAAA,EAAA;IAiBX,IAAA,6BAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;EAjBwC,CAAA;;;;;;;;;;;;;;;;;;;IAAA,CAAA;IAAA,UAAA,EAAA;MAmC7B,IAAA,6BAiBX,CAAA,MAAA,EAAA,MAAA,CAAA;MAAA,UAAA,EAAA,KAAA;;;MAjBsC,IAAA,6BAAA,CAAA,MAAA,EAAA,MAAA,CAAA;;;;;;;cAlI3B,4BAA0B,aAAA;;IAkIC,IAAA,EAzGtC,iBAAA,CAAA,SAyGsC,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;EAmB3B,CAAA;EASG,KAAA,EAAA;;;;;;;;;;;;;;;;;;;;;;UA9JuB,iBAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAgD1B,6BAA2B,aAAA;;UAyBtC,iBAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;UAzBsC,iBAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA+C3B,+BAA6B,aAAA;;UAiBxC,iBAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAkBW,6BAA2B,aAAA;;UAiBtC,iBAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cAEW,oBAAoB,eAAe;iBAShC,mCAAA,WAA8C,eAAY"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{l as e}from"../schema/dist/ScalarTypeEnum.js";import{t}from"../schema/dist/SchemaModel.js";import"../schema/dist/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":["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,iBAAiB,C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AAS,EAA8B,CACvC,SAAS,EAA4B"}
|
|
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(RollbackTenantConfigCommand)\n .register(ListTenantConfigVersionsQuery)\n .register(GetTenantConfigVersionQuery);\n}\n\n\n"],"mappings":"yZAYA,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,IAAIA,EAAY,CAC1C,KAAM,sBACN,OAAQ,CACN,KAAM,CAAE,KAAMC,EAAe,YAAY,CAAE,WAAY,GAAO,CAC9D,OAAQ,CAAE,KAAMA,EAAe,YAAY,CAAE,WAAY,GAAO,CACjE,CACF,CAAC,CAEI,EAAyB,IAAID,EAAY,CAC7C,KAAM,yBACN,OAAQ,CACN,SAAU,CAAE,KAAMC,EAAe,IAAI,CAAE,WAAY,GAAO,CAC1D,MAAO,CAAE,KAAMA,EAAe,IAAI,CAAE,WAAY,GAAO,CACvD,WAAY,CACV,KAAMA,EAAe,iBAAiB,CACtC,WAAY,GACb,CACD,SAAU,CAAE,KAAMA,EAAe,iBAAiB,CAAE,WAAY,GAAO,CACvE,QAAS,CAAE,KAAMA,EAAe,cAAc,CAAE,WAAY,GAAO,CACnE,UAAW,CAAE,KAAMA,EAAe,UAAU,CAAE,WAAY,GAAO,CACjE,MAAO,CAAE,KAAMA,EAAe,iBAAiB,CAAE,WAAY,GAAO,CACpE,OAAQ,CAAE,KAAMA,EAAe,iBAAiB,CAAE,WAAY,GAAM,CACrE,CACF,CAAC,CAEI,EAAmB,IAAID,EAAY,CACvC,KAAM,+BACN,OAAQ,CACN,SAAU,CAAE,KAAMC,EAAe,IAAI,CAAE,WAAY,GAAO,CAC1D,MAAO,CAAE,KAAMA,EAAe,IAAI,CAAE,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,CAC1E,OAAO,EACJ,SAAS,EAA+B,CACxC,SAAS,EAAoC,CAC7C,SAAS,EAA2B,CACpC,SAAS,EAA4B,CACrC,SAAS,EAA8B,CACvC,SAAS,EAA4B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"openbanking.d.ts","names":[],"sources":["../../src/capabilities/openbanking.ts"],"sourcesContent":[],"mappings":";;;cAMa,mCAAmC;cAmCnC,uCAAuC;AAnCvC,cAgEA,iCAhEmC,EAgEA,cA/B/C;AAEY,iBA0DG,+BAAA,
|
|
1
|
+
{"version":3,"file":"openbanking.d.ts","names":[],"sources":["../../src/capabilities/openbanking.ts"],"sourcesContent":[],"mappings":";;;cAMa,mCAAmC;cAmCnC,uCAAuC;AAnCvC,cAgEA,iCAhEmC,EAgEA,cA/B/C;AAEY,iBA0DG,+BAAA,CA1DoC,QAAA,EA2DxC,kBAhCX,CAAA,EAiCE,kBAjCF"}
|
|
@@ -1,6 +1,7 @@
|
|
|
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";
|
|
4
5
|
|
|
5
6
|
//#region src/client/react/form-render.d.ts
|
|
6
7
|
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,MAAA,CAAA,EAAA,OAAW;IAElB,QAAA,CAAA,EAAA,OAAA;EADD,CAAA,CAAA,CAAM;EAQX,UAAM,EADI,KAAA,CAAM,aACV,CAAN,KAAA,CAAM,iBAAA,CAAA;I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AAA,CAAA,GAxGK,MAwGL,CAAA,MAAA,EAAA,CAAA,MAAA,EAtGnB,OAsGmB,EAAA,IAAA,CAAA,EAAA,GAAA,EAAA,GAtGK,OAsGL,CAtGa,UAsGb,EAAA,CAAA,GAtG6B,UAsG7B,EAAA,CAAA;AAAtB,KApGI,cAoGJ,CAAA,OAAA,CAAA,GApG8B,MAoG9B,CAAA,MAAA,EAAA,CAAA,MAAA,EApGsD,OAoGtD,EAAA,GAAA,GAAA,CAAA;AA8SoB,UAhZX,qBAgZW,CAAA,UAAA,GAAA,CAAA,CAAA;EAAT,MAAA,EA/YT,WA+YS;EAAmD,WAAA,CAAA,EA9YtD,MA8YsD,CAAA,MAAA,EAAA,OAAA,CAAA;EAAd,gBAAA,CAAA,EAAA,CAAA,MAAA,EA5Y5C,OA4Y4C,EAAA,SAAA,EAAA,MAAA,EAAA,GA1YjD,OA0YiD,CAAA,IAAA,CAAA,GAAA,IAAA;EAAd,WAAA,CAAA,EAAA,MAAA,EAAA;EAA+B,SAAA,CAAA,EAxY3D,WAwY2D,CAxY/C,OAwY+C,CAAA;EAAA,YAAA,CAAA,EAvYxD,cAuYwD,CAvYzC,OAuYyC,CAAA;;;UAnYxD;kBACC,QAAQ;cACZ,QAAQ,sBAAsB;;iBAkF5B,6BAA6B,iBAAiB,sBACtD,sBAAsB,cAAc;iBA8SzB,SAAS,cAAc,cAAc,cAAc,QAAG,kBAAA,CAAA,GAAA,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"contracts-adapter-input.d.ts","names":[],"sources":["../src/contracts-adapter-input.ts"],"sourcesContent":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"contracts-adapter-input.d.ts","names":[],"sources":["../src/contracts-adapter-input.ts"],"sourcesContent":[],"mappings":";;;;iBAOgB,aAAA,mBAAgC;iBAgChC,iCAAiC,sBACtC,iBAAA,CAAkB,cAAc;EAjC3B,mBAAa,EAAA,CAAA,KAAA,EA8HS,cA9HwB,GAAA,IAAA,EAAA,GAAA,IAAA;AAgC9D,CAAA"}
|
package/dist/events.d.ts
CHANGED
package/dist/events.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events.d.ts","names":[],"sources":["../src/events.ts"],"sourcesContent":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"events.d.ts","names":[],"sources":["../src/events.ts"],"sourcesContent":[],"mappings":";;;;;;;AAOA;;AAUW,UAVM,SAUN,CAAA,UAV0B,cAU1B,CAAA,CAAA;EAEG;EAAa,IAAA,EAAA,MAAA;EAIX;EAAsB,OAAA,EAAA,MAAA;EACvB;EAAV,WAAA,CAAA,EAAA,MAAA;EACQ;EAAV,GAAA,CAAA,EAAA,MAAA,EAAA;EAAS;EAIK,OAAA,EAZN,CAYM;EAeL;EAEC,SAAA,CAAA,EA3BC,aA2B2C;;;iBAvBzC,sBAAsB,mBACjC,UAAU,KACZ,UAAU;UAII;;;;;;;;;;;;WAYN;;KAGC,QAAA;;cAEC,6CAA4C"}
|