@asteby/metacore-genui 2.0.0 → 2.1.1

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.
@@ -0,0 +1,3183 @@
1
+ /**
2
+ * This interface was referenced by `GenuiV2`'s JSON-Schema
3
+ * via the `definition` "label".
4
+ */
5
+ export type Label = string | Tref | Ref;
6
+ /**
7
+ * Ruta de vinculación; raíces cerradas data|state|record|ctx. Ningún segmento puede ser __proto__, constructor ni prototype.
8
+ *
9
+ * This interface was referenced by `GenuiV2`'s JSON-Schema
10
+ * via the `definition` "bindingPath".
11
+ */
12
+ export type BindingPath = string;
13
+ /**
14
+ * Escalar; las cadenas, de hasta 2 000 puntos de código.
15
+ *
16
+ * This interface was referenced by `GenuiV2`'s JSON-Schema
17
+ * via the `definition` "scalar".
18
+ */
19
+ export type Scalar = string | number | boolean | null;
20
+ /**
21
+ * Valor: escalar o vinculación.
22
+ *
23
+ * This interface was referenced by `GenuiV2`'s JSON-Schema
24
+ * via the `definition` "value".
25
+ */
26
+ export type Value = Scalar | Ref;
27
+ /**
28
+ * This interface was referenced by `GenuiV2`'s JSON-Schema
29
+ * via the `definition` "stateValue".
30
+ */
31
+ export type StateValue = Scalar | StateList | {
32
+ [k: string]: Scalar | StateList;
33
+ };
34
+ /**
35
+ * @maxItems 50
36
+ *
37
+ * This interface was referenced by `GenuiV2`'s JSON-Schema
38
+ * via the `definition` "stateList".
39
+ */
40
+ export type StateList = Scalar[];
41
+ /**
42
+ * Despachado por `type`; ver block_<type>.
43
+ *
44
+ * This interface was referenced by `GenuiV2`'s JSON-Schema
45
+ * via the `definition` "block".
46
+ */
47
+ export type Block = BlockStack | BlockGrid | BlockTabs | BlockSection | BlockText | BlockMarkdown | BlockAlert | BlockEmpty | BlockCard | BlockList | BlockKpi | BlockStats | BlockLinks | BlockTimeline | BlockTable | BlockModelView | BlockView | BlockChart | BlockForm | BlockWizard | BlockConfirm | BlockSettings | BlockMedia | BlockSlot | BlockExt;
48
+ /**
49
+ * Identificador único dentro del documento.
50
+ *
51
+ * This interface was referenced by `GenuiV2`'s JSON-Schema
52
+ * via the `definition` "id".
53
+ */
54
+ export type Id = string;
55
+ /**
56
+ * Clave de campo, columna o entrada: segmentos no vacíos [A-Za-z_][A-Za-z0-9_]* separados por punto (sin "a..b" ni "a."); ningún segmento puede ser __proto__, constructor ni prototype.
57
+ *
58
+ * This interface was referenced by `GenuiV2`'s JSON-Schema
59
+ * via the `definition` "key".
60
+ */
61
+ export type Key = string;
62
+ /**
63
+ * Texto visible: literal, clave i18n o vinculación.
64
+ *
65
+ * This interface was referenced by `GenuiV2`'s JSON-Schema
66
+ * via the `definition` "text".
67
+ */
68
+ export type Text = string | Tref | Ref;
69
+ /**
70
+ * Vocabulario de tono compartido (Tone).
71
+ *
72
+ * This interface was referenced by `GenuiV2`'s JSON-Schema
73
+ * via the `definition` "tone".
74
+ */
75
+ export type Tone = 'default' | 'muted' | 'info' | 'success' | 'warning' | 'danger';
76
+ /**
77
+ * @maxItems 6
78
+ *
79
+ * This interface was referenced by `GenuiV2`'s JSON-Schema
80
+ * via the `definition` "actions".
81
+ */
82
+ export type Actions = [] | [Action] | [Action, Action] | [Action, Action, Action] | [Action, Action, Action, Action] | [Action, Action, Action, Action, Action] | [Action, Action, Action, Action, Action, Action];
83
+ /**
84
+ * Acción declarativa {do, ...}; un esquema por verbo.
85
+ *
86
+ * This interface was referenced by `GenuiV2`'s JSON-Schema
87
+ * via the `definition` "action".
88
+ */
89
+ export type Action = ActionNavigate | ActionInvoke | ActionSubmit | ActionOpen | ActionClose | ActionSet | ActionRefresh | ActionEmit;
90
+ /**
91
+ * Ruta de la app (nunca http).
92
+ *
93
+ * This interface was referenced by `GenuiV2`'s JSON-Schema
94
+ * via the `definition` "appPath".
95
+ */
96
+ export type AppPath = string;
97
+ /**
98
+ * This interface was referenced by `GenuiV2`'s JSON-Schema
99
+ * via the `definition` "action_submit".
100
+ */
101
+ export type ActionSubmit = {
102
+ do?: 'submit';
103
+ } & ActionSubmit1;
104
+ export type ActionSubmit1 = ActionSubmitInvoke | ActionSubmitSettings | ActionSubmitCreate | ActionSubmitUpdate;
105
+ /**
106
+ * This interface was referenced by `GenuiV2`'s JSON-Schema
107
+ * via the `definition` "name".
108
+ */
109
+ export type Name = string;
110
+ /**
111
+ * Ruta relativa de la app o http(s) literal; nunca $ref. Los externos solo con allowExternalLinks.
112
+ *
113
+ * This interface was referenced by `GenuiV2`'s JSON-Schema
114
+ * via the `definition` "link".
115
+ */
116
+ export type Link = string;
117
+ /**
118
+ * StatFormat (superconjunto de WidgetFormat).
119
+ *
120
+ * This interface was referenced by `GenuiV2`'s JSON-Schema
121
+ * via the `definition` "statFormat".
122
+ */
123
+ export type StatFormat = 'number' | 'currency' | 'percent' | 'compact' | 'date' | 'datetime' | 'relative_date';
124
+ /**
125
+ * Referencia a data.<nombre>.
126
+ *
127
+ * This interface was referenced by `GenuiV2`'s JSON-Schema
128
+ * via the `definition` "source".
129
+ */
130
+ export type Source = string;
131
+ /**
132
+ * Tipos de campo (field.kind).
133
+ *
134
+ * This interface was referenced by `GenuiV2`'s JSON-Schema
135
+ * via the `definition` "fieldKind".
136
+ */
137
+ export type FieldKind = 'text' | 'textarea' | 'number' | 'integer' | 'email' | 'url' | 'phone' | 'date' | 'datetime' | 'time' | 'boolean' | 'switch' | 'select' | 'multiselect' | 'search';
138
+ /**
139
+ * This interface was referenced by `GenuiV2`'s JSON-Schema
140
+ * via the `definition` "widgetSize".
141
+ */
142
+ export type WidgetSize = 'sm' | 'md' | 'lg' | 'full';
143
+ /**
144
+ * 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.
145
+ */
146
+ export interface GenuiV2 {
147
+ version: 'genui/v2';
148
+ title?: Label;
149
+ i18n?: 'keys' | 'literal';
150
+ data?: {
151
+ [k: string]: DataSource;
152
+ };
153
+ /**
154
+ * Estado local: escalares, listas de escalares y objetos de escalares o listas de escalares.
155
+ */
156
+ state?: {
157
+ [k: string]: StateValue;
158
+ };
159
+ overlays?: {
160
+ [k: string]: Overlay;
161
+ };
162
+ /**
163
+ * @minItems 1
164
+ * @maxItems 24
165
+ */
166
+ blocks: [Block, ...Block[]];
167
+ }
168
+ /**
169
+ * Clave i18n con argumentos insertados como texto.
170
+ *
171
+ * This interface was referenced by `GenuiV2`'s JSON-Schema
172
+ * via the `definition` "tref".
173
+ */
174
+ export interface Tref {
175
+ $t: string;
176
+ args?: {
177
+ [k: string]: (string | number | boolean) | Ref;
178
+ };
179
+ }
180
+ /**
181
+ * Vinculación {"$ref": "<raíz>.<ruta>"} en posiciones de valor.
182
+ *
183
+ * This interface was referenced by `GenuiV2`'s JSON-Schema
184
+ * via the `definition` "ref".
185
+ */
186
+ export interface Ref {
187
+ $ref: BindingPath;
188
+ }
189
+ /**
190
+ * Fuente declarada de solo lectura: q | plan(+args) | widget | inline.
191
+ *
192
+ * This interface was referenced by `GenuiV2`'s JSON-Schema
193
+ * via the `definition` "dataSource".
194
+ */
195
+ export interface DataSource {
196
+ /**
197
+ * Token de lectura del query batch.
198
+ */
199
+ q?: string;
200
+ plan?: 'model.list' | 'model.form' | 'dashboard.home';
201
+ args?: {
202
+ [k: string]: Scalar;
203
+ };
204
+ widget?: string;
205
+ /**
206
+ * @maxItems 200
207
+ */
208
+ inline?: Row[];
209
+ }
210
+ /**
211
+ * This interface was referenced by `GenuiV2`'s JSON-Schema
212
+ * via the `definition` "row".
213
+ */
214
+ export interface Row {
215
+ [k: string]: Value;
216
+ }
217
+ /**
218
+ * This interface was referenced by `GenuiV2`'s JSON-Schema
219
+ * via the `definition` "overlay".
220
+ */
221
+ export interface Overlay {
222
+ kind: 'modal' | 'drawer';
223
+ title?: Label;
224
+ /**
225
+ * @minItems 1
226
+ * @maxItems 24
227
+ */
228
+ blocks: [Block, ...Block[]];
229
+ }
230
+ /**
231
+ * This interface was referenced by `GenuiV2`'s JSON-Schema
232
+ * via the `definition` "block_stack".
233
+ */
234
+ export interface BlockStack {
235
+ type: 'stack';
236
+ id?: Id;
237
+ when?: Predicate;
238
+ fallback?: string;
239
+ direction?: 'vertical' | 'horizontal';
240
+ title?: Label;
241
+ /**
242
+ * @minItems 1
243
+ * @maxItems 24
244
+ */
245
+ blocks: [Block, ...Block[]];
246
+ }
247
+ /**
248
+ * Condición when (forma de VisibleWhen ampliada a cualquier raíz).
249
+ *
250
+ * This interface was referenced by `GenuiV2`'s JSON-Schema
251
+ * via the `definition` "predicate".
252
+ */
253
+ export interface Predicate {
254
+ ref: BindingPath;
255
+ equals?: Scalar;
256
+ /**
257
+ * @maxItems 50
258
+ */
259
+ in?: Scalar[];
260
+ /**
261
+ * @maxItems 50
262
+ */
263
+ not_in?: Scalar[];
264
+ empty?: boolean;
265
+ }
266
+ /**
267
+ * This interface was referenced by `GenuiV2`'s JSON-Schema
268
+ * via the `definition` "block_grid".
269
+ */
270
+ export interface BlockGrid {
271
+ type: 'grid';
272
+ id?: Id;
273
+ when?: Predicate;
274
+ fallback?: string;
275
+ columns?: number;
276
+ title?: Label;
277
+ /**
278
+ * @minItems 1
279
+ * @maxItems 24
280
+ */
281
+ blocks: [Block, ...Block[]];
282
+ }
283
+ /**
284
+ * This interface was referenced by `GenuiV2`'s JSON-Schema
285
+ * via the `definition` "block_tabs".
286
+ */
287
+ export interface BlockTabs {
288
+ type: 'tabs';
289
+ id?: Id;
290
+ when?: Predicate;
291
+ fallback?: string;
292
+ state?: BindingPath;
293
+ /**
294
+ * @minItems 1
295
+ * @maxItems 8
296
+ */
297
+ tabs: [
298
+ {
299
+ key: Key;
300
+ label: Label;
301
+ /**
302
+ * @minItems 1
303
+ * @maxItems 24
304
+ */
305
+ blocks: [Block, ...Block[]];
306
+ }
307
+ ] | [
308
+ {
309
+ key: Key;
310
+ label: Label;
311
+ /**
312
+ * @minItems 1
313
+ * @maxItems 24
314
+ */
315
+ blocks: [Block, ...Block[]];
316
+ },
317
+ {
318
+ key: Key;
319
+ label: Label;
320
+ /**
321
+ * @minItems 1
322
+ * @maxItems 24
323
+ */
324
+ blocks: [Block, ...Block[]];
325
+ }
326
+ ] | [
327
+ {
328
+ key: Key;
329
+ label: Label;
330
+ /**
331
+ * @minItems 1
332
+ * @maxItems 24
333
+ */
334
+ blocks: [Block, ...Block[]];
335
+ },
336
+ {
337
+ key: Key;
338
+ label: Label;
339
+ /**
340
+ * @minItems 1
341
+ * @maxItems 24
342
+ */
343
+ blocks: [Block, ...Block[]];
344
+ },
345
+ {
346
+ key: Key;
347
+ label: Label;
348
+ /**
349
+ * @minItems 1
350
+ * @maxItems 24
351
+ */
352
+ blocks: [Block, ...Block[]];
353
+ }
354
+ ] | [
355
+ {
356
+ key: Key;
357
+ label: Label;
358
+ /**
359
+ * @minItems 1
360
+ * @maxItems 24
361
+ */
362
+ blocks: [Block, ...Block[]];
363
+ },
364
+ {
365
+ key: Key;
366
+ label: Label;
367
+ /**
368
+ * @minItems 1
369
+ * @maxItems 24
370
+ */
371
+ blocks: [Block, ...Block[]];
372
+ },
373
+ {
374
+ key: Key;
375
+ label: Label;
376
+ /**
377
+ * @minItems 1
378
+ * @maxItems 24
379
+ */
380
+ blocks: [Block, ...Block[]];
381
+ },
382
+ {
383
+ key: Key;
384
+ label: Label;
385
+ /**
386
+ * @minItems 1
387
+ * @maxItems 24
388
+ */
389
+ blocks: [Block, ...Block[]];
390
+ }
391
+ ] | [
392
+ {
393
+ key: Key;
394
+ label: Label;
395
+ /**
396
+ * @minItems 1
397
+ * @maxItems 24
398
+ */
399
+ blocks: [Block, ...Block[]];
400
+ },
401
+ {
402
+ key: Key;
403
+ label: Label;
404
+ /**
405
+ * @minItems 1
406
+ * @maxItems 24
407
+ */
408
+ blocks: [Block, ...Block[]];
409
+ },
410
+ {
411
+ key: Key;
412
+ label: Label;
413
+ /**
414
+ * @minItems 1
415
+ * @maxItems 24
416
+ */
417
+ blocks: [Block, ...Block[]];
418
+ },
419
+ {
420
+ key: Key;
421
+ label: Label;
422
+ /**
423
+ * @minItems 1
424
+ * @maxItems 24
425
+ */
426
+ blocks: [Block, ...Block[]];
427
+ },
428
+ {
429
+ key: Key;
430
+ label: Label;
431
+ /**
432
+ * @minItems 1
433
+ * @maxItems 24
434
+ */
435
+ blocks: [Block, ...Block[]];
436
+ }
437
+ ] | [
438
+ {
439
+ key: Key;
440
+ label: Label;
441
+ /**
442
+ * @minItems 1
443
+ * @maxItems 24
444
+ */
445
+ blocks: [Block, ...Block[]];
446
+ },
447
+ {
448
+ key: Key;
449
+ label: Label;
450
+ /**
451
+ * @minItems 1
452
+ * @maxItems 24
453
+ */
454
+ blocks: [Block, ...Block[]];
455
+ },
456
+ {
457
+ key: Key;
458
+ label: Label;
459
+ /**
460
+ * @minItems 1
461
+ * @maxItems 24
462
+ */
463
+ blocks: [Block, ...Block[]];
464
+ },
465
+ {
466
+ key: Key;
467
+ label: Label;
468
+ /**
469
+ * @minItems 1
470
+ * @maxItems 24
471
+ */
472
+ blocks: [Block, ...Block[]];
473
+ },
474
+ {
475
+ key: Key;
476
+ label: Label;
477
+ /**
478
+ * @minItems 1
479
+ * @maxItems 24
480
+ */
481
+ blocks: [Block, ...Block[]];
482
+ },
483
+ {
484
+ key: Key;
485
+ label: Label;
486
+ /**
487
+ * @minItems 1
488
+ * @maxItems 24
489
+ */
490
+ blocks: [Block, ...Block[]];
491
+ }
492
+ ] | [
493
+ {
494
+ key: Key;
495
+ label: Label;
496
+ /**
497
+ * @minItems 1
498
+ * @maxItems 24
499
+ */
500
+ blocks: [Block, ...Block[]];
501
+ },
502
+ {
503
+ key: Key;
504
+ label: Label;
505
+ /**
506
+ * @minItems 1
507
+ * @maxItems 24
508
+ */
509
+ blocks: [Block, ...Block[]];
510
+ },
511
+ {
512
+ key: Key;
513
+ label: Label;
514
+ /**
515
+ * @minItems 1
516
+ * @maxItems 24
517
+ */
518
+ blocks: [Block, ...Block[]];
519
+ },
520
+ {
521
+ key: Key;
522
+ label: Label;
523
+ /**
524
+ * @minItems 1
525
+ * @maxItems 24
526
+ */
527
+ blocks: [Block, ...Block[]];
528
+ },
529
+ {
530
+ key: Key;
531
+ label: Label;
532
+ /**
533
+ * @minItems 1
534
+ * @maxItems 24
535
+ */
536
+ blocks: [Block, ...Block[]];
537
+ },
538
+ {
539
+ key: Key;
540
+ label: Label;
541
+ /**
542
+ * @minItems 1
543
+ * @maxItems 24
544
+ */
545
+ blocks: [Block, ...Block[]];
546
+ },
547
+ {
548
+ key: Key;
549
+ label: Label;
550
+ /**
551
+ * @minItems 1
552
+ * @maxItems 24
553
+ */
554
+ blocks: [Block, ...Block[]];
555
+ }
556
+ ] | [
557
+ {
558
+ key: Key;
559
+ label: Label;
560
+ /**
561
+ * @minItems 1
562
+ * @maxItems 24
563
+ */
564
+ blocks: [Block, ...Block[]];
565
+ },
566
+ {
567
+ key: Key;
568
+ label: Label;
569
+ /**
570
+ * @minItems 1
571
+ * @maxItems 24
572
+ */
573
+ blocks: [Block, ...Block[]];
574
+ },
575
+ {
576
+ key: Key;
577
+ label: Label;
578
+ /**
579
+ * @minItems 1
580
+ * @maxItems 24
581
+ */
582
+ blocks: [Block, ...Block[]];
583
+ },
584
+ {
585
+ key: Key;
586
+ label: Label;
587
+ /**
588
+ * @minItems 1
589
+ * @maxItems 24
590
+ */
591
+ blocks: [Block, ...Block[]];
592
+ },
593
+ {
594
+ key: Key;
595
+ label: Label;
596
+ /**
597
+ * @minItems 1
598
+ * @maxItems 24
599
+ */
600
+ blocks: [Block, ...Block[]];
601
+ },
602
+ {
603
+ key: Key;
604
+ label: Label;
605
+ /**
606
+ * @minItems 1
607
+ * @maxItems 24
608
+ */
609
+ blocks: [Block, ...Block[]];
610
+ },
611
+ {
612
+ key: Key;
613
+ label: Label;
614
+ /**
615
+ * @minItems 1
616
+ * @maxItems 24
617
+ */
618
+ blocks: [Block, ...Block[]];
619
+ },
620
+ {
621
+ key: Key;
622
+ label: Label;
623
+ /**
624
+ * @minItems 1
625
+ * @maxItems 24
626
+ */
627
+ blocks: [Block, ...Block[]];
628
+ }
629
+ ];
630
+ }
631
+ /**
632
+ * This interface was referenced by `GenuiV2`'s JSON-Schema
633
+ * via the `definition` "block_section".
634
+ */
635
+ export interface BlockSection {
636
+ type: 'section';
637
+ id?: Id;
638
+ when?: Predicate;
639
+ fallback?: string;
640
+ title: Label;
641
+ collapsible?: boolean;
642
+ collapsed?: boolean;
643
+ /**
644
+ * @minItems 1
645
+ * @maxItems 24
646
+ */
647
+ blocks: [Block, ...Block[]];
648
+ }
649
+ /**
650
+ * This interface was referenced by `GenuiV2`'s JSON-Schema
651
+ * via the `definition` "block_text".
652
+ */
653
+ export interface BlockText {
654
+ type: 'text';
655
+ id?: Id;
656
+ when?: Predicate;
657
+ fallback?: string;
658
+ text: Text;
659
+ tone?: Tone;
660
+ }
661
+ /**
662
+ * This interface was referenced by `GenuiV2`'s JSON-Schema
663
+ * via the `definition` "block_markdown".
664
+ */
665
+ export interface BlockMarkdown {
666
+ type: 'markdown';
667
+ id?: Id;
668
+ when?: Predicate;
669
+ fallback?: string;
670
+ markdown: string;
671
+ }
672
+ /**
673
+ * This interface was referenced by `GenuiV2`'s JSON-Schema
674
+ * via the `definition` "block_alert".
675
+ */
676
+ export interface BlockAlert {
677
+ type: 'alert';
678
+ id?: Id;
679
+ when?: Predicate;
680
+ fallback?: string;
681
+ title?: Label;
682
+ text: Text;
683
+ tone?: Tone;
684
+ }
685
+ /**
686
+ * This interface was referenced by `GenuiV2`'s JSON-Schema
687
+ * via the `definition` "block_empty".
688
+ */
689
+ export interface BlockEmpty {
690
+ type: 'empty';
691
+ id?: Id;
692
+ when?: Predicate;
693
+ fallback?: string;
694
+ title: Label;
695
+ text?: Text;
696
+ icon?: string;
697
+ actions?: Actions;
698
+ }
699
+ /**
700
+ * This interface was referenced by `GenuiV2`'s JSON-Schema
701
+ * via the `definition` "action_navigate".
702
+ */
703
+ export interface ActionNavigate {
704
+ do: 'navigate';
705
+ label?: Label;
706
+ variant?: 'primary' | 'secondary' | 'ghost' | 'danger';
707
+ icon?: string;
708
+ confirm?: {
709
+ title?: Label;
710
+ body?: Text;
711
+ tone?: Tone;
712
+ require_text?: string;
713
+ };
714
+ when?: Predicate;
715
+ route: Route;
716
+ }
717
+ /**
718
+ * path o name; los requeridos por name se validan en código.
719
+ *
720
+ * This interface was referenced by `GenuiV2`'s JSON-Schema
721
+ * via the `definition` "route".
722
+ */
723
+ export interface Route {
724
+ name?: 'record' | 'list' | 'page';
725
+ model?: Key;
726
+ id?: Value;
727
+ filters?: {
728
+ [k: string]: Scalar;
729
+ };
730
+ key?: Key;
731
+ path?: AppPath;
732
+ }
733
+ /**
734
+ * This interface was referenced by `GenuiV2`'s JSON-Schema
735
+ * via the `definition` "action_invoke".
736
+ */
737
+ export interface ActionInvoke {
738
+ do: 'invoke';
739
+ label?: Label;
740
+ variant?: 'primary' | 'secondary' | 'ghost' | 'danger';
741
+ icon?: string;
742
+ confirm?: {
743
+ title?: Label;
744
+ body?: Text;
745
+ tone?: Tone;
746
+ require_text?: string;
747
+ };
748
+ when?: Predicate;
749
+ /**
750
+ * Acción del manifest <addon>.<Model>.<key>.
751
+ */
752
+ action: string;
753
+ record?: Value;
754
+ params?: {
755
+ [k: string]: Value;
756
+ };
757
+ values?: {
758
+ [k: string]: Value;
759
+ };
760
+ }
761
+ /**
762
+ * This interface was referenced by `GenuiV2`'s JSON-Schema
763
+ * via the `definition` "action_submit_invoke".
764
+ */
765
+ export interface ActionSubmitInvoke {
766
+ do: 'submit';
767
+ label?: Label;
768
+ variant?: 'primary' | 'secondary' | 'ghost' | 'danger';
769
+ icon?: string;
770
+ confirm?: {
771
+ title?: Label;
772
+ body?: Text;
773
+ tone?: Tone;
774
+ require_text?: string;
775
+ };
776
+ when?: Predicate;
777
+ to: 'invoke';
778
+ form: Id;
779
+ action: string;
780
+ }
781
+ /**
782
+ * This interface was referenced by `GenuiV2`'s JSON-Schema
783
+ * via the `definition` "action_submit_settings".
784
+ */
785
+ export interface ActionSubmitSettings {
786
+ do: 'submit';
787
+ label?: Label;
788
+ variant?: 'primary' | 'secondary' | 'ghost' | 'danger';
789
+ icon?: string;
790
+ confirm?: {
791
+ title?: Label;
792
+ body?: Text;
793
+ tone?: Tone;
794
+ require_text?: string;
795
+ };
796
+ when?: Predicate;
797
+ to: 'settings.write';
798
+ form: Id;
799
+ }
800
+ /**
801
+ * This interface was referenced by `GenuiV2`'s JSON-Schema
802
+ * via the `definition` "action_submit_create".
803
+ */
804
+ export interface ActionSubmitCreate {
805
+ do: 'submit';
806
+ label?: Label;
807
+ variant?: 'primary' | 'secondary' | 'ghost' | 'danger';
808
+ icon?: string;
809
+ confirm?: {
810
+ title?: Label;
811
+ body?: Text;
812
+ tone?: Tone;
813
+ require_text?: string;
814
+ };
815
+ when?: Predicate;
816
+ to: 'record.create';
817
+ form: Id;
818
+ model: Key;
819
+ }
820
+ /**
821
+ * This interface was referenced by `GenuiV2`'s JSON-Schema
822
+ * via the `definition` "action_submit_update".
823
+ */
824
+ export interface ActionSubmitUpdate {
825
+ do: 'submit';
826
+ label?: Label;
827
+ variant?: 'primary' | 'secondary' | 'ghost' | 'danger';
828
+ icon?: string;
829
+ confirm?: {
830
+ title?: Label;
831
+ body?: Text;
832
+ tone?: Tone;
833
+ require_text?: string;
834
+ };
835
+ when?: Predicate;
836
+ to: 'record.update';
837
+ form: Id;
838
+ model: Key;
839
+ record: Value;
840
+ }
841
+ /**
842
+ * This interface was referenced by `GenuiV2`'s JSON-Schema
843
+ * via the `definition` "action_open".
844
+ */
845
+ export interface ActionOpen {
846
+ do: 'open';
847
+ label?: Label;
848
+ variant?: 'primary' | 'secondary' | 'ghost' | 'danger';
849
+ icon?: string;
850
+ confirm?: {
851
+ title?: Label;
852
+ body?: Text;
853
+ tone?: Tone;
854
+ require_text?: string;
855
+ };
856
+ when?: Predicate;
857
+ overlay: Id;
858
+ }
859
+ /**
860
+ * This interface was referenced by `GenuiV2`'s JSON-Schema
861
+ * via the `definition` "action_close".
862
+ */
863
+ export interface ActionClose {
864
+ do: 'close';
865
+ label?: Label;
866
+ variant?: 'primary' | 'secondary' | 'ghost' | 'danger';
867
+ icon?: string;
868
+ confirm?: {
869
+ title?: Label;
870
+ body?: Text;
871
+ tone?: Tone;
872
+ require_text?: string;
873
+ };
874
+ when?: Predicate;
875
+ overlay?: Id;
876
+ }
877
+ /**
878
+ * This interface was referenced by `GenuiV2`'s JSON-Schema
879
+ * via the `definition` "action_set".
880
+ */
881
+ export interface ActionSet {
882
+ do: 'set';
883
+ label?: Label;
884
+ variant?: 'primary' | 'secondary' | 'ghost' | 'danger';
885
+ icon?: string;
886
+ confirm?: {
887
+ title?: Label;
888
+ body?: Text;
889
+ tone?: Tone;
890
+ require_text?: string;
891
+ };
892
+ when?: Predicate;
893
+ path: string;
894
+ value: Scalar;
895
+ }
896
+ /**
897
+ * This interface was referenced by `GenuiV2`'s JSON-Schema
898
+ * via the `definition` "action_refresh".
899
+ */
900
+ export interface ActionRefresh {
901
+ do: 'refresh';
902
+ label?: Label;
903
+ variant?: 'primary' | 'secondary' | 'ghost' | 'danger';
904
+ icon?: string;
905
+ confirm?: {
906
+ title?: Label;
907
+ body?: Text;
908
+ tone?: Tone;
909
+ require_text?: string;
910
+ };
911
+ when?: Predicate;
912
+ source: Name;
913
+ }
914
+ /**
915
+ * This interface was referenced by `GenuiV2`'s JSON-Schema
916
+ * via the `definition` "action_emit".
917
+ */
918
+ export interface ActionEmit {
919
+ do: 'emit';
920
+ label?: Label;
921
+ variant?: 'primary' | 'secondary' | 'ghost' | 'danger';
922
+ icon?: string;
923
+ confirm?: {
924
+ title?: Label;
925
+ body?: Text;
926
+ tone?: Tone;
927
+ require_text?: string;
928
+ };
929
+ when?: Predicate;
930
+ id: string;
931
+ params?: {
932
+ [k: string]: Scalar;
933
+ };
934
+ }
935
+ /**
936
+ * This interface was referenced by `GenuiV2`'s JSON-Schema
937
+ * via the `definition` "block_card".
938
+ */
939
+ export interface BlockCard {
940
+ type: 'card';
941
+ id?: Id;
942
+ when?: Predicate;
943
+ fallback?: string;
944
+ title: Label;
945
+ subtitle?: Label;
946
+ body?: Text;
947
+ /**
948
+ * @maxItems 6
949
+ */
950
+ badges?: [] | [Badge] | [Badge, Badge] | [Badge, Badge, Badge] | [Badge, Badge, Badge, Badge] | [Badge, Badge, Badge, Badge, Badge] | [Badge, Badge, Badge, Badge, Badge, Badge];
951
+ /**
952
+ * @maxItems 12
953
+ */
954
+ fields?: [] | [Field] | [Field, Field] | [Field, Field, Field] | [Field, Field, Field, Field] | [Field, Field, Field, Field, Field] | [Field, Field, Field, Field, Field, Field] | [Field, Field, Field, Field, Field, Field, Field] | [Field, Field, Field, Field, Field, Field, Field, Field] | [Field, Field, Field, Field, Field, Field, Field, Field, Field] | [Field, Field, Field, Field, Field, Field, Field, Field, Field, Field] | [Field, Field, Field, Field, Field, Field, Field, Field, Field, Field, Field] | [Field, Field, Field, Field, Field, Field, Field, Field, Field, Field, Field, Field];
955
+ link?: Link;
956
+ tone?: Tone;
957
+ actions?: Actions;
958
+ }
959
+ /**
960
+ * This interface was referenced by `GenuiV2`'s JSON-Schema
961
+ * via the `definition` "badge".
962
+ */
963
+ export interface Badge {
964
+ label: string;
965
+ tone?: Tone;
966
+ }
967
+ /**
968
+ * This interface was referenced by `GenuiV2`'s JSON-Schema
969
+ * via the `definition` "field".
970
+ */
971
+ export interface Field {
972
+ label: Label;
973
+ value?: Text;
974
+ copy?: boolean;
975
+ }
976
+ /**
977
+ * This interface was referenced by `GenuiV2`'s JSON-Schema
978
+ * via the `definition` "block_list".
979
+ */
980
+ export interface BlockList {
981
+ type: 'list';
982
+ id?: Id;
983
+ when?: Predicate;
984
+ fallback?: string;
985
+ title?: Label;
986
+ /**
987
+ * @minItems 1
988
+ * @maxItems 50
989
+ */
990
+ items: [
991
+ {
992
+ title: Label;
993
+ description?: Text;
994
+ badge?: Badge;
995
+ action?: Action;
996
+ },
997
+ ...{
998
+ title: Label;
999
+ description?: Text;
1000
+ badge?: Badge;
1001
+ action?: Action;
1002
+ }[]
1003
+ ];
1004
+ }
1005
+ /**
1006
+ * This interface was referenced by `GenuiV2`'s JSON-Schema
1007
+ * via the `definition` "block_kpi".
1008
+ */
1009
+ export interface BlockKpi {
1010
+ type: 'kpi';
1011
+ id?: Id;
1012
+ when?: Predicate;
1013
+ fallback?: string;
1014
+ title?: Label;
1015
+ /**
1016
+ * @minItems 1
1017
+ * @maxItems 12
1018
+ */
1019
+ items: [Item] | [Item, Item] | [Item, Item, Item] | [Item, Item, Item, Item] | [Item, Item, Item, Item, Item] | [Item, Item, Item, Item, Item, Item] | [Item, Item, Item, Item, Item, Item, Item] | [Item, Item, Item, Item, Item, Item, Item, Item] | [Item, Item, Item, Item, Item, Item, Item, Item, Item] | [Item, Item, Item, Item, Item, Item, Item, Item, Item, Item] | [Item, Item, Item, Item, Item, Item, Item, Item, Item, Item, Item] | [Item, Item, Item, Item, Item, Item, Item, Item, Item, Item, Item, Item];
1020
+ }
1021
+ /**
1022
+ * This interface was referenced by `GenuiV2`'s JSON-Schema
1023
+ * via the `definition` "item".
1024
+ */
1025
+ export interface Item {
1026
+ label?: Label;
1027
+ value?: Text;
1028
+ hint?: Label;
1029
+ trend?: 'up' | 'down' | 'flat';
1030
+ title?: Label;
1031
+ url?: Link;
1032
+ source?: Label;
1033
+ date?: string;
1034
+ time?: string;
1035
+ description?: Text;
1036
+ status?: string;
1037
+ tone?: Tone;
1038
+ format?: StatFormat;
1039
+ }
1040
+ /**
1041
+ * This interface was referenced by `GenuiV2`'s JSON-Schema
1042
+ * via the `definition` "block_stats".
1043
+ */
1044
+ export interface BlockStats {
1045
+ type: 'stats';
1046
+ id?: Id;
1047
+ when?: Predicate;
1048
+ fallback?: string;
1049
+ title?: Label;
1050
+ source?: Source;
1051
+ format?: StatFormat;
1052
+ /**
1053
+ * @minItems 1
1054
+ * @maxItems 12
1055
+ */
1056
+ items?: [Item] | [Item, Item] | [Item, Item, Item] | [Item, Item, Item, Item] | [Item, Item, Item, Item, Item] | [Item, Item, Item, Item, Item, Item] | [Item, Item, Item, Item, Item, Item, Item] | [Item, Item, Item, Item, Item, Item, Item, Item] | [Item, Item, Item, Item, Item, Item, Item, Item, Item] | [Item, Item, Item, Item, Item, Item, Item, Item, Item, Item] | [Item, Item, Item, Item, Item, Item, Item, Item, Item, Item, Item] | [Item, Item, Item, Item, Item, Item, Item, Item, Item, Item, Item, Item];
1057
+ trend?: 'up' | 'down' | 'flat';
1058
+ compare?: string;
1059
+ }
1060
+ /**
1061
+ * This interface was referenced by `GenuiV2`'s JSON-Schema
1062
+ * via the `definition` "block_links".
1063
+ */
1064
+ export interface BlockLinks {
1065
+ type: 'links';
1066
+ id?: Id;
1067
+ when?: Predicate;
1068
+ fallback?: string;
1069
+ title?: Label;
1070
+ /**
1071
+ * @minItems 1
1072
+ * @maxItems 50
1073
+ */
1074
+ items: [Item, ...Item[]];
1075
+ }
1076
+ /**
1077
+ * This interface was referenced by `GenuiV2`'s JSON-Schema
1078
+ * via the `definition` "block_timeline".
1079
+ */
1080
+ export interface BlockTimeline {
1081
+ type: 'timeline';
1082
+ id?: Id;
1083
+ when?: Predicate;
1084
+ fallback?: string;
1085
+ title?: Label;
1086
+ /**
1087
+ * @minItems 1
1088
+ * @maxItems 50
1089
+ */
1090
+ items?: [Item, ...Item[]];
1091
+ source?: Source;
1092
+ }
1093
+ /**
1094
+ * This interface was referenced by `GenuiV2`'s JSON-Schema
1095
+ * via the `definition` "block_table".
1096
+ */
1097
+ export interface BlockTable {
1098
+ type: 'table';
1099
+ id?: Id;
1100
+ when?: Predicate;
1101
+ fallback?: string;
1102
+ title?: Label;
1103
+ caption?: Label;
1104
+ /**
1105
+ * @minItems 1
1106
+ * @maxItems 24
1107
+ */
1108
+ columns: [Column, ...Column[]];
1109
+ /**
1110
+ * @maxItems 200
1111
+ */
1112
+ rows?: Row[];
1113
+ source?: Source;
1114
+ /**
1115
+ * @maxItems 12
1116
+ */
1117
+ filters?: [] | [Key] | [Key, Key] | [Key, Key, Key] | [Key, Key, Key, Key] | [Key, Key, Key, Key, Key] | [Key, Key, Key, Key, Key, Key] | [Key, Key, Key, Key, Key, Key, Key] | [Key, Key, Key, Key, Key, Key, Key, Key] | [Key, Key, Key, Key, Key, Key, Key, Key, Key] | [Key, Key, Key, Key, Key, Key, Key, Key, Key, Key] | [Key, Key, Key, Key, Key, Key, Key, Key, Key, Key, Key] | [Key, Key, Key, Key, Key, Key, Key, Key, Key, Key, Key, Key];
1118
+ sort?: {
1119
+ key: Key;
1120
+ dir?: 'asc' | 'desc';
1121
+ };
1122
+ page_size?: number;
1123
+ row_actions?: Actions;
1124
+ bulk_actions?: Actions;
1125
+ }
1126
+ /**
1127
+ * This interface was referenced by `GenuiV2`'s JSON-Schema
1128
+ * via the `definition` "column".
1129
+ */
1130
+ export interface Column {
1131
+ key: Key;
1132
+ label: Label;
1133
+ format?: StatFormat;
1134
+ }
1135
+ /**
1136
+ * This interface was referenced by `GenuiV2`'s JSON-Schema
1137
+ * via the `definition` "block_model_view".
1138
+ */
1139
+ export interface BlockModelView {
1140
+ type: 'model_view';
1141
+ id?: Id;
1142
+ when?: Predicate;
1143
+ fallback?: string;
1144
+ title?: Label;
1145
+ model: Key;
1146
+ view?: 'table' | 'kanban' | 'calendar' | 'map' | 'timeline' | 'chart';
1147
+ filters?: {
1148
+ [k: string]: Scalar;
1149
+ };
1150
+ /**
1151
+ * @maxItems 12
1152
+ */
1153
+ allowed_actions?: [] | [Key] | [Key, Key] | [Key, Key, Key] | [Key, Key, Key, Key] | [Key, Key, Key, Key, Key] | [Key, Key, Key, Key, Key, Key] | [Key, Key, Key, Key, Key, Key, Key] | [Key, Key, Key, Key, Key, Key, Key, Key] | [Key, Key, Key, Key, Key, Key, Key, Key, Key] | [Key, Key, Key, Key, Key, Key, Key, Key, Key, Key] | [Key, Key, Key, Key, Key, Key, Key, Key, Key, Key, Key] | [Key, Key, Key, Key, Key, Key, Key, Key, Key, Key, Key, Key];
1154
+ }
1155
+ /**
1156
+ * This interface was referenced by `GenuiV2`'s JSON-Schema
1157
+ * via the `definition` "block_view".
1158
+ */
1159
+ export interface BlockView {
1160
+ type: 'view';
1161
+ id?: Id;
1162
+ when?: Predicate;
1163
+ fallback?: string;
1164
+ title?: Label;
1165
+ model: Key;
1166
+ record?: Value;
1167
+ /**
1168
+ * @maxItems 40
1169
+ */
1170
+ fields?: Key[];
1171
+ /**
1172
+ * @maxItems 12
1173
+ */
1174
+ panels?: [] | [Key] | [Key, Key] | [Key, Key, Key] | [Key, Key, Key, Key] | [Key, Key, Key, Key, Key] | [Key, Key, Key, Key, Key, Key] | [Key, Key, Key, Key, Key, Key, Key] | [Key, Key, Key, Key, Key, Key, Key, Key] | [Key, Key, Key, Key, Key, Key, Key, Key, Key] | [Key, Key, Key, Key, Key, Key, Key, Key, Key, Key] | [Key, Key, Key, Key, Key, Key, Key, Key, Key, Key, Key] | [Key, Key, Key, Key, Key, Key, Key, Key, Key, Key, Key, Key];
1175
+ }
1176
+ /**
1177
+ * This interface was referenced by `GenuiV2`'s JSON-Schema
1178
+ * via the `definition` "block_chart".
1179
+ */
1180
+ export interface BlockChart {
1181
+ type: 'chart';
1182
+ id?: Id;
1183
+ when?: Predicate;
1184
+ fallback?: string;
1185
+ title?: Label;
1186
+ kind: 'bar' | 'line' | 'area' | 'pie' | 'donut' | 'sparkline';
1187
+ x: Key;
1188
+ /**
1189
+ * @minItems 1
1190
+ * @maxItems 6
1191
+ */
1192
+ series: [Column] | [Column, Column] | [Column, Column, Column] | [Column, Column, Column, Column] | [Column, Column, Column, Column, Column] | [Column, Column, Column, Column, Column, Column];
1193
+ /**
1194
+ * @maxItems 500
1195
+ */
1196
+ rows?: Row[];
1197
+ source?: Source;
1198
+ format?: StatFormat;
1199
+ accent?: Tone;
1200
+ summary: string;
1201
+ caption?: Label;
1202
+ }
1203
+ /**
1204
+ * This interface was referenced by `GenuiV2`'s JSON-Schema
1205
+ * via the `definition` "block_form".
1206
+ */
1207
+ export interface BlockForm {
1208
+ type: 'form';
1209
+ id?: Id;
1210
+ when?: Predicate;
1211
+ fallback?: string;
1212
+ title?: Label;
1213
+ description?: Text;
1214
+ /**
1215
+ * @minItems 1
1216
+ * @maxItems 40
1217
+ */
1218
+ fields: [FormField, ...FormField[]];
1219
+ layout?: {
1220
+ mode?: 'sections' | 'steps';
1221
+ /**
1222
+ * @maxItems 8
1223
+ */
1224
+ steps?: [] | [
1225
+ {
1226
+ title: Label;
1227
+ description?: Text;
1228
+ /**
1229
+ * @minItems 1
1230
+ * @maxItems 40
1231
+ */
1232
+ fields: [Key, ...Key[]];
1233
+ }
1234
+ ] | [
1235
+ {
1236
+ title: Label;
1237
+ description?: Text;
1238
+ /**
1239
+ * @minItems 1
1240
+ * @maxItems 40
1241
+ */
1242
+ fields: [Key, ...Key[]];
1243
+ },
1244
+ {
1245
+ title: Label;
1246
+ description?: Text;
1247
+ /**
1248
+ * @minItems 1
1249
+ * @maxItems 40
1250
+ */
1251
+ fields: [Key, ...Key[]];
1252
+ }
1253
+ ] | [
1254
+ {
1255
+ title: Label;
1256
+ description?: Text;
1257
+ /**
1258
+ * @minItems 1
1259
+ * @maxItems 40
1260
+ */
1261
+ fields: [Key, ...Key[]];
1262
+ },
1263
+ {
1264
+ title: Label;
1265
+ description?: Text;
1266
+ /**
1267
+ * @minItems 1
1268
+ * @maxItems 40
1269
+ */
1270
+ fields: [Key, ...Key[]];
1271
+ },
1272
+ {
1273
+ title: Label;
1274
+ description?: Text;
1275
+ /**
1276
+ * @minItems 1
1277
+ * @maxItems 40
1278
+ */
1279
+ fields: [Key, ...Key[]];
1280
+ }
1281
+ ] | [
1282
+ {
1283
+ title: Label;
1284
+ description?: Text;
1285
+ /**
1286
+ * @minItems 1
1287
+ * @maxItems 40
1288
+ */
1289
+ fields: [Key, ...Key[]];
1290
+ },
1291
+ {
1292
+ title: Label;
1293
+ description?: Text;
1294
+ /**
1295
+ * @minItems 1
1296
+ * @maxItems 40
1297
+ */
1298
+ fields: [Key, ...Key[]];
1299
+ },
1300
+ {
1301
+ title: Label;
1302
+ description?: Text;
1303
+ /**
1304
+ * @minItems 1
1305
+ * @maxItems 40
1306
+ */
1307
+ fields: [Key, ...Key[]];
1308
+ },
1309
+ {
1310
+ title: Label;
1311
+ description?: Text;
1312
+ /**
1313
+ * @minItems 1
1314
+ * @maxItems 40
1315
+ */
1316
+ fields: [Key, ...Key[]];
1317
+ }
1318
+ ] | [
1319
+ {
1320
+ title: Label;
1321
+ description?: Text;
1322
+ /**
1323
+ * @minItems 1
1324
+ * @maxItems 40
1325
+ */
1326
+ fields: [Key, ...Key[]];
1327
+ },
1328
+ {
1329
+ title: Label;
1330
+ description?: Text;
1331
+ /**
1332
+ * @minItems 1
1333
+ * @maxItems 40
1334
+ */
1335
+ fields: [Key, ...Key[]];
1336
+ },
1337
+ {
1338
+ title: Label;
1339
+ description?: Text;
1340
+ /**
1341
+ * @minItems 1
1342
+ * @maxItems 40
1343
+ */
1344
+ fields: [Key, ...Key[]];
1345
+ },
1346
+ {
1347
+ title: Label;
1348
+ description?: Text;
1349
+ /**
1350
+ * @minItems 1
1351
+ * @maxItems 40
1352
+ */
1353
+ fields: [Key, ...Key[]];
1354
+ },
1355
+ {
1356
+ title: Label;
1357
+ description?: Text;
1358
+ /**
1359
+ * @minItems 1
1360
+ * @maxItems 40
1361
+ */
1362
+ fields: [Key, ...Key[]];
1363
+ }
1364
+ ] | [
1365
+ {
1366
+ title: Label;
1367
+ description?: Text;
1368
+ /**
1369
+ * @minItems 1
1370
+ * @maxItems 40
1371
+ */
1372
+ fields: [Key, ...Key[]];
1373
+ },
1374
+ {
1375
+ title: Label;
1376
+ description?: Text;
1377
+ /**
1378
+ * @minItems 1
1379
+ * @maxItems 40
1380
+ */
1381
+ fields: [Key, ...Key[]];
1382
+ },
1383
+ {
1384
+ title: Label;
1385
+ description?: Text;
1386
+ /**
1387
+ * @minItems 1
1388
+ * @maxItems 40
1389
+ */
1390
+ fields: [Key, ...Key[]];
1391
+ },
1392
+ {
1393
+ title: Label;
1394
+ description?: Text;
1395
+ /**
1396
+ * @minItems 1
1397
+ * @maxItems 40
1398
+ */
1399
+ fields: [Key, ...Key[]];
1400
+ },
1401
+ {
1402
+ title: Label;
1403
+ description?: Text;
1404
+ /**
1405
+ * @minItems 1
1406
+ * @maxItems 40
1407
+ */
1408
+ fields: [Key, ...Key[]];
1409
+ },
1410
+ {
1411
+ title: Label;
1412
+ description?: Text;
1413
+ /**
1414
+ * @minItems 1
1415
+ * @maxItems 40
1416
+ */
1417
+ fields: [Key, ...Key[]];
1418
+ }
1419
+ ] | [
1420
+ {
1421
+ title: Label;
1422
+ description?: Text;
1423
+ /**
1424
+ * @minItems 1
1425
+ * @maxItems 40
1426
+ */
1427
+ fields: [Key, ...Key[]];
1428
+ },
1429
+ {
1430
+ title: Label;
1431
+ description?: Text;
1432
+ /**
1433
+ * @minItems 1
1434
+ * @maxItems 40
1435
+ */
1436
+ fields: [Key, ...Key[]];
1437
+ },
1438
+ {
1439
+ title: Label;
1440
+ description?: Text;
1441
+ /**
1442
+ * @minItems 1
1443
+ * @maxItems 40
1444
+ */
1445
+ fields: [Key, ...Key[]];
1446
+ },
1447
+ {
1448
+ title: Label;
1449
+ description?: Text;
1450
+ /**
1451
+ * @minItems 1
1452
+ * @maxItems 40
1453
+ */
1454
+ fields: [Key, ...Key[]];
1455
+ },
1456
+ {
1457
+ title: Label;
1458
+ description?: Text;
1459
+ /**
1460
+ * @minItems 1
1461
+ * @maxItems 40
1462
+ */
1463
+ fields: [Key, ...Key[]];
1464
+ },
1465
+ {
1466
+ title: Label;
1467
+ description?: Text;
1468
+ /**
1469
+ * @minItems 1
1470
+ * @maxItems 40
1471
+ */
1472
+ fields: [Key, ...Key[]];
1473
+ },
1474
+ {
1475
+ title: Label;
1476
+ description?: Text;
1477
+ /**
1478
+ * @minItems 1
1479
+ * @maxItems 40
1480
+ */
1481
+ fields: [Key, ...Key[]];
1482
+ }
1483
+ ] | [
1484
+ {
1485
+ title: Label;
1486
+ description?: Text;
1487
+ /**
1488
+ * @minItems 1
1489
+ * @maxItems 40
1490
+ */
1491
+ fields: [Key, ...Key[]];
1492
+ },
1493
+ {
1494
+ title: Label;
1495
+ description?: Text;
1496
+ /**
1497
+ * @minItems 1
1498
+ * @maxItems 40
1499
+ */
1500
+ fields: [Key, ...Key[]];
1501
+ },
1502
+ {
1503
+ title: Label;
1504
+ description?: Text;
1505
+ /**
1506
+ * @minItems 1
1507
+ * @maxItems 40
1508
+ */
1509
+ fields: [Key, ...Key[]];
1510
+ },
1511
+ {
1512
+ title: Label;
1513
+ description?: Text;
1514
+ /**
1515
+ * @minItems 1
1516
+ * @maxItems 40
1517
+ */
1518
+ fields: [Key, ...Key[]];
1519
+ },
1520
+ {
1521
+ title: Label;
1522
+ description?: Text;
1523
+ /**
1524
+ * @minItems 1
1525
+ * @maxItems 40
1526
+ */
1527
+ fields: [Key, ...Key[]];
1528
+ },
1529
+ {
1530
+ title: Label;
1531
+ description?: Text;
1532
+ /**
1533
+ * @minItems 1
1534
+ * @maxItems 40
1535
+ */
1536
+ fields: [Key, ...Key[]];
1537
+ },
1538
+ {
1539
+ title: Label;
1540
+ description?: Text;
1541
+ /**
1542
+ * @minItems 1
1543
+ * @maxItems 40
1544
+ */
1545
+ fields: [Key, ...Key[]];
1546
+ },
1547
+ {
1548
+ title: Label;
1549
+ description?: Text;
1550
+ /**
1551
+ * @minItems 1
1552
+ * @maxItems 40
1553
+ */
1554
+ fields: [Key, ...Key[]];
1555
+ }
1556
+ ];
1557
+ };
1558
+ submit?: Action;
1559
+ actions?: Actions;
1560
+ }
1561
+ /**
1562
+ * This interface was referenced by `GenuiV2`'s JSON-Schema
1563
+ * via the `definition` "formField".
1564
+ */
1565
+ export interface FormField {
1566
+ key: Key;
1567
+ label: Label;
1568
+ kind: FieldKind;
1569
+ required?: boolean;
1570
+ /**
1571
+ * @maxItems 100
1572
+ */
1573
+ options?: Option[];
1574
+ value?: Value;
1575
+ help?: string;
1576
+ placeholder?: string;
1577
+ /**
1578
+ * Clave de campo, columna o entrada: segmentos no vacíos [A-Za-z_][A-Za-z0-9_]* separados por punto (sin "a..b" ni "a."); ningún segmento puede ser __proto__, constructor ni prototype.
1579
+ */
1580
+ depends_on?: string;
1581
+ visible_when?: {
1582
+ field?: Key;
1583
+ equals?: Scalar;
1584
+ /**
1585
+ * @maxItems 50
1586
+ */
1587
+ in?: Scalar[];
1588
+ /**
1589
+ * @maxItems 50
1590
+ */
1591
+ not_in?: Scalar[];
1592
+ empty?: boolean;
1593
+ };
1594
+ validation?: {
1595
+ min?: number;
1596
+ max?: number;
1597
+ min_length?: number;
1598
+ max_length?: number;
1599
+ pattern?: string;
1600
+ };
1601
+ widget?: string;
1602
+ section?: string;
1603
+ write_only?: boolean;
1604
+ }
1605
+ /**
1606
+ * This interface was referenced by `GenuiV2`'s JSON-Schema
1607
+ * via the `definition` "option".
1608
+ */
1609
+ export interface Option {
1610
+ value: string;
1611
+ label: Label;
1612
+ }
1613
+ /**
1614
+ * This interface was referenced by `GenuiV2`'s JSON-Schema
1615
+ * via the `definition` "block_wizard".
1616
+ */
1617
+ export interface BlockWizard {
1618
+ type: 'wizard';
1619
+ id?: Id;
1620
+ when?: Predicate;
1621
+ fallback?: string;
1622
+ title?: Label;
1623
+ description?: Text;
1624
+ /**
1625
+ * @minItems 1
1626
+ * @maxItems 40
1627
+ */
1628
+ fields?: [FormField, ...FormField[]];
1629
+ /**
1630
+ * @minItems 1
1631
+ * @maxItems 8
1632
+ */
1633
+ steps?: [
1634
+ {
1635
+ title: Label;
1636
+ description?: Text;
1637
+ /**
1638
+ * @minItems 1
1639
+ * @maxItems 40
1640
+ */
1641
+ fields: [Key, ...Key[]];
1642
+ }
1643
+ ] | [
1644
+ {
1645
+ title: Label;
1646
+ description?: Text;
1647
+ /**
1648
+ * @minItems 1
1649
+ * @maxItems 40
1650
+ */
1651
+ fields: [Key, ...Key[]];
1652
+ },
1653
+ {
1654
+ title: Label;
1655
+ description?: Text;
1656
+ /**
1657
+ * @minItems 1
1658
+ * @maxItems 40
1659
+ */
1660
+ fields: [Key, ...Key[]];
1661
+ }
1662
+ ] | [
1663
+ {
1664
+ title: Label;
1665
+ description?: Text;
1666
+ /**
1667
+ * @minItems 1
1668
+ * @maxItems 40
1669
+ */
1670
+ fields: [Key, ...Key[]];
1671
+ },
1672
+ {
1673
+ title: Label;
1674
+ description?: Text;
1675
+ /**
1676
+ * @minItems 1
1677
+ * @maxItems 40
1678
+ */
1679
+ fields: [Key, ...Key[]];
1680
+ },
1681
+ {
1682
+ title: Label;
1683
+ description?: Text;
1684
+ /**
1685
+ * @minItems 1
1686
+ * @maxItems 40
1687
+ */
1688
+ fields: [Key, ...Key[]];
1689
+ }
1690
+ ] | [
1691
+ {
1692
+ title: Label;
1693
+ description?: Text;
1694
+ /**
1695
+ * @minItems 1
1696
+ * @maxItems 40
1697
+ */
1698
+ fields: [Key, ...Key[]];
1699
+ },
1700
+ {
1701
+ title: Label;
1702
+ description?: Text;
1703
+ /**
1704
+ * @minItems 1
1705
+ * @maxItems 40
1706
+ */
1707
+ fields: [Key, ...Key[]];
1708
+ },
1709
+ {
1710
+ title: Label;
1711
+ description?: Text;
1712
+ /**
1713
+ * @minItems 1
1714
+ * @maxItems 40
1715
+ */
1716
+ fields: [Key, ...Key[]];
1717
+ },
1718
+ {
1719
+ title: Label;
1720
+ description?: Text;
1721
+ /**
1722
+ * @minItems 1
1723
+ * @maxItems 40
1724
+ */
1725
+ fields: [Key, ...Key[]];
1726
+ }
1727
+ ] | [
1728
+ {
1729
+ title: Label;
1730
+ description?: Text;
1731
+ /**
1732
+ * @minItems 1
1733
+ * @maxItems 40
1734
+ */
1735
+ fields: [Key, ...Key[]];
1736
+ },
1737
+ {
1738
+ title: Label;
1739
+ description?: Text;
1740
+ /**
1741
+ * @minItems 1
1742
+ * @maxItems 40
1743
+ */
1744
+ fields: [Key, ...Key[]];
1745
+ },
1746
+ {
1747
+ title: Label;
1748
+ description?: Text;
1749
+ /**
1750
+ * @minItems 1
1751
+ * @maxItems 40
1752
+ */
1753
+ fields: [Key, ...Key[]];
1754
+ },
1755
+ {
1756
+ title: Label;
1757
+ description?: Text;
1758
+ /**
1759
+ * @minItems 1
1760
+ * @maxItems 40
1761
+ */
1762
+ fields: [Key, ...Key[]];
1763
+ },
1764
+ {
1765
+ title: Label;
1766
+ description?: Text;
1767
+ /**
1768
+ * @minItems 1
1769
+ * @maxItems 40
1770
+ */
1771
+ fields: [Key, ...Key[]];
1772
+ }
1773
+ ] | [
1774
+ {
1775
+ title: Label;
1776
+ description?: Text;
1777
+ /**
1778
+ * @minItems 1
1779
+ * @maxItems 40
1780
+ */
1781
+ fields: [Key, ...Key[]];
1782
+ },
1783
+ {
1784
+ title: Label;
1785
+ description?: Text;
1786
+ /**
1787
+ * @minItems 1
1788
+ * @maxItems 40
1789
+ */
1790
+ fields: [Key, ...Key[]];
1791
+ },
1792
+ {
1793
+ title: Label;
1794
+ description?: Text;
1795
+ /**
1796
+ * @minItems 1
1797
+ * @maxItems 40
1798
+ */
1799
+ fields: [Key, ...Key[]];
1800
+ },
1801
+ {
1802
+ title: Label;
1803
+ description?: Text;
1804
+ /**
1805
+ * @minItems 1
1806
+ * @maxItems 40
1807
+ */
1808
+ fields: [Key, ...Key[]];
1809
+ },
1810
+ {
1811
+ title: Label;
1812
+ description?: Text;
1813
+ /**
1814
+ * @minItems 1
1815
+ * @maxItems 40
1816
+ */
1817
+ fields: [Key, ...Key[]];
1818
+ },
1819
+ {
1820
+ title: Label;
1821
+ description?: Text;
1822
+ /**
1823
+ * @minItems 1
1824
+ * @maxItems 40
1825
+ */
1826
+ fields: [Key, ...Key[]];
1827
+ }
1828
+ ] | [
1829
+ {
1830
+ title: Label;
1831
+ description?: Text;
1832
+ /**
1833
+ * @minItems 1
1834
+ * @maxItems 40
1835
+ */
1836
+ fields: [Key, ...Key[]];
1837
+ },
1838
+ {
1839
+ title: Label;
1840
+ description?: Text;
1841
+ /**
1842
+ * @minItems 1
1843
+ * @maxItems 40
1844
+ */
1845
+ fields: [Key, ...Key[]];
1846
+ },
1847
+ {
1848
+ title: Label;
1849
+ description?: Text;
1850
+ /**
1851
+ * @minItems 1
1852
+ * @maxItems 40
1853
+ */
1854
+ fields: [Key, ...Key[]];
1855
+ },
1856
+ {
1857
+ title: Label;
1858
+ description?: Text;
1859
+ /**
1860
+ * @minItems 1
1861
+ * @maxItems 40
1862
+ */
1863
+ fields: [Key, ...Key[]];
1864
+ },
1865
+ {
1866
+ title: Label;
1867
+ description?: Text;
1868
+ /**
1869
+ * @minItems 1
1870
+ * @maxItems 40
1871
+ */
1872
+ fields: [Key, ...Key[]];
1873
+ },
1874
+ {
1875
+ title: Label;
1876
+ description?: Text;
1877
+ /**
1878
+ * @minItems 1
1879
+ * @maxItems 40
1880
+ */
1881
+ fields: [Key, ...Key[]];
1882
+ },
1883
+ {
1884
+ title: Label;
1885
+ description?: Text;
1886
+ /**
1887
+ * @minItems 1
1888
+ * @maxItems 40
1889
+ */
1890
+ fields: [Key, ...Key[]];
1891
+ }
1892
+ ] | [
1893
+ {
1894
+ title: Label;
1895
+ description?: Text;
1896
+ /**
1897
+ * @minItems 1
1898
+ * @maxItems 40
1899
+ */
1900
+ fields: [Key, ...Key[]];
1901
+ },
1902
+ {
1903
+ title: Label;
1904
+ description?: Text;
1905
+ /**
1906
+ * @minItems 1
1907
+ * @maxItems 40
1908
+ */
1909
+ fields: [Key, ...Key[]];
1910
+ },
1911
+ {
1912
+ title: Label;
1913
+ description?: Text;
1914
+ /**
1915
+ * @minItems 1
1916
+ * @maxItems 40
1917
+ */
1918
+ fields: [Key, ...Key[]];
1919
+ },
1920
+ {
1921
+ title: Label;
1922
+ description?: Text;
1923
+ /**
1924
+ * @minItems 1
1925
+ * @maxItems 40
1926
+ */
1927
+ fields: [Key, ...Key[]];
1928
+ },
1929
+ {
1930
+ title: Label;
1931
+ description?: Text;
1932
+ /**
1933
+ * @minItems 1
1934
+ * @maxItems 40
1935
+ */
1936
+ fields: [Key, ...Key[]];
1937
+ },
1938
+ {
1939
+ title: Label;
1940
+ description?: Text;
1941
+ /**
1942
+ * @minItems 1
1943
+ * @maxItems 40
1944
+ */
1945
+ fields: [Key, ...Key[]];
1946
+ },
1947
+ {
1948
+ title: Label;
1949
+ description?: Text;
1950
+ /**
1951
+ * @minItems 1
1952
+ * @maxItems 40
1953
+ */
1954
+ fields: [Key, ...Key[]];
1955
+ },
1956
+ {
1957
+ title: Label;
1958
+ description?: Text;
1959
+ /**
1960
+ * @minItems 1
1961
+ * @maxItems 40
1962
+ */
1963
+ fields: [Key, ...Key[]];
1964
+ }
1965
+ ];
1966
+ submit?: Action;
1967
+ ref?: {
1968
+ action: string;
1969
+ };
1970
+ }
1971
+ /**
1972
+ * This interface was referenced by `GenuiV2`'s JSON-Schema
1973
+ * via the `definition` "block_confirm".
1974
+ */
1975
+ export interface BlockConfirm {
1976
+ type: 'confirm';
1977
+ id?: Id;
1978
+ when?: Predicate;
1979
+ fallback?: string;
1980
+ title: Label;
1981
+ description?: Text;
1982
+ /**
1983
+ * @maxItems 12
1984
+ */
1985
+ fields?: [] | [Field] | [Field, Field] | [Field, Field, Field] | [Field, Field, Field, Field] | [Field, Field, Field, Field, Field] | [Field, Field, Field, Field, Field, Field] | [Field, Field, Field, Field, Field, Field, Field] | [Field, Field, Field, Field, Field, Field, Field, Field] | [Field, Field, Field, Field, Field, Field, Field, Field, Field] | [Field, Field, Field, Field, Field, Field, Field, Field, Field, Field] | [Field, Field, Field, Field, Field, Field, Field, Field, Field, Field, Field] | [Field, Field, Field, Field, Field, Field, Field, Field, Field, Field, Field, Field];
1986
+ /**
1987
+ * @maxItems 12
1988
+ */
1989
+ inputs?: [] | [
1990
+ {
1991
+ name: Key;
1992
+ label: Label;
1993
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
1994
+ value?: Scalar;
1995
+ required?: boolean;
1996
+ /**
1997
+ * @maxItems 30
1998
+ */
1999
+ options?: Option[];
2000
+ help?: string;
2001
+ }
2002
+ ] | [
2003
+ {
2004
+ name: Key;
2005
+ label: Label;
2006
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2007
+ value?: Scalar;
2008
+ required?: boolean;
2009
+ /**
2010
+ * @maxItems 30
2011
+ */
2012
+ options?: Option[];
2013
+ help?: string;
2014
+ },
2015
+ {
2016
+ name: Key;
2017
+ label: Label;
2018
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2019
+ value?: Scalar;
2020
+ required?: boolean;
2021
+ /**
2022
+ * @maxItems 30
2023
+ */
2024
+ options?: Option[];
2025
+ help?: string;
2026
+ }
2027
+ ] | [
2028
+ {
2029
+ name: Key;
2030
+ label: Label;
2031
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2032
+ value?: Scalar;
2033
+ required?: boolean;
2034
+ /**
2035
+ * @maxItems 30
2036
+ */
2037
+ options?: Option[];
2038
+ help?: string;
2039
+ },
2040
+ {
2041
+ name: Key;
2042
+ label: Label;
2043
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2044
+ value?: Scalar;
2045
+ required?: boolean;
2046
+ /**
2047
+ * @maxItems 30
2048
+ */
2049
+ options?: Option[];
2050
+ help?: string;
2051
+ },
2052
+ {
2053
+ name: Key;
2054
+ label: Label;
2055
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2056
+ value?: Scalar;
2057
+ required?: boolean;
2058
+ /**
2059
+ * @maxItems 30
2060
+ */
2061
+ options?: Option[];
2062
+ help?: string;
2063
+ }
2064
+ ] | [
2065
+ {
2066
+ name: Key;
2067
+ label: Label;
2068
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2069
+ value?: Scalar;
2070
+ required?: boolean;
2071
+ /**
2072
+ * @maxItems 30
2073
+ */
2074
+ options?: Option[];
2075
+ help?: string;
2076
+ },
2077
+ {
2078
+ name: Key;
2079
+ label: Label;
2080
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2081
+ value?: Scalar;
2082
+ required?: boolean;
2083
+ /**
2084
+ * @maxItems 30
2085
+ */
2086
+ options?: Option[];
2087
+ help?: string;
2088
+ },
2089
+ {
2090
+ name: Key;
2091
+ label: Label;
2092
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2093
+ value?: Scalar;
2094
+ required?: boolean;
2095
+ /**
2096
+ * @maxItems 30
2097
+ */
2098
+ options?: Option[];
2099
+ help?: string;
2100
+ },
2101
+ {
2102
+ name: Key;
2103
+ label: Label;
2104
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2105
+ value?: Scalar;
2106
+ required?: boolean;
2107
+ /**
2108
+ * @maxItems 30
2109
+ */
2110
+ options?: Option[];
2111
+ help?: string;
2112
+ }
2113
+ ] | [
2114
+ {
2115
+ name: Key;
2116
+ label: Label;
2117
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2118
+ value?: Scalar;
2119
+ required?: boolean;
2120
+ /**
2121
+ * @maxItems 30
2122
+ */
2123
+ options?: Option[];
2124
+ help?: string;
2125
+ },
2126
+ {
2127
+ name: Key;
2128
+ label: Label;
2129
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2130
+ value?: Scalar;
2131
+ required?: boolean;
2132
+ /**
2133
+ * @maxItems 30
2134
+ */
2135
+ options?: Option[];
2136
+ help?: string;
2137
+ },
2138
+ {
2139
+ name: Key;
2140
+ label: Label;
2141
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2142
+ value?: Scalar;
2143
+ required?: boolean;
2144
+ /**
2145
+ * @maxItems 30
2146
+ */
2147
+ options?: Option[];
2148
+ help?: string;
2149
+ },
2150
+ {
2151
+ name: Key;
2152
+ label: Label;
2153
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2154
+ value?: Scalar;
2155
+ required?: boolean;
2156
+ /**
2157
+ * @maxItems 30
2158
+ */
2159
+ options?: Option[];
2160
+ help?: string;
2161
+ },
2162
+ {
2163
+ name: Key;
2164
+ label: Label;
2165
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2166
+ value?: Scalar;
2167
+ required?: boolean;
2168
+ /**
2169
+ * @maxItems 30
2170
+ */
2171
+ options?: Option[];
2172
+ help?: string;
2173
+ }
2174
+ ] | [
2175
+ {
2176
+ name: Key;
2177
+ label: Label;
2178
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2179
+ value?: Scalar;
2180
+ required?: boolean;
2181
+ /**
2182
+ * @maxItems 30
2183
+ */
2184
+ options?: Option[];
2185
+ help?: string;
2186
+ },
2187
+ {
2188
+ name: Key;
2189
+ label: Label;
2190
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2191
+ value?: Scalar;
2192
+ required?: boolean;
2193
+ /**
2194
+ * @maxItems 30
2195
+ */
2196
+ options?: Option[];
2197
+ help?: string;
2198
+ },
2199
+ {
2200
+ name: Key;
2201
+ label: Label;
2202
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2203
+ value?: Scalar;
2204
+ required?: boolean;
2205
+ /**
2206
+ * @maxItems 30
2207
+ */
2208
+ options?: Option[];
2209
+ help?: string;
2210
+ },
2211
+ {
2212
+ name: Key;
2213
+ label: Label;
2214
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2215
+ value?: Scalar;
2216
+ required?: boolean;
2217
+ /**
2218
+ * @maxItems 30
2219
+ */
2220
+ options?: Option[];
2221
+ help?: string;
2222
+ },
2223
+ {
2224
+ name: Key;
2225
+ label: Label;
2226
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2227
+ value?: Scalar;
2228
+ required?: boolean;
2229
+ /**
2230
+ * @maxItems 30
2231
+ */
2232
+ options?: Option[];
2233
+ help?: string;
2234
+ },
2235
+ {
2236
+ name: Key;
2237
+ label: Label;
2238
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2239
+ value?: Scalar;
2240
+ required?: boolean;
2241
+ /**
2242
+ * @maxItems 30
2243
+ */
2244
+ options?: Option[];
2245
+ help?: string;
2246
+ }
2247
+ ] | [
2248
+ {
2249
+ name: Key;
2250
+ label: Label;
2251
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2252
+ value?: Scalar;
2253
+ required?: boolean;
2254
+ /**
2255
+ * @maxItems 30
2256
+ */
2257
+ options?: Option[];
2258
+ help?: string;
2259
+ },
2260
+ {
2261
+ name: Key;
2262
+ label: Label;
2263
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2264
+ value?: Scalar;
2265
+ required?: boolean;
2266
+ /**
2267
+ * @maxItems 30
2268
+ */
2269
+ options?: Option[];
2270
+ help?: string;
2271
+ },
2272
+ {
2273
+ name: Key;
2274
+ label: Label;
2275
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2276
+ value?: Scalar;
2277
+ required?: boolean;
2278
+ /**
2279
+ * @maxItems 30
2280
+ */
2281
+ options?: Option[];
2282
+ help?: string;
2283
+ },
2284
+ {
2285
+ name: Key;
2286
+ label: Label;
2287
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2288
+ value?: Scalar;
2289
+ required?: boolean;
2290
+ /**
2291
+ * @maxItems 30
2292
+ */
2293
+ options?: Option[];
2294
+ help?: string;
2295
+ },
2296
+ {
2297
+ name: Key;
2298
+ label: Label;
2299
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2300
+ value?: Scalar;
2301
+ required?: boolean;
2302
+ /**
2303
+ * @maxItems 30
2304
+ */
2305
+ options?: Option[];
2306
+ help?: string;
2307
+ },
2308
+ {
2309
+ name: Key;
2310
+ label: Label;
2311
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2312
+ value?: Scalar;
2313
+ required?: boolean;
2314
+ /**
2315
+ * @maxItems 30
2316
+ */
2317
+ options?: Option[];
2318
+ help?: string;
2319
+ },
2320
+ {
2321
+ name: Key;
2322
+ label: Label;
2323
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2324
+ value?: Scalar;
2325
+ required?: boolean;
2326
+ /**
2327
+ * @maxItems 30
2328
+ */
2329
+ options?: Option[];
2330
+ help?: string;
2331
+ }
2332
+ ] | [
2333
+ {
2334
+ name: Key;
2335
+ label: Label;
2336
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2337
+ value?: Scalar;
2338
+ required?: boolean;
2339
+ /**
2340
+ * @maxItems 30
2341
+ */
2342
+ options?: Option[];
2343
+ help?: string;
2344
+ },
2345
+ {
2346
+ name: Key;
2347
+ label: Label;
2348
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2349
+ value?: Scalar;
2350
+ required?: boolean;
2351
+ /**
2352
+ * @maxItems 30
2353
+ */
2354
+ options?: Option[];
2355
+ help?: string;
2356
+ },
2357
+ {
2358
+ name: Key;
2359
+ label: Label;
2360
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2361
+ value?: Scalar;
2362
+ required?: boolean;
2363
+ /**
2364
+ * @maxItems 30
2365
+ */
2366
+ options?: Option[];
2367
+ help?: string;
2368
+ },
2369
+ {
2370
+ name: Key;
2371
+ label: Label;
2372
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2373
+ value?: Scalar;
2374
+ required?: boolean;
2375
+ /**
2376
+ * @maxItems 30
2377
+ */
2378
+ options?: Option[];
2379
+ help?: string;
2380
+ },
2381
+ {
2382
+ name: Key;
2383
+ label: Label;
2384
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2385
+ value?: Scalar;
2386
+ required?: boolean;
2387
+ /**
2388
+ * @maxItems 30
2389
+ */
2390
+ options?: Option[];
2391
+ help?: string;
2392
+ },
2393
+ {
2394
+ name: Key;
2395
+ label: Label;
2396
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2397
+ value?: Scalar;
2398
+ required?: boolean;
2399
+ /**
2400
+ * @maxItems 30
2401
+ */
2402
+ options?: Option[];
2403
+ help?: string;
2404
+ },
2405
+ {
2406
+ name: Key;
2407
+ label: Label;
2408
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2409
+ value?: Scalar;
2410
+ required?: boolean;
2411
+ /**
2412
+ * @maxItems 30
2413
+ */
2414
+ options?: Option[];
2415
+ help?: string;
2416
+ },
2417
+ {
2418
+ name: Key;
2419
+ label: Label;
2420
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2421
+ value?: Scalar;
2422
+ required?: boolean;
2423
+ /**
2424
+ * @maxItems 30
2425
+ */
2426
+ options?: Option[];
2427
+ help?: string;
2428
+ }
2429
+ ] | [
2430
+ {
2431
+ name: Key;
2432
+ label: Label;
2433
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2434
+ value?: Scalar;
2435
+ required?: boolean;
2436
+ /**
2437
+ * @maxItems 30
2438
+ */
2439
+ options?: Option[];
2440
+ help?: string;
2441
+ },
2442
+ {
2443
+ name: Key;
2444
+ label: Label;
2445
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2446
+ value?: Scalar;
2447
+ required?: boolean;
2448
+ /**
2449
+ * @maxItems 30
2450
+ */
2451
+ options?: Option[];
2452
+ help?: string;
2453
+ },
2454
+ {
2455
+ name: Key;
2456
+ label: Label;
2457
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2458
+ value?: Scalar;
2459
+ required?: boolean;
2460
+ /**
2461
+ * @maxItems 30
2462
+ */
2463
+ options?: Option[];
2464
+ help?: string;
2465
+ },
2466
+ {
2467
+ name: Key;
2468
+ label: Label;
2469
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2470
+ value?: Scalar;
2471
+ required?: boolean;
2472
+ /**
2473
+ * @maxItems 30
2474
+ */
2475
+ options?: Option[];
2476
+ help?: string;
2477
+ },
2478
+ {
2479
+ name: Key;
2480
+ label: Label;
2481
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2482
+ value?: Scalar;
2483
+ required?: boolean;
2484
+ /**
2485
+ * @maxItems 30
2486
+ */
2487
+ options?: Option[];
2488
+ help?: string;
2489
+ },
2490
+ {
2491
+ name: Key;
2492
+ label: Label;
2493
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2494
+ value?: Scalar;
2495
+ required?: boolean;
2496
+ /**
2497
+ * @maxItems 30
2498
+ */
2499
+ options?: Option[];
2500
+ help?: string;
2501
+ },
2502
+ {
2503
+ name: Key;
2504
+ label: Label;
2505
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2506
+ value?: Scalar;
2507
+ required?: boolean;
2508
+ /**
2509
+ * @maxItems 30
2510
+ */
2511
+ options?: Option[];
2512
+ help?: string;
2513
+ },
2514
+ {
2515
+ name: Key;
2516
+ label: Label;
2517
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2518
+ value?: Scalar;
2519
+ required?: boolean;
2520
+ /**
2521
+ * @maxItems 30
2522
+ */
2523
+ options?: Option[];
2524
+ help?: string;
2525
+ },
2526
+ {
2527
+ name: Key;
2528
+ label: Label;
2529
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2530
+ value?: Scalar;
2531
+ required?: boolean;
2532
+ /**
2533
+ * @maxItems 30
2534
+ */
2535
+ options?: Option[];
2536
+ help?: string;
2537
+ }
2538
+ ] | [
2539
+ {
2540
+ name: Key;
2541
+ label: Label;
2542
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2543
+ value?: Scalar;
2544
+ required?: boolean;
2545
+ /**
2546
+ * @maxItems 30
2547
+ */
2548
+ options?: Option[];
2549
+ help?: string;
2550
+ },
2551
+ {
2552
+ name: Key;
2553
+ label: Label;
2554
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2555
+ value?: Scalar;
2556
+ required?: boolean;
2557
+ /**
2558
+ * @maxItems 30
2559
+ */
2560
+ options?: Option[];
2561
+ help?: string;
2562
+ },
2563
+ {
2564
+ name: Key;
2565
+ label: Label;
2566
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2567
+ value?: Scalar;
2568
+ required?: boolean;
2569
+ /**
2570
+ * @maxItems 30
2571
+ */
2572
+ options?: Option[];
2573
+ help?: string;
2574
+ },
2575
+ {
2576
+ name: Key;
2577
+ label: Label;
2578
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2579
+ value?: Scalar;
2580
+ required?: boolean;
2581
+ /**
2582
+ * @maxItems 30
2583
+ */
2584
+ options?: Option[];
2585
+ help?: string;
2586
+ },
2587
+ {
2588
+ name: Key;
2589
+ label: Label;
2590
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2591
+ value?: Scalar;
2592
+ required?: boolean;
2593
+ /**
2594
+ * @maxItems 30
2595
+ */
2596
+ options?: Option[];
2597
+ help?: string;
2598
+ },
2599
+ {
2600
+ name: Key;
2601
+ label: Label;
2602
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2603
+ value?: Scalar;
2604
+ required?: boolean;
2605
+ /**
2606
+ * @maxItems 30
2607
+ */
2608
+ options?: Option[];
2609
+ help?: string;
2610
+ },
2611
+ {
2612
+ name: Key;
2613
+ label: Label;
2614
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2615
+ value?: Scalar;
2616
+ required?: boolean;
2617
+ /**
2618
+ * @maxItems 30
2619
+ */
2620
+ options?: Option[];
2621
+ help?: string;
2622
+ },
2623
+ {
2624
+ name: Key;
2625
+ label: Label;
2626
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2627
+ value?: Scalar;
2628
+ required?: boolean;
2629
+ /**
2630
+ * @maxItems 30
2631
+ */
2632
+ options?: Option[];
2633
+ help?: string;
2634
+ },
2635
+ {
2636
+ name: Key;
2637
+ label: Label;
2638
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2639
+ value?: Scalar;
2640
+ required?: boolean;
2641
+ /**
2642
+ * @maxItems 30
2643
+ */
2644
+ options?: Option[];
2645
+ help?: string;
2646
+ },
2647
+ {
2648
+ name: Key;
2649
+ label: Label;
2650
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2651
+ value?: Scalar;
2652
+ required?: boolean;
2653
+ /**
2654
+ * @maxItems 30
2655
+ */
2656
+ options?: Option[];
2657
+ help?: string;
2658
+ }
2659
+ ] | [
2660
+ {
2661
+ name: Key;
2662
+ label: Label;
2663
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2664
+ value?: Scalar;
2665
+ required?: boolean;
2666
+ /**
2667
+ * @maxItems 30
2668
+ */
2669
+ options?: Option[];
2670
+ help?: string;
2671
+ },
2672
+ {
2673
+ name: Key;
2674
+ label: Label;
2675
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2676
+ value?: Scalar;
2677
+ required?: boolean;
2678
+ /**
2679
+ * @maxItems 30
2680
+ */
2681
+ options?: Option[];
2682
+ help?: string;
2683
+ },
2684
+ {
2685
+ name: Key;
2686
+ label: Label;
2687
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2688
+ value?: Scalar;
2689
+ required?: boolean;
2690
+ /**
2691
+ * @maxItems 30
2692
+ */
2693
+ options?: Option[];
2694
+ help?: string;
2695
+ },
2696
+ {
2697
+ name: Key;
2698
+ label: Label;
2699
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2700
+ value?: Scalar;
2701
+ required?: boolean;
2702
+ /**
2703
+ * @maxItems 30
2704
+ */
2705
+ options?: Option[];
2706
+ help?: string;
2707
+ },
2708
+ {
2709
+ name: Key;
2710
+ label: Label;
2711
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2712
+ value?: Scalar;
2713
+ required?: boolean;
2714
+ /**
2715
+ * @maxItems 30
2716
+ */
2717
+ options?: Option[];
2718
+ help?: string;
2719
+ },
2720
+ {
2721
+ name: Key;
2722
+ label: Label;
2723
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2724
+ value?: Scalar;
2725
+ required?: boolean;
2726
+ /**
2727
+ * @maxItems 30
2728
+ */
2729
+ options?: Option[];
2730
+ help?: string;
2731
+ },
2732
+ {
2733
+ name: Key;
2734
+ label: Label;
2735
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2736
+ value?: Scalar;
2737
+ required?: boolean;
2738
+ /**
2739
+ * @maxItems 30
2740
+ */
2741
+ options?: Option[];
2742
+ help?: string;
2743
+ },
2744
+ {
2745
+ name: Key;
2746
+ label: Label;
2747
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2748
+ value?: Scalar;
2749
+ required?: boolean;
2750
+ /**
2751
+ * @maxItems 30
2752
+ */
2753
+ options?: Option[];
2754
+ help?: string;
2755
+ },
2756
+ {
2757
+ name: Key;
2758
+ label: Label;
2759
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2760
+ value?: Scalar;
2761
+ required?: boolean;
2762
+ /**
2763
+ * @maxItems 30
2764
+ */
2765
+ options?: Option[];
2766
+ help?: string;
2767
+ },
2768
+ {
2769
+ name: Key;
2770
+ label: Label;
2771
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2772
+ value?: Scalar;
2773
+ required?: boolean;
2774
+ /**
2775
+ * @maxItems 30
2776
+ */
2777
+ options?: Option[];
2778
+ help?: string;
2779
+ },
2780
+ {
2781
+ name: Key;
2782
+ label: Label;
2783
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2784
+ value?: Scalar;
2785
+ required?: boolean;
2786
+ /**
2787
+ * @maxItems 30
2788
+ */
2789
+ options?: Option[];
2790
+ help?: string;
2791
+ }
2792
+ ] | [
2793
+ {
2794
+ name: Key;
2795
+ label: Label;
2796
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2797
+ value?: Scalar;
2798
+ required?: boolean;
2799
+ /**
2800
+ * @maxItems 30
2801
+ */
2802
+ options?: Option[];
2803
+ help?: string;
2804
+ },
2805
+ {
2806
+ name: Key;
2807
+ label: Label;
2808
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2809
+ value?: Scalar;
2810
+ required?: boolean;
2811
+ /**
2812
+ * @maxItems 30
2813
+ */
2814
+ options?: Option[];
2815
+ help?: string;
2816
+ },
2817
+ {
2818
+ name: Key;
2819
+ label: Label;
2820
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2821
+ value?: Scalar;
2822
+ required?: boolean;
2823
+ /**
2824
+ * @maxItems 30
2825
+ */
2826
+ options?: Option[];
2827
+ help?: string;
2828
+ },
2829
+ {
2830
+ name: Key;
2831
+ label: Label;
2832
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2833
+ value?: Scalar;
2834
+ required?: boolean;
2835
+ /**
2836
+ * @maxItems 30
2837
+ */
2838
+ options?: Option[];
2839
+ help?: string;
2840
+ },
2841
+ {
2842
+ name: Key;
2843
+ label: Label;
2844
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2845
+ value?: Scalar;
2846
+ required?: boolean;
2847
+ /**
2848
+ * @maxItems 30
2849
+ */
2850
+ options?: Option[];
2851
+ help?: string;
2852
+ },
2853
+ {
2854
+ name: Key;
2855
+ label: Label;
2856
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2857
+ value?: Scalar;
2858
+ required?: boolean;
2859
+ /**
2860
+ * @maxItems 30
2861
+ */
2862
+ options?: Option[];
2863
+ help?: string;
2864
+ },
2865
+ {
2866
+ name: Key;
2867
+ label: Label;
2868
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2869
+ value?: Scalar;
2870
+ required?: boolean;
2871
+ /**
2872
+ * @maxItems 30
2873
+ */
2874
+ options?: Option[];
2875
+ help?: string;
2876
+ },
2877
+ {
2878
+ name: Key;
2879
+ label: Label;
2880
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2881
+ value?: Scalar;
2882
+ required?: boolean;
2883
+ /**
2884
+ * @maxItems 30
2885
+ */
2886
+ options?: Option[];
2887
+ help?: string;
2888
+ },
2889
+ {
2890
+ name: Key;
2891
+ label: Label;
2892
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2893
+ value?: Scalar;
2894
+ required?: boolean;
2895
+ /**
2896
+ * @maxItems 30
2897
+ */
2898
+ options?: Option[];
2899
+ help?: string;
2900
+ },
2901
+ {
2902
+ name: Key;
2903
+ label: Label;
2904
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2905
+ value?: Scalar;
2906
+ required?: boolean;
2907
+ /**
2908
+ * @maxItems 30
2909
+ */
2910
+ options?: Option[];
2911
+ help?: string;
2912
+ },
2913
+ {
2914
+ name: Key;
2915
+ label: Label;
2916
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2917
+ value?: Scalar;
2918
+ required?: boolean;
2919
+ /**
2920
+ * @maxItems 30
2921
+ */
2922
+ options?: Option[];
2923
+ help?: string;
2924
+ },
2925
+ {
2926
+ name: Key;
2927
+ label: Label;
2928
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2929
+ value?: Scalar;
2930
+ required?: boolean;
2931
+ /**
2932
+ * @maxItems 30
2933
+ */
2934
+ options?: Option[];
2935
+ help?: string;
2936
+ }
2937
+ ];
2938
+ /**
2939
+ * @minItems 1
2940
+ * @maxItems 6
2941
+ */
2942
+ actions: [
2943
+ {
2944
+ id: string;
2945
+ label: string;
2946
+ variant?: 'primary' | 'secondary' | 'ghost' | 'danger';
2947
+ params?: {
2948
+ [k: string]: Scalar;
2949
+ };
2950
+ }
2951
+ ] | [
2952
+ {
2953
+ id: string;
2954
+ label: string;
2955
+ variant?: 'primary' | 'secondary' | 'ghost' | 'danger';
2956
+ params?: {
2957
+ [k: string]: Scalar;
2958
+ };
2959
+ },
2960
+ {
2961
+ id: string;
2962
+ label: string;
2963
+ variant?: 'primary' | 'secondary' | 'ghost' | 'danger';
2964
+ params?: {
2965
+ [k: string]: Scalar;
2966
+ };
2967
+ }
2968
+ ] | [
2969
+ {
2970
+ id: string;
2971
+ label: string;
2972
+ variant?: 'primary' | 'secondary' | 'ghost' | 'danger';
2973
+ params?: {
2974
+ [k: string]: Scalar;
2975
+ };
2976
+ },
2977
+ {
2978
+ id: string;
2979
+ label: string;
2980
+ variant?: 'primary' | 'secondary' | 'ghost' | 'danger';
2981
+ params?: {
2982
+ [k: string]: Scalar;
2983
+ };
2984
+ },
2985
+ {
2986
+ id: string;
2987
+ label: string;
2988
+ variant?: 'primary' | 'secondary' | 'ghost' | 'danger';
2989
+ params?: {
2990
+ [k: string]: Scalar;
2991
+ };
2992
+ }
2993
+ ] | [
2994
+ {
2995
+ id: string;
2996
+ label: string;
2997
+ variant?: 'primary' | 'secondary' | 'ghost' | 'danger';
2998
+ params?: {
2999
+ [k: string]: Scalar;
3000
+ };
3001
+ },
3002
+ {
3003
+ id: string;
3004
+ label: string;
3005
+ variant?: 'primary' | 'secondary' | 'ghost' | 'danger';
3006
+ params?: {
3007
+ [k: string]: Scalar;
3008
+ };
3009
+ },
3010
+ {
3011
+ id: string;
3012
+ label: string;
3013
+ variant?: 'primary' | 'secondary' | 'ghost' | 'danger';
3014
+ params?: {
3015
+ [k: string]: Scalar;
3016
+ };
3017
+ },
3018
+ {
3019
+ id: string;
3020
+ label: string;
3021
+ variant?: 'primary' | 'secondary' | 'ghost' | 'danger';
3022
+ params?: {
3023
+ [k: string]: Scalar;
3024
+ };
3025
+ }
3026
+ ] | [
3027
+ {
3028
+ id: string;
3029
+ label: string;
3030
+ variant?: 'primary' | 'secondary' | 'ghost' | 'danger';
3031
+ params?: {
3032
+ [k: string]: Scalar;
3033
+ };
3034
+ },
3035
+ {
3036
+ id: string;
3037
+ label: string;
3038
+ variant?: 'primary' | 'secondary' | 'ghost' | 'danger';
3039
+ params?: {
3040
+ [k: string]: Scalar;
3041
+ };
3042
+ },
3043
+ {
3044
+ id: string;
3045
+ label: string;
3046
+ variant?: 'primary' | 'secondary' | 'ghost' | 'danger';
3047
+ params?: {
3048
+ [k: string]: Scalar;
3049
+ };
3050
+ },
3051
+ {
3052
+ id: string;
3053
+ label: string;
3054
+ variant?: 'primary' | 'secondary' | 'ghost' | 'danger';
3055
+ params?: {
3056
+ [k: string]: Scalar;
3057
+ };
3058
+ },
3059
+ {
3060
+ id: string;
3061
+ label: string;
3062
+ variant?: 'primary' | 'secondary' | 'ghost' | 'danger';
3063
+ params?: {
3064
+ [k: string]: Scalar;
3065
+ };
3066
+ }
3067
+ ] | [
3068
+ {
3069
+ id: string;
3070
+ label: string;
3071
+ variant?: 'primary' | 'secondary' | 'ghost' | 'danger';
3072
+ params?: {
3073
+ [k: string]: Scalar;
3074
+ };
3075
+ },
3076
+ {
3077
+ id: string;
3078
+ label: string;
3079
+ variant?: 'primary' | 'secondary' | 'ghost' | 'danger';
3080
+ params?: {
3081
+ [k: string]: Scalar;
3082
+ };
3083
+ },
3084
+ {
3085
+ id: string;
3086
+ label: string;
3087
+ variant?: 'primary' | 'secondary' | 'ghost' | 'danger';
3088
+ params?: {
3089
+ [k: string]: Scalar;
3090
+ };
3091
+ },
3092
+ {
3093
+ id: string;
3094
+ label: string;
3095
+ variant?: 'primary' | 'secondary' | 'ghost' | 'danger';
3096
+ params?: {
3097
+ [k: string]: Scalar;
3098
+ };
3099
+ },
3100
+ {
3101
+ id: string;
3102
+ label: string;
3103
+ variant?: 'primary' | 'secondary' | 'ghost' | 'danger';
3104
+ params?: {
3105
+ [k: string]: Scalar;
3106
+ };
3107
+ },
3108
+ {
3109
+ id: string;
3110
+ label: string;
3111
+ variant?: 'primary' | 'secondary' | 'ghost' | 'danger';
3112
+ params?: {
3113
+ [k: string]: Scalar;
3114
+ };
3115
+ }
3116
+ ];
3117
+ /**
3118
+ * @maxItems 6
3119
+ */
3120
+ badges?: [] | [Badge] | [Badge, Badge] | [Badge, Badge, Badge] | [Badge, Badge, Badge, Badge] | [Badge, Badge, Badge, Badge, Badge] | [Badge, Badge, Badge, Badge, Badge, Badge];
3121
+ tone?: Tone;
3122
+ }
3123
+ /**
3124
+ * Solo por referencia; nunca en línea.
3125
+ *
3126
+ * This interface was referenced by `GenuiV2`'s JSON-Schema
3127
+ * via the `definition` "block_settings".
3128
+ */
3129
+ export interface BlockSettings {
3130
+ type: 'settings';
3131
+ id?: Id;
3132
+ when?: Predicate;
3133
+ fallback?: string;
3134
+ addon: string;
3135
+ /**
3136
+ * @maxItems 40
3137
+ */
3138
+ keys?: Key[];
3139
+ scope: 'org' | 'branch';
3140
+ section?: string;
3141
+ }
3142
+ /**
3143
+ * This interface was referenced by `GenuiV2`'s JSON-Schema
3144
+ * via the `definition` "block_media".
3145
+ */
3146
+ export interface BlockMedia {
3147
+ type: 'media';
3148
+ id?: Id;
3149
+ when?: Predicate;
3150
+ fallback?: string;
3151
+ src: string;
3152
+ alt: string;
3153
+ width: number;
3154
+ height: number;
3155
+ caption?: Label;
3156
+ }
3157
+ /**
3158
+ * This interface was referenced by `GenuiV2`'s JSON-Schema
3159
+ * via the `definition` "block_slot".
3160
+ */
3161
+ export interface BlockSlot {
3162
+ type: 'slot';
3163
+ id?: Id;
3164
+ when?: Predicate;
3165
+ fallback?: string;
3166
+ name: string;
3167
+ record?: Value;
3168
+ }
3169
+ /**
3170
+ * This interface was referenced by `GenuiV2`'s JSON-Schema
3171
+ * via the `definition` "block_ext".
3172
+ */
3173
+ export interface BlockExt {
3174
+ type: 'ext';
3175
+ id?: Id;
3176
+ when?: Predicate;
3177
+ fallback?: string;
3178
+ ext: string;
3179
+ props?: {
3180
+ [k: string]: Scalar | (string | number | boolean)[];
3181
+ };
3182
+ }
3183
+ //# sourceMappingURL=genui-v2.d.ts.map