@asteby/metacore-genui 2.0.0 → 2.1.0
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/README.md +63 -0
- package/dist/compat.d.ts +67 -0
- package/dist/compat.d.ts.map +1 -0
- package/dist/compat.js +275 -0
- package/dist/compat.js.map +1 -0
- package/dist/errors.d.ts +12 -0
- package/dist/errors.d.ts.map +1 -0
- package/dist/errors.js +54 -0
- package/dist/errors.js.map +1 -0
- package/dist/generated/genui-v2-schema.d.ts +2347 -0
- package/dist/generated/genui-v2-schema.d.ts.map +1 -0
- package/dist/generated/genui-v2-schema.js +3160 -0
- package/dist/generated/genui-v2-schema.js.map +1 -0
- package/dist/generated/genui-v2.d.ts +3180 -0
- package/dist/generated/genui-v2.d.ts.map +1 -0
- package/dist/generated/genui-v2.js +2 -0
- package/dist/generated/genui-v2.js.map +1 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -1
- package/dist/validate-v2.d.ts +73 -0
- package/dist/validate-v2.d.ts.map +1 -0
- package/dist/validate-v2.js +530 -0
- package/dist/validate-v2.js.map +1 -0
- package/package.json +12 -8
- package/schema/genui-v2.schema.json +2741 -0
|
@@ -0,0 +1,2347 @@
|
|
|
1
|
+
export declare const GENUI_V2_SCHEMA: {
|
|
2
|
+
readonly $schema: "https://json-schema.org/draft/2020-12/schema";
|
|
3
|
+
readonly $id: "https://schemas.asteby.dev/metacore/genui-v2.schema.json";
|
|
4
|
+
readonly title: "genui/v2";
|
|
5
|
+
readonly description: "Contrato declarativo de UI genui/v2 (ADR 0001 del SDK). Fuente única del contrato: de aquí salen los tipos TS; el kernel Go copia este archivo (packages/genui/conformance/README.md). Las reglas que el esquema no expresa (límites globales, unicidad de id, gramática de $ref, enlaces seguros, destino de open) viven en el validador.";
|
|
6
|
+
readonly type: "object";
|
|
7
|
+
readonly additionalProperties: false;
|
|
8
|
+
readonly required: readonly ["version", "blocks"];
|
|
9
|
+
readonly properties: {
|
|
10
|
+
readonly version: {
|
|
11
|
+
readonly const: "genui/v2";
|
|
12
|
+
};
|
|
13
|
+
readonly title: {
|
|
14
|
+
readonly $ref: "#/$defs/label";
|
|
15
|
+
};
|
|
16
|
+
readonly i18n: {
|
|
17
|
+
readonly enum: readonly ["keys", "literal"];
|
|
18
|
+
readonly default: "literal";
|
|
19
|
+
};
|
|
20
|
+
readonly data: {
|
|
21
|
+
readonly type: "object";
|
|
22
|
+
readonly maxProperties: 8;
|
|
23
|
+
readonly propertyNames: {
|
|
24
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_]{0,63}$";
|
|
25
|
+
};
|
|
26
|
+
readonly additionalProperties: {
|
|
27
|
+
readonly $ref: "#/$defs/dataSource";
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
readonly state: {
|
|
31
|
+
readonly type: "object";
|
|
32
|
+
readonly maxProperties: 32;
|
|
33
|
+
readonly propertyNames: {
|
|
34
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_]{0,63}$";
|
|
35
|
+
};
|
|
36
|
+
readonly additionalProperties: {
|
|
37
|
+
readonly $ref: "#/$defs/stateValue";
|
|
38
|
+
};
|
|
39
|
+
readonly description: "Estado local: escalares, listas de escalares y objetos de escalares o listas de escalares.";
|
|
40
|
+
};
|
|
41
|
+
readonly overlays: {
|
|
42
|
+
readonly type: "object";
|
|
43
|
+
readonly maxProperties: 4;
|
|
44
|
+
readonly propertyNames: {
|
|
45
|
+
readonly pattern: "^[A-Za-z][A-Za-z0-9_-]{0,63}$";
|
|
46
|
+
};
|
|
47
|
+
readonly additionalProperties: {
|
|
48
|
+
readonly $ref: "#/$defs/overlay";
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
readonly blocks: {
|
|
52
|
+
readonly type: "array";
|
|
53
|
+
readonly items: {
|
|
54
|
+
readonly $ref: "#/$defs/block";
|
|
55
|
+
};
|
|
56
|
+
readonly maxItems: 24;
|
|
57
|
+
readonly minItems: 1;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
readonly $defs: {
|
|
61
|
+
readonly tone: {
|
|
62
|
+
readonly enum: readonly ["default", "muted", "info", "success", "warning", "danger"];
|
|
63
|
+
readonly description: "Vocabulario de tono compartido (Tone).";
|
|
64
|
+
};
|
|
65
|
+
readonly statFormat: {
|
|
66
|
+
readonly enum: readonly ["number", "currency", "percent", "compact", "date", "datetime", "relative_date"];
|
|
67
|
+
readonly description: "StatFormat (superconjunto de WidgetFormat).";
|
|
68
|
+
};
|
|
69
|
+
readonly fieldKind: {
|
|
70
|
+
readonly enum: readonly ["text", "textarea", "number", "integer", "email", "url", "phone", "date", "datetime", "time", "boolean", "switch", "select", "multiselect", "search"];
|
|
71
|
+
readonly description: "Tipos de campo (field.kind).";
|
|
72
|
+
};
|
|
73
|
+
readonly widgetSize: {
|
|
74
|
+
readonly enum: readonly ["sm", "md", "lg", "full"];
|
|
75
|
+
};
|
|
76
|
+
readonly scalar: {
|
|
77
|
+
readonly type: readonly ["string", "number", "boolean", "null"];
|
|
78
|
+
readonly maxLength: 2000;
|
|
79
|
+
readonly description: "Escalar; las cadenas, de hasta 2 000 puntos de código.";
|
|
80
|
+
};
|
|
81
|
+
readonly id: {
|
|
82
|
+
readonly type: "string";
|
|
83
|
+
readonly pattern: "^[A-Za-z][A-Za-z0-9_-]{0,63}$";
|
|
84
|
+
readonly description: "Identificador único dentro del documento.";
|
|
85
|
+
};
|
|
86
|
+
readonly key: {
|
|
87
|
+
readonly type: "string";
|
|
88
|
+
readonly pattern: "^(?!(?:.*\\.)?(?:__proto__|constructor|prototype)(?:\\.|$))[A-Za-z_][A-Za-z0-9_.]{0,63}$";
|
|
89
|
+
readonly "x-no-proto": true;
|
|
90
|
+
readonly description: "Clave de campo, columna o entrada; ningún segmento separado por punto puede ser __proto__, constructor ni prototype.";
|
|
91
|
+
};
|
|
92
|
+
readonly bindingPath: {
|
|
93
|
+
readonly type: "string";
|
|
94
|
+
readonly pattern: "^(?!(?:.*\\.)?(?:__proto__|constructor|prototype)(?:\\.|$))(data|state|record|ctx)(\\.[A-Za-z_][A-Za-z0-9_]{0,63}|\\.[0-9]{1,3}){1,6}$";
|
|
95
|
+
readonly "x-no-proto": true;
|
|
96
|
+
readonly description: "Ruta de vinculación; raíces cerradas data|state|record|ctx. Ningún segmento puede ser __proto__, constructor ni prototype.";
|
|
97
|
+
};
|
|
98
|
+
readonly ref: {
|
|
99
|
+
readonly type: "object";
|
|
100
|
+
readonly additionalProperties: false;
|
|
101
|
+
readonly required: readonly ["$ref"];
|
|
102
|
+
readonly properties: {
|
|
103
|
+
readonly $ref: {
|
|
104
|
+
readonly $ref: "#/$defs/bindingPath";
|
|
105
|
+
};
|
|
106
|
+
};
|
|
107
|
+
readonly description: "Vinculación {\"$ref\": \"<raíz>.<ruta>\"} en posiciones de valor.";
|
|
108
|
+
};
|
|
109
|
+
readonly tref: {
|
|
110
|
+
readonly type: "object";
|
|
111
|
+
readonly additionalProperties: false;
|
|
112
|
+
readonly required: readonly ["$t"];
|
|
113
|
+
readonly properties: {
|
|
114
|
+
readonly $t: {
|
|
115
|
+
readonly type: "string";
|
|
116
|
+
readonly pattern: "^[A-Za-z0-9_.:-]{1,128}$";
|
|
117
|
+
};
|
|
118
|
+
readonly args: {
|
|
119
|
+
readonly type: "object";
|
|
120
|
+
readonly maxProperties: 8;
|
|
121
|
+
readonly additionalProperties: {
|
|
122
|
+
readonly anyOf: readonly [{
|
|
123
|
+
readonly type: readonly ["string", "number", "boolean"];
|
|
124
|
+
readonly maxLength: 2000;
|
|
125
|
+
}, {
|
|
126
|
+
readonly $ref: "#/$defs/ref";
|
|
127
|
+
}];
|
|
128
|
+
};
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
readonly description: "Clave i18n con argumentos insertados como texto.";
|
|
132
|
+
};
|
|
133
|
+
readonly text: {
|
|
134
|
+
readonly anyOf: readonly [{
|
|
135
|
+
readonly type: "string";
|
|
136
|
+
readonly maxLength: 2000;
|
|
137
|
+
}, {
|
|
138
|
+
readonly $ref: "#/$defs/tref";
|
|
139
|
+
}, {
|
|
140
|
+
readonly $ref: "#/$defs/ref";
|
|
141
|
+
}];
|
|
142
|
+
readonly description: "Texto visible: literal, clave i18n o vinculación.";
|
|
143
|
+
};
|
|
144
|
+
readonly label: {
|
|
145
|
+
readonly anyOf: readonly [{
|
|
146
|
+
readonly type: "string";
|
|
147
|
+
readonly maxLength: 160;
|
|
148
|
+
}, {
|
|
149
|
+
readonly $ref: "#/$defs/tref";
|
|
150
|
+
}, {
|
|
151
|
+
readonly $ref: "#/$defs/ref";
|
|
152
|
+
}];
|
|
153
|
+
};
|
|
154
|
+
readonly value: {
|
|
155
|
+
readonly anyOf: readonly [{
|
|
156
|
+
readonly $ref: "#/$defs/scalar";
|
|
157
|
+
}, {
|
|
158
|
+
readonly $ref: "#/$defs/ref";
|
|
159
|
+
}];
|
|
160
|
+
readonly description: "Valor: escalar o vinculación.";
|
|
161
|
+
};
|
|
162
|
+
readonly link: {
|
|
163
|
+
readonly type: "string";
|
|
164
|
+
readonly maxLength: 2048;
|
|
165
|
+
readonly pattern: "^(/(?!/)[^\\\\\\n\\r\\t]*|https?://[^\\s\\\\]+)$";
|
|
166
|
+
readonly "x-error": "genui.unsafe_link";
|
|
167
|
+
readonly description: "Ruta relativa de la app o http(s) literal; nunca $ref. Los externos solo con allowExternalLinks.";
|
|
168
|
+
};
|
|
169
|
+
readonly appPath: {
|
|
170
|
+
readonly type: "string";
|
|
171
|
+
readonly maxLength: 2048;
|
|
172
|
+
readonly pattern: "^/(?!/)[^\\\\\\n\\r\\t]*$";
|
|
173
|
+
readonly "x-error": "genui.unsafe_link";
|
|
174
|
+
readonly description: "Ruta de la app (nunca http).";
|
|
175
|
+
};
|
|
176
|
+
readonly name: {
|
|
177
|
+
readonly type: "string";
|
|
178
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_]{0,63}$";
|
|
179
|
+
};
|
|
180
|
+
readonly predicate: {
|
|
181
|
+
readonly type: "object";
|
|
182
|
+
readonly additionalProperties: false;
|
|
183
|
+
readonly required: readonly ["ref"];
|
|
184
|
+
readonly minProperties: 2;
|
|
185
|
+
readonly properties: {
|
|
186
|
+
readonly ref: {
|
|
187
|
+
readonly $ref: "#/$defs/bindingPath";
|
|
188
|
+
};
|
|
189
|
+
readonly equals: {
|
|
190
|
+
readonly $ref: "#/$defs/scalar";
|
|
191
|
+
};
|
|
192
|
+
readonly in: {
|
|
193
|
+
readonly type: "array";
|
|
194
|
+
readonly items: {
|
|
195
|
+
readonly $ref: "#/$defs/scalar";
|
|
196
|
+
};
|
|
197
|
+
readonly maxItems: 50;
|
|
198
|
+
};
|
|
199
|
+
readonly not_in: {
|
|
200
|
+
readonly type: "array";
|
|
201
|
+
readonly items: {
|
|
202
|
+
readonly $ref: "#/$defs/scalar";
|
|
203
|
+
};
|
|
204
|
+
readonly maxItems: 50;
|
|
205
|
+
};
|
|
206
|
+
readonly empty: {
|
|
207
|
+
readonly type: "boolean";
|
|
208
|
+
};
|
|
209
|
+
};
|
|
210
|
+
readonly description: "Condición when (forma de VisibleWhen ampliada a cualquier raíz).";
|
|
211
|
+
};
|
|
212
|
+
readonly badge: {
|
|
213
|
+
readonly type: "object";
|
|
214
|
+
readonly additionalProperties: false;
|
|
215
|
+
readonly required: readonly ["label"];
|
|
216
|
+
readonly properties: {
|
|
217
|
+
readonly label: {
|
|
218
|
+
readonly type: "string";
|
|
219
|
+
readonly maxLength: 60;
|
|
220
|
+
};
|
|
221
|
+
readonly tone: {
|
|
222
|
+
readonly $ref: "#/$defs/tone";
|
|
223
|
+
};
|
|
224
|
+
};
|
|
225
|
+
};
|
|
226
|
+
readonly field: {
|
|
227
|
+
readonly type: "object";
|
|
228
|
+
readonly additionalProperties: false;
|
|
229
|
+
readonly required: readonly ["label"];
|
|
230
|
+
readonly properties: {
|
|
231
|
+
readonly label: {
|
|
232
|
+
readonly $ref: "#/$defs/label";
|
|
233
|
+
};
|
|
234
|
+
readonly value: {
|
|
235
|
+
readonly $ref: "#/$defs/text";
|
|
236
|
+
};
|
|
237
|
+
readonly copy: {
|
|
238
|
+
readonly type: "boolean";
|
|
239
|
+
};
|
|
240
|
+
};
|
|
241
|
+
};
|
|
242
|
+
readonly option: {
|
|
243
|
+
readonly type: "object";
|
|
244
|
+
readonly additionalProperties: false;
|
|
245
|
+
readonly required: readonly ["value", "label"];
|
|
246
|
+
readonly properties: {
|
|
247
|
+
readonly value: {
|
|
248
|
+
readonly type: "string";
|
|
249
|
+
readonly maxLength: 160;
|
|
250
|
+
};
|
|
251
|
+
readonly label: {
|
|
252
|
+
readonly $ref: "#/$defs/label";
|
|
253
|
+
};
|
|
254
|
+
};
|
|
255
|
+
};
|
|
256
|
+
readonly column: {
|
|
257
|
+
readonly type: "object";
|
|
258
|
+
readonly additionalProperties: false;
|
|
259
|
+
readonly required: readonly ["key", "label"];
|
|
260
|
+
readonly properties: {
|
|
261
|
+
readonly key: {
|
|
262
|
+
readonly $ref: "#/$defs/key";
|
|
263
|
+
};
|
|
264
|
+
readonly label: {
|
|
265
|
+
readonly $ref: "#/$defs/label";
|
|
266
|
+
};
|
|
267
|
+
readonly format: {
|
|
268
|
+
readonly $ref: "#/$defs/statFormat";
|
|
269
|
+
};
|
|
270
|
+
};
|
|
271
|
+
};
|
|
272
|
+
readonly stateList: {
|
|
273
|
+
readonly type: "array";
|
|
274
|
+
readonly items: {
|
|
275
|
+
readonly $ref: "#/$defs/scalar";
|
|
276
|
+
};
|
|
277
|
+
readonly maxItems: 50;
|
|
278
|
+
};
|
|
279
|
+
readonly stateValue: {
|
|
280
|
+
readonly anyOf: readonly [{
|
|
281
|
+
readonly $ref: "#/$defs/scalar";
|
|
282
|
+
}, {
|
|
283
|
+
readonly $ref: "#/$defs/stateList";
|
|
284
|
+
}, {
|
|
285
|
+
readonly type: "object";
|
|
286
|
+
readonly maxProperties: 16;
|
|
287
|
+
readonly propertyNames: {
|
|
288
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_]{0,63}$";
|
|
289
|
+
};
|
|
290
|
+
readonly additionalProperties: {
|
|
291
|
+
readonly anyOf: readonly [{
|
|
292
|
+
readonly $ref: "#/$defs/scalar";
|
|
293
|
+
}, {
|
|
294
|
+
readonly $ref: "#/$defs/stateList";
|
|
295
|
+
}];
|
|
296
|
+
};
|
|
297
|
+
}];
|
|
298
|
+
};
|
|
299
|
+
readonly row: {
|
|
300
|
+
readonly type: "object";
|
|
301
|
+
readonly maxProperties: 24;
|
|
302
|
+
readonly propertyNames: {
|
|
303
|
+
readonly pattern: "^[A-Za-z_][A-Za-z0-9_.]{0,63}$";
|
|
304
|
+
};
|
|
305
|
+
readonly additionalProperties: {
|
|
306
|
+
readonly $ref: "#/$defs/value";
|
|
307
|
+
};
|
|
308
|
+
};
|
|
309
|
+
readonly item: {
|
|
310
|
+
readonly type: "object";
|
|
311
|
+
readonly additionalProperties: false;
|
|
312
|
+
readonly properties: {
|
|
313
|
+
readonly label: {
|
|
314
|
+
readonly $ref: "#/$defs/label";
|
|
315
|
+
};
|
|
316
|
+
readonly value: {
|
|
317
|
+
readonly $ref: "#/$defs/text";
|
|
318
|
+
};
|
|
319
|
+
readonly hint: {
|
|
320
|
+
readonly $ref: "#/$defs/label";
|
|
321
|
+
};
|
|
322
|
+
readonly trend: {
|
|
323
|
+
readonly enum: readonly ["up", "down", "flat"];
|
|
324
|
+
};
|
|
325
|
+
readonly title: {
|
|
326
|
+
readonly $ref: "#/$defs/label";
|
|
327
|
+
};
|
|
328
|
+
readonly url: {
|
|
329
|
+
readonly $ref: "#/$defs/link";
|
|
330
|
+
};
|
|
331
|
+
readonly source: {
|
|
332
|
+
readonly $ref: "#/$defs/label";
|
|
333
|
+
};
|
|
334
|
+
readonly date: {
|
|
335
|
+
readonly type: "string";
|
|
336
|
+
readonly maxLength: 160;
|
|
337
|
+
};
|
|
338
|
+
readonly time: {
|
|
339
|
+
readonly type: "string";
|
|
340
|
+
readonly maxLength: 160;
|
|
341
|
+
};
|
|
342
|
+
readonly description: {
|
|
343
|
+
readonly $ref: "#/$defs/text";
|
|
344
|
+
};
|
|
345
|
+
readonly status: {
|
|
346
|
+
readonly type: "string";
|
|
347
|
+
readonly maxLength: 160;
|
|
348
|
+
};
|
|
349
|
+
readonly tone: {
|
|
350
|
+
readonly $ref: "#/$defs/tone";
|
|
351
|
+
};
|
|
352
|
+
readonly format: {
|
|
353
|
+
readonly $ref: "#/$defs/statFormat";
|
|
354
|
+
};
|
|
355
|
+
};
|
|
356
|
+
};
|
|
357
|
+
readonly route: {
|
|
358
|
+
readonly type: "object";
|
|
359
|
+
readonly additionalProperties: false;
|
|
360
|
+
readonly minProperties: 1;
|
|
361
|
+
readonly properties: {
|
|
362
|
+
readonly name: {
|
|
363
|
+
readonly enum: readonly ["record", "list", "page"];
|
|
364
|
+
};
|
|
365
|
+
readonly model: {
|
|
366
|
+
readonly $ref: "#/$defs/key";
|
|
367
|
+
};
|
|
368
|
+
readonly id: {
|
|
369
|
+
readonly $ref: "#/$defs/value";
|
|
370
|
+
};
|
|
371
|
+
readonly filters: {
|
|
372
|
+
readonly type: "object";
|
|
373
|
+
readonly maxProperties: 8;
|
|
374
|
+
readonly additionalProperties: {
|
|
375
|
+
readonly $ref: "#/$defs/scalar";
|
|
376
|
+
};
|
|
377
|
+
};
|
|
378
|
+
readonly key: {
|
|
379
|
+
readonly $ref: "#/$defs/key";
|
|
380
|
+
};
|
|
381
|
+
readonly path: {
|
|
382
|
+
readonly $ref: "#/$defs/appPath";
|
|
383
|
+
};
|
|
384
|
+
};
|
|
385
|
+
readonly description: "path o name; los requeridos por name se validan en código.";
|
|
386
|
+
};
|
|
387
|
+
readonly action: {
|
|
388
|
+
readonly "x-discriminator": "do";
|
|
389
|
+
readonly description: "Acción declarativa {do, ...}; un esquema por verbo.";
|
|
390
|
+
readonly oneOf: readonly [{
|
|
391
|
+
readonly $ref: "#/$defs/action_navigate";
|
|
392
|
+
}, {
|
|
393
|
+
readonly $ref: "#/$defs/action_invoke";
|
|
394
|
+
}, {
|
|
395
|
+
readonly $ref: "#/$defs/action_submit";
|
|
396
|
+
}, {
|
|
397
|
+
readonly $ref: "#/$defs/action_open";
|
|
398
|
+
}, {
|
|
399
|
+
readonly $ref: "#/$defs/action_close";
|
|
400
|
+
}, {
|
|
401
|
+
readonly $ref: "#/$defs/action_set";
|
|
402
|
+
}, {
|
|
403
|
+
readonly $ref: "#/$defs/action_refresh";
|
|
404
|
+
}, {
|
|
405
|
+
readonly $ref: "#/$defs/action_emit";
|
|
406
|
+
}];
|
|
407
|
+
};
|
|
408
|
+
readonly action_navigate: {
|
|
409
|
+
readonly type: "object";
|
|
410
|
+
readonly additionalProperties: false;
|
|
411
|
+
readonly required: readonly ["do", "route"];
|
|
412
|
+
readonly properties: {
|
|
413
|
+
readonly do: {
|
|
414
|
+
readonly const: "navigate";
|
|
415
|
+
};
|
|
416
|
+
readonly label: {
|
|
417
|
+
readonly $ref: "#/$defs/label";
|
|
418
|
+
};
|
|
419
|
+
readonly variant: {
|
|
420
|
+
readonly enum: readonly ["primary", "secondary", "ghost", "danger"];
|
|
421
|
+
};
|
|
422
|
+
readonly icon: {
|
|
423
|
+
readonly type: "string";
|
|
424
|
+
readonly pattern: "^[a-z][a-z0-9-]{0,63}$";
|
|
425
|
+
};
|
|
426
|
+
readonly confirm: {
|
|
427
|
+
readonly type: "object";
|
|
428
|
+
readonly additionalProperties: false;
|
|
429
|
+
readonly properties: {
|
|
430
|
+
readonly title: {
|
|
431
|
+
readonly $ref: "#/$defs/label";
|
|
432
|
+
};
|
|
433
|
+
readonly body: {
|
|
434
|
+
readonly $ref: "#/$defs/text";
|
|
435
|
+
};
|
|
436
|
+
readonly tone: {
|
|
437
|
+
readonly $ref: "#/$defs/tone";
|
|
438
|
+
};
|
|
439
|
+
readonly require_text: {
|
|
440
|
+
readonly type: "string";
|
|
441
|
+
readonly maxLength: 60;
|
|
442
|
+
};
|
|
443
|
+
};
|
|
444
|
+
};
|
|
445
|
+
readonly when: {
|
|
446
|
+
readonly $ref: "#/$defs/predicate";
|
|
447
|
+
};
|
|
448
|
+
readonly route: {
|
|
449
|
+
readonly $ref: "#/$defs/route";
|
|
450
|
+
};
|
|
451
|
+
};
|
|
452
|
+
};
|
|
453
|
+
readonly action_invoke: {
|
|
454
|
+
readonly type: "object";
|
|
455
|
+
readonly additionalProperties: false;
|
|
456
|
+
readonly required: readonly ["do", "action"];
|
|
457
|
+
readonly properties: {
|
|
458
|
+
readonly do: {
|
|
459
|
+
readonly const: "invoke";
|
|
460
|
+
};
|
|
461
|
+
readonly label: {
|
|
462
|
+
readonly $ref: "#/$defs/label";
|
|
463
|
+
};
|
|
464
|
+
readonly variant: {
|
|
465
|
+
readonly enum: readonly ["primary", "secondary", "ghost", "danger"];
|
|
466
|
+
};
|
|
467
|
+
readonly icon: {
|
|
468
|
+
readonly type: "string";
|
|
469
|
+
readonly pattern: "^[a-z][a-z0-9-]{0,63}$";
|
|
470
|
+
};
|
|
471
|
+
readonly confirm: {
|
|
472
|
+
readonly type: "object";
|
|
473
|
+
readonly additionalProperties: false;
|
|
474
|
+
readonly properties: {
|
|
475
|
+
readonly title: {
|
|
476
|
+
readonly $ref: "#/$defs/label";
|
|
477
|
+
};
|
|
478
|
+
readonly body: {
|
|
479
|
+
readonly $ref: "#/$defs/text";
|
|
480
|
+
};
|
|
481
|
+
readonly tone: {
|
|
482
|
+
readonly $ref: "#/$defs/tone";
|
|
483
|
+
};
|
|
484
|
+
readonly require_text: {
|
|
485
|
+
readonly type: "string";
|
|
486
|
+
readonly maxLength: 60;
|
|
487
|
+
};
|
|
488
|
+
};
|
|
489
|
+
};
|
|
490
|
+
readonly when: {
|
|
491
|
+
readonly $ref: "#/$defs/predicate";
|
|
492
|
+
};
|
|
493
|
+
readonly action: {
|
|
494
|
+
readonly type: "string";
|
|
495
|
+
readonly pattern: "^[a-z][a-z0-9_]*(\\.[A-Za-z][A-Za-z0-9_]*){1,3}$";
|
|
496
|
+
readonly description: "Acción del manifest <addon>.<Model>.<key>.";
|
|
497
|
+
};
|
|
498
|
+
readonly record: {
|
|
499
|
+
readonly $ref: "#/$defs/value";
|
|
500
|
+
};
|
|
501
|
+
readonly params: {
|
|
502
|
+
readonly type: "object";
|
|
503
|
+
readonly maxProperties: 8;
|
|
504
|
+
readonly additionalProperties: {
|
|
505
|
+
readonly $ref: "#/$defs/value";
|
|
506
|
+
};
|
|
507
|
+
};
|
|
508
|
+
readonly values: {
|
|
509
|
+
readonly type: "object";
|
|
510
|
+
readonly maxProperties: 40;
|
|
511
|
+
readonly additionalProperties: {
|
|
512
|
+
readonly $ref: "#/$defs/value";
|
|
513
|
+
};
|
|
514
|
+
};
|
|
515
|
+
};
|
|
516
|
+
};
|
|
517
|
+
readonly action_submit: {
|
|
518
|
+
readonly properties: {
|
|
519
|
+
readonly do: {
|
|
520
|
+
readonly const: "submit";
|
|
521
|
+
};
|
|
522
|
+
};
|
|
523
|
+
readonly "x-discriminator": "to";
|
|
524
|
+
readonly oneOf: readonly [{
|
|
525
|
+
readonly $ref: "#/$defs/action_submit_invoke";
|
|
526
|
+
}, {
|
|
527
|
+
readonly $ref: "#/$defs/action_submit_settings";
|
|
528
|
+
}, {
|
|
529
|
+
readonly $ref: "#/$defs/action_submit_create";
|
|
530
|
+
}, {
|
|
531
|
+
readonly $ref: "#/$defs/action_submit_update";
|
|
532
|
+
}];
|
|
533
|
+
};
|
|
534
|
+
readonly action_submit_invoke: {
|
|
535
|
+
readonly type: "object";
|
|
536
|
+
readonly additionalProperties: false;
|
|
537
|
+
readonly required: readonly ["do", "to", "form", "action"];
|
|
538
|
+
readonly properties: {
|
|
539
|
+
readonly do: {
|
|
540
|
+
readonly const: "submit";
|
|
541
|
+
};
|
|
542
|
+
readonly label: {
|
|
543
|
+
readonly $ref: "#/$defs/label";
|
|
544
|
+
};
|
|
545
|
+
readonly variant: {
|
|
546
|
+
readonly enum: readonly ["primary", "secondary", "ghost", "danger"];
|
|
547
|
+
};
|
|
548
|
+
readonly icon: {
|
|
549
|
+
readonly type: "string";
|
|
550
|
+
readonly pattern: "^[a-z][a-z0-9-]{0,63}$";
|
|
551
|
+
};
|
|
552
|
+
readonly confirm: {
|
|
553
|
+
readonly type: "object";
|
|
554
|
+
readonly additionalProperties: false;
|
|
555
|
+
readonly properties: {
|
|
556
|
+
readonly title: {
|
|
557
|
+
readonly $ref: "#/$defs/label";
|
|
558
|
+
};
|
|
559
|
+
readonly body: {
|
|
560
|
+
readonly $ref: "#/$defs/text";
|
|
561
|
+
};
|
|
562
|
+
readonly tone: {
|
|
563
|
+
readonly $ref: "#/$defs/tone";
|
|
564
|
+
};
|
|
565
|
+
readonly require_text: {
|
|
566
|
+
readonly type: "string";
|
|
567
|
+
readonly maxLength: 60;
|
|
568
|
+
};
|
|
569
|
+
};
|
|
570
|
+
};
|
|
571
|
+
readonly when: {
|
|
572
|
+
readonly $ref: "#/$defs/predicate";
|
|
573
|
+
};
|
|
574
|
+
readonly to: {
|
|
575
|
+
readonly const: "invoke";
|
|
576
|
+
};
|
|
577
|
+
readonly form: {
|
|
578
|
+
readonly $ref: "#/$defs/id";
|
|
579
|
+
};
|
|
580
|
+
readonly action: {
|
|
581
|
+
readonly type: "string";
|
|
582
|
+
readonly pattern: "^[a-z][a-z0-9_]*(\\.[A-Za-z][A-Za-z0-9_]*){1,3}$";
|
|
583
|
+
};
|
|
584
|
+
};
|
|
585
|
+
};
|
|
586
|
+
readonly action_submit_settings: {
|
|
587
|
+
readonly type: "object";
|
|
588
|
+
readonly additionalProperties: false;
|
|
589
|
+
readonly required: readonly ["do", "to", "form"];
|
|
590
|
+
readonly properties: {
|
|
591
|
+
readonly do: {
|
|
592
|
+
readonly const: "submit";
|
|
593
|
+
};
|
|
594
|
+
readonly label: {
|
|
595
|
+
readonly $ref: "#/$defs/label";
|
|
596
|
+
};
|
|
597
|
+
readonly variant: {
|
|
598
|
+
readonly enum: readonly ["primary", "secondary", "ghost", "danger"];
|
|
599
|
+
};
|
|
600
|
+
readonly icon: {
|
|
601
|
+
readonly type: "string";
|
|
602
|
+
readonly pattern: "^[a-z][a-z0-9-]{0,63}$";
|
|
603
|
+
};
|
|
604
|
+
readonly confirm: {
|
|
605
|
+
readonly type: "object";
|
|
606
|
+
readonly additionalProperties: false;
|
|
607
|
+
readonly properties: {
|
|
608
|
+
readonly title: {
|
|
609
|
+
readonly $ref: "#/$defs/label";
|
|
610
|
+
};
|
|
611
|
+
readonly body: {
|
|
612
|
+
readonly $ref: "#/$defs/text";
|
|
613
|
+
};
|
|
614
|
+
readonly tone: {
|
|
615
|
+
readonly $ref: "#/$defs/tone";
|
|
616
|
+
};
|
|
617
|
+
readonly require_text: {
|
|
618
|
+
readonly type: "string";
|
|
619
|
+
readonly maxLength: 60;
|
|
620
|
+
};
|
|
621
|
+
};
|
|
622
|
+
};
|
|
623
|
+
readonly when: {
|
|
624
|
+
readonly $ref: "#/$defs/predicate";
|
|
625
|
+
};
|
|
626
|
+
readonly to: {
|
|
627
|
+
readonly const: "settings.write";
|
|
628
|
+
};
|
|
629
|
+
readonly form: {
|
|
630
|
+
readonly $ref: "#/$defs/id";
|
|
631
|
+
};
|
|
632
|
+
};
|
|
633
|
+
};
|
|
634
|
+
readonly action_submit_create: {
|
|
635
|
+
readonly type: "object";
|
|
636
|
+
readonly additionalProperties: false;
|
|
637
|
+
readonly required: readonly ["do", "to", "form", "model"];
|
|
638
|
+
readonly properties: {
|
|
639
|
+
readonly do: {
|
|
640
|
+
readonly const: "submit";
|
|
641
|
+
};
|
|
642
|
+
readonly label: {
|
|
643
|
+
readonly $ref: "#/$defs/label";
|
|
644
|
+
};
|
|
645
|
+
readonly variant: {
|
|
646
|
+
readonly enum: readonly ["primary", "secondary", "ghost", "danger"];
|
|
647
|
+
};
|
|
648
|
+
readonly icon: {
|
|
649
|
+
readonly type: "string";
|
|
650
|
+
readonly pattern: "^[a-z][a-z0-9-]{0,63}$";
|
|
651
|
+
};
|
|
652
|
+
readonly confirm: {
|
|
653
|
+
readonly type: "object";
|
|
654
|
+
readonly additionalProperties: false;
|
|
655
|
+
readonly properties: {
|
|
656
|
+
readonly title: {
|
|
657
|
+
readonly $ref: "#/$defs/label";
|
|
658
|
+
};
|
|
659
|
+
readonly body: {
|
|
660
|
+
readonly $ref: "#/$defs/text";
|
|
661
|
+
};
|
|
662
|
+
readonly tone: {
|
|
663
|
+
readonly $ref: "#/$defs/tone";
|
|
664
|
+
};
|
|
665
|
+
readonly require_text: {
|
|
666
|
+
readonly type: "string";
|
|
667
|
+
readonly maxLength: 60;
|
|
668
|
+
};
|
|
669
|
+
};
|
|
670
|
+
};
|
|
671
|
+
readonly when: {
|
|
672
|
+
readonly $ref: "#/$defs/predicate";
|
|
673
|
+
};
|
|
674
|
+
readonly to: {
|
|
675
|
+
readonly const: "record.create";
|
|
676
|
+
};
|
|
677
|
+
readonly form: {
|
|
678
|
+
readonly $ref: "#/$defs/id";
|
|
679
|
+
};
|
|
680
|
+
readonly model: {
|
|
681
|
+
readonly $ref: "#/$defs/key";
|
|
682
|
+
};
|
|
683
|
+
};
|
|
684
|
+
};
|
|
685
|
+
readonly action_submit_update: {
|
|
686
|
+
readonly type: "object";
|
|
687
|
+
readonly additionalProperties: false;
|
|
688
|
+
readonly required: readonly ["do", "to", "form", "model", "record"];
|
|
689
|
+
readonly properties: {
|
|
690
|
+
readonly do: {
|
|
691
|
+
readonly const: "submit";
|
|
692
|
+
};
|
|
693
|
+
readonly label: {
|
|
694
|
+
readonly $ref: "#/$defs/label";
|
|
695
|
+
};
|
|
696
|
+
readonly variant: {
|
|
697
|
+
readonly enum: readonly ["primary", "secondary", "ghost", "danger"];
|
|
698
|
+
};
|
|
699
|
+
readonly icon: {
|
|
700
|
+
readonly type: "string";
|
|
701
|
+
readonly pattern: "^[a-z][a-z0-9-]{0,63}$";
|
|
702
|
+
};
|
|
703
|
+
readonly confirm: {
|
|
704
|
+
readonly type: "object";
|
|
705
|
+
readonly additionalProperties: false;
|
|
706
|
+
readonly properties: {
|
|
707
|
+
readonly title: {
|
|
708
|
+
readonly $ref: "#/$defs/label";
|
|
709
|
+
};
|
|
710
|
+
readonly body: {
|
|
711
|
+
readonly $ref: "#/$defs/text";
|
|
712
|
+
};
|
|
713
|
+
readonly tone: {
|
|
714
|
+
readonly $ref: "#/$defs/tone";
|
|
715
|
+
};
|
|
716
|
+
readonly require_text: {
|
|
717
|
+
readonly type: "string";
|
|
718
|
+
readonly maxLength: 60;
|
|
719
|
+
};
|
|
720
|
+
};
|
|
721
|
+
};
|
|
722
|
+
readonly when: {
|
|
723
|
+
readonly $ref: "#/$defs/predicate";
|
|
724
|
+
};
|
|
725
|
+
readonly to: {
|
|
726
|
+
readonly const: "record.update";
|
|
727
|
+
};
|
|
728
|
+
readonly form: {
|
|
729
|
+
readonly $ref: "#/$defs/id";
|
|
730
|
+
};
|
|
731
|
+
readonly model: {
|
|
732
|
+
readonly $ref: "#/$defs/key";
|
|
733
|
+
};
|
|
734
|
+
readonly record: {
|
|
735
|
+
readonly $ref: "#/$defs/value";
|
|
736
|
+
};
|
|
737
|
+
};
|
|
738
|
+
};
|
|
739
|
+
readonly action_open: {
|
|
740
|
+
readonly type: "object";
|
|
741
|
+
readonly additionalProperties: false;
|
|
742
|
+
readonly required: readonly ["do", "overlay"];
|
|
743
|
+
readonly properties: {
|
|
744
|
+
readonly do: {
|
|
745
|
+
readonly const: "open";
|
|
746
|
+
};
|
|
747
|
+
readonly label: {
|
|
748
|
+
readonly $ref: "#/$defs/label";
|
|
749
|
+
};
|
|
750
|
+
readonly variant: {
|
|
751
|
+
readonly enum: readonly ["primary", "secondary", "ghost", "danger"];
|
|
752
|
+
};
|
|
753
|
+
readonly icon: {
|
|
754
|
+
readonly type: "string";
|
|
755
|
+
readonly pattern: "^[a-z][a-z0-9-]{0,63}$";
|
|
756
|
+
};
|
|
757
|
+
readonly confirm: {
|
|
758
|
+
readonly type: "object";
|
|
759
|
+
readonly additionalProperties: false;
|
|
760
|
+
readonly properties: {
|
|
761
|
+
readonly title: {
|
|
762
|
+
readonly $ref: "#/$defs/label";
|
|
763
|
+
};
|
|
764
|
+
readonly body: {
|
|
765
|
+
readonly $ref: "#/$defs/text";
|
|
766
|
+
};
|
|
767
|
+
readonly tone: {
|
|
768
|
+
readonly $ref: "#/$defs/tone";
|
|
769
|
+
};
|
|
770
|
+
readonly require_text: {
|
|
771
|
+
readonly type: "string";
|
|
772
|
+
readonly maxLength: 60;
|
|
773
|
+
};
|
|
774
|
+
};
|
|
775
|
+
};
|
|
776
|
+
readonly when: {
|
|
777
|
+
readonly $ref: "#/$defs/predicate";
|
|
778
|
+
};
|
|
779
|
+
readonly overlay: {
|
|
780
|
+
readonly $ref: "#/$defs/id";
|
|
781
|
+
};
|
|
782
|
+
};
|
|
783
|
+
};
|
|
784
|
+
readonly action_close: {
|
|
785
|
+
readonly type: "object";
|
|
786
|
+
readonly additionalProperties: false;
|
|
787
|
+
readonly required: readonly ["do"];
|
|
788
|
+
readonly properties: {
|
|
789
|
+
readonly do: {
|
|
790
|
+
readonly const: "close";
|
|
791
|
+
};
|
|
792
|
+
readonly label: {
|
|
793
|
+
readonly $ref: "#/$defs/label";
|
|
794
|
+
};
|
|
795
|
+
readonly variant: {
|
|
796
|
+
readonly enum: readonly ["primary", "secondary", "ghost", "danger"];
|
|
797
|
+
};
|
|
798
|
+
readonly icon: {
|
|
799
|
+
readonly type: "string";
|
|
800
|
+
readonly pattern: "^[a-z][a-z0-9-]{0,63}$";
|
|
801
|
+
};
|
|
802
|
+
readonly confirm: {
|
|
803
|
+
readonly type: "object";
|
|
804
|
+
readonly additionalProperties: false;
|
|
805
|
+
readonly properties: {
|
|
806
|
+
readonly title: {
|
|
807
|
+
readonly $ref: "#/$defs/label";
|
|
808
|
+
};
|
|
809
|
+
readonly body: {
|
|
810
|
+
readonly $ref: "#/$defs/text";
|
|
811
|
+
};
|
|
812
|
+
readonly tone: {
|
|
813
|
+
readonly $ref: "#/$defs/tone";
|
|
814
|
+
};
|
|
815
|
+
readonly require_text: {
|
|
816
|
+
readonly type: "string";
|
|
817
|
+
readonly maxLength: 60;
|
|
818
|
+
};
|
|
819
|
+
};
|
|
820
|
+
};
|
|
821
|
+
readonly when: {
|
|
822
|
+
readonly $ref: "#/$defs/predicate";
|
|
823
|
+
};
|
|
824
|
+
readonly overlay: {
|
|
825
|
+
readonly $ref: "#/$defs/id";
|
|
826
|
+
};
|
|
827
|
+
};
|
|
828
|
+
};
|
|
829
|
+
readonly action_set: {
|
|
830
|
+
readonly type: "object";
|
|
831
|
+
readonly additionalProperties: false;
|
|
832
|
+
readonly required: readonly ["do", "path", "value"];
|
|
833
|
+
readonly properties: {
|
|
834
|
+
readonly do: {
|
|
835
|
+
readonly const: "set";
|
|
836
|
+
};
|
|
837
|
+
readonly label: {
|
|
838
|
+
readonly $ref: "#/$defs/label";
|
|
839
|
+
};
|
|
840
|
+
readonly variant: {
|
|
841
|
+
readonly enum: readonly ["primary", "secondary", "ghost", "danger"];
|
|
842
|
+
};
|
|
843
|
+
readonly icon: {
|
|
844
|
+
readonly type: "string";
|
|
845
|
+
readonly pattern: "^[a-z][a-z0-9-]{0,63}$";
|
|
846
|
+
};
|
|
847
|
+
readonly confirm: {
|
|
848
|
+
readonly type: "object";
|
|
849
|
+
readonly additionalProperties: false;
|
|
850
|
+
readonly properties: {
|
|
851
|
+
readonly title: {
|
|
852
|
+
readonly $ref: "#/$defs/label";
|
|
853
|
+
};
|
|
854
|
+
readonly body: {
|
|
855
|
+
readonly $ref: "#/$defs/text";
|
|
856
|
+
};
|
|
857
|
+
readonly tone: {
|
|
858
|
+
readonly $ref: "#/$defs/tone";
|
|
859
|
+
};
|
|
860
|
+
readonly require_text: {
|
|
861
|
+
readonly type: "string";
|
|
862
|
+
readonly maxLength: 60;
|
|
863
|
+
};
|
|
864
|
+
};
|
|
865
|
+
};
|
|
866
|
+
readonly when: {
|
|
867
|
+
readonly $ref: "#/$defs/predicate";
|
|
868
|
+
};
|
|
869
|
+
readonly path: {
|
|
870
|
+
readonly type: "string";
|
|
871
|
+
readonly pattern: "^(?!(?:.*\\.)?(?:__proto__|constructor|prototype)(?:\\.|$))state(\\.[A-Za-z_][A-Za-z0-9_]{0,63}){1,6}$";
|
|
872
|
+
readonly "x-no-proto": true;
|
|
873
|
+
};
|
|
874
|
+
readonly value: {
|
|
875
|
+
readonly $ref: "#/$defs/scalar";
|
|
876
|
+
};
|
|
877
|
+
};
|
|
878
|
+
};
|
|
879
|
+
readonly action_refresh: {
|
|
880
|
+
readonly type: "object";
|
|
881
|
+
readonly additionalProperties: false;
|
|
882
|
+
readonly required: readonly ["do", "source"];
|
|
883
|
+
readonly properties: {
|
|
884
|
+
readonly do: {
|
|
885
|
+
readonly const: "refresh";
|
|
886
|
+
};
|
|
887
|
+
readonly label: {
|
|
888
|
+
readonly $ref: "#/$defs/label";
|
|
889
|
+
};
|
|
890
|
+
readonly variant: {
|
|
891
|
+
readonly enum: readonly ["primary", "secondary", "ghost", "danger"];
|
|
892
|
+
};
|
|
893
|
+
readonly icon: {
|
|
894
|
+
readonly type: "string";
|
|
895
|
+
readonly pattern: "^[a-z][a-z0-9-]{0,63}$";
|
|
896
|
+
};
|
|
897
|
+
readonly confirm: {
|
|
898
|
+
readonly type: "object";
|
|
899
|
+
readonly additionalProperties: false;
|
|
900
|
+
readonly properties: {
|
|
901
|
+
readonly title: {
|
|
902
|
+
readonly $ref: "#/$defs/label";
|
|
903
|
+
};
|
|
904
|
+
readonly body: {
|
|
905
|
+
readonly $ref: "#/$defs/text";
|
|
906
|
+
};
|
|
907
|
+
readonly tone: {
|
|
908
|
+
readonly $ref: "#/$defs/tone";
|
|
909
|
+
};
|
|
910
|
+
readonly require_text: {
|
|
911
|
+
readonly type: "string";
|
|
912
|
+
readonly maxLength: 60;
|
|
913
|
+
};
|
|
914
|
+
};
|
|
915
|
+
};
|
|
916
|
+
readonly when: {
|
|
917
|
+
readonly $ref: "#/$defs/predicate";
|
|
918
|
+
};
|
|
919
|
+
readonly source: {
|
|
920
|
+
readonly $ref: "#/$defs/name";
|
|
921
|
+
};
|
|
922
|
+
};
|
|
923
|
+
};
|
|
924
|
+
readonly action_emit: {
|
|
925
|
+
readonly type: "object";
|
|
926
|
+
readonly additionalProperties: false;
|
|
927
|
+
readonly required: readonly ["do", "id"];
|
|
928
|
+
readonly properties: {
|
|
929
|
+
readonly do: {
|
|
930
|
+
readonly const: "emit";
|
|
931
|
+
};
|
|
932
|
+
readonly label: {
|
|
933
|
+
readonly $ref: "#/$defs/label";
|
|
934
|
+
};
|
|
935
|
+
readonly variant: {
|
|
936
|
+
readonly enum: readonly ["primary", "secondary", "ghost", "danger"];
|
|
937
|
+
};
|
|
938
|
+
readonly icon: {
|
|
939
|
+
readonly type: "string";
|
|
940
|
+
readonly pattern: "^[a-z][a-z0-9-]{0,63}$";
|
|
941
|
+
};
|
|
942
|
+
readonly confirm: {
|
|
943
|
+
readonly type: "object";
|
|
944
|
+
readonly additionalProperties: false;
|
|
945
|
+
readonly properties: {
|
|
946
|
+
readonly title: {
|
|
947
|
+
readonly $ref: "#/$defs/label";
|
|
948
|
+
};
|
|
949
|
+
readonly body: {
|
|
950
|
+
readonly $ref: "#/$defs/text";
|
|
951
|
+
};
|
|
952
|
+
readonly tone: {
|
|
953
|
+
readonly $ref: "#/$defs/tone";
|
|
954
|
+
};
|
|
955
|
+
readonly require_text: {
|
|
956
|
+
readonly type: "string";
|
|
957
|
+
readonly maxLength: 60;
|
|
958
|
+
};
|
|
959
|
+
};
|
|
960
|
+
};
|
|
961
|
+
readonly when: {
|
|
962
|
+
readonly $ref: "#/$defs/predicate";
|
|
963
|
+
};
|
|
964
|
+
readonly id: {
|
|
965
|
+
readonly type: "string";
|
|
966
|
+
readonly pattern: "^[a-z][a-z0-9_]*(\\.[a-z][a-z0-9_]*){1,3}$";
|
|
967
|
+
};
|
|
968
|
+
readonly params: {
|
|
969
|
+
readonly type: "object";
|
|
970
|
+
readonly maxProperties: 8;
|
|
971
|
+
readonly additionalProperties: {
|
|
972
|
+
readonly $ref: "#/$defs/scalar";
|
|
973
|
+
};
|
|
974
|
+
};
|
|
975
|
+
};
|
|
976
|
+
};
|
|
977
|
+
readonly actions: {
|
|
978
|
+
readonly type: "array";
|
|
979
|
+
readonly items: {
|
|
980
|
+
readonly $ref: "#/$defs/action";
|
|
981
|
+
};
|
|
982
|
+
readonly maxItems: 6;
|
|
983
|
+
};
|
|
984
|
+
readonly formField: {
|
|
985
|
+
readonly type: "object";
|
|
986
|
+
readonly additionalProperties: false;
|
|
987
|
+
readonly required: readonly ["key", "label", "kind"];
|
|
988
|
+
readonly properties: {
|
|
989
|
+
readonly key: {
|
|
990
|
+
readonly $ref: "#/$defs/key";
|
|
991
|
+
};
|
|
992
|
+
readonly label: {
|
|
993
|
+
readonly $ref: "#/$defs/label";
|
|
994
|
+
};
|
|
995
|
+
readonly kind: {
|
|
996
|
+
readonly $ref: "#/$defs/fieldKind";
|
|
997
|
+
};
|
|
998
|
+
readonly required: {
|
|
999
|
+
readonly type: "boolean";
|
|
1000
|
+
};
|
|
1001
|
+
readonly options: {
|
|
1002
|
+
readonly type: "array";
|
|
1003
|
+
readonly items: {
|
|
1004
|
+
readonly $ref: "#/$defs/option";
|
|
1005
|
+
};
|
|
1006
|
+
readonly maxItems: 100;
|
|
1007
|
+
};
|
|
1008
|
+
readonly value: {
|
|
1009
|
+
readonly $ref: "#/$defs/value";
|
|
1010
|
+
};
|
|
1011
|
+
readonly help: {
|
|
1012
|
+
readonly type: "string";
|
|
1013
|
+
readonly maxLength: 160;
|
|
1014
|
+
};
|
|
1015
|
+
readonly placeholder: {
|
|
1016
|
+
readonly type: "string";
|
|
1017
|
+
readonly maxLength: 160;
|
|
1018
|
+
};
|
|
1019
|
+
readonly depends_on: {
|
|
1020
|
+
readonly type: "string";
|
|
1021
|
+
readonly maxLength: 64;
|
|
1022
|
+
};
|
|
1023
|
+
readonly visible_when: {
|
|
1024
|
+
readonly type: "object";
|
|
1025
|
+
readonly additionalProperties: false;
|
|
1026
|
+
readonly properties: {
|
|
1027
|
+
readonly field: {
|
|
1028
|
+
readonly $ref: "#/$defs/key";
|
|
1029
|
+
};
|
|
1030
|
+
readonly equals: {
|
|
1031
|
+
readonly $ref: "#/$defs/scalar";
|
|
1032
|
+
};
|
|
1033
|
+
readonly in: {
|
|
1034
|
+
readonly type: "array";
|
|
1035
|
+
readonly items: {
|
|
1036
|
+
readonly $ref: "#/$defs/scalar";
|
|
1037
|
+
};
|
|
1038
|
+
readonly maxItems: 50;
|
|
1039
|
+
};
|
|
1040
|
+
readonly not_in: {
|
|
1041
|
+
readonly type: "array";
|
|
1042
|
+
readonly items: {
|
|
1043
|
+
readonly $ref: "#/$defs/scalar";
|
|
1044
|
+
};
|
|
1045
|
+
readonly maxItems: 50;
|
|
1046
|
+
};
|
|
1047
|
+
readonly empty: {
|
|
1048
|
+
readonly type: "boolean";
|
|
1049
|
+
};
|
|
1050
|
+
};
|
|
1051
|
+
};
|
|
1052
|
+
readonly validation: {
|
|
1053
|
+
readonly type: "object";
|
|
1054
|
+
readonly additionalProperties: false;
|
|
1055
|
+
readonly properties: {
|
|
1056
|
+
readonly min: {
|
|
1057
|
+
readonly type: "number";
|
|
1058
|
+
};
|
|
1059
|
+
readonly max: {
|
|
1060
|
+
readonly type: "number";
|
|
1061
|
+
};
|
|
1062
|
+
readonly min_length: {
|
|
1063
|
+
readonly type: "integer";
|
|
1064
|
+
readonly minimum: 0;
|
|
1065
|
+
readonly maximum: 2000;
|
|
1066
|
+
};
|
|
1067
|
+
readonly max_length: {
|
|
1068
|
+
readonly type: "integer";
|
|
1069
|
+
readonly minimum: 0;
|
|
1070
|
+
readonly maximum: 2000;
|
|
1071
|
+
};
|
|
1072
|
+
readonly pattern: {
|
|
1073
|
+
readonly type: "string";
|
|
1074
|
+
readonly maxLength: 200;
|
|
1075
|
+
};
|
|
1076
|
+
};
|
|
1077
|
+
};
|
|
1078
|
+
readonly widget: {
|
|
1079
|
+
readonly type: "string";
|
|
1080
|
+
readonly pattern: "^[a-z][a-z0-9_]{0,31}$";
|
|
1081
|
+
};
|
|
1082
|
+
readonly section: {
|
|
1083
|
+
readonly type: "string";
|
|
1084
|
+
readonly maxLength: 64;
|
|
1085
|
+
};
|
|
1086
|
+
readonly write_only: {
|
|
1087
|
+
readonly type: "boolean";
|
|
1088
|
+
};
|
|
1089
|
+
};
|
|
1090
|
+
};
|
|
1091
|
+
readonly dataSource: {
|
|
1092
|
+
readonly type: "object";
|
|
1093
|
+
readonly additionalProperties: false;
|
|
1094
|
+
readonly minProperties: 1;
|
|
1095
|
+
readonly maxProperties: 2;
|
|
1096
|
+
readonly properties: {
|
|
1097
|
+
readonly q: {
|
|
1098
|
+
readonly type: "string";
|
|
1099
|
+
readonly pattern: "^(t|m|mm|o|r|i|mi|me|x):[^\\s]{1,500}$";
|
|
1100
|
+
readonly description: "Token de lectura del query batch.";
|
|
1101
|
+
};
|
|
1102
|
+
readonly plan: {
|
|
1103
|
+
readonly enum: readonly ["model.list", "model.form", "dashboard.home"];
|
|
1104
|
+
};
|
|
1105
|
+
readonly args: {
|
|
1106
|
+
readonly type: "object";
|
|
1107
|
+
readonly maxProperties: 8;
|
|
1108
|
+
readonly additionalProperties: {
|
|
1109
|
+
readonly $ref: "#/$defs/scalar";
|
|
1110
|
+
};
|
|
1111
|
+
};
|
|
1112
|
+
readonly widget: {
|
|
1113
|
+
readonly type: "string";
|
|
1114
|
+
readonly pattern: "^[a-z][a-z0-9_]*\\.dashboard\\.[a-z][a-z0-9_]*$";
|
|
1115
|
+
};
|
|
1116
|
+
readonly inline: {
|
|
1117
|
+
readonly type: "array";
|
|
1118
|
+
readonly items: {
|
|
1119
|
+
readonly $ref: "#/$defs/row";
|
|
1120
|
+
};
|
|
1121
|
+
readonly maxItems: 200;
|
|
1122
|
+
};
|
|
1123
|
+
};
|
|
1124
|
+
readonly description: "Fuente declarada de solo lectura: q | plan(+args) | widget | inline.";
|
|
1125
|
+
};
|
|
1126
|
+
readonly source: {
|
|
1127
|
+
readonly type: "string";
|
|
1128
|
+
readonly pattern: "^data\\.[A-Za-z_][A-Za-z0-9_]{0,63}$";
|
|
1129
|
+
readonly description: "Referencia a data.<nombre>.";
|
|
1130
|
+
};
|
|
1131
|
+
readonly overlay: {
|
|
1132
|
+
readonly type: "object";
|
|
1133
|
+
readonly additionalProperties: false;
|
|
1134
|
+
readonly required: readonly ["kind", "blocks"];
|
|
1135
|
+
readonly properties: {
|
|
1136
|
+
readonly kind: {
|
|
1137
|
+
readonly enum: readonly ["modal", "drawer"];
|
|
1138
|
+
};
|
|
1139
|
+
readonly title: {
|
|
1140
|
+
readonly $ref: "#/$defs/label";
|
|
1141
|
+
};
|
|
1142
|
+
readonly blocks: {
|
|
1143
|
+
readonly type: "array";
|
|
1144
|
+
readonly items: {
|
|
1145
|
+
readonly $ref: "#/$defs/block";
|
|
1146
|
+
};
|
|
1147
|
+
readonly maxItems: 24;
|
|
1148
|
+
readonly minItems: 1;
|
|
1149
|
+
};
|
|
1150
|
+
};
|
|
1151
|
+
};
|
|
1152
|
+
readonly block: {
|
|
1153
|
+
readonly "x-genui": "block";
|
|
1154
|
+
readonly description: "Despachado por `type`; ver block_<type>.";
|
|
1155
|
+
readonly oneOf: readonly [{
|
|
1156
|
+
readonly $ref: "#/$defs/block_stack";
|
|
1157
|
+
}, {
|
|
1158
|
+
readonly $ref: "#/$defs/block_grid";
|
|
1159
|
+
}, {
|
|
1160
|
+
readonly $ref: "#/$defs/block_tabs";
|
|
1161
|
+
}, {
|
|
1162
|
+
readonly $ref: "#/$defs/block_section";
|
|
1163
|
+
}, {
|
|
1164
|
+
readonly $ref: "#/$defs/block_text";
|
|
1165
|
+
}, {
|
|
1166
|
+
readonly $ref: "#/$defs/block_markdown";
|
|
1167
|
+
}, {
|
|
1168
|
+
readonly $ref: "#/$defs/block_alert";
|
|
1169
|
+
}, {
|
|
1170
|
+
readonly $ref: "#/$defs/block_empty";
|
|
1171
|
+
}, {
|
|
1172
|
+
readonly $ref: "#/$defs/block_card";
|
|
1173
|
+
}, {
|
|
1174
|
+
readonly $ref: "#/$defs/block_list";
|
|
1175
|
+
}, {
|
|
1176
|
+
readonly $ref: "#/$defs/block_kpi";
|
|
1177
|
+
}, {
|
|
1178
|
+
readonly $ref: "#/$defs/block_stats";
|
|
1179
|
+
}, {
|
|
1180
|
+
readonly $ref: "#/$defs/block_links";
|
|
1181
|
+
}, {
|
|
1182
|
+
readonly $ref: "#/$defs/block_timeline";
|
|
1183
|
+
}, {
|
|
1184
|
+
readonly $ref: "#/$defs/block_table";
|
|
1185
|
+
}, {
|
|
1186
|
+
readonly $ref: "#/$defs/block_model_view";
|
|
1187
|
+
}, {
|
|
1188
|
+
readonly $ref: "#/$defs/block_view";
|
|
1189
|
+
}, {
|
|
1190
|
+
readonly $ref: "#/$defs/block_chart";
|
|
1191
|
+
}, {
|
|
1192
|
+
readonly $ref: "#/$defs/block_form";
|
|
1193
|
+
}, {
|
|
1194
|
+
readonly $ref: "#/$defs/block_wizard";
|
|
1195
|
+
}, {
|
|
1196
|
+
readonly $ref: "#/$defs/block_confirm";
|
|
1197
|
+
}, {
|
|
1198
|
+
readonly $ref: "#/$defs/block_settings";
|
|
1199
|
+
}, {
|
|
1200
|
+
readonly $ref: "#/$defs/block_media";
|
|
1201
|
+
}, {
|
|
1202
|
+
readonly $ref: "#/$defs/block_slot";
|
|
1203
|
+
}, {
|
|
1204
|
+
readonly $ref: "#/$defs/block_ext";
|
|
1205
|
+
}];
|
|
1206
|
+
};
|
|
1207
|
+
readonly block_stack: {
|
|
1208
|
+
readonly type: "object";
|
|
1209
|
+
readonly additionalProperties: false;
|
|
1210
|
+
readonly required: readonly ["type", "blocks"];
|
|
1211
|
+
readonly properties: {
|
|
1212
|
+
readonly type: {
|
|
1213
|
+
readonly const: "stack";
|
|
1214
|
+
};
|
|
1215
|
+
readonly id: {
|
|
1216
|
+
readonly $ref: "#/$defs/id";
|
|
1217
|
+
};
|
|
1218
|
+
readonly when: {
|
|
1219
|
+
readonly $ref: "#/$defs/predicate";
|
|
1220
|
+
};
|
|
1221
|
+
readonly fallback: {
|
|
1222
|
+
readonly type: "string";
|
|
1223
|
+
readonly maxLength: 2000;
|
|
1224
|
+
};
|
|
1225
|
+
readonly direction: {
|
|
1226
|
+
readonly enum: readonly ["vertical", "horizontal"];
|
|
1227
|
+
};
|
|
1228
|
+
readonly title: {
|
|
1229
|
+
readonly $ref: "#/$defs/label";
|
|
1230
|
+
};
|
|
1231
|
+
readonly blocks: {
|
|
1232
|
+
readonly type: "array";
|
|
1233
|
+
readonly items: {
|
|
1234
|
+
readonly $ref: "#/$defs/block";
|
|
1235
|
+
};
|
|
1236
|
+
readonly maxItems: 24;
|
|
1237
|
+
readonly minItems: 1;
|
|
1238
|
+
};
|
|
1239
|
+
};
|
|
1240
|
+
};
|
|
1241
|
+
readonly block_grid: {
|
|
1242
|
+
readonly type: "object";
|
|
1243
|
+
readonly additionalProperties: false;
|
|
1244
|
+
readonly required: readonly ["type", "blocks"];
|
|
1245
|
+
readonly properties: {
|
|
1246
|
+
readonly type: {
|
|
1247
|
+
readonly const: "grid";
|
|
1248
|
+
};
|
|
1249
|
+
readonly id: {
|
|
1250
|
+
readonly $ref: "#/$defs/id";
|
|
1251
|
+
};
|
|
1252
|
+
readonly when: {
|
|
1253
|
+
readonly $ref: "#/$defs/predicate";
|
|
1254
|
+
};
|
|
1255
|
+
readonly fallback: {
|
|
1256
|
+
readonly type: "string";
|
|
1257
|
+
readonly maxLength: 2000;
|
|
1258
|
+
};
|
|
1259
|
+
readonly columns: {
|
|
1260
|
+
readonly type: "integer";
|
|
1261
|
+
readonly minimum: 1;
|
|
1262
|
+
readonly maximum: 4;
|
|
1263
|
+
};
|
|
1264
|
+
readonly title: {
|
|
1265
|
+
readonly $ref: "#/$defs/label";
|
|
1266
|
+
};
|
|
1267
|
+
readonly blocks: {
|
|
1268
|
+
readonly type: "array";
|
|
1269
|
+
readonly items: {
|
|
1270
|
+
readonly $ref: "#/$defs/block";
|
|
1271
|
+
};
|
|
1272
|
+
readonly maxItems: 24;
|
|
1273
|
+
readonly minItems: 1;
|
|
1274
|
+
};
|
|
1275
|
+
};
|
|
1276
|
+
};
|
|
1277
|
+
readonly block_tabs: {
|
|
1278
|
+
readonly type: "object";
|
|
1279
|
+
readonly additionalProperties: false;
|
|
1280
|
+
readonly required: readonly ["type", "tabs"];
|
|
1281
|
+
readonly properties: {
|
|
1282
|
+
readonly type: {
|
|
1283
|
+
readonly const: "tabs";
|
|
1284
|
+
};
|
|
1285
|
+
readonly id: {
|
|
1286
|
+
readonly $ref: "#/$defs/id";
|
|
1287
|
+
};
|
|
1288
|
+
readonly when: {
|
|
1289
|
+
readonly $ref: "#/$defs/predicate";
|
|
1290
|
+
};
|
|
1291
|
+
readonly fallback: {
|
|
1292
|
+
readonly type: "string";
|
|
1293
|
+
readonly maxLength: 2000;
|
|
1294
|
+
};
|
|
1295
|
+
readonly state: {
|
|
1296
|
+
readonly $ref: "#/$defs/bindingPath";
|
|
1297
|
+
};
|
|
1298
|
+
readonly tabs: {
|
|
1299
|
+
readonly type: "array";
|
|
1300
|
+
readonly items: {
|
|
1301
|
+
readonly type: "object";
|
|
1302
|
+
readonly additionalProperties: false;
|
|
1303
|
+
readonly required: readonly ["key", "label", "blocks"];
|
|
1304
|
+
readonly properties: {
|
|
1305
|
+
readonly key: {
|
|
1306
|
+
readonly $ref: "#/$defs/key";
|
|
1307
|
+
};
|
|
1308
|
+
readonly label: {
|
|
1309
|
+
readonly $ref: "#/$defs/label";
|
|
1310
|
+
};
|
|
1311
|
+
readonly blocks: {
|
|
1312
|
+
readonly type: "array";
|
|
1313
|
+
readonly items: {
|
|
1314
|
+
readonly $ref: "#/$defs/block";
|
|
1315
|
+
};
|
|
1316
|
+
readonly maxItems: 24;
|
|
1317
|
+
readonly minItems: 1;
|
|
1318
|
+
};
|
|
1319
|
+
};
|
|
1320
|
+
};
|
|
1321
|
+
readonly maxItems: 8;
|
|
1322
|
+
readonly minItems: 1;
|
|
1323
|
+
};
|
|
1324
|
+
};
|
|
1325
|
+
};
|
|
1326
|
+
readonly block_section: {
|
|
1327
|
+
readonly type: "object";
|
|
1328
|
+
readonly additionalProperties: false;
|
|
1329
|
+
readonly required: readonly ["type", "title", "blocks"];
|
|
1330
|
+
readonly properties: {
|
|
1331
|
+
readonly type: {
|
|
1332
|
+
readonly const: "section";
|
|
1333
|
+
};
|
|
1334
|
+
readonly id: {
|
|
1335
|
+
readonly $ref: "#/$defs/id";
|
|
1336
|
+
};
|
|
1337
|
+
readonly when: {
|
|
1338
|
+
readonly $ref: "#/$defs/predicate";
|
|
1339
|
+
};
|
|
1340
|
+
readonly fallback: {
|
|
1341
|
+
readonly type: "string";
|
|
1342
|
+
readonly maxLength: 2000;
|
|
1343
|
+
};
|
|
1344
|
+
readonly title: {
|
|
1345
|
+
readonly $ref: "#/$defs/label";
|
|
1346
|
+
};
|
|
1347
|
+
readonly collapsible: {
|
|
1348
|
+
readonly type: "boolean";
|
|
1349
|
+
};
|
|
1350
|
+
readonly collapsed: {
|
|
1351
|
+
readonly type: "boolean";
|
|
1352
|
+
};
|
|
1353
|
+
readonly blocks: {
|
|
1354
|
+
readonly type: "array";
|
|
1355
|
+
readonly items: {
|
|
1356
|
+
readonly $ref: "#/$defs/block";
|
|
1357
|
+
};
|
|
1358
|
+
readonly maxItems: 24;
|
|
1359
|
+
readonly minItems: 1;
|
|
1360
|
+
};
|
|
1361
|
+
};
|
|
1362
|
+
};
|
|
1363
|
+
readonly block_text: {
|
|
1364
|
+
readonly type: "object";
|
|
1365
|
+
readonly additionalProperties: false;
|
|
1366
|
+
readonly required: readonly ["type", "text"];
|
|
1367
|
+
readonly properties: {
|
|
1368
|
+
readonly type: {
|
|
1369
|
+
readonly const: "text";
|
|
1370
|
+
};
|
|
1371
|
+
readonly id: {
|
|
1372
|
+
readonly $ref: "#/$defs/id";
|
|
1373
|
+
};
|
|
1374
|
+
readonly when: {
|
|
1375
|
+
readonly $ref: "#/$defs/predicate";
|
|
1376
|
+
};
|
|
1377
|
+
readonly fallback: {
|
|
1378
|
+
readonly type: "string";
|
|
1379
|
+
readonly maxLength: 2000;
|
|
1380
|
+
};
|
|
1381
|
+
readonly text: {
|
|
1382
|
+
readonly $ref: "#/$defs/text";
|
|
1383
|
+
};
|
|
1384
|
+
readonly tone: {
|
|
1385
|
+
readonly $ref: "#/$defs/tone";
|
|
1386
|
+
};
|
|
1387
|
+
};
|
|
1388
|
+
};
|
|
1389
|
+
readonly block_markdown: {
|
|
1390
|
+
readonly type: "object";
|
|
1391
|
+
readonly additionalProperties: false;
|
|
1392
|
+
readonly required: readonly ["type", "markdown"];
|
|
1393
|
+
readonly properties: {
|
|
1394
|
+
readonly type: {
|
|
1395
|
+
readonly const: "markdown";
|
|
1396
|
+
};
|
|
1397
|
+
readonly id: {
|
|
1398
|
+
readonly $ref: "#/$defs/id";
|
|
1399
|
+
};
|
|
1400
|
+
readonly when: {
|
|
1401
|
+
readonly $ref: "#/$defs/predicate";
|
|
1402
|
+
};
|
|
1403
|
+
readonly fallback: {
|
|
1404
|
+
readonly type: "string";
|
|
1405
|
+
readonly maxLength: 2000;
|
|
1406
|
+
};
|
|
1407
|
+
readonly markdown: {
|
|
1408
|
+
readonly type: "string";
|
|
1409
|
+
readonly maxLength: 8000;
|
|
1410
|
+
};
|
|
1411
|
+
};
|
|
1412
|
+
};
|
|
1413
|
+
readonly block_alert: {
|
|
1414
|
+
readonly type: "object";
|
|
1415
|
+
readonly additionalProperties: false;
|
|
1416
|
+
readonly required: readonly ["type", "text"];
|
|
1417
|
+
readonly properties: {
|
|
1418
|
+
readonly type: {
|
|
1419
|
+
readonly const: "alert";
|
|
1420
|
+
};
|
|
1421
|
+
readonly id: {
|
|
1422
|
+
readonly $ref: "#/$defs/id";
|
|
1423
|
+
};
|
|
1424
|
+
readonly when: {
|
|
1425
|
+
readonly $ref: "#/$defs/predicate";
|
|
1426
|
+
};
|
|
1427
|
+
readonly fallback: {
|
|
1428
|
+
readonly type: "string";
|
|
1429
|
+
readonly maxLength: 2000;
|
|
1430
|
+
};
|
|
1431
|
+
readonly title: {
|
|
1432
|
+
readonly $ref: "#/$defs/label";
|
|
1433
|
+
};
|
|
1434
|
+
readonly text: {
|
|
1435
|
+
readonly $ref: "#/$defs/text";
|
|
1436
|
+
};
|
|
1437
|
+
readonly tone: {
|
|
1438
|
+
readonly $ref: "#/$defs/tone";
|
|
1439
|
+
};
|
|
1440
|
+
};
|
|
1441
|
+
};
|
|
1442
|
+
readonly block_empty: {
|
|
1443
|
+
readonly type: "object";
|
|
1444
|
+
readonly additionalProperties: false;
|
|
1445
|
+
readonly required: readonly ["type", "title"];
|
|
1446
|
+
readonly properties: {
|
|
1447
|
+
readonly type: {
|
|
1448
|
+
readonly const: "empty";
|
|
1449
|
+
};
|
|
1450
|
+
readonly id: {
|
|
1451
|
+
readonly $ref: "#/$defs/id";
|
|
1452
|
+
};
|
|
1453
|
+
readonly when: {
|
|
1454
|
+
readonly $ref: "#/$defs/predicate";
|
|
1455
|
+
};
|
|
1456
|
+
readonly fallback: {
|
|
1457
|
+
readonly type: "string";
|
|
1458
|
+
readonly maxLength: 2000;
|
|
1459
|
+
};
|
|
1460
|
+
readonly title: {
|
|
1461
|
+
readonly $ref: "#/$defs/label";
|
|
1462
|
+
};
|
|
1463
|
+
readonly text: {
|
|
1464
|
+
readonly $ref: "#/$defs/text";
|
|
1465
|
+
};
|
|
1466
|
+
readonly icon: {
|
|
1467
|
+
readonly type: "string";
|
|
1468
|
+
readonly pattern: "^[a-z][a-z0-9-]{0,63}$";
|
|
1469
|
+
};
|
|
1470
|
+
readonly actions: {
|
|
1471
|
+
readonly $ref: "#/$defs/actions";
|
|
1472
|
+
};
|
|
1473
|
+
};
|
|
1474
|
+
};
|
|
1475
|
+
readonly block_card: {
|
|
1476
|
+
readonly type: "object";
|
|
1477
|
+
readonly additionalProperties: false;
|
|
1478
|
+
readonly required: readonly ["type", "title"];
|
|
1479
|
+
readonly properties: {
|
|
1480
|
+
readonly type: {
|
|
1481
|
+
readonly const: "card";
|
|
1482
|
+
};
|
|
1483
|
+
readonly id: {
|
|
1484
|
+
readonly $ref: "#/$defs/id";
|
|
1485
|
+
};
|
|
1486
|
+
readonly when: {
|
|
1487
|
+
readonly $ref: "#/$defs/predicate";
|
|
1488
|
+
};
|
|
1489
|
+
readonly fallback: {
|
|
1490
|
+
readonly type: "string";
|
|
1491
|
+
readonly maxLength: 2000;
|
|
1492
|
+
};
|
|
1493
|
+
readonly title: {
|
|
1494
|
+
readonly $ref: "#/$defs/label";
|
|
1495
|
+
};
|
|
1496
|
+
readonly subtitle: {
|
|
1497
|
+
readonly $ref: "#/$defs/label";
|
|
1498
|
+
};
|
|
1499
|
+
readonly body: {
|
|
1500
|
+
readonly $ref: "#/$defs/text";
|
|
1501
|
+
};
|
|
1502
|
+
readonly badges: {
|
|
1503
|
+
readonly type: "array";
|
|
1504
|
+
readonly items: {
|
|
1505
|
+
readonly $ref: "#/$defs/badge";
|
|
1506
|
+
};
|
|
1507
|
+
readonly maxItems: 6;
|
|
1508
|
+
};
|
|
1509
|
+
readonly fields: {
|
|
1510
|
+
readonly type: "array";
|
|
1511
|
+
readonly items: {
|
|
1512
|
+
readonly $ref: "#/$defs/field";
|
|
1513
|
+
};
|
|
1514
|
+
readonly maxItems: 12;
|
|
1515
|
+
};
|
|
1516
|
+
readonly link: {
|
|
1517
|
+
readonly $ref: "#/$defs/link";
|
|
1518
|
+
};
|
|
1519
|
+
readonly tone: {
|
|
1520
|
+
readonly $ref: "#/$defs/tone";
|
|
1521
|
+
};
|
|
1522
|
+
readonly actions: {
|
|
1523
|
+
readonly $ref: "#/$defs/actions";
|
|
1524
|
+
};
|
|
1525
|
+
};
|
|
1526
|
+
};
|
|
1527
|
+
readonly block_list: {
|
|
1528
|
+
readonly type: "object";
|
|
1529
|
+
readonly additionalProperties: false;
|
|
1530
|
+
readonly required: readonly ["type", "items"];
|
|
1531
|
+
readonly properties: {
|
|
1532
|
+
readonly type: {
|
|
1533
|
+
readonly const: "list";
|
|
1534
|
+
};
|
|
1535
|
+
readonly id: {
|
|
1536
|
+
readonly $ref: "#/$defs/id";
|
|
1537
|
+
};
|
|
1538
|
+
readonly when: {
|
|
1539
|
+
readonly $ref: "#/$defs/predicate";
|
|
1540
|
+
};
|
|
1541
|
+
readonly fallback: {
|
|
1542
|
+
readonly type: "string";
|
|
1543
|
+
readonly maxLength: 2000;
|
|
1544
|
+
};
|
|
1545
|
+
readonly title: {
|
|
1546
|
+
readonly $ref: "#/$defs/label";
|
|
1547
|
+
};
|
|
1548
|
+
readonly items: {
|
|
1549
|
+
readonly type: "array";
|
|
1550
|
+
readonly items: {
|
|
1551
|
+
readonly type: "object";
|
|
1552
|
+
readonly additionalProperties: false;
|
|
1553
|
+
readonly required: readonly ["title"];
|
|
1554
|
+
readonly properties: {
|
|
1555
|
+
readonly title: {
|
|
1556
|
+
readonly $ref: "#/$defs/label";
|
|
1557
|
+
};
|
|
1558
|
+
readonly description: {
|
|
1559
|
+
readonly $ref: "#/$defs/text";
|
|
1560
|
+
};
|
|
1561
|
+
readonly badge: {
|
|
1562
|
+
readonly $ref: "#/$defs/badge";
|
|
1563
|
+
};
|
|
1564
|
+
readonly action: {
|
|
1565
|
+
readonly $ref: "#/$defs/action";
|
|
1566
|
+
};
|
|
1567
|
+
};
|
|
1568
|
+
};
|
|
1569
|
+
readonly maxItems: 50;
|
|
1570
|
+
readonly minItems: 1;
|
|
1571
|
+
};
|
|
1572
|
+
};
|
|
1573
|
+
};
|
|
1574
|
+
readonly block_kpi: {
|
|
1575
|
+
readonly type: "object";
|
|
1576
|
+
readonly additionalProperties: false;
|
|
1577
|
+
readonly required: readonly ["type", "items"];
|
|
1578
|
+
readonly properties: {
|
|
1579
|
+
readonly type: {
|
|
1580
|
+
readonly const: "kpi";
|
|
1581
|
+
};
|
|
1582
|
+
readonly id: {
|
|
1583
|
+
readonly $ref: "#/$defs/id";
|
|
1584
|
+
};
|
|
1585
|
+
readonly when: {
|
|
1586
|
+
readonly $ref: "#/$defs/predicate";
|
|
1587
|
+
};
|
|
1588
|
+
readonly fallback: {
|
|
1589
|
+
readonly type: "string";
|
|
1590
|
+
readonly maxLength: 2000;
|
|
1591
|
+
};
|
|
1592
|
+
readonly title: {
|
|
1593
|
+
readonly $ref: "#/$defs/label";
|
|
1594
|
+
};
|
|
1595
|
+
readonly items: {
|
|
1596
|
+
readonly type: "array";
|
|
1597
|
+
readonly items: {
|
|
1598
|
+
readonly $ref: "#/$defs/item";
|
|
1599
|
+
};
|
|
1600
|
+
readonly maxItems: 12;
|
|
1601
|
+
readonly minItems: 1;
|
|
1602
|
+
};
|
|
1603
|
+
};
|
|
1604
|
+
};
|
|
1605
|
+
readonly block_stats: {
|
|
1606
|
+
readonly type: "object";
|
|
1607
|
+
readonly additionalProperties: false;
|
|
1608
|
+
readonly required: readonly ["type"];
|
|
1609
|
+
readonly properties: {
|
|
1610
|
+
readonly type: {
|
|
1611
|
+
readonly const: "stats";
|
|
1612
|
+
};
|
|
1613
|
+
readonly id: {
|
|
1614
|
+
readonly $ref: "#/$defs/id";
|
|
1615
|
+
};
|
|
1616
|
+
readonly when: {
|
|
1617
|
+
readonly $ref: "#/$defs/predicate";
|
|
1618
|
+
};
|
|
1619
|
+
readonly fallback: {
|
|
1620
|
+
readonly type: "string";
|
|
1621
|
+
readonly maxLength: 2000;
|
|
1622
|
+
};
|
|
1623
|
+
readonly title: {
|
|
1624
|
+
readonly $ref: "#/$defs/label";
|
|
1625
|
+
};
|
|
1626
|
+
readonly source: {
|
|
1627
|
+
readonly $ref: "#/$defs/source";
|
|
1628
|
+
};
|
|
1629
|
+
readonly format: {
|
|
1630
|
+
readonly $ref: "#/$defs/statFormat";
|
|
1631
|
+
};
|
|
1632
|
+
readonly items: {
|
|
1633
|
+
readonly type: "array";
|
|
1634
|
+
readonly items: {
|
|
1635
|
+
readonly $ref: "#/$defs/item";
|
|
1636
|
+
};
|
|
1637
|
+
readonly maxItems: 12;
|
|
1638
|
+
readonly minItems: 1;
|
|
1639
|
+
};
|
|
1640
|
+
readonly trend: {
|
|
1641
|
+
readonly enum: readonly ["up", "down", "flat"];
|
|
1642
|
+
};
|
|
1643
|
+
readonly compare: {
|
|
1644
|
+
readonly type: "string";
|
|
1645
|
+
readonly maxLength: 160;
|
|
1646
|
+
};
|
|
1647
|
+
};
|
|
1648
|
+
};
|
|
1649
|
+
readonly block_links: {
|
|
1650
|
+
readonly type: "object";
|
|
1651
|
+
readonly additionalProperties: false;
|
|
1652
|
+
readonly required: readonly ["type", "items"];
|
|
1653
|
+
readonly properties: {
|
|
1654
|
+
readonly type: {
|
|
1655
|
+
readonly const: "links";
|
|
1656
|
+
};
|
|
1657
|
+
readonly id: {
|
|
1658
|
+
readonly $ref: "#/$defs/id";
|
|
1659
|
+
};
|
|
1660
|
+
readonly when: {
|
|
1661
|
+
readonly $ref: "#/$defs/predicate";
|
|
1662
|
+
};
|
|
1663
|
+
readonly fallback: {
|
|
1664
|
+
readonly type: "string";
|
|
1665
|
+
readonly maxLength: 2000;
|
|
1666
|
+
};
|
|
1667
|
+
readonly title: {
|
|
1668
|
+
readonly $ref: "#/$defs/label";
|
|
1669
|
+
};
|
|
1670
|
+
readonly items: {
|
|
1671
|
+
readonly type: "array";
|
|
1672
|
+
readonly items: {
|
|
1673
|
+
readonly $ref: "#/$defs/item";
|
|
1674
|
+
};
|
|
1675
|
+
readonly maxItems: 50;
|
|
1676
|
+
readonly minItems: 1;
|
|
1677
|
+
};
|
|
1678
|
+
};
|
|
1679
|
+
};
|
|
1680
|
+
readonly block_timeline: {
|
|
1681
|
+
readonly type: "object";
|
|
1682
|
+
readonly additionalProperties: false;
|
|
1683
|
+
readonly required: readonly ["type"];
|
|
1684
|
+
readonly properties: {
|
|
1685
|
+
readonly type: {
|
|
1686
|
+
readonly const: "timeline";
|
|
1687
|
+
};
|
|
1688
|
+
readonly id: {
|
|
1689
|
+
readonly $ref: "#/$defs/id";
|
|
1690
|
+
};
|
|
1691
|
+
readonly when: {
|
|
1692
|
+
readonly $ref: "#/$defs/predicate";
|
|
1693
|
+
};
|
|
1694
|
+
readonly fallback: {
|
|
1695
|
+
readonly type: "string";
|
|
1696
|
+
readonly maxLength: 2000;
|
|
1697
|
+
};
|
|
1698
|
+
readonly title: {
|
|
1699
|
+
readonly $ref: "#/$defs/label";
|
|
1700
|
+
};
|
|
1701
|
+
readonly items: {
|
|
1702
|
+
readonly type: "array";
|
|
1703
|
+
readonly items: {
|
|
1704
|
+
readonly $ref: "#/$defs/item";
|
|
1705
|
+
};
|
|
1706
|
+
readonly maxItems: 50;
|
|
1707
|
+
readonly minItems: 1;
|
|
1708
|
+
};
|
|
1709
|
+
readonly source: {
|
|
1710
|
+
readonly $ref: "#/$defs/source";
|
|
1711
|
+
};
|
|
1712
|
+
};
|
|
1713
|
+
};
|
|
1714
|
+
readonly block_table: {
|
|
1715
|
+
readonly type: "object";
|
|
1716
|
+
readonly additionalProperties: false;
|
|
1717
|
+
readonly required: readonly ["type", "columns"];
|
|
1718
|
+
readonly properties: {
|
|
1719
|
+
readonly type: {
|
|
1720
|
+
readonly const: "table";
|
|
1721
|
+
};
|
|
1722
|
+
readonly id: {
|
|
1723
|
+
readonly $ref: "#/$defs/id";
|
|
1724
|
+
};
|
|
1725
|
+
readonly when: {
|
|
1726
|
+
readonly $ref: "#/$defs/predicate";
|
|
1727
|
+
};
|
|
1728
|
+
readonly fallback: {
|
|
1729
|
+
readonly type: "string";
|
|
1730
|
+
readonly maxLength: 2000;
|
|
1731
|
+
};
|
|
1732
|
+
readonly title: {
|
|
1733
|
+
readonly $ref: "#/$defs/label";
|
|
1734
|
+
};
|
|
1735
|
+
readonly caption: {
|
|
1736
|
+
readonly $ref: "#/$defs/label";
|
|
1737
|
+
};
|
|
1738
|
+
readonly columns: {
|
|
1739
|
+
readonly type: "array";
|
|
1740
|
+
readonly items: {
|
|
1741
|
+
readonly $ref: "#/$defs/column";
|
|
1742
|
+
};
|
|
1743
|
+
readonly maxItems: 24;
|
|
1744
|
+
readonly minItems: 1;
|
|
1745
|
+
};
|
|
1746
|
+
readonly rows: {
|
|
1747
|
+
readonly type: "array";
|
|
1748
|
+
readonly items: {
|
|
1749
|
+
readonly $ref: "#/$defs/row";
|
|
1750
|
+
};
|
|
1751
|
+
readonly maxItems: 200;
|
|
1752
|
+
};
|
|
1753
|
+
readonly source: {
|
|
1754
|
+
readonly $ref: "#/$defs/source";
|
|
1755
|
+
};
|
|
1756
|
+
readonly filters: {
|
|
1757
|
+
readonly type: "array";
|
|
1758
|
+
readonly items: {
|
|
1759
|
+
readonly $ref: "#/$defs/key";
|
|
1760
|
+
};
|
|
1761
|
+
readonly maxItems: 12;
|
|
1762
|
+
};
|
|
1763
|
+
readonly sort: {
|
|
1764
|
+
readonly type: "object";
|
|
1765
|
+
readonly additionalProperties: false;
|
|
1766
|
+
readonly required: readonly ["key"];
|
|
1767
|
+
readonly properties: {
|
|
1768
|
+
readonly key: {
|
|
1769
|
+
readonly $ref: "#/$defs/key";
|
|
1770
|
+
};
|
|
1771
|
+
readonly dir: {
|
|
1772
|
+
readonly enum: readonly ["asc", "desc"];
|
|
1773
|
+
};
|
|
1774
|
+
};
|
|
1775
|
+
};
|
|
1776
|
+
readonly page_size: {
|
|
1777
|
+
readonly type: "integer";
|
|
1778
|
+
readonly minimum: 1;
|
|
1779
|
+
readonly maximum: 100;
|
|
1780
|
+
};
|
|
1781
|
+
readonly row_actions: {
|
|
1782
|
+
readonly $ref: "#/$defs/actions";
|
|
1783
|
+
};
|
|
1784
|
+
readonly bulk_actions: {
|
|
1785
|
+
readonly $ref: "#/$defs/actions";
|
|
1786
|
+
};
|
|
1787
|
+
};
|
|
1788
|
+
};
|
|
1789
|
+
readonly block_model_view: {
|
|
1790
|
+
readonly type: "object";
|
|
1791
|
+
readonly additionalProperties: false;
|
|
1792
|
+
readonly required: readonly ["type", "model"];
|
|
1793
|
+
readonly properties: {
|
|
1794
|
+
readonly type: {
|
|
1795
|
+
readonly const: "model_view";
|
|
1796
|
+
};
|
|
1797
|
+
readonly id: {
|
|
1798
|
+
readonly $ref: "#/$defs/id";
|
|
1799
|
+
};
|
|
1800
|
+
readonly when: {
|
|
1801
|
+
readonly $ref: "#/$defs/predicate";
|
|
1802
|
+
};
|
|
1803
|
+
readonly fallback: {
|
|
1804
|
+
readonly type: "string";
|
|
1805
|
+
readonly maxLength: 2000;
|
|
1806
|
+
};
|
|
1807
|
+
readonly title: {
|
|
1808
|
+
readonly $ref: "#/$defs/label";
|
|
1809
|
+
};
|
|
1810
|
+
readonly model: {
|
|
1811
|
+
readonly $ref: "#/$defs/key";
|
|
1812
|
+
};
|
|
1813
|
+
readonly view: {
|
|
1814
|
+
readonly enum: readonly ["table", "kanban", "calendar", "map", "timeline", "chart"];
|
|
1815
|
+
};
|
|
1816
|
+
readonly filters: {
|
|
1817
|
+
readonly type: "object";
|
|
1818
|
+
readonly maxProperties: 8;
|
|
1819
|
+
readonly additionalProperties: {
|
|
1820
|
+
readonly $ref: "#/$defs/scalar";
|
|
1821
|
+
};
|
|
1822
|
+
};
|
|
1823
|
+
readonly allowed_actions: {
|
|
1824
|
+
readonly type: "array";
|
|
1825
|
+
readonly items: {
|
|
1826
|
+
readonly $ref: "#/$defs/key";
|
|
1827
|
+
};
|
|
1828
|
+
readonly maxItems: 12;
|
|
1829
|
+
};
|
|
1830
|
+
};
|
|
1831
|
+
};
|
|
1832
|
+
readonly block_view: {
|
|
1833
|
+
readonly type: "object";
|
|
1834
|
+
readonly additionalProperties: false;
|
|
1835
|
+
readonly required: readonly ["type", "model"];
|
|
1836
|
+
readonly properties: {
|
|
1837
|
+
readonly type: {
|
|
1838
|
+
readonly const: "view";
|
|
1839
|
+
};
|
|
1840
|
+
readonly id: {
|
|
1841
|
+
readonly $ref: "#/$defs/id";
|
|
1842
|
+
};
|
|
1843
|
+
readonly when: {
|
|
1844
|
+
readonly $ref: "#/$defs/predicate";
|
|
1845
|
+
};
|
|
1846
|
+
readonly fallback: {
|
|
1847
|
+
readonly type: "string";
|
|
1848
|
+
readonly maxLength: 2000;
|
|
1849
|
+
};
|
|
1850
|
+
readonly title: {
|
|
1851
|
+
readonly $ref: "#/$defs/label";
|
|
1852
|
+
};
|
|
1853
|
+
readonly model: {
|
|
1854
|
+
readonly $ref: "#/$defs/key";
|
|
1855
|
+
};
|
|
1856
|
+
readonly record: {
|
|
1857
|
+
readonly $ref: "#/$defs/value";
|
|
1858
|
+
};
|
|
1859
|
+
readonly fields: {
|
|
1860
|
+
readonly type: "array";
|
|
1861
|
+
readonly items: {
|
|
1862
|
+
readonly $ref: "#/$defs/key";
|
|
1863
|
+
};
|
|
1864
|
+
readonly maxItems: 40;
|
|
1865
|
+
};
|
|
1866
|
+
readonly panels: {
|
|
1867
|
+
readonly type: "array";
|
|
1868
|
+
readonly items: {
|
|
1869
|
+
readonly $ref: "#/$defs/key";
|
|
1870
|
+
};
|
|
1871
|
+
readonly maxItems: 12;
|
|
1872
|
+
};
|
|
1873
|
+
};
|
|
1874
|
+
};
|
|
1875
|
+
readonly block_chart: {
|
|
1876
|
+
readonly type: "object";
|
|
1877
|
+
readonly additionalProperties: false;
|
|
1878
|
+
readonly required: readonly ["type", "kind", "x", "series", "summary"];
|
|
1879
|
+
readonly properties: {
|
|
1880
|
+
readonly type: {
|
|
1881
|
+
readonly const: "chart";
|
|
1882
|
+
};
|
|
1883
|
+
readonly id: {
|
|
1884
|
+
readonly $ref: "#/$defs/id";
|
|
1885
|
+
};
|
|
1886
|
+
readonly when: {
|
|
1887
|
+
readonly $ref: "#/$defs/predicate";
|
|
1888
|
+
};
|
|
1889
|
+
readonly fallback: {
|
|
1890
|
+
readonly type: "string";
|
|
1891
|
+
readonly maxLength: 2000;
|
|
1892
|
+
};
|
|
1893
|
+
readonly title: {
|
|
1894
|
+
readonly $ref: "#/$defs/label";
|
|
1895
|
+
};
|
|
1896
|
+
readonly kind: {
|
|
1897
|
+
readonly enum: readonly ["bar", "line", "area", "pie", "donut", "sparkline"];
|
|
1898
|
+
};
|
|
1899
|
+
readonly x: {
|
|
1900
|
+
readonly $ref: "#/$defs/key";
|
|
1901
|
+
};
|
|
1902
|
+
readonly series: {
|
|
1903
|
+
readonly type: "array";
|
|
1904
|
+
readonly items: {
|
|
1905
|
+
readonly $ref: "#/$defs/column";
|
|
1906
|
+
};
|
|
1907
|
+
readonly maxItems: 6;
|
|
1908
|
+
readonly minItems: 1;
|
|
1909
|
+
};
|
|
1910
|
+
readonly rows: {
|
|
1911
|
+
readonly type: "array";
|
|
1912
|
+
readonly items: {
|
|
1913
|
+
readonly $ref: "#/$defs/row";
|
|
1914
|
+
};
|
|
1915
|
+
readonly maxItems: 500;
|
|
1916
|
+
};
|
|
1917
|
+
readonly source: {
|
|
1918
|
+
readonly $ref: "#/$defs/source";
|
|
1919
|
+
};
|
|
1920
|
+
readonly format: {
|
|
1921
|
+
readonly $ref: "#/$defs/statFormat";
|
|
1922
|
+
};
|
|
1923
|
+
readonly accent: {
|
|
1924
|
+
readonly $ref: "#/$defs/tone";
|
|
1925
|
+
};
|
|
1926
|
+
readonly summary: {
|
|
1927
|
+
readonly type: "string";
|
|
1928
|
+
readonly maxLength: 2000;
|
|
1929
|
+
};
|
|
1930
|
+
readonly caption: {
|
|
1931
|
+
readonly $ref: "#/$defs/label";
|
|
1932
|
+
};
|
|
1933
|
+
};
|
|
1934
|
+
};
|
|
1935
|
+
readonly block_form: {
|
|
1936
|
+
readonly type: "object";
|
|
1937
|
+
readonly additionalProperties: false;
|
|
1938
|
+
readonly required: readonly ["type", "fields"];
|
|
1939
|
+
readonly properties: {
|
|
1940
|
+
readonly type: {
|
|
1941
|
+
readonly const: "form";
|
|
1942
|
+
};
|
|
1943
|
+
readonly id: {
|
|
1944
|
+
readonly $ref: "#/$defs/id";
|
|
1945
|
+
};
|
|
1946
|
+
readonly when: {
|
|
1947
|
+
readonly $ref: "#/$defs/predicate";
|
|
1948
|
+
};
|
|
1949
|
+
readonly fallback: {
|
|
1950
|
+
readonly type: "string";
|
|
1951
|
+
readonly maxLength: 2000;
|
|
1952
|
+
};
|
|
1953
|
+
readonly title: {
|
|
1954
|
+
readonly $ref: "#/$defs/label";
|
|
1955
|
+
};
|
|
1956
|
+
readonly description: {
|
|
1957
|
+
readonly $ref: "#/$defs/text";
|
|
1958
|
+
};
|
|
1959
|
+
readonly fields: {
|
|
1960
|
+
readonly type: "array";
|
|
1961
|
+
readonly items: {
|
|
1962
|
+
readonly $ref: "#/$defs/formField";
|
|
1963
|
+
};
|
|
1964
|
+
readonly maxItems: 40;
|
|
1965
|
+
readonly minItems: 1;
|
|
1966
|
+
};
|
|
1967
|
+
readonly layout: {
|
|
1968
|
+
readonly type: "object";
|
|
1969
|
+
readonly additionalProperties: false;
|
|
1970
|
+
readonly properties: {
|
|
1971
|
+
readonly mode: {
|
|
1972
|
+
readonly enum: readonly ["sections", "steps"];
|
|
1973
|
+
};
|
|
1974
|
+
readonly steps: {
|
|
1975
|
+
readonly type: "array";
|
|
1976
|
+
readonly items: {
|
|
1977
|
+
readonly type: "object";
|
|
1978
|
+
readonly additionalProperties: false;
|
|
1979
|
+
readonly required: readonly ["title", "fields"];
|
|
1980
|
+
readonly properties: {
|
|
1981
|
+
readonly title: {
|
|
1982
|
+
readonly $ref: "#/$defs/label";
|
|
1983
|
+
};
|
|
1984
|
+
readonly description: {
|
|
1985
|
+
readonly $ref: "#/$defs/text";
|
|
1986
|
+
};
|
|
1987
|
+
readonly fields: {
|
|
1988
|
+
readonly type: "array";
|
|
1989
|
+
readonly items: {
|
|
1990
|
+
readonly $ref: "#/$defs/key";
|
|
1991
|
+
};
|
|
1992
|
+
readonly maxItems: 40;
|
|
1993
|
+
readonly minItems: 1;
|
|
1994
|
+
};
|
|
1995
|
+
};
|
|
1996
|
+
};
|
|
1997
|
+
readonly maxItems: 8;
|
|
1998
|
+
};
|
|
1999
|
+
};
|
|
2000
|
+
};
|
|
2001
|
+
readonly submit: {
|
|
2002
|
+
readonly $ref: "#/$defs/action";
|
|
2003
|
+
};
|
|
2004
|
+
readonly actions: {
|
|
2005
|
+
readonly $ref: "#/$defs/actions";
|
|
2006
|
+
};
|
|
2007
|
+
};
|
|
2008
|
+
};
|
|
2009
|
+
readonly block_wizard: {
|
|
2010
|
+
readonly type: "object";
|
|
2011
|
+
readonly additionalProperties: false;
|
|
2012
|
+
readonly required: readonly ["type"];
|
|
2013
|
+
readonly properties: {
|
|
2014
|
+
readonly type: {
|
|
2015
|
+
readonly const: "wizard";
|
|
2016
|
+
};
|
|
2017
|
+
readonly id: {
|
|
2018
|
+
readonly $ref: "#/$defs/id";
|
|
2019
|
+
};
|
|
2020
|
+
readonly when: {
|
|
2021
|
+
readonly $ref: "#/$defs/predicate";
|
|
2022
|
+
};
|
|
2023
|
+
readonly fallback: {
|
|
2024
|
+
readonly type: "string";
|
|
2025
|
+
readonly maxLength: 2000;
|
|
2026
|
+
};
|
|
2027
|
+
readonly title: {
|
|
2028
|
+
readonly $ref: "#/$defs/label";
|
|
2029
|
+
};
|
|
2030
|
+
readonly description: {
|
|
2031
|
+
readonly $ref: "#/$defs/text";
|
|
2032
|
+
};
|
|
2033
|
+
readonly fields: {
|
|
2034
|
+
readonly type: "array";
|
|
2035
|
+
readonly items: {
|
|
2036
|
+
readonly $ref: "#/$defs/formField";
|
|
2037
|
+
};
|
|
2038
|
+
readonly maxItems: 40;
|
|
2039
|
+
readonly minItems: 1;
|
|
2040
|
+
};
|
|
2041
|
+
readonly steps: {
|
|
2042
|
+
readonly type: "array";
|
|
2043
|
+
readonly items: {
|
|
2044
|
+
readonly type: "object";
|
|
2045
|
+
readonly additionalProperties: false;
|
|
2046
|
+
readonly required: readonly ["title", "fields"];
|
|
2047
|
+
readonly properties: {
|
|
2048
|
+
readonly title: {
|
|
2049
|
+
readonly $ref: "#/$defs/label";
|
|
2050
|
+
};
|
|
2051
|
+
readonly description: {
|
|
2052
|
+
readonly $ref: "#/$defs/text";
|
|
2053
|
+
};
|
|
2054
|
+
readonly fields: {
|
|
2055
|
+
readonly type: "array";
|
|
2056
|
+
readonly items: {
|
|
2057
|
+
readonly $ref: "#/$defs/key";
|
|
2058
|
+
};
|
|
2059
|
+
readonly maxItems: 40;
|
|
2060
|
+
readonly minItems: 1;
|
|
2061
|
+
};
|
|
2062
|
+
};
|
|
2063
|
+
};
|
|
2064
|
+
readonly maxItems: 8;
|
|
2065
|
+
readonly minItems: 1;
|
|
2066
|
+
};
|
|
2067
|
+
readonly submit: {
|
|
2068
|
+
readonly $ref: "#/$defs/action";
|
|
2069
|
+
};
|
|
2070
|
+
readonly ref: {
|
|
2071
|
+
readonly type: "object";
|
|
2072
|
+
readonly additionalProperties: false;
|
|
2073
|
+
readonly required: readonly ["action"];
|
|
2074
|
+
readonly properties: {
|
|
2075
|
+
readonly action: {
|
|
2076
|
+
readonly type: "string";
|
|
2077
|
+
readonly maxLength: 160;
|
|
2078
|
+
};
|
|
2079
|
+
};
|
|
2080
|
+
};
|
|
2081
|
+
};
|
|
2082
|
+
};
|
|
2083
|
+
readonly block_confirm: {
|
|
2084
|
+
readonly type: "object";
|
|
2085
|
+
readonly additionalProperties: false;
|
|
2086
|
+
readonly required: readonly ["type", "title", "actions"];
|
|
2087
|
+
readonly properties: {
|
|
2088
|
+
readonly type: {
|
|
2089
|
+
readonly const: "confirm";
|
|
2090
|
+
};
|
|
2091
|
+
readonly id: {
|
|
2092
|
+
readonly $ref: "#/$defs/id";
|
|
2093
|
+
};
|
|
2094
|
+
readonly when: {
|
|
2095
|
+
readonly $ref: "#/$defs/predicate";
|
|
2096
|
+
};
|
|
2097
|
+
readonly fallback: {
|
|
2098
|
+
readonly type: "string";
|
|
2099
|
+
readonly maxLength: 2000;
|
|
2100
|
+
};
|
|
2101
|
+
readonly title: {
|
|
2102
|
+
readonly $ref: "#/$defs/label";
|
|
2103
|
+
};
|
|
2104
|
+
readonly description: {
|
|
2105
|
+
readonly $ref: "#/$defs/text";
|
|
2106
|
+
};
|
|
2107
|
+
readonly fields: {
|
|
2108
|
+
readonly type: "array";
|
|
2109
|
+
readonly items: {
|
|
2110
|
+
readonly $ref: "#/$defs/field";
|
|
2111
|
+
};
|
|
2112
|
+
readonly maxItems: 12;
|
|
2113
|
+
};
|
|
2114
|
+
readonly inputs: {
|
|
2115
|
+
readonly type: "array";
|
|
2116
|
+
readonly items: {
|
|
2117
|
+
readonly type: "object";
|
|
2118
|
+
readonly additionalProperties: false;
|
|
2119
|
+
readonly required: readonly ["name", "label", "kind"];
|
|
2120
|
+
readonly properties: {
|
|
2121
|
+
readonly name: {
|
|
2122
|
+
readonly $ref: "#/$defs/key";
|
|
2123
|
+
};
|
|
2124
|
+
readonly label: {
|
|
2125
|
+
readonly $ref: "#/$defs/label";
|
|
2126
|
+
};
|
|
2127
|
+
readonly kind: {
|
|
2128
|
+
readonly enum: readonly ["text", "textarea", "number", "switch", "select", "time", "date"];
|
|
2129
|
+
};
|
|
2130
|
+
readonly value: {
|
|
2131
|
+
readonly $ref: "#/$defs/scalar";
|
|
2132
|
+
};
|
|
2133
|
+
readonly required: {
|
|
2134
|
+
readonly type: "boolean";
|
|
2135
|
+
};
|
|
2136
|
+
readonly options: {
|
|
2137
|
+
readonly type: "array";
|
|
2138
|
+
readonly items: {
|
|
2139
|
+
readonly $ref: "#/$defs/option";
|
|
2140
|
+
};
|
|
2141
|
+
readonly maxItems: 30;
|
|
2142
|
+
};
|
|
2143
|
+
readonly help: {
|
|
2144
|
+
readonly type: "string";
|
|
2145
|
+
readonly maxLength: 160;
|
|
2146
|
+
};
|
|
2147
|
+
};
|
|
2148
|
+
};
|
|
2149
|
+
readonly maxItems: 12;
|
|
2150
|
+
};
|
|
2151
|
+
readonly actions: {
|
|
2152
|
+
readonly type: "array";
|
|
2153
|
+
readonly items: {
|
|
2154
|
+
readonly type: "object";
|
|
2155
|
+
readonly additionalProperties: false;
|
|
2156
|
+
readonly required: readonly ["id", "label"];
|
|
2157
|
+
readonly properties: {
|
|
2158
|
+
readonly id: {
|
|
2159
|
+
readonly type: "string";
|
|
2160
|
+
readonly pattern: "^[a-z][a-z0-9_]*(\\.[a-z][a-z0-9_]*){1,3}$";
|
|
2161
|
+
};
|
|
2162
|
+
readonly label: {
|
|
2163
|
+
readonly type: "string";
|
|
2164
|
+
readonly maxLength: 60;
|
|
2165
|
+
};
|
|
2166
|
+
readonly variant: {
|
|
2167
|
+
readonly enum: readonly ["primary", "secondary", "ghost", "danger"];
|
|
2168
|
+
};
|
|
2169
|
+
readonly params: {
|
|
2170
|
+
readonly type: "object";
|
|
2171
|
+
readonly maxProperties: 8;
|
|
2172
|
+
readonly additionalProperties: {
|
|
2173
|
+
readonly $ref: "#/$defs/scalar";
|
|
2174
|
+
};
|
|
2175
|
+
};
|
|
2176
|
+
};
|
|
2177
|
+
};
|
|
2178
|
+
readonly maxItems: 6;
|
|
2179
|
+
readonly minItems: 1;
|
|
2180
|
+
};
|
|
2181
|
+
readonly badges: {
|
|
2182
|
+
readonly type: "array";
|
|
2183
|
+
readonly items: {
|
|
2184
|
+
readonly $ref: "#/$defs/badge";
|
|
2185
|
+
};
|
|
2186
|
+
readonly maxItems: 6;
|
|
2187
|
+
};
|
|
2188
|
+
readonly tone: {
|
|
2189
|
+
readonly $ref: "#/$defs/tone";
|
|
2190
|
+
};
|
|
2191
|
+
};
|
|
2192
|
+
};
|
|
2193
|
+
readonly block_settings: {
|
|
2194
|
+
readonly description: "Solo por referencia; nunca en línea.";
|
|
2195
|
+
readonly type: "object";
|
|
2196
|
+
readonly additionalProperties: false;
|
|
2197
|
+
readonly required: readonly ["type", "addon", "scope"];
|
|
2198
|
+
readonly properties: {
|
|
2199
|
+
readonly type: {
|
|
2200
|
+
readonly const: "settings";
|
|
2201
|
+
};
|
|
2202
|
+
readonly id: {
|
|
2203
|
+
readonly $ref: "#/$defs/id";
|
|
2204
|
+
};
|
|
2205
|
+
readonly when: {
|
|
2206
|
+
readonly $ref: "#/$defs/predicate";
|
|
2207
|
+
};
|
|
2208
|
+
readonly fallback: {
|
|
2209
|
+
readonly type: "string";
|
|
2210
|
+
readonly maxLength: 2000;
|
|
2211
|
+
};
|
|
2212
|
+
readonly addon: {
|
|
2213
|
+
readonly type: "string";
|
|
2214
|
+
readonly pattern: "^[a-z][a-z0-9_]{0,63}$";
|
|
2215
|
+
};
|
|
2216
|
+
readonly keys: {
|
|
2217
|
+
readonly type: "array";
|
|
2218
|
+
readonly items: {
|
|
2219
|
+
readonly $ref: "#/$defs/key";
|
|
2220
|
+
};
|
|
2221
|
+
readonly maxItems: 40;
|
|
2222
|
+
};
|
|
2223
|
+
readonly scope: {
|
|
2224
|
+
readonly enum: readonly ["org", "branch"];
|
|
2225
|
+
};
|
|
2226
|
+
readonly section: {
|
|
2227
|
+
readonly type: "string";
|
|
2228
|
+
readonly maxLength: 64;
|
|
2229
|
+
};
|
|
2230
|
+
};
|
|
2231
|
+
};
|
|
2232
|
+
readonly block_media: {
|
|
2233
|
+
readonly type: "object";
|
|
2234
|
+
readonly additionalProperties: false;
|
|
2235
|
+
readonly required: readonly ["type", "src", "alt", "width", "height"];
|
|
2236
|
+
readonly properties: {
|
|
2237
|
+
readonly type: {
|
|
2238
|
+
readonly const: "media";
|
|
2239
|
+
};
|
|
2240
|
+
readonly id: {
|
|
2241
|
+
readonly $ref: "#/$defs/id";
|
|
2242
|
+
};
|
|
2243
|
+
readonly when: {
|
|
2244
|
+
readonly $ref: "#/$defs/predicate";
|
|
2245
|
+
};
|
|
2246
|
+
readonly fallback: {
|
|
2247
|
+
readonly type: "string";
|
|
2248
|
+
readonly maxLength: 2000;
|
|
2249
|
+
};
|
|
2250
|
+
readonly src: {
|
|
2251
|
+
readonly type: "string";
|
|
2252
|
+
readonly maxLength: 2048;
|
|
2253
|
+
readonly pattern: "^(asset:[A-Za-z0-9_-]{1,64}|/[^/\\\\\\s][^\\\\\\s]*)$";
|
|
2254
|
+
};
|
|
2255
|
+
readonly alt: {
|
|
2256
|
+
readonly type: "string";
|
|
2257
|
+
readonly maxLength: 300;
|
|
2258
|
+
};
|
|
2259
|
+
readonly width: {
|
|
2260
|
+
readonly type: "integer";
|
|
2261
|
+
readonly minimum: 1;
|
|
2262
|
+
readonly maximum: 4096;
|
|
2263
|
+
};
|
|
2264
|
+
readonly height: {
|
|
2265
|
+
readonly type: "integer";
|
|
2266
|
+
readonly minimum: 1;
|
|
2267
|
+
readonly maximum: 4096;
|
|
2268
|
+
};
|
|
2269
|
+
readonly caption: {
|
|
2270
|
+
readonly $ref: "#/$defs/label";
|
|
2271
|
+
};
|
|
2272
|
+
};
|
|
2273
|
+
};
|
|
2274
|
+
readonly block_slot: {
|
|
2275
|
+
readonly type: "object";
|
|
2276
|
+
readonly additionalProperties: false;
|
|
2277
|
+
readonly required: readonly ["type", "name"];
|
|
2278
|
+
readonly properties: {
|
|
2279
|
+
readonly type: {
|
|
2280
|
+
readonly const: "slot";
|
|
2281
|
+
};
|
|
2282
|
+
readonly id: {
|
|
2283
|
+
readonly $ref: "#/$defs/id";
|
|
2284
|
+
};
|
|
2285
|
+
readonly when: {
|
|
2286
|
+
readonly $ref: "#/$defs/predicate";
|
|
2287
|
+
};
|
|
2288
|
+
readonly fallback: {
|
|
2289
|
+
readonly type: "string";
|
|
2290
|
+
readonly maxLength: 2000;
|
|
2291
|
+
};
|
|
2292
|
+
readonly name: {
|
|
2293
|
+
readonly type: "string";
|
|
2294
|
+
readonly pattern: "^[a-z][a-z0-9_]*(\\.[a-z][a-z0-9_]*){1,3}$";
|
|
2295
|
+
};
|
|
2296
|
+
readonly record: {
|
|
2297
|
+
readonly $ref: "#/$defs/value";
|
|
2298
|
+
};
|
|
2299
|
+
};
|
|
2300
|
+
};
|
|
2301
|
+
readonly block_ext: {
|
|
2302
|
+
readonly type: "object";
|
|
2303
|
+
readonly additionalProperties: false;
|
|
2304
|
+
readonly required: readonly ["type", "ext"];
|
|
2305
|
+
readonly properties: {
|
|
2306
|
+
readonly type: {
|
|
2307
|
+
readonly const: "ext";
|
|
2308
|
+
};
|
|
2309
|
+
readonly id: {
|
|
2310
|
+
readonly $ref: "#/$defs/id";
|
|
2311
|
+
};
|
|
2312
|
+
readonly when: {
|
|
2313
|
+
readonly $ref: "#/$defs/predicate";
|
|
2314
|
+
};
|
|
2315
|
+
readonly fallback: {
|
|
2316
|
+
readonly type: "string";
|
|
2317
|
+
readonly maxLength: 2000;
|
|
2318
|
+
};
|
|
2319
|
+
readonly ext: {
|
|
2320
|
+
readonly type: "string";
|
|
2321
|
+
readonly pattern: "^[a-z][a-z0-9_]{0,63}\\.[a-z][a-z0-9_]{0,63}@[0-9]{1,3}$";
|
|
2322
|
+
};
|
|
2323
|
+
readonly props: {
|
|
2324
|
+
readonly type: "object";
|
|
2325
|
+
readonly maxProperties: 16;
|
|
2326
|
+
readonly additionalProperties: {
|
|
2327
|
+
readonly anyOf: readonly [{
|
|
2328
|
+
readonly $ref: "#/$defs/scalar";
|
|
2329
|
+
}, {
|
|
2330
|
+
readonly type: "array";
|
|
2331
|
+
readonly items: {
|
|
2332
|
+
readonly type: readonly ["string", "number", "boolean"];
|
|
2333
|
+
};
|
|
2334
|
+
readonly maxItems: 50;
|
|
2335
|
+
}];
|
|
2336
|
+
};
|
|
2337
|
+
};
|
|
2338
|
+
};
|
|
2339
|
+
};
|
|
2340
|
+
};
|
|
2341
|
+
};
|
|
2342
|
+
/** Campos permitidos y requeridos por tipo de bloque (derivado del esquema). */
|
|
2343
|
+
export declare const GENUI_V2_BLOCKS: Readonly<Record<string, {
|
|
2344
|
+
readonly allowed: readonly string[];
|
|
2345
|
+
readonly required: readonly string[];
|
|
2346
|
+
}>>;
|
|
2347
|
+
//# sourceMappingURL=genui-v2-schema.d.ts.map
|