@lssm/lib.contracts 0.0.0-canary-20251217060834 → 0.0.0-canary-20251217062139
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 +50 -50
- package/dist/app-config/contracts.js +1 -1
- package/dist/app-config/events.d.ts +27 -27
- package/dist/app-config/events.js +1 -1
- package/dist/app-config/lifecycle-contracts.d.ts +80 -80
- package/dist/app-config/lifecycle-contracts.js +1 -1
- package/dist/client/react/form-render.d.ts +1 -1
- package/dist/events.js +1 -1
- package/dist/index.js +1 -1
- package/dist/install.d.ts +1 -1
- package/dist/integrations/contracts.d.ts +102 -102
- package/dist/integrations/contracts.js +1 -1
- package/dist/integrations/openbanking/contracts/accounts.d.ts +66 -66
- package/dist/integrations/openbanking/contracts/accounts.js +1 -1
- package/dist/integrations/openbanking/contracts/balances.d.ts +34 -34
- package/dist/integrations/openbanking/contracts/balances.js +1 -1
- package/dist/integrations/openbanking/contracts/transactions.d.ts +48 -48
- package/dist/integrations/openbanking/contracts/transactions.js +1 -1
- package/dist/integrations/openbanking/models.d.ts +55 -55
- package/dist/integrations/openbanking/models.js +1 -1
- package/dist/jsonschema.d.ts +4 -4
- package/dist/knowledge/contracts.d.ts +66 -66
- package/dist/knowledge/contracts.js +1 -1
- package/dist/onboarding-base.d.ts +29 -29
- package/dist/onboarding-base.js +1 -1
- package/dist/presentations.d.ts +4 -4
- package/dist/presentations.v2.d.ts +1 -1
- package/dist/schema/dist/EnumType.js +1 -0
- package/dist/schema/dist/FieldType.js +1 -0
- package/dist/schema/dist/ScalarTypeEnum.js +1 -0
- package/dist/schema/dist/SchemaModel.js +1 -0
- package/dist/schema/dist/entity/defineEntity.js +1 -0
- package/dist/schema/dist/entity/index.js +1 -0
- package/dist/schema/dist/entity/types.js +1 -0
- package/dist/schema/dist/index.js +1 -0
- package/dist/server/graphql-pothos.d.ts +5 -1
- package/dist/server/graphql-pothos.js +1 -1
- package/package.json +4 -4
- package/dist/_virtual/rolldown_runtime.js +0 -1
|
@@ -2,80 +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
|
|
5
|
+
import * as _lssm_lib_schema284 from "@lssm/lib.schema";
|
|
6
6
|
import { SchemaModel } from "@lssm/lib.schema";
|
|
7
7
|
|
|
8
8
|
//#region src/app-config/lifecycle-contracts.d.ts
|
|
9
9
|
declare const CreateTenantConfigDraftCommand: ContractSpec<SchemaModel<{
|
|
10
10
|
tenantId: {
|
|
11
|
-
type:
|
|
11
|
+
type: _lssm_lib_schema284.FieldType<string, string>;
|
|
12
12
|
isOptional: false;
|
|
13
13
|
};
|
|
14
14
|
appId: {
|
|
15
|
-
type:
|
|
15
|
+
type: _lssm_lib_schema284.FieldType<string, string>;
|
|
16
16
|
isOptional: false;
|
|
17
17
|
};
|
|
18
18
|
blueprintName: {
|
|
19
|
-
type:
|
|
19
|
+
type: _lssm_lib_schema284.FieldType<string, string>;
|
|
20
20
|
isOptional: false;
|
|
21
21
|
};
|
|
22
22
|
blueprintVersion: {
|
|
23
|
-
type:
|
|
23
|
+
type: _lssm_lib_schema284.FieldType<number, number>;
|
|
24
24
|
isOptional: false;
|
|
25
25
|
};
|
|
26
26
|
environment: {
|
|
27
|
-
type:
|
|
27
|
+
type: _lssm_lib_schema284.FieldType<string, string>;
|
|
28
28
|
isOptional: true;
|
|
29
29
|
};
|
|
30
30
|
fromVersion: {
|
|
31
|
-
type:
|
|
31
|
+
type: _lssm_lib_schema284.FieldType<number, number>;
|
|
32
32
|
isOptional: true;
|
|
33
33
|
};
|
|
34
34
|
createdBy: {
|
|
35
|
-
type:
|
|
35
|
+
type: _lssm_lib_schema284.FieldType<string, string>;
|
|
36
36
|
isOptional: false;
|
|
37
37
|
};
|
|
38
38
|
}>, SchemaModel<{
|
|
39
39
|
version: {
|
|
40
|
-
type:
|
|
40
|
+
type: _lssm_lib_schema284.FieldType<number, number>;
|
|
41
41
|
isOptional: false;
|
|
42
42
|
};
|
|
43
43
|
status: {
|
|
44
|
-
type:
|
|
44
|
+
type: _lssm_lib_schema284.FieldType<string, string>;
|
|
45
45
|
isOptional: false;
|
|
46
46
|
};
|
|
47
47
|
createdAt: {
|
|
48
|
-
type:
|
|
48
|
+
type: _lssm_lib_schema284.FieldType<Date, string>;
|
|
49
49
|
isOptional: false;
|
|
50
50
|
};
|
|
51
51
|
}>, {
|
|
52
52
|
ref: EventSpec<SchemaModel<{
|
|
53
53
|
tenantId: {
|
|
54
|
-
type:
|
|
54
|
+
type: _lssm_lib_schema284.FieldType<string, string>;
|
|
55
55
|
isOptional: false;
|
|
56
56
|
};
|
|
57
57
|
appId: {
|
|
58
|
-
type:
|
|
58
|
+
type: _lssm_lib_schema284.FieldType<string, string>;
|
|
59
59
|
isOptional: false;
|
|
60
60
|
};
|
|
61
61
|
version: {
|
|
62
|
-
type:
|
|
62
|
+
type: _lssm_lib_schema284.FieldType<number, number>;
|
|
63
63
|
isOptional: false;
|
|
64
64
|
};
|
|
65
65
|
blueprintName: {
|
|
66
|
-
type:
|
|
66
|
+
type: _lssm_lib_schema284.FieldType<string, string>;
|
|
67
67
|
isOptional: false;
|
|
68
68
|
};
|
|
69
69
|
blueprintVersion: {
|
|
70
|
-
type:
|
|
70
|
+
type: _lssm_lib_schema284.FieldType<number, number>;
|
|
71
71
|
isOptional: false;
|
|
72
72
|
};
|
|
73
73
|
createdBy: {
|
|
74
|
-
type:
|
|
74
|
+
type: _lssm_lib_schema284.FieldType<string, string>;
|
|
75
75
|
isOptional: false;
|
|
76
76
|
};
|
|
77
77
|
clonedFrom: {
|
|
78
|
-
type:
|
|
78
|
+
type: _lssm_lib_schema284.FieldType<number, number>;
|
|
79
79
|
isOptional: true;
|
|
80
80
|
};
|
|
81
81
|
}>>;
|
|
@@ -83,55 +83,55 @@ declare const CreateTenantConfigDraftCommand: ContractSpec<SchemaModel<{
|
|
|
83
83
|
}[]>;
|
|
84
84
|
declare const PromoteTenantConfigToPreviewCommand: ContractSpec<SchemaModel<{
|
|
85
85
|
tenantId: {
|
|
86
|
-
type:
|
|
86
|
+
type: _lssm_lib_schema284.FieldType<string, string>;
|
|
87
87
|
isOptional: false;
|
|
88
88
|
};
|
|
89
89
|
appId: {
|
|
90
|
-
type:
|
|
90
|
+
type: _lssm_lib_schema284.FieldType<string, string>;
|
|
91
91
|
isOptional: false;
|
|
92
92
|
};
|
|
93
93
|
version: {
|
|
94
|
-
type:
|
|
94
|
+
type: _lssm_lib_schema284.FieldType<number, number>;
|
|
95
95
|
isOptional: false;
|
|
96
96
|
};
|
|
97
97
|
promotedBy: {
|
|
98
|
-
type:
|
|
98
|
+
type: _lssm_lib_schema284.FieldType<string, string>;
|
|
99
99
|
isOptional: false;
|
|
100
100
|
};
|
|
101
101
|
}>, SchemaModel<{
|
|
102
102
|
version: {
|
|
103
|
-
type:
|
|
103
|
+
type: _lssm_lib_schema284.FieldType<number, number>;
|
|
104
104
|
isOptional: false;
|
|
105
105
|
};
|
|
106
106
|
status: {
|
|
107
|
-
type:
|
|
107
|
+
type: _lssm_lib_schema284.FieldType<string, string>;
|
|
108
108
|
isOptional: false;
|
|
109
109
|
};
|
|
110
110
|
warnings: {
|
|
111
|
-
type:
|
|
111
|
+
type: _lssm_lib_schema284.FieldType<string, string>;
|
|
112
112
|
isOptional: true;
|
|
113
113
|
isArray: true;
|
|
114
114
|
};
|
|
115
115
|
}>, {
|
|
116
116
|
ref: EventSpec<SchemaModel<{
|
|
117
117
|
tenantId: {
|
|
118
|
-
type:
|
|
118
|
+
type: _lssm_lib_schema284.FieldType<string, string>;
|
|
119
119
|
isOptional: false;
|
|
120
120
|
};
|
|
121
121
|
appId: {
|
|
122
|
-
type:
|
|
122
|
+
type: _lssm_lib_schema284.FieldType<string, string>;
|
|
123
123
|
isOptional: false;
|
|
124
124
|
};
|
|
125
125
|
version: {
|
|
126
|
-
type:
|
|
126
|
+
type: _lssm_lib_schema284.FieldType<number, number>;
|
|
127
127
|
isOptional: false;
|
|
128
128
|
};
|
|
129
129
|
promotedBy: {
|
|
130
|
-
type:
|
|
130
|
+
type: _lssm_lib_schema284.FieldType<string, string>;
|
|
131
131
|
isOptional: false;
|
|
132
132
|
};
|
|
133
133
|
warnings: {
|
|
134
|
-
type:
|
|
134
|
+
type: _lssm_lib_schema284.FieldType<string, string>;
|
|
135
135
|
isOptional: true;
|
|
136
136
|
isArray: true;
|
|
137
137
|
};
|
|
@@ -140,74 +140,74 @@ declare const PromoteTenantConfigToPreviewCommand: ContractSpec<SchemaModel<{
|
|
|
140
140
|
}[]>;
|
|
141
141
|
declare const PublishTenantConfigCommand: ContractSpec<SchemaModel<{
|
|
142
142
|
tenantId: {
|
|
143
|
-
type:
|
|
143
|
+
type: _lssm_lib_schema284.FieldType<string, string>;
|
|
144
144
|
isOptional: false;
|
|
145
145
|
};
|
|
146
146
|
appId: {
|
|
147
|
-
type:
|
|
147
|
+
type: _lssm_lib_schema284.FieldType<string, string>;
|
|
148
148
|
isOptional: false;
|
|
149
149
|
};
|
|
150
150
|
version: {
|
|
151
|
-
type:
|
|
151
|
+
type: _lssm_lib_schema284.FieldType<number, number>;
|
|
152
152
|
isOptional: false;
|
|
153
153
|
};
|
|
154
154
|
environment: {
|
|
155
|
-
type:
|
|
155
|
+
type: _lssm_lib_schema284.FieldType<string, string>;
|
|
156
156
|
isOptional: true;
|
|
157
157
|
};
|
|
158
158
|
publishedBy: {
|
|
159
|
-
type:
|
|
159
|
+
type: _lssm_lib_schema284.FieldType<string, string>;
|
|
160
160
|
isOptional: false;
|
|
161
161
|
};
|
|
162
162
|
changeSummary: {
|
|
163
|
-
type:
|
|
163
|
+
type: _lssm_lib_schema284.FieldType<string, string>;
|
|
164
164
|
isOptional: true;
|
|
165
165
|
};
|
|
166
166
|
}>, SchemaModel<{
|
|
167
167
|
version: {
|
|
168
|
-
type:
|
|
168
|
+
type: _lssm_lib_schema284.FieldType<number, number>;
|
|
169
169
|
isOptional: false;
|
|
170
170
|
};
|
|
171
171
|
status: {
|
|
172
|
-
type:
|
|
172
|
+
type: _lssm_lib_schema284.FieldType<string, string>;
|
|
173
173
|
isOptional: false;
|
|
174
174
|
};
|
|
175
175
|
previousVersion: {
|
|
176
|
-
type:
|
|
176
|
+
type: _lssm_lib_schema284.FieldType<number, number>;
|
|
177
177
|
isOptional: true;
|
|
178
178
|
};
|
|
179
179
|
publishedAt: {
|
|
180
|
-
type:
|
|
180
|
+
type: _lssm_lib_schema284.FieldType<Date, string>;
|
|
181
181
|
isOptional: false;
|
|
182
182
|
};
|
|
183
183
|
}>, {
|
|
184
184
|
ref: EventSpec<SchemaModel<{
|
|
185
185
|
tenantId: {
|
|
186
|
-
type:
|
|
186
|
+
type: _lssm_lib_schema284.FieldType<string, string>;
|
|
187
187
|
isOptional: false;
|
|
188
188
|
};
|
|
189
189
|
appId: {
|
|
190
|
-
type:
|
|
190
|
+
type: _lssm_lib_schema284.FieldType<string, string>;
|
|
191
191
|
isOptional: false;
|
|
192
192
|
};
|
|
193
193
|
version: {
|
|
194
|
-
type:
|
|
194
|
+
type: _lssm_lib_schema284.FieldType<number, number>;
|
|
195
195
|
isOptional: false;
|
|
196
196
|
};
|
|
197
197
|
previousVersion: {
|
|
198
|
-
type:
|
|
198
|
+
type: _lssm_lib_schema284.FieldType<number, number>;
|
|
199
199
|
isOptional: true;
|
|
200
200
|
};
|
|
201
201
|
publishedBy: {
|
|
202
|
-
type:
|
|
202
|
+
type: _lssm_lib_schema284.FieldType<string, string>;
|
|
203
203
|
isOptional: false;
|
|
204
204
|
};
|
|
205
205
|
changeSummary: {
|
|
206
|
-
type:
|
|
206
|
+
type: _lssm_lib_schema284.FieldType<string, string>;
|
|
207
207
|
isOptional: true;
|
|
208
208
|
};
|
|
209
209
|
changedSections: {
|
|
210
|
-
type:
|
|
210
|
+
type: _lssm_lib_schema284.FieldType<string, string>;
|
|
211
211
|
isOptional: true;
|
|
212
212
|
isArray: true;
|
|
213
213
|
};
|
|
@@ -216,70 +216,70 @@ declare const PublishTenantConfigCommand: ContractSpec<SchemaModel<{
|
|
|
216
216
|
}[]>;
|
|
217
217
|
declare const RollbackTenantConfigCommand: ContractSpec<SchemaModel<{
|
|
218
218
|
tenantId: {
|
|
219
|
-
type:
|
|
219
|
+
type: _lssm_lib_schema284.FieldType<string, string>;
|
|
220
220
|
isOptional: false;
|
|
221
221
|
};
|
|
222
222
|
appId: {
|
|
223
|
-
type:
|
|
223
|
+
type: _lssm_lib_schema284.FieldType<string, string>;
|
|
224
224
|
isOptional: false;
|
|
225
225
|
};
|
|
226
226
|
toVersion: {
|
|
227
|
-
type:
|
|
227
|
+
type: _lssm_lib_schema284.FieldType<number, number>;
|
|
228
228
|
isOptional: false;
|
|
229
229
|
};
|
|
230
230
|
environment: {
|
|
231
|
-
type:
|
|
231
|
+
type: _lssm_lib_schema284.FieldType<string, string>;
|
|
232
232
|
isOptional: true;
|
|
233
233
|
};
|
|
234
234
|
rolledBackBy: {
|
|
235
|
-
type:
|
|
235
|
+
type: _lssm_lib_schema284.FieldType<string, string>;
|
|
236
236
|
isOptional: false;
|
|
237
237
|
};
|
|
238
238
|
reason: {
|
|
239
|
-
type:
|
|
239
|
+
type: _lssm_lib_schema284.FieldType<string, string>;
|
|
240
240
|
isOptional: false;
|
|
241
241
|
};
|
|
242
242
|
}>, SchemaModel<{
|
|
243
243
|
newVersion: {
|
|
244
|
-
type:
|
|
244
|
+
type: _lssm_lib_schema284.FieldType<number, number>;
|
|
245
245
|
isOptional: false;
|
|
246
246
|
};
|
|
247
247
|
status: {
|
|
248
|
-
type:
|
|
248
|
+
type: _lssm_lib_schema284.FieldType<string, string>;
|
|
249
249
|
isOptional: false;
|
|
250
250
|
};
|
|
251
251
|
rolledBackFrom: {
|
|
252
|
-
type:
|
|
252
|
+
type: _lssm_lib_schema284.FieldType<number, number>;
|
|
253
253
|
isOptional: false;
|
|
254
254
|
};
|
|
255
255
|
}>, {
|
|
256
256
|
ref: EventSpec<SchemaModel<{
|
|
257
257
|
tenantId: {
|
|
258
|
-
type:
|
|
258
|
+
type: _lssm_lib_schema284.FieldType<string, string>;
|
|
259
259
|
isOptional: false;
|
|
260
260
|
};
|
|
261
261
|
appId: {
|
|
262
|
-
type:
|
|
262
|
+
type: _lssm_lib_schema284.FieldType<string, string>;
|
|
263
263
|
isOptional: false;
|
|
264
264
|
};
|
|
265
265
|
newVersion: {
|
|
266
|
-
type:
|
|
266
|
+
type: _lssm_lib_schema284.FieldType<number, number>;
|
|
267
267
|
isOptional: false;
|
|
268
268
|
};
|
|
269
269
|
rolledBackFrom: {
|
|
270
|
-
type:
|
|
270
|
+
type: _lssm_lib_schema284.FieldType<number, number>;
|
|
271
271
|
isOptional: false;
|
|
272
272
|
};
|
|
273
273
|
rolledBackTo: {
|
|
274
|
-
type:
|
|
274
|
+
type: _lssm_lib_schema284.FieldType<number, number>;
|
|
275
275
|
isOptional: false;
|
|
276
276
|
};
|
|
277
277
|
rolledBackBy: {
|
|
278
|
-
type:
|
|
278
|
+
type: _lssm_lib_schema284.FieldType<string, string>;
|
|
279
279
|
isOptional: false;
|
|
280
280
|
};
|
|
281
281
|
reason: {
|
|
282
|
-
type:
|
|
282
|
+
type: _lssm_lib_schema284.FieldType<string, string>;
|
|
283
283
|
isOptional: false;
|
|
284
284
|
};
|
|
285
285
|
}>>;
|
|
@@ -287,22 +287,22 @@ declare const RollbackTenantConfigCommand: ContractSpec<SchemaModel<{
|
|
|
287
287
|
}[]>;
|
|
288
288
|
declare const ListTenantConfigVersionsQuery: ContractSpec<SchemaModel<{
|
|
289
289
|
tenantId: {
|
|
290
|
-
type:
|
|
290
|
+
type: _lssm_lib_schema284.FieldType<string, string>;
|
|
291
291
|
isOptional: false;
|
|
292
292
|
};
|
|
293
293
|
appId: {
|
|
294
|
-
type:
|
|
294
|
+
type: _lssm_lib_schema284.FieldType<string, string>;
|
|
295
295
|
isOptional: false;
|
|
296
296
|
};
|
|
297
297
|
}>, SchemaModel<{
|
|
298
298
|
versions: {
|
|
299
299
|
type: SchemaModel<{
|
|
300
300
|
meta: {
|
|
301
|
-
type:
|
|
301
|
+
type: _lssm_lib_schema284.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
302
302
|
isOptional: false;
|
|
303
303
|
};
|
|
304
304
|
config: {
|
|
305
|
-
type:
|
|
305
|
+
type: _lssm_lib_schema284.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
306
306
|
isOptional: false;
|
|
307
307
|
};
|
|
308
308
|
}>;
|
|
@@ -312,35 +312,35 @@ declare const ListTenantConfigVersionsQuery: ContractSpec<SchemaModel<{
|
|
|
312
312
|
transitions: {
|
|
313
313
|
type: SchemaModel<{
|
|
314
314
|
tenantId: {
|
|
315
|
-
type:
|
|
315
|
+
type: _lssm_lib_schema284.FieldType<string, string>;
|
|
316
316
|
isOptional: false;
|
|
317
317
|
};
|
|
318
318
|
appId: {
|
|
319
|
-
type:
|
|
319
|
+
type: _lssm_lib_schema284.FieldType<string, string>;
|
|
320
320
|
isOptional: false;
|
|
321
321
|
};
|
|
322
322
|
fromStatus: {
|
|
323
|
-
type:
|
|
323
|
+
type: _lssm_lib_schema284.FieldType<string, string>;
|
|
324
324
|
isOptional: false;
|
|
325
325
|
};
|
|
326
326
|
toStatus: {
|
|
327
|
-
type:
|
|
327
|
+
type: _lssm_lib_schema284.FieldType<string, string>;
|
|
328
328
|
isOptional: false;
|
|
329
329
|
};
|
|
330
330
|
version: {
|
|
331
|
-
type:
|
|
331
|
+
type: _lssm_lib_schema284.FieldType<number, number>;
|
|
332
332
|
isOptional: false;
|
|
333
333
|
};
|
|
334
334
|
timestamp: {
|
|
335
|
-
type:
|
|
335
|
+
type: _lssm_lib_schema284.FieldType<Date, string>;
|
|
336
336
|
isOptional: false;
|
|
337
337
|
};
|
|
338
338
|
actor: {
|
|
339
|
-
type:
|
|
339
|
+
type: _lssm_lib_schema284.FieldType<string, string>;
|
|
340
340
|
isOptional: false;
|
|
341
341
|
};
|
|
342
342
|
reason: {
|
|
343
|
-
type:
|
|
343
|
+
type: _lssm_lib_schema284.FieldType<string, string>;
|
|
344
344
|
isOptional: true;
|
|
345
345
|
};
|
|
346
346
|
}>;
|
|
@@ -350,26 +350,26 @@ declare const ListTenantConfigVersionsQuery: ContractSpec<SchemaModel<{
|
|
|
350
350
|
}>, undefined>;
|
|
351
351
|
declare const GetTenantConfigVersionQuery: ContractSpec<SchemaModel<{
|
|
352
352
|
tenantId: {
|
|
353
|
-
type:
|
|
353
|
+
type: _lssm_lib_schema284.FieldType<string, string>;
|
|
354
354
|
isOptional: false;
|
|
355
355
|
};
|
|
356
356
|
appId: {
|
|
357
|
-
type:
|
|
357
|
+
type: _lssm_lib_schema284.FieldType<string, string>;
|
|
358
358
|
isOptional: false;
|
|
359
359
|
};
|
|
360
360
|
version: {
|
|
361
|
-
type:
|
|
361
|
+
type: _lssm_lib_schema284.FieldType<number, number>;
|
|
362
362
|
isOptional: false;
|
|
363
363
|
};
|
|
364
364
|
}>, SchemaModel<{
|
|
365
365
|
version: {
|
|
366
366
|
type: SchemaModel<{
|
|
367
367
|
meta: {
|
|
368
|
-
type:
|
|
368
|
+
type: _lssm_lib_schema284.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
369
369
|
isOptional: false;
|
|
370
370
|
};
|
|
371
371
|
config: {
|
|
372
|
-
type:
|
|
372
|
+
type: _lssm_lib_schema284.FieldType<Record<string, unknown>, Record<string, unknown>>;
|
|
373
373
|
isOptional: false;
|
|
374
374
|
};
|
|
375
375
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineCommand as
|
|
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};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FormOption, FormSpec, FormValuesFor } from "../../forms.js";
|
|
2
|
-
import { AnySchemaModel } from "@lssm/lib.schema";
|
|
3
2
|
import React from "react";
|
|
4
3
|
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
|
+
import { AnySchemaModel } from "@lssm/lib.schema";
|
|
5
5
|
|
|
6
6
|
//#region src/client/react/form-render.d.ts
|
|
7
7
|
interface DriverSlots {
|
package/dist/events.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import"
|
|
1
|
+
import"./schema/dist/index.js";function e(e){return e}const t=(e,t)=>`${e}.v${t}`;export{e as defineEvent,t as eventKey};
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{CapabilityRegistry as e,capabilityKey as t,defineCapability as n}from"./capabilities.js";import{DataViewRegistry as r,dataViewKey as i}from"./data-views.js";import{defineEvent as a,eventKey as o}from"./events.js";import{FeatureRegistry as s,installFeature as c,validateFeatureTargetsV2 as l}from"./features.js";import{FormRegistry as u,buildZodWithRelations as d,defineFormSpec as f,evalPredicate as p}from"./forms.js";import{schemaToMarkdown as m,schemaToMarkdownDetail as h,schemaToMarkdownList as g,schemaToMarkdownSummary as _,schemaToMarkdownTable as v}from"./schema-to-markdown.js";import{TransformEngine as y,createDefaultTransformEngine as b,registerBasicValidation as x,registerDefaultReactRenderer as S,registerReactToMarkdownRenderer as C}from"./presentations.v2.js";import{createEngineWithDefaults as w,createFeatureModule as T,registerFeature as E,renderFeaturePresentation as D}from"./client/react/feature-render.js";import{createFormRenderer as O}from"./client/react/form-render.js";import{shadcnDriver as k}from"./client/react/drivers/shadcn.js";import{rnReusablesDriver as A}from"./client/react/drivers/rn-reusables.js";import"./client/index.js";import{defaultGqlField as j,defaultMcpTool as M,defaultRestPath as N,jsonSchemaForSpec as P}from"./jsonschema.js";import{registerContractsOnBuilder as F}from"./server/graphql-pothos.js";import{PresentationRegistry as I,jsonSchemaForPresentation as L}from"./presentations.js";import{createMcpServer as R}from"./server/mcp/createMcpServer.js";import{createFetchHandler as z}from"./server/rest-generic.js";import{elysiaPlugin as B}from"./server/rest-elysia.js";import{expressRouter as V}from"./server/rest-express.js";import{makeNextAppHandler as H}from"./server/rest-next-app.js";import{makeNextPagesHandler as U}from"./server/rest-next-pages.js";import"./server/index.js";import{defineCommand as W,defineQuery as G,isEmitDeclRef as K}from"./spec.js";import{docBlockToPresentationSpec as q,docBlockToPresentationV2 as J,docBlocksToPresentationRoutes as Y,docBlocksToPresentationSpecs as X,mapDocRoutes as Z}from"./docs/presentations.js";import{DocRegistry as Q,defaultDocRegistry as $,docId as ee,listRegisteredDocBlocks as te,registerDocBlocks as ne}from"./docs/registry.js";import{SpecRegistry as re,opKey as ie}from"./registry.js";import{Owners as ae,OwnersEnum as oe,StabilityEnum as se,Tags as ce,TagsEnum as le}from"./ownership.js";import{ContractRegistryFileSchema as ue,ContractRegistryItemSchema as de,ContractRegistryItemTypeSchema as fe,ContractRegistryManifestSchema as pe}from"./contract-registry/schemas.js";import"./contract-registry/index.js";import{installOp as me,makeEmit as he,op as ge}from"./install.js";import{openApiForRegistry as _e}from"./openapi.js";import{definePrompt as ve}from"./prompt.js";import{PromptRegistry as ye}from"./promptRegistry.js";import{ResourceRegistry as be,defineResourceTemplate as xe,isResourceRef as Se,resourceRef as Ce}from"./resources.js";import{toV2FromV1 as we}from"./presentations.backcompat.js";import{CompleteOnboardingBaseInput as Te,CompleteOnboardingBaseOutput as Ee,CompleteOnboardingBaseSpec as De,DeleteOnboardingDraftBaseSpec as Oe,DeleteOnboardingDraftOutput as ke,GetOnboardingDraftBaseSpec as Ae,GetOnboardingDraftOutput as je,SaveOnboardingDraftBaseSpec as Me,SaveOnboardingDraftInput as Ne,SaveOnboardingDraftOutput as Pe}from"./onboarding-base.js";import{openBankingAccountsReadCapability as Fe,openBankingBalancesReadCapability as Ie,openBankingTransactionsReadCapability as Le,registerOpenBankingCapabilities as Re}from"./capabilities/openbanking.js";import{PolicyRegistry as ze,makePolicyKey as Be}from"./policy/spec.js";import{PolicyEngine as Ve}from"./policy/engine.js";import{OPAPolicyAdapter as He,buildOPAInput as Ue}from"./policy/opa-adapter.js";import{ThemeRegistry as We,makeThemeRef as Ge}from"./themes.js";import{MigrationRegistry as Ke}from"./migrations.js";import{TelemetryRegistry as qe,makeTelemetryKey as Je}from"./telemetry/spec.js";import{TelemetryTracker as Ye}from"./telemetry/tracker.js";import{TelemetryAnomalyMonitor as Xe}from"./telemetry/anomaly.js";import"./telemetry/index.js";import{TestRegistry as Ze,makeTestKey as Qe}from"./tests/spec.js";import{TestRunner as $e}from"./tests/runner.js";import"./tests/index.js";import{ExperimentRegistry as et,makeExperimentKey as tt}from"./experiments/spec.js";import{ExperimentEvaluator as nt}from"./experiments/evaluator.js";import{AppBlueprintRegistry as rt,makeAppBlueprintKey as it}from"./app-config/spec.js";import{composeAppConfig as at,resolveAppConfig as ot}from"./app-config/runtime.js";import{IntegrationSpecRegistry as st,makeIntegrationSpecKey as ct}from"./integrations/spec.js";import{registerStripeIntegration as lt,stripeIntegrationSpec as ut}from"./integrations/providers/stripe.js";import{postmarkIntegrationSpec as dt,registerPostmarkIntegration as ft}from"./integrations/providers/postmark.js";import{qdrantIntegrationSpec as pt,registerQdrantIntegration as mt}from"./integrations/providers/qdrant.js";import{mistralIntegrationSpec as ht,registerMistralIntegration as gt}from"./integrations/providers/mistral.js";import{elevenLabsIntegrationSpec as _t,registerElevenLabsIntegration as vt}from"./integrations/providers/elevenlabs.js";import{gmailIntegrationSpec as yt,registerGmailIntegration as bt}from"./integrations/providers/gmail.js";import{googleCalendarIntegrationSpec as xt,registerGoogleCalendarIntegration as St}from"./integrations/providers/google-calendar.js";import{registerTwilioSmsIntegration as Ct,twilioSmsIntegrationSpec as wt}from"./integrations/providers/twilio-sms.js";import{gcsStorageIntegrationSpec as Tt,registerGcsStorageIntegration as Et}from"./integrations/providers/gcs-storage.js";import{powensIntegrationSpec as Dt,registerPowensIntegration as Ot}from"./integrations/providers/powens.js";import{createDefaultIntegrationSpecRegistry as kt}from"./integrations/providers/registry.js";import{AccountBalanceRecord as At,BankAccountRecord as jt,BankTransactionRecord as Mt}from"./integrations/openbanking/models.js";import{OPENBANKING_PII_FIELDS as Nt,OPENBANKING_TELEMETRY_EVENTS as Pt,redactOpenBankingTelemetryPayload as Ft}from"./integrations/openbanking/telemetry.js";import{OpenBankingGetAccount as It,OpenBankingListAccounts as Lt,OpenBankingSyncAccounts as Rt}from"./integrations/openbanking/contracts/accounts.js";import{OpenBankingListTransactions as zt,OpenBankingSyncTransactions as Bt}from"./integrations/openbanking/contracts/transactions.js";import{OpenBankingGetBalances as Vt,OpenBankingRefreshBalances as Ht}from"./integrations/openbanking/contracts/balances.js";import{OpenBankingFeature as Ut}from"./integrations/openbanking/openbanking.feature.js";import{registerOpenBankingContracts as Wt}from"./integrations/openbanking/contracts/index.js";import{assertPrimaryOpenBankingReady as Gt,ensurePrimaryOpenBankingIntegration as Kt}from"./integrations/openbanking/guards.js";import"./integrations/index.js";import{KnowledgeSpaceRegistry as qt,makeKnowledgeSpaceKey as Jt}from"./knowledge/spec.js";import{productCanonKnowledgeSpace as Yt,registerProductCanonKnowledgeSpace as Xt}from"./knowledge/spaces/product-canon.js";import{registerSupportFaqKnowledgeSpace as Zt,supportFaqKnowledgeSpace as Qt}from"./knowledge/spaces/support-faq.js";import{emailThreadsKnowledgeSpace as $t,registerEmailThreadsKnowledgeSpace as en}from"./knowledge/spaces/email-threads.js";import{registerUploadedDocsKnowledgeSpace as tn,uploadedDocsKnowledgeSpace as nn}from"./knowledge/spaces/uploaded-docs.js";import{financialDocsKnowledgeSpace as rn,registerFinancialDocsKnowledgeSpace as an}from"./knowledge/spaces/financial-docs.js";import{financialOverviewKnowledgeSpace as on,registerFinancialOverviewKnowledgeSpace as sn}from"./knowledge/spaces/financial-overview.js";import"./knowledge/index.js";import{CreateIntegrationConnection as cn,DeleteIntegrationConnection as ln,ListIntegrationConnections as un,TestIntegrationConnection as dn,UpdateIntegrationConnection as fn,integrationContracts as pn,registerIntegrationContracts as mn}from"./integrations/contracts.js";import{CreateKnowledgeSource as hn,DeleteKnowledgeSource as gn,ListKnowledgeSources as _n,TriggerKnowledgeSourceSync as vn,UpdateKnowledgeSource as yn,knowledgeContracts as bn,registerKnowledgeContracts as xn}from"./knowledge/contracts.js";import{behaviorToEnvelope as Sn,errorToEnvelope as Cn,telemetryToEnvelope as wn}from"./regenerator/utils.js";import{RegeneratorService as Tn}from"./regenerator/service.js";import{ProposalExecutor as En}from"./regenerator/executor.js";import{ExecutorProposalSink as Dn}from"./regenerator/sinks.js";import"./regenerator/index.js";import{WorkflowRegistry as On}from"./workflow/spec.js";import{WorkflowValidationError as kn,assertWorkflowSpecValid as An,validateWorkflowSpec as jn}from"./workflow/validation.js";import{evaluateExpression as Mn}from"./workflow/expression.js";import{WorkflowPreFlightError as Nn,WorkflowRunner as Pn}from"./workflow/runner.js";import{InMemoryStateStore as Fn}from"./workflow/adapters/memory-store.js";import{PrismaStateStore as In}from"./workflow/adapters/db-adapter.js";import{createFileStateStore as Ln}from"./workflow/adapters/file-adapter.js";import"./workflow/index.js";import{techContractsDocs as Rn}from"./docs/tech-contracts.docs.js";import{metaDocs as zn}from"./docs/meta.docs.js";import"./docs/index.js";import{docBlockToMarkdown as Bn,eventToMarkdown as Vn,exportFeature as Hn,exportSpec as Un,featureToMarkdown as Wn,presentationToMarkdown as Gn,specToAgentPrompt as Kn,specToContextMarkdown as qn,specToFullMarkdown as Jn}from"./llm/exporters.js";import{AGENT_SYSTEM_PROMPTS as Yn,formatPlanForAgent as Xn,generateFixViolationsPrompt as Zn,generateImplementationPlan as Qn,generateImplementationPrompt as $n,generateReviewPrompt as er,generateTestPrompt as tr,generateVerificationPrompt as nr}from"./llm/prompts.js";import"./llm/index.js";import{defineSchemaModel as rr}from"@lssm/lib.schema";export{Yn as AGENT_SYSTEM_PROMPTS,At as AccountBalanceRecord,rt as AppBlueprintRegistry,jt as BankAccountRecord,Mt as BankTransactionRecord,e as CapabilityRegistry,Te as CompleteOnboardingBaseInput,Ee as CompleteOnboardingBaseOutput,De as CompleteOnboardingBaseSpec,ue as ContractRegistryFileSchema,de as ContractRegistryItemSchema,fe as ContractRegistryItemTypeSchema,pe as ContractRegistryManifestSchema,cn as CreateIntegrationConnection,hn as CreateKnowledgeSource,r as DataViewRegistry,ln as DeleteIntegrationConnection,gn as DeleteKnowledgeSource,Oe as DeleteOnboardingDraftBaseSpec,ke as DeleteOnboardingDraftOutput,Q as DocRegistry,Dn as ExecutorProposalSink,nt as ExperimentEvaluator,et as ExperimentRegistry,s as FeatureRegistry,u as FormRegistry,Ae as GetOnboardingDraftBaseSpec,je as GetOnboardingDraftOutput,Fn as InMemoryStateStore,st as IntegrationSpecRegistry,qt as KnowledgeSpaceRegistry,un as ListIntegrationConnections,_n as ListKnowledgeSources,Ke as MigrationRegistry,He as OPAPolicyAdapter,Nt as OPENBANKING_PII_FIELDS,Pt as OPENBANKING_TELEMETRY_EVENTS,Ut as OpenBankingFeature,It as OpenBankingGetAccount,Vt as OpenBankingGetBalances,Lt as OpenBankingListAccounts,zt as OpenBankingListTransactions,Ht as OpenBankingRefreshBalances,Rt as OpenBankingSyncAccounts,Bt as OpenBankingSyncTransactions,ae as Owners,oe as OwnersEnum,Ve as PolicyEngine,ze as PolicyRegistry,I as PresentationRegistry,In as PrismaStateStore,ye as PromptRegistry,En as ProposalExecutor,Tn as RegeneratorService,be as ResourceRegistry,Me as SaveOnboardingDraftBaseSpec,Ne as SaveOnboardingDraftInput,Pe as SaveOnboardingDraftOutput,re as SpecRegistry,se as StabilityEnum,ce as Tags,le as TagsEnum,Xe as TelemetryAnomalyMonitor,qe as TelemetryRegistry,Ye as TelemetryTracker,dn as TestIntegrationConnection,Ze as TestRegistry,$e as TestRunner,We as ThemeRegistry,y as TransformEngine,vn as TriggerKnowledgeSourceSync,fn as UpdateIntegrationConnection,yn as UpdateKnowledgeSource,Nn as WorkflowPreFlightError,On as WorkflowRegistry,Pn as WorkflowRunner,kn as WorkflowValidationError,Gt as assertPrimaryOpenBankingReady,An as assertWorkflowSpecValid,Sn as behaviorToEnvelope,Ue as buildOPAInput,d as buildZodWithRelations,t as capabilityKey,at as composeAppConfig,kt as createDefaultIntegrationSpecRegistry,b as createDefaultTransformEngine,w as createEngineWithDefaults,T as createFeatureModule,z as createFetchHandler,Ln as createFileStateStore,O as createFormRenderer,R as createMcpServer,i as dataViewKey,$ as defaultDocRegistry,j as defaultGqlField,M as defaultMcpTool,N as defaultRestPath,n as defineCapability,W as defineCommand,a as defineEvent,f as defineFormSpec,ve as definePrompt,G as defineQuery,xe as defineResourceTemplate,rr as defineSchemaModel,Bn as docBlockToMarkdown,q as docBlockToPresentationSpec,J as docBlockToPresentationV2,Y as docBlocksToPresentationRoutes,X as docBlocksToPresentationSpecs,ee as docId,_t as elevenLabsIntegrationSpec,B as elysiaPlugin,$t as emailThreadsKnowledgeSpace,Kt as ensurePrimaryOpenBankingIntegration,Cn as errorToEnvelope,p as evalPredicate,Mn as evaluateExpression,o as eventKey,Vn as eventToMarkdown,Hn as exportFeature,Un as exportSpec,V as expressRouter,Wn as featureToMarkdown,rn as financialDocsKnowledgeSpace,on as financialOverviewKnowledgeSpace,Xn as formatPlanForAgent,Tt as gcsStorageIntegrationSpec,Zn as generateFixViolationsPrompt,Qn as generateImplementationPlan,$n as generateImplementationPrompt,er as generateReviewPrompt,tr as generateTestPrompt,nr as generateVerificationPrompt,yt as gmailIntegrationSpec,xt as googleCalendarIntegrationSpec,c as installFeature,me as installOp,pn as integrationContracts,K as isEmitDeclRef,Se as isResourceRef,L as jsonSchemaForPresentation,P as jsonSchemaForSpec,bn as knowledgeContracts,te as listRegisteredDocBlocks,it as makeAppBlueprintKey,he as makeEmit,tt as makeExperimentKey,ct as makeIntegrationSpecKey,Jt as makeKnowledgeSpaceKey,H as makeNextAppHandler,U as makeNextPagesHandler,Be as makePolicyKey,Je as makeTelemetryKey,Qe as makeTestKey,Ge as makeThemeRef,Z as mapDocRoutes,zn as metaDocs,ht as mistralIntegrationSpec,ge as op,ie as opKey,_e as openApiForRegistry,Fe as openBankingAccountsReadCapability,Ie as openBankingBalancesReadCapability,Le as openBankingTransactionsReadCapability,dt as postmarkIntegrationSpec,Dt as powensIntegrationSpec,Gn as presentationToMarkdown,Yt as productCanonKnowledgeSpace,pt as qdrantIntegrationSpec,Ft as redactOpenBankingTelemetryPayload,x as registerBasicValidation,F as registerContractsOnBuilder,S as registerDefaultReactRenderer,ne as registerDocBlocks,vt as registerElevenLabsIntegration,en as registerEmailThreadsKnowledgeSpace,E as registerFeature,an as registerFinancialDocsKnowledgeSpace,sn as registerFinancialOverviewKnowledgeSpace,Et as registerGcsStorageIntegration,bt as registerGmailIntegration,St as registerGoogleCalendarIntegration,mn as registerIntegrationContracts,xn as registerKnowledgeContracts,gt as registerMistralIntegration,Re as registerOpenBankingCapabilities,Wt as registerOpenBankingContracts,ft as registerPostmarkIntegration,Ot as registerPowensIntegration,Xt as registerProductCanonKnowledgeSpace,mt as registerQdrantIntegration,C as registerReactToMarkdownRenderer,lt as registerStripeIntegration,Zt as registerSupportFaqKnowledgeSpace,Ct as registerTwilioSmsIntegration,tn as registerUploadedDocsKnowledgeSpace,D as renderFeaturePresentation,ot as resolveAppConfig,Ce as resourceRef,A as rnReusablesDriver,m as schemaToMarkdown,h as schemaToMarkdownDetail,g as schemaToMarkdownList,_ as schemaToMarkdownSummary,v as schemaToMarkdownTable,k as shadcnDriver,Kn as specToAgentPrompt,qn as specToContextMarkdown,Jn as specToFullMarkdown,ut as stripeIntegrationSpec,Qt as supportFaqKnowledgeSpace,Rn as techContractsDocs,wn as telemetryToEnvelope,we as toV2FromV1,wt as twilioSmsIntegrationSpec,nn as uploadedDocsKnowledgeSpace,l as validateFeatureTargetsV2,jn as validateWorkflowSpec};
|
|
1
|
+
import{CapabilityRegistry as e,capabilityKey as t,defineCapability as n}from"./capabilities.js";import{DataViewRegistry as r,dataViewKey as i}from"./data-views.js";import{n as a}from"./schema/dist/SchemaModel.js";import"./schema/dist/index.js";import{defineEvent as o,eventKey as s}from"./events.js";import{FeatureRegistry as c,installFeature as l,validateFeatureTargetsV2 as u}from"./features.js";import{FormRegistry as d,buildZodWithRelations as f,defineFormSpec as p,evalPredicate as m}from"./forms.js";import{schemaToMarkdown as h,schemaToMarkdownDetail as g,schemaToMarkdownList as _,schemaToMarkdownSummary as v,schemaToMarkdownTable as y}from"./schema-to-markdown.js";import{TransformEngine as b,createDefaultTransformEngine as x,registerBasicValidation as S,registerDefaultReactRenderer as C,registerReactToMarkdownRenderer as w}from"./presentations.v2.js";import{createEngineWithDefaults as T,createFeatureModule as E,registerFeature as D,renderFeaturePresentation as O}from"./client/react/feature-render.js";import{createFormRenderer as k}from"./client/react/form-render.js";import{shadcnDriver as A}from"./client/react/drivers/shadcn.js";import{rnReusablesDriver as j}from"./client/react/drivers/rn-reusables.js";import"./client/index.js";import{defaultGqlField as M,defaultMcpTool as N,defaultRestPath as P,jsonSchemaForSpec as F}from"./jsonschema.js";import{registerContractsOnBuilder as I}from"./server/graphql-pothos.js";import{PresentationRegistry as L,jsonSchemaForPresentation as R}from"./presentations.js";import{createMcpServer as z}from"./server/mcp/createMcpServer.js";import{createFetchHandler as B}from"./server/rest-generic.js";import{elysiaPlugin as V}from"./server/rest-elysia.js";import{expressRouter as H}from"./server/rest-express.js";import{makeNextAppHandler as U}from"./server/rest-next-app.js";import{makeNextPagesHandler as W}from"./server/rest-next-pages.js";import"./server/index.js";import{defineCommand as G,defineQuery as K,isEmitDeclRef as q}from"./spec.js";import{docBlockToPresentationSpec as J,docBlockToPresentationV2 as Y,docBlocksToPresentationRoutes as X,docBlocksToPresentationSpecs as Z,mapDocRoutes as Q}from"./docs/presentations.js";import{DocRegistry as $,defaultDocRegistry as ee,docId as te,listRegisteredDocBlocks as ne,registerDocBlocks as re}from"./docs/registry.js";import{SpecRegistry as ie,opKey as ae}from"./registry.js";import{Owners as oe,OwnersEnum as se,StabilityEnum as ce,Tags as le,TagsEnum as ue}from"./ownership.js";import{ContractRegistryFileSchema as de,ContractRegistryItemSchema as fe,ContractRegistryItemTypeSchema as pe,ContractRegistryManifestSchema as me}from"./contract-registry/schemas.js";import"./contract-registry/index.js";import{installOp as he,makeEmit as ge,op as _e}from"./install.js";import{openApiForRegistry as ve}from"./openapi.js";import{definePrompt as ye}from"./prompt.js";import{PromptRegistry as be}from"./promptRegistry.js";import{ResourceRegistry as xe,defineResourceTemplate as Se,isResourceRef as Ce,resourceRef as we}from"./resources.js";import{toV2FromV1 as Te}from"./presentations.backcompat.js";import{CompleteOnboardingBaseInput as Ee,CompleteOnboardingBaseOutput as De,CompleteOnboardingBaseSpec as Oe,DeleteOnboardingDraftBaseSpec as ke,DeleteOnboardingDraftOutput as Ae,GetOnboardingDraftBaseSpec as je,GetOnboardingDraftOutput as Me,SaveOnboardingDraftBaseSpec as Ne,SaveOnboardingDraftInput as Pe,SaveOnboardingDraftOutput as Fe}from"./onboarding-base.js";import{openBankingAccountsReadCapability as Ie,openBankingBalancesReadCapability as Le,openBankingTransactionsReadCapability as Re,registerOpenBankingCapabilities as ze}from"./capabilities/openbanking.js";import{PolicyRegistry as Be,makePolicyKey as Ve}from"./policy/spec.js";import{PolicyEngine as He}from"./policy/engine.js";import{OPAPolicyAdapter as Ue,buildOPAInput as We}from"./policy/opa-adapter.js";import{ThemeRegistry as Ge,makeThemeRef as Ke}from"./themes.js";import{MigrationRegistry as qe}from"./migrations.js";import{TelemetryRegistry as Je,makeTelemetryKey as Ye}from"./telemetry/spec.js";import{TelemetryTracker as Xe}from"./telemetry/tracker.js";import{TelemetryAnomalyMonitor as Ze}from"./telemetry/anomaly.js";import"./telemetry/index.js";import{TestRegistry as Qe,makeTestKey as $e}from"./tests/spec.js";import{TestRunner as et}from"./tests/runner.js";import"./tests/index.js";import{ExperimentRegistry as tt,makeExperimentKey as nt}from"./experiments/spec.js";import{ExperimentEvaluator as rt}from"./experiments/evaluator.js";import{AppBlueprintRegistry as it,makeAppBlueprintKey as at}from"./app-config/spec.js";import{composeAppConfig as ot,resolveAppConfig as st}from"./app-config/runtime.js";import{IntegrationSpecRegistry as ct,makeIntegrationSpecKey as lt}from"./integrations/spec.js";import{registerStripeIntegration as ut,stripeIntegrationSpec as dt}from"./integrations/providers/stripe.js";import{postmarkIntegrationSpec as ft,registerPostmarkIntegration as pt}from"./integrations/providers/postmark.js";import{qdrantIntegrationSpec as mt,registerQdrantIntegration as ht}from"./integrations/providers/qdrant.js";import{mistralIntegrationSpec as gt,registerMistralIntegration as _t}from"./integrations/providers/mistral.js";import{elevenLabsIntegrationSpec as vt,registerElevenLabsIntegration as yt}from"./integrations/providers/elevenlabs.js";import{gmailIntegrationSpec as bt,registerGmailIntegration as xt}from"./integrations/providers/gmail.js";import{googleCalendarIntegrationSpec as St,registerGoogleCalendarIntegration as Ct}from"./integrations/providers/google-calendar.js";import{registerTwilioSmsIntegration as wt,twilioSmsIntegrationSpec as Tt}from"./integrations/providers/twilio-sms.js";import{gcsStorageIntegrationSpec as Et,registerGcsStorageIntegration as Dt}from"./integrations/providers/gcs-storage.js";import{powensIntegrationSpec as Ot,registerPowensIntegration as kt}from"./integrations/providers/powens.js";import{createDefaultIntegrationSpecRegistry as At}from"./integrations/providers/registry.js";import{AccountBalanceRecord as jt,BankAccountRecord as Mt,BankTransactionRecord as Nt}from"./integrations/openbanking/models.js";import{OPENBANKING_PII_FIELDS as Pt,OPENBANKING_TELEMETRY_EVENTS as Ft,redactOpenBankingTelemetryPayload as It}from"./integrations/openbanking/telemetry.js";import{OpenBankingGetAccount as Lt,OpenBankingListAccounts as Rt,OpenBankingSyncAccounts as zt}from"./integrations/openbanking/contracts/accounts.js";import{OpenBankingListTransactions as Bt,OpenBankingSyncTransactions as Vt}from"./integrations/openbanking/contracts/transactions.js";import{OpenBankingGetBalances as Ht,OpenBankingRefreshBalances as Ut}from"./integrations/openbanking/contracts/balances.js";import{OpenBankingFeature as Wt}from"./integrations/openbanking/openbanking.feature.js";import{registerOpenBankingContracts as Gt}from"./integrations/openbanking/contracts/index.js";import{assertPrimaryOpenBankingReady as Kt,ensurePrimaryOpenBankingIntegration as qt}from"./integrations/openbanking/guards.js";import"./integrations/index.js";import{KnowledgeSpaceRegistry as Jt,makeKnowledgeSpaceKey as Yt}from"./knowledge/spec.js";import{productCanonKnowledgeSpace as Xt,registerProductCanonKnowledgeSpace as Zt}from"./knowledge/spaces/product-canon.js";import{registerSupportFaqKnowledgeSpace as Qt,supportFaqKnowledgeSpace as $t}from"./knowledge/spaces/support-faq.js";import{emailThreadsKnowledgeSpace as en,registerEmailThreadsKnowledgeSpace as tn}from"./knowledge/spaces/email-threads.js";import{registerUploadedDocsKnowledgeSpace as nn,uploadedDocsKnowledgeSpace as rn}from"./knowledge/spaces/uploaded-docs.js";import{financialDocsKnowledgeSpace as an,registerFinancialDocsKnowledgeSpace as on}from"./knowledge/spaces/financial-docs.js";import{financialOverviewKnowledgeSpace as sn,registerFinancialOverviewKnowledgeSpace as cn}from"./knowledge/spaces/financial-overview.js";import"./knowledge/index.js";import{CreateIntegrationConnection as ln,DeleteIntegrationConnection as un,ListIntegrationConnections as dn,TestIntegrationConnection as fn,UpdateIntegrationConnection as pn,integrationContracts as mn,registerIntegrationContracts as hn}from"./integrations/contracts.js";import{CreateKnowledgeSource as gn,DeleteKnowledgeSource as _n,ListKnowledgeSources as vn,TriggerKnowledgeSourceSync as yn,UpdateKnowledgeSource as bn,knowledgeContracts as xn,registerKnowledgeContracts as Sn}from"./knowledge/contracts.js";import{behaviorToEnvelope as Cn,errorToEnvelope as wn,telemetryToEnvelope as Tn}from"./regenerator/utils.js";import{RegeneratorService as En}from"./regenerator/service.js";import{ProposalExecutor as Dn}from"./regenerator/executor.js";import{ExecutorProposalSink as On}from"./regenerator/sinks.js";import"./regenerator/index.js";import{WorkflowRegistry as kn}from"./workflow/spec.js";import{WorkflowValidationError as An,assertWorkflowSpecValid as jn,validateWorkflowSpec as Mn}from"./workflow/validation.js";import{evaluateExpression as Nn}from"./workflow/expression.js";import{WorkflowPreFlightError as Pn,WorkflowRunner as Fn}from"./workflow/runner.js";import{InMemoryStateStore as In}from"./workflow/adapters/memory-store.js";import{PrismaStateStore as Ln}from"./workflow/adapters/db-adapter.js";import{createFileStateStore as Rn}from"./workflow/adapters/file-adapter.js";import"./workflow/index.js";import{techContractsDocs as zn}from"./docs/tech-contracts.docs.js";import{metaDocs as Bn}from"./docs/meta.docs.js";import"./docs/index.js";import{docBlockToMarkdown as Vn,eventToMarkdown as Hn,exportFeature as Un,exportSpec as Wn,featureToMarkdown as Gn,presentationToMarkdown as Kn,specToAgentPrompt as qn,specToContextMarkdown as Jn,specToFullMarkdown as Yn}from"./llm/exporters.js";import{AGENT_SYSTEM_PROMPTS as Xn,formatPlanForAgent as Zn,generateFixViolationsPrompt as Qn,generateImplementationPlan as $n,generateImplementationPrompt as er,generateReviewPrompt as tr,generateTestPrompt as nr,generateVerificationPrompt as rr}from"./llm/prompts.js";import"./llm/index.js";export{Xn as AGENT_SYSTEM_PROMPTS,jt as AccountBalanceRecord,it as AppBlueprintRegistry,Mt as BankAccountRecord,Nt as BankTransactionRecord,e as CapabilityRegistry,Ee as CompleteOnboardingBaseInput,De as CompleteOnboardingBaseOutput,Oe as CompleteOnboardingBaseSpec,de as ContractRegistryFileSchema,fe as ContractRegistryItemSchema,pe as ContractRegistryItemTypeSchema,me as ContractRegistryManifestSchema,ln as CreateIntegrationConnection,gn as CreateKnowledgeSource,r as DataViewRegistry,un as DeleteIntegrationConnection,_n as DeleteKnowledgeSource,ke as DeleteOnboardingDraftBaseSpec,Ae as DeleteOnboardingDraftOutput,$ as DocRegistry,On as ExecutorProposalSink,rt as ExperimentEvaluator,tt as ExperimentRegistry,c as FeatureRegistry,d as FormRegistry,je as GetOnboardingDraftBaseSpec,Me as GetOnboardingDraftOutput,In as InMemoryStateStore,ct as IntegrationSpecRegistry,Jt as KnowledgeSpaceRegistry,dn as ListIntegrationConnections,vn as ListKnowledgeSources,qe as MigrationRegistry,Ue as OPAPolicyAdapter,Pt as OPENBANKING_PII_FIELDS,Ft as OPENBANKING_TELEMETRY_EVENTS,Wt as OpenBankingFeature,Lt as OpenBankingGetAccount,Ht as OpenBankingGetBalances,Rt as OpenBankingListAccounts,Bt as OpenBankingListTransactions,Ut as OpenBankingRefreshBalances,zt as OpenBankingSyncAccounts,Vt as OpenBankingSyncTransactions,oe as Owners,se as OwnersEnum,He as PolicyEngine,Be as PolicyRegistry,L as PresentationRegistry,Ln as PrismaStateStore,be as PromptRegistry,Dn as ProposalExecutor,En as RegeneratorService,xe as ResourceRegistry,Ne as SaveOnboardingDraftBaseSpec,Pe as SaveOnboardingDraftInput,Fe as SaveOnboardingDraftOutput,ie as SpecRegistry,ce as StabilityEnum,le as Tags,ue as TagsEnum,Ze as TelemetryAnomalyMonitor,Je as TelemetryRegistry,Xe as TelemetryTracker,fn as TestIntegrationConnection,Qe as TestRegistry,et as TestRunner,Ge as ThemeRegistry,b as TransformEngine,yn as TriggerKnowledgeSourceSync,pn as UpdateIntegrationConnection,bn as UpdateKnowledgeSource,Pn as WorkflowPreFlightError,kn as WorkflowRegistry,Fn as WorkflowRunner,An as WorkflowValidationError,Kt as assertPrimaryOpenBankingReady,jn as assertWorkflowSpecValid,Cn as behaviorToEnvelope,We as buildOPAInput,f as buildZodWithRelations,t as capabilityKey,ot as composeAppConfig,At as createDefaultIntegrationSpecRegistry,x as createDefaultTransformEngine,T as createEngineWithDefaults,E as createFeatureModule,B as createFetchHandler,Rn as createFileStateStore,k as createFormRenderer,z as createMcpServer,i as dataViewKey,ee as defaultDocRegistry,M as defaultGqlField,N as defaultMcpTool,P as defaultRestPath,n as defineCapability,G as defineCommand,o as defineEvent,p as defineFormSpec,ye as definePrompt,K as defineQuery,Se as defineResourceTemplate,a as defineSchemaModel,Vn as docBlockToMarkdown,J as docBlockToPresentationSpec,Y as docBlockToPresentationV2,X as docBlocksToPresentationRoutes,Z as docBlocksToPresentationSpecs,te as docId,vt as elevenLabsIntegrationSpec,V as elysiaPlugin,en as emailThreadsKnowledgeSpace,qt as ensurePrimaryOpenBankingIntegration,wn as errorToEnvelope,m as evalPredicate,Nn as evaluateExpression,s as eventKey,Hn as eventToMarkdown,Un as exportFeature,Wn as exportSpec,H as expressRouter,Gn as featureToMarkdown,an as financialDocsKnowledgeSpace,sn as financialOverviewKnowledgeSpace,Zn as formatPlanForAgent,Et as gcsStorageIntegrationSpec,Qn as generateFixViolationsPrompt,$n as generateImplementationPlan,er as generateImplementationPrompt,tr as generateReviewPrompt,nr as generateTestPrompt,rr as generateVerificationPrompt,bt as gmailIntegrationSpec,St as googleCalendarIntegrationSpec,l as installFeature,he as installOp,mn as integrationContracts,q as isEmitDeclRef,Ce as isResourceRef,R as jsonSchemaForPresentation,F as jsonSchemaForSpec,xn as knowledgeContracts,ne as listRegisteredDocBlocks,at as makeAppBlueprintKey,ge as makeEmit,nt as makeExperimentKey,lt as makeIntegrationSpecKey,Yt as makeKnowledgeSpaceKey,U as makeNextAppHandler,W as makeNextPagesHandler,Ve as makePolicyKey,Ye as makeTelemetryKey,$e as makeTestKey,Ke as makeThemeRef,Q as mapDocRoutes,Bn as metaDocs,gt as mistralIntegrationSpec,_e as op,ae as opKey,ve as openApiForRegistry,Ie as openBankingAccountsReadCapability,Le as openBankingBalancesReadCapability,Re as openBankingTransactionsReadCapability,ft as postmarkIntegrationSpec,Ot as powensIntegrationSpec,Kn as presentationToMarkdown,Xt as productCanonKnowledgeSpace,mt as qdrantIntegrationSpec,It as redactOpenBankingTelemetryPayload,S as registerBasicValidation,I as registerContractsOnBuilder,C as registerDefaultReactRenderer,re as registerDocBlocks,yt as registerElevenLabsIntegration,tn as registerEmailThreadsKnowledgeSpace,D as registerFeature,on as registerFinancialDocsKnowledgeSpace,cn as registerFinancialOverviewKnowledgeSpace,Dt as registerGcsStorageIntegration,xt as registerGmailIntegration,Ct as registerGoogleCalendarIntegration,hn as registerIntegrationContracts,Sn as registerKnowledgeContracts,_t as registerMistralIntegration,ze as registerOpenBankingCapabilities,Gt as registerOpenBankingContracts,pt as registerPostmarkIntegration,kt as registerPowensIntegration,Zt as registerProductCanonKnowledgeSpace,ht as registerQdrantIntegration,w as registerReactToMarkdownRenderer,ut as registerStripeIntegration,Qt as registerSupportFaqKnowledgeSpace,wt as registerTwilioSmsIntegration,nn as registerUploadedDocsKnowledgeSpace,O as renderFeaturePresentation,st as resolveAppConfig,we as resourceRef,j as rnReusablesDriver,h as schemaToMarkdown,g as schemaToMarkdownDetail,_ as schemaToMarkdownList,v as schemaToMarkdownSummary,y as schemaToMarkdownTable,A as shadcnDriver,qn as specToAgentPrompt,Jn as specToContextMarkdown,Yn as specToFullMarkdown,dt as stripeIntegrationSpec,$t as supportFaqKnowledgeSpace,zn as techContractsDocs,Tn as telemetryToEnvelope,Te as toV2FromV1,Tt as twilioSmsIntegrationSpec,rn as uploadedDocsKnowledgeSpace,u as validateFeatureTargetsV2,Mn as validateWorkflowSpec};
|
package/dist/install.d.ts
CHANGED
|
@@ -3,8 +3,8 @@ import { ResourceRefDescriptor } from "./resources.js";
|
|
|
3
3
|
import { AnyContractSpec, ContractSpec, EmitDecl } from "./spec.js";
|
|
4
4
|
import { HandlerCtx } from "./types.js";
|
|
5
5
|
import { SpecRegistry } from "./registry.js";
|
|
6
|
-
import { AnySchemaModel, ZodSchemaModel } from "@lssm/lib.schema";
|
|
7
6
|
import * as z$1 from "zod";
|
|
7
|
+
import { AnySchemaModel, ZodSchemaModel } from "@lssm/lib.schema";
|
|
8
8
|
|
|
9
9
|
//#region src/install.d.ts
|
|
10
10
|
/** Infer input/output types from a ContractSpec */
|