@asteby/metacore-genui 1.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.
@@ -0,0 +1,3180 @@
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; ningún segmento separado por punto 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
+ depends_on?: string;
1578
+ visible_when?: {
1579
+ field?: Key;
1580
+ equals?: Scalar;
1581
+ /**
1582
+ * @maxItems 50
1583
+ */
1584
+ in?: Scalar[];
1585
+ /**
1586
+ * @maxItems 50
1587
+ */
1588
+ not_in?: Scalar[];
1589
+ empty?: boolean;
1590
+ };
1591
+ validation?: {
1592
+ min?: number;
1593
+ max?: number;
1594
+ min_length?: number;
1595
+ max_length?: number;
1596
+ pattern?: string;
1597
+ };
1598
+ widget?: string;
1599
+ section?: string;
1600
+ write_only?: boolean;
1601
+ }
1602
+ /**
1603
+ * This interface was referenced by `GenuiV2`'s JSON-Schema
1604
+ * via the `definition` "option".
1605
+ */
1606
+ export interface Option {
1607
+ value: string;
1608
+ label: Label;
1609
+ }
1610
+ /**
1611
+ * This interface was referenced by `GenuiV2`'s JSON-Schema
1612
+ * via the `definition` "block_wizard".
1613
+ */
1614
+ export interface BlockWizard {
1615
+ type: 'wizard';
1616
+ id?: Id;
1617
+ when?: Predicate;
1618
+ fallback?: string;
1619
+ title?: Label;
1620
+ description?: Text;
1621
+ /**
1622
+ * @minItems 1
1623
+ * @maxItems 40
1624
+ */
1625
+ fields?: [FormField, ...FormField[]];
1626
+ /**
1627
+ * @minItems 1
1628
+ * @maxItems 8
1629
+ */
1630
+ steps?: [
1631
+ {
1632
+ title: Label;
1633
+ description?: Text;
1634
+ /**
1635
+ * @minItems 1
1636
+ * @maxItems 40
1637
+ */
1638
+ fields: [Key, ...Key[]];
1639
+ }
1640
+ ] | [
1641
+ {
1642
+ title: Label;
1643
+ description?: Text;
1644
+ /**
1645
+ * @minItems 1
1646
+ * @maxItems 40
1647
+ */
1648
+ fields: [Key, ...Key[]];
1649
+ },
1650
+ {
1651
+ title: Label;
1652
+ description?: Text;
1653
+ /**
1654
+ * @minItems 1
1655
+ * @maxItems 40
1656
+ */
1657
+ fields: [Key, ...Key[]];
1658
+ }
1659
+ ] | [
1660
+ {
1661
+ title: Label;
1662
+ description?: Text;
1663
+ /**
1664
+ * @minItems 1
1665
+ * @maxItems 40
1666
+ */
1667
+ fields: [Key, ...Key[]];
1668
+ },
1669
+ {
1670
+ title: Label;
1671
+ description?: Text;
1672
+ /**
1673
+ * @minItems 1
1674
+ * @maxItems 40
1675
+ */
1676
+ fields: [Key, ...Key[]];
1677
+ },
1678
+ {
1679
+ title: Label;
1680
+ description?: Text;
1681
+ /**
1682
+ * @minItems 1
1683
+ * @maxItems 40
1684
+ */
1685
+ fields: [Key, ...Key[]];
1686
+ }
1687
+ ] | [
1688
+ {
1689
+ title: Label;
1690
+ description?: Text;
1691
+ /**
1692
+ * @minItems 1
1693
+ * @maxItems 40
1694
+ */
1695
+ fields: [Key, ...Key[]];
1696
+ },
1697
+ {
1698
+ title: Label;
1699
+ description?: Text;
1700
+ /**
1701
+ * @minItems 1
1702
+ * @maxItems 40
1703
+ */
1704
+ fields: [Key, ...Key[]];
1705
+ },
1706
+ {
1707
+ title: Label;
1708
+ description?: Text;
1709
+ /**
1710
+ * @minItems 1
1711
+ * @maxItems 40
1712
+ */
1713
+ fields: [Key, ...Key[]];
1714
+ },
1715
+ {
1716
+ title: Label;
1717
+ description?: Text;
1718
+ /**
1719
+ * @minItems 1
1720
+ * @maxItems 40
1721
+ */
1722
+ fields: [Key, ...Key[]];
1723
+ }
1724
+ ] | [
1725
+ {
1726
+ title: Label;
1727
+ description?: Text;
1728
+ /**
1729
+ * @minItems 1
1730
+ * @maxItems 40
1731
+ */
1732
+ fields: [Key, ...Key[]];
1733
+ },
1734
+ {
1735
+ title: Label;
1736
+ description?: Text;
1737
+ /**
1738
+ * @minItems 1
1739
+ * @maxItems 40
1740
+ */
1741
+ fields: [Key, ...Key[]];
1742
+ },
1743
+ {
1744
+ title: Label;
1745
+ description?: Text;
1746
+ /**
1747
+ * @minItems 1
1748
+ * @maxItems 40
1749
+ */
1750
+ fields: [Key, ...Key[]];
1751
+ },
1752
+ {
1753
+ title: Label;
1754
+ description?: Text;
1755
+ /**
1756
+ * @minItems 1
1757
+ * @maxItems 40
1758
+ */
1759
+ fields: [Key, ...Key[]];
1760
+ },
1761
+ {
1762
+ title: Label;
1763
+ description?: Text;
1764
+ /**
1765
+ * @minItems 1
1766
+ * @maxItems 40
1767
+ */
1768
+ fields: [Key, ...Key[]];
1769
+ }
1770
+ ] | [
1771
+ {
1772
+ title: Label;
1773
+ description?: Text;
1774
+ /**
1775
+ * @minItems 1
1776
+ * @maxItems 40
1777
+ */
1778
+ fields: [Key, ...Key[]];
1779
+ },
1780
+ {
1781
+ title: Label;
1782
+ description?: Text;
1783
+ /**
1784
+ * @minItems 1
1785
+ * @maxItems 40
1786
+ */
1787
+ fields: [Key, ...Key[]];
1788
+ },
1789
+ {
1790
+ title: Label;
1791
+ description?: Text;
1792
+ /**
1793
+ * @minItems 1
1794
+ * @maxItems 40
1795
+ */
1796
+ fields: [Key, ...Key[]];
1797
+ },
1798
+ {
1799
+ title: Label;
1800
+ description?: Text;
1801
+ /**
1802
+ * @minItems 1
1803
+ * @maxItems 40
1804
+ */
1805
+ fields: [Key, ...Key[]];
1806
+ },
1807
+ {
1808
+ title: Label;
1809
+ description?: Text;
1810
+ /**
1811
+ * @minItems 1
1812
+ * @maxItems 40
1813
+ */
1814
+ fields: [Key, ...Key[]];
1815
+ },
1816
+ {
1817
+ title: Label;
1818
+ description?: Text;
1819
+ /**
1820
+ * @minItems 1
1821
+ * @maxItems 40
1822
+ */
1823
+ fields: [Key, ...Key[]];
1824
+ }
1825
+ ] | [
1826
+ {
1827
+ title: Label;
1828
+ description?: Text;
1829
+ /**
1830
+ * @minItems 1
1831
+ * @maxItems 40
1832
+ */
1833
+ fields: [Key, ...Key[]];
1834
+ },
1835
+ {
1836
+ title: Label;
1837
+ description?: Text;
1838
+ /**
1839
+ * @minItems 1
1840
+ * @maxItems 40
1841
+ */
1842
+ fields: [Key, ...Key[]];
1843
+ },
1844
+ {
1845
+ title: Label;
1846
+ description?: Text;
1847
+ /**
1848
+ * @minItems 1
1849
+ * @maxItems 40
1850
+ */
1851
+ fields: [Key, ...Key[]];
1852
+ },
1853
+ {
1854
+ title: Label;
1855
+ description?: Text;
1856
+ /**
1857
+ * @minItems 1
1858
+ * @maxItems 40
1859
+ */
1860
+ fields: [Key, ...Key[]];
1861
+ },
1862
+ {
1863
+ title: Label;
1864
+ description?: Text;
1865
+ /**
1866
+ * @minItems 1
1867
+ * @maxItems 40
1868
+ */
1869
+ fields: [Key, ...Key[]];
1870
+ },
1871
+ {
1872
+ title: Label;
1873
+ description?: Text;
1874
+ /**
1875
+ * @minItems 1
1876
+ * @maxItems 40
1877
+ */
1878
+ fields: [Key, ...Key[]];
1879
+ },
1880
+ {
1881
+ title: Label;
1882
+ description?: Text;
1883
+ /**
1884
+ * @minItems 1
1885
+ * @maxItems 40
1886
+ */
1887
+ fields: [Key, ...Key[]];
1888
+ }
1889
+ ] | [
1890
+ {
1891
+ title: Label;
1892
+ description?: Text;
1893
+ /**
1894
+ * @minItems 1
1895
+ * @maxItems 40
1896
+ */
1897
+ fields: [Key, ...Key[]];
1898
+ },
1899
+ {
1900
+ title: Label;
1901
+ description?: Text;
1902
+ /**
1903
+ * @minItems 1
1904
+ * @maxItems 40
1905
+ */
1906
+ fields: [Key, ...Key[]];
1907
+ },
1908
+ {
1909
+ title: Label;
1910
+ description?: Text;
1911
+ /**
1912
+ * @minItems 1
1913
+ * @maxItems 40
1914
+ */
1915
+ fields: [Key, ...Key[]];
1916
+ },
1917
+ {
1918
+ title: Label;
1919
+ description?: Text;
1920
+ /**
1921
+ * @minItems 1
1922
+ * @maxItems 40
1923
+ */
1924
+ fields: [Key, ...Key[]];
1925
+ },
1926
+ {
1927
+ title: Label;
1928
+ description?: Text;
1929
+ /**
1930
+ * @minItems 1
1931
+ * @maxItems 40
1932
+ */
1933
+ fields: [Key, ...Key[]];
1934
+ },
1935
+ {
1936
+ title: Label;
1937
+ description?: Text;
1938
+ /**
1939
+ * @minItems 1
1940
+ * @maxItems 40
1941
+ */
1942
+ fields: [Key, ...Key[]];
1943
+ },
1944
+ {
1945
+ title: Label;
1946
+ description?: Text;
1947
+ /**
1948
+ * @minItems 1
1949
+ * @maxItems 40
1950
+ */
1951
+ fields: [Key, ...Key[]];
1952
+ },
1953
+ {
1954
+ title: Label;
1955
+ description?: Text;
1956
+ /**
1957
+ * @minItems 1
1958
+ * @maxItems 40
1959
+ */
1960
+ fields: [Key, ...Key[]];
1961
+ }
1962
+ ];
1963
+ submit?: Action;
1964
+ ref?: {
1965
+ action: string;
1966
+ };
1967
+ }
1968
+ /**
1969
+ * This interface was referenced by `GenuiV2`'s JSON-Schema
1970
+ * via the `definition` "block_confirm".
1971
+ */
1972
+ export interface BlockConfirm {
1973
+ type: 'confirm';
1974
+ id?: Id;
1975
+ when?: Predicate;
1976
+ fallback?: string;
1977
+ title: Label;
1978
+ description?: Text;
1979
+ /**
1980
+ * @maxItems 12
1981
+ */
1982
+ 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];
1983
+ /**
1984
+ * @maxItems 12
1985
+ */
1986
+ inputs?: [] | [
1987
+ {
1988
+ name: Key;
1989
+ label: Label;
1990
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
1991
+ value?: Scalar;
1992
+ required?: boolean;
1993
+ /**
1994
+ * @maxItems 30
1995
+ */
1996
+ options?: Option[];
1997
+ help?: string;
1998
+ }
1999
+ ] | [
2000
+ {
2001
+ name: Key;
2002
+ label: Label;
2003
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2004
+ value?: Scalar;
2005
+ required?: boolean;
2006
+ /**
2007
+ * @maxItems 30
2008
+ */
2009
+ options?: Option[];
2010
+ help?: string;
2011
+ },
2012
+ {
2013
+ name: Key;
2014
+ label: Label;
2015
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2016
+ value?: Scalar;
2017
+ required?: boolean;
2018
+ /**
2019
+ * @maxItems 30
2020
+ */
2021
+ options?: Option[];
2022
+ help?: string;
2023
+ }
2024
+ ] | [
2025
+ {
2026
+ name: Key;
2027
+ label: Label;
2028
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2029
+ value?: Scalar;
2030
+ required?: boolean;
2031
+ /**
2032
+ * @maxItems 30
2033
+ */
2034
+ options?: Option[];
2035
+ help?: string;
2036
+ },
2037
+ {
2038
+ name: Key;
2039
+ label: Label;
2040
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2041
+ value?: Scalar;
2042
+ required?: boolean;
2043
+ /**
2044
+ * @maxItems 30
2045
+ */
2046
+ options?: Option[];
2047
+ help?: string;
2048
+ },
2049
+ {
2050
+ name: Key;
2051
+ label: Label;
2052
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2053
+ value?: Scalar;
2054
+ required?: boolean;
2055
+ /**
2056
+ * @maxItems 30
2057
+ */
2058
+ options?: Option[];
2059
+ help?: string;
2060
+ }
2061
+ ] | [
2062
+ {
2063
+ name: Key;
2064
+ label: Label;
2065
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2066
+ value?: Scalar;
2067
+ required?: boolean;
2068
+ /**
2069
+ * @maxItems 30
2070
+ */
2071
+ options?: Option[];
2072
+ help?: string;
2073
+ },
2074
+ {
2075
+ name: Key;
2076
+ label: Label;
2077
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2078
+ value?: Scalar;
2079
+ required?: boolean;
2080
+ /**
2081
+ * @maxItems 30
2082
+ */
2083
+ options?: Option[];
2084
+ help?: string;
2085
+ },
2086
+ {
2087
+ name: Key;
2088
+ label: Label;
2089
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2090
+ value?: Scalar;
2091
+ required?: boolean;
2092
+ /**
2093
+ * @maxItems 30
2094
+ */
2095
+ options?: Option[];
2096
+ help?: string;
2097
+ },
2098
+ {
2099
+ name: Key;
2100
+ label: Label;
2101
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2102
+ value?: Scalar;
2103
+ required?: boolean;
2104
+ /**
2105
+ * @maxItems 30
2106
+ */
2107
+ options?: Option[];
2108
+ help?: string;
2109
+ }
2110
+ ] | [
2111
+ {
2112
+ name: Key;
2113
+ label: Label;
2114
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2115
+ value?: Scalar;
2116
+ required?: boolean;
2117
+ /**
2118
+ * @maxItems 30
2119
+ */
2120
+ options?: Option[];
2121
+ help?: string;
2122
+ },
2123
+ {
2124
+ name: Key;
2125
+ label: Label;
2126
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2127
+ value?: Scalar;
2128
+ required?: boolean;
2129
+ /**
2130
+ * @maxItems 30
2131
+ */
2132
+ options?: Option[];
2133
+ help?: string;
2134
+ },
2135
+ {
2136
+ name: Key;
2137
+ label: Label;
2138
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2139
+ value?: Scalar;
2140
+ required?: boolean;
2141
+ /**
2142
+ * @maxItems 30
2143
+ */
2144
+ options?: Option[];
2145
+ help?: string;
2146
+ },
2147
+ {
2148
+ name: Key;
2149
+ label: Label;
2150
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2151
+ value?: Scalar;
2152
+ required?: boolean;
2153
+ /**
2154
+ * @maxItems 30
2155
+ */
2156
+ options?: Option[];
2157
+ help?: string;
2158
+ },
2159
+ {
2160
+ name: Key;
2161
+ label: Label;
2162
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2163
+ value?: Scalar;
2164
+ required?: boolean;
2165
+ /**
2166
+ * @maxItems 30
2167
+ */
2168
+ options?: Option[];
2169
+ help?: string;
2170
+ }
2171
+ ] | [
2172
+ {
2173
+ name: Key;
2174
+ label: Label;
2175
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2176
+ value?: Scalar;
2177
+ required?: boolean;
2178
+ /**
2179
+ * @maxItems 30
2180
+ */
2181
+ options?: Option[];
2182
+ help?: string;
2183
+ },
2184
+ {
2185
+ name: Key;
2186
+ label: Label;
2187
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2188
+ value?: Scalar;
2189
+ required?: boolean;
2190
+ /**
2191
+ * @maxItems 30
2192
+ */
2193
+ options?: Option[];
2194
+ help?: string;
2195
+ },
2196
+ {
2197
+ name: Key;
2198
+ label: Label;
2199
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2200
+ value?: Scalar;
2201
+ required?: boolean;
2202
+ /**
2203
+ * @maxItems 30
2204
+ */
2205
+ options?: Option[];
2206
+ help?: string;
2207
+ },
2208
+ {
2209
+ name: Key;
2210
+ label: Label;
2211
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2212
+ value?: Scalar;
2213
+ required?: boolean;
2214
+ /**
2215
+ * @maxItems 30
2216
+ */
2217
+ options?: Option[];
2218
+ help?: string;
2219
+ },
2220
+ {
2221
+ name: Key;
2222
+ label: Label;
2223
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2224
+ value?: Scalar;
2225
+ required?: boolean;
2226
+ /**
2227
+ * @maxItems 30
2228
+ */
2229
+ options?: Option[];
2230
+ help?: string;
2231
+ },
2232
+ {
2233
+ name: Key;
2234
+ label: Label;
2235
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2236
+ value?: Scalar;
2237
+ required?: boolean;
2238
+ /**
2239
+ * @maxItems 30
2240
+ */
2241
+ options?: Option[];
2242
+ help?: string;
2243
+ }
2244
+ ] | [
2245
+ {
2246
+ name: Key;
2247
+ label: Label;
2248
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2249
+ value?: Scalar;
2250
+ required?: boolean;
2251
+ /**
2252
+ * @maxItems 30
2253
+ */
2254
+ options?: Option[];
2255
+ help?: string;
2256
+ },
2257
+ {
2258
+ name: Key;
2259
+ label: Label;
2260
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2261
+ value?: Scalar;
2262
+ required?: boolean;
2263
+ /**
2264
+ * @maxItems 30
2265
+ */
2266
+ options?: Option[];
2267
+ help?: string;
2268
+ },
2269
+ {
2270
+ name: Key;
2271
+ label: Label;
2272
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2273
+ value?: Scalar;
2274
+ required?: boolean;
2275
+ /**
2276
+ * @maxItems 30
2277
+ */
2278
+ options?: Option[];
2279
+ help?: string;
2280
+ },
2281
+ {
2282
+ name: Key;
2283
+ label: Label;
2284
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2285
+ value?: Scalar;
2286
+ required?: boolean;
2287
+ /**
2288
+ * @maxItems 30
2289
+ */
2290
+ options?: Option[];
2291
+ help?: string;
2292
+ },
2293
+ {
2294
+ name: Key;
2295
+ label: Label;
2296
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2297
+ value?: Scalar;
2298
+ required?: boolean;
2299
+ /**
2300
+ * @maxItems 30
2301
+ */
2302
+ options?: Option[];
2303
+ help?: string;
2304
+ },
2305
+ {
2306
+ name: Key;
2307
+ label: Label;
2308
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2309
+ value?: Scalar;
2310
+ required?: boolean;
2311
+ /**
2312
+ * @maxItems 30
2313
+ */
2314
+ options?: Option[];
2315
+ help?: string;
2316
+ },
2317
+ {
2318
+ name: Key;
2319
+ label: Label;
2320
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2321
+ value?: Scalar;
2322
+ required?: boolean;
2323
+ /**
2324
+ * @maxItems 30
2325
+ */
2326
+ options?: Option[];
2327
+ help?: string;
2328
+ }
2329
+ ] | [
2330
+ {
2331
+ name: Key;
2332
+ label: Label;
2333
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2334
+ value?: Scalar;
2335
+ required?: boolean;
2336
+ /**
2337
+ * @maxItems 30
2338
+ */
2339
+ options?: Option[];
2340
+ help?: string;
2341
+ },
2342
+ {
2343
+ name: Key;
2344
+ label: Label;
2345
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2346
+ value?: Scalar;
2347
+ required?: boolean;
2348
+ /**
2349
+ * @maxItems 30
2350
+ */
2351
+ options?: Option[];
2352
+ help?: string;
2353
+ },
2354
+ {
2355
+ name: Key;
2356
+ label: Label;
2357
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2358
+ value?: Scalar;
2359
+ required?: boolean;
2360
+ /**
2361
+ * @maxItems 30
2362
+ */
2363
+ options?: Option[];
2364
+ help?: string;
2365
+ },
2366
+ {
2367
+ name: Key;
2368
+ label: Label;
2369
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2370
+ value?: Scalar;
2371
+ required?: boolean;
2372
+ /**
2373
+ * @maxItems 30
2374
+ */
2375
+ options?: Option[];
2376
+ help?: string;
2377
+ },
2378
+ {
2379
+ name: Key;
2380
+ label: Label;
2381
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2382
+ value?: Scalar;
2383
+ required?: boolean;
2384
+ /**
2385
+ * @maxItems 30
2386
+ */
2387
+ options?: Option[];
2388
+ help?: string;
2389
+ },
2390
+ {
2391
+ name: Key;
2392
+ label: Label;
2393
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2394
+ value?: Scalar;
2395
+ required?: boolean;
2396
+ /**
2397
+ * @maxItems 30
2398
+ */
2399
+ options?: Option[];
2400
+ help?: string;
2401
+ },
2402
+ {
2403
+ name: Key;
2404
+ label: Label;
2405
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2406
+ value?: Scalar;
2407
+ required?: boolean;
2408
+ /**
2409
+ * @maxItems 30
2410
+ */
2411
+ options?: Option[];
2412
+ help?: string;
2413
+ },
2414
+ {
2415
+ name: Key;
2416
+ label: Label;
2417
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2418
+ value?: Scalar;
2419
+ required?: boolean;
2420
+ /**
2421
+ * @maxItems 30
2422
+ */
2423
+ options?: Option[];
2424
+ help?: string;
2425
+ }
2426
+ ] | [
2427
+ {
2428
+ name: Key;
2429
+ label: Label;
2430
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2431
+ value?: Scalar;
2432
+ required?: boolean;
2433
+ /**
2434
+ * @maxItems 30
2435
+ */
2436
+ options?: Option[];
2437
+ help?: string;
2438
+ },
2439
+ {
2440
+ name: Key;
2441
+ label: Label;
2442
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2443
+ value?: Scalar;
2444
+ required?: boolean;
2445
+ /**
2446
+ * @maxItems 30
2447
+ */
2448
+ options?: Option[];
2449
+ help?: string;
2450
+ },
2451
+ {
2452
+ name: Key;
2453
+ label: Label;
2454
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2455
+ value?: Scalar;
2456
+ required?: boolean;
2457
+ /**
2458
+ * @maxItems 30
2459
+ */
2460
+ options?: Option[];
2461
+ help?: string;
2462
+ },
2463
+ {
2464
+ name: Key;
2465
+ label: Label;
2466
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2467
+ value?: Scalar;
2468
+ required?: boolean;
2469
+ /**
2470
+ * @maxItems 30
2471
+ */
2472
+ options?: Option[];
2473
+ help?: string;
2474
+ },
2475
+ {
2476
+ name: Key;
2477
+ label: Label;
2478
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2479
+ value?: Scalar;
2480
+ required?: boolean;
2481
+ /**
2482
+ * @maxItems 30
2483
+ */
2484
+ options?: Option[];
2485
+ help?: string;
2486
+ },
2487
+ {
2488
+ name: Key;
2489
+ label: Label;
2490
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2491
+ value?: Scalar;
2492
+ required?: boolean;
2493
+ /**
2494
+ * @maxItems 30
2495
+ */
2496
+ options?: Option[];
2497
+ help?: string;
2498
+ },
2499
+ {
2500
+ name: Key;
2501
+ label: Label;
2502
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2503
+ value?: Scalar;
2504
+ required?: boolean;
2505
+ /**
2506
+ * @maxItems 30
2507
+ */
2508
+ options?: Option[];
2509
+ help?: string;
2510
+ },
2511
+ {
2512
+ name: Key;
2513
+ label: Label;
2514
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2515
+ value?: Scalar;
2516
+ required?: boolean;
2517
+ /**
2518
+ * @maxItems 30
2519
+ */
2520
+ options?: Option[];
2521
+ help?: string;
2522
+ },
2523
+ {
2524
+ name: Key;
2525
+ label: Label;
2526
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2527
+ value?: Scalar;
2528
+ required?: boolean;
2529
+ /**
2530
+ * @maxItems 30
2531
+ */
2532
+ options?: Option[];
2533
+ help?: string;
2534
+ }
2535
+ ] | [
2536
+ {
2537
+ name: Key;
2538
+ label: Label;
2539
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2540
+ value?: Scalar;
2541
+ required?: boolean;
2542
+ /**
2543
+ * @maxItems 30
2544
+ */
2545
+ options?: Option[];
2546
+ help?: string;
2547
+ },
2548
+ {
2549
+ name: Key;
2550
+ label: Label;
2551
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2552
+ value?: Scalar;
2553
+ required?: boolean;
2554
+ /**
2555
+ * @maxItems 30
2556
+ */
2557
+ options?: Option[];
2558
+ help?: string;
2559
+ },
2560
+ {
2561
+ name: Key;
2562
+ label: Label;
2563
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2564
+ value?: Scalar;
2565
+ required?: boolean;
2566
+ /**
2567
+ * @maxItems 30
2568
+ */
2569
+ options?: Option[];
2570
+ help?: string;
2571
+ },
2572
+ {
2573
+ name: Key;
2574
+ label: Label;
2575
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2576
+ value?: Scalar;
2577
+ required?: boolean;
2578
+ /**
2579
+ * @maxItems 30
2580
+ */
2581
+ options?: Option[];
2582
+ help?: string;
2583
+ },
2584
+ {
2585
+ name: Key;
2586
+ label: Label;
2587
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2588
+ value?: Scalar;
2589
+ required?: boolean;
2590
+ /**
2591
+ * @maxItems 30
2592
+ */
2593
+ options?: Option[];
2594
+ help?: string;
2595
+ },
2596
+ {
2597
+ name: Key;
2598
+ label: Label;
2599
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2600
+ value?: Scalar;
2601
+ required?: boolean;
2602
+ /**
2603
+ * @maxItems 30
2604
+ */
2605
+ options?: Option[];
2606
+ help?: string;
2607
+ },
2608
+ {
2609
+ name: Key;
2610
+ label: Label;
2611
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2612
+ value?: Scalar;
2613
+ required?: boolean;
2614
+ /**
2615
+ * @maxItems 30
2616
+ */
2617
+ options?: Option[];
2618
+ help?: string;
2619
+ },
2620
+ {
2621
+ name: Key;
2622
+ label: Label;
2623
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2624
+ value?: Scalar;
2625
+ required?: boolean;
2626
+ /**
2627
+ * @maxItems 30
2628
+ */
2629
+ options?: Option[];
2630
+ help?: string;
2631
+ },
2632
+ {
2633
+ name: Key;
2634
+ label: Label;
2635
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2636
+ value?: Scalar;
2637
+ required?: boolean;
2638
+ /**
2639
+ * @maxItems 30
2640
+ */
2641
+ options?: Option[];
2642
+ help?: string;
2643
+ },
2644
+ {
2645
+ name: Key;
2646
+ label: Label;
2647
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2648
+ value?: Scalar;
2649
+ required?: boolean;
2650
+ /**
2651
+ * @maxItems 30
2652
+ */
2653
+ options?: Option[];
2654
+ help?: string;
2655
+ }
2656
+ ] | [
2657
+ {
2658
+ name: Key;
2659
+ label: Label;
2660
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2661
+ value?: Scalar;
2662
+ required?: boolean;
2663
+ /**
2664
+ * @maxItems 30
2665
+ */
2666
+ options?: Option[];
2667
+ help?: string;
2668
+ },
2669
+ {
2670
+ name: Key;
2671
+ label: Label;
2672
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2673
+ value?: Scalar;
2674
+ required?: boolean;
2675
+ /**
2676
+ * @maxItems 30
2677
+ */
2678
+ options?: Option[];
2679
+ help?: string;
2680
+ },
2681
+ {
2682
+ name: Key;
2683
+ label: Label;
2684
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2685
+ value?: Scalar;
2686
+ required?: boolean;
2687
+ /**
2688
+ * @maxItems 30
2689
+ */
2690
+ options?: Option[];
2691
+ help?: string;
2692
+ },
2693
+ {
2694
+ name: Key;
2695
+ label: Label;
2696
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2697
+ value?: Scalar;
2698
+ required?: boolean;
2699
+ /**
2700
+ * @maxItems 30
2701
+ */
2702
+ options?: Option[];
2703
+ help?: string;
2704
+ },
2705
+ {
2706
+ name: Key;
2707
+ label: Label;
2708
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2709
+ value?: Scalar;
2710
+ required?: boolean;
2711
+ /**
2712
+ * @maxItems 30
2713
+ */
2714
+ options?: Option[];
2715
+ help?: string;
2716
+ },
2717
+ {
2718
+ name: Key;
2719
+ label: Label;
2720
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2721
+ value?: Scalar;
2722
+ required?: boolean;
2723
+ /**
2724
+ * @maxItems 30
2725
+ */
2726
+ options?: Option[];
2727
+ help?: string;
2728
+ },
2729
+ {
2730
+ name: Key;
2731
+ label: Label;
2732
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2733
+ value?: Scalar;
2734
+ required?: boolean;
2735
+ /**
2736
+ * @maxItems 30
2737
+ */
2738
+ options?: Option[];
2739
+ help?: string;
2740
+ },
2741
+ {
2742
+ name: Key;
2743
+ label: Label;
2744
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2745
+ value?: Scalar;
2746
+ required?: boolean;
2747
+ /**
2748
+ * @maxItems 30
2749
+ */
2750
+ options?: Option[];
2751
+ help?: string;
2752
+ },
2753
+ {
2754
+ name: Key;
2755
+ label: Label;
2756
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2757
+ value?: Scalar;
2758
+ required?: boolean;
2759
+ /**
2760
+ * @maxItems 30
2761
+ */
2762
+ options?: Option[];
2763
+ help?: string;
2764
+ },
2765
+ {
2766
+ name: Key;
2767
+ label: Label;
2768
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2769
+ value?: Scalar;
2770
+ required?: boolean;
2771
+ /**
2772
+ * @maxItems 30
2773
+ */
2774
+ options?: Option[];
2775
+ help?: string;
2776
+ },
2777
+ {
2778
+ name: Key;
2779
+ label: Label;
2780
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2781
+ value?: Scalar;
2782
+ required?: boolean;
2783
+ /**
2784
+ * @maxItems 30
2785
+ */
2786
+ options?: Option[];
2787
+ help?: string;
2788
+ }
2789
+ ] | [
2790
+ {
2791
+ name: Key;
2792
+ label: Label;
2793
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2794
+ value?: Scalar;
2795
+ required?: boolean;
2796
+ /**
2797
+ * @maxItems 30
2798
+ */
2799
+ options?: Option[];
2800
+ help?: string;
2801
+ },
2802
+ {
2803
+ name: Key;
2804
+ label: Label;
2805
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2806
+ value?: Scalar;
2807
+ required?: boolean;
2808
+ /**
2809
+ * @maxItems 30
2810
+ */
2811
+ options?: Option[];
2812
+ help?: string;
2813
+ },
2814
+ {
2815
+ name: Key;
2816
+ label: Label;
2817
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2818
+ value?: Scalar;
2819
+ required?: boolean;
2820
+ /**
2821
+ * @maxItems 30
2822
+ */
2823
+ options?: Option[];
2824
+ help?: string;
2825
+ },
2826
+ {
2827
+ name: Key;
2828
+ label: Label;
2829
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2830
+ value?: Scalar;
2831
+ required?: boolean;
2832
+ /**
2833
+ * @maxItems 30
2834
+ */
2835
+ options?: Option[];
2836
+ help?: string;
2837
+ },
2838
+ {
2839
+ name: Key;
2840
+ label: Label;
2841
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2842
+ value?: Scalar;
2843
+ required?: boolean;
2844
+ /**
2845
+ * @maxItems 30
2846
+ */
2847
+ options?: Option[];
2848
+ help?: string;
2849
+ },
2850
+ {
2851
+ name: Key;
2852
+ label: Label;
2853
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2854
+ value?: Scalar;
2855
+ required?: boolean;
2856
+ /**
2857
+ * @maxItems 30
2858
+ */
2859
+ options?: Option[];
2860
+ help?: string;
2861
+ },
2862
+ {
2863
+ name: Key;
2864
+ label: Label;
2865
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2866
+ value?: Scalar;
2867
+ required?: boolean;
2868
+ /**
2869
+ * @maxItems 30
2870
+ */
2871
+ options?: Option[];
2872
+ help?: string;
2873
+ },
2874
+ {
2875
+ name: Key;
2876
+ label: Label;
2877
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2878
+ value?: Scalar;
2879
+ required?: boolean;
2880
+ /**
2881
+ * @maxItems 30
2882
+ */
2883
+ options?: Option[];
2884
+ help?: string;
2885
+ },
2886
+ {
2887
+ name: Key;
2888
+ label: Label;
2889
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2890
+ value?: Scalar;
2891
+ required?: boolean;
2892
+ /**
2893
+ * @maxItems 30
2894
+ */
2895
+ options?: Option[];
2896
+ help?: string;
2897
+ },
2898
+ {
2899
+ name: Key;
2900
+ label: Label;
2901
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2902
+ value?: Scalar;
2903
+ required?: boolean;
2904
+ /**
2905
+ * @maxItems 30
2906
+ */
2907
+ options?: Option[];
2908
+ help?: string;
2909
+ },
2910
+ {
2911
+ name: Key;
2912
+ label: Label;
2913
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2914
+ value?: Scalar;
2915
+ required?: boolean;
2916
+ /**
2917
+ * @maxItems 30
2918
+ */
2919
+ options?: Option[];
2920
+ help?: string;
2921
+ },
2922
+ {
2923
+ name: Key;
2924
+ label: Label;
2925
+ kind: 'text' | 'textarea' | 'number' | 'switch' | 'select' | 'time' | 'date';
2926
+ value?: Scalar;
2927
+ required?: boolean;
2928
+ /**
2929
+ * @maxItems 30
2930
+ */
2931
+ options?: Option[];
2932
+ help?: string;
2933
+ }
2934
+ ];
2935
+ /**
2936
+ * @minItems 1
2937
+ * @maxItems 6
2938
+ */
2939
+ actions: [
2940
+ {
2941
+ id: string;
2942
+ label: string;
2943
+ variant?: 'primary' | 'secondary' | 'ghost' | 'danger';
2944
+ params?: {
2945
+ [k: string]: Scalar;
2946
+ };
2947
+ }
2948
+ ] | [
2949
+ {
2950
+ id: string;
2951
+ label: string;
2952
+ variant?: 'primary' | 'secondary' | 'ghost' | 'danger';
2953
+ params?: {
2954
+ [k: string]: Scalar;
2955
+ };
2956
+ },
2957
+ {
2958
+ id: string;
2959
+ label: string;
2960
+ variant?: 'primary' | 'secondary' | 'ghost' | 'danger';
2961
+ params?: {
2962
+ [k: string]: Scalar;
2963
+ };
2964
+ }
2965
+ ] | [
2966
+ {
2967
+ id: string;
2968
+ label: string;
2969
+ variant?: 'primary' | 'secondary' | 'ghost' | 'danger';
2970
+ params?: {
2971
+ [k: string]: Scalar;
2972
+ };
2973
+ },
2974
+ {
2975
+ id: string;
2976
+ label: string;
2977
+ variant?: 'primary' | 'secondary' | 'ghost' | 'danger';
2978
+ params?: {
2979
+ [k: string]: Scalar;
2980
+ };
2981
+ },
2982
+ {
2983
+ id: string;
2984
+ label: string;
2985
+ variant?: 'primary' | 'secondary' | 'ghost' | 'danger';
2986
+ params?: {
2987
+ [k: string]: Scalar;
2988
+ };
2989
+ }
2990
+ ] | [
2991
+ {
2992
+ id: string;
2993
+ label: string;
2994
+ variant?: 'primary' | 'secondary' | 'ghost' | 'danger';
2995
+ params?: {
2996
+ [k: string]: Scalar;
2997
+ };
2998
+ },
2999
+ {
3000
+ id: string;
3001
+ label: string;
3002
+ variant?: 'primary' | 'secondary' | 'ghost' | 'danger';
3003
+ params?: {
3004
+ [k: string]: Scalar;
3005
+ };
3006
+ },
3007
+ {
3008
+ id: string;
3009
+ label: string;
3010
+ variant?: 'primary' | 'secondary' | 'ghost' | 'danger';
3011
+ params?: {
3012
+ [k: string]: Scalar;
3013
+ };
3014
+ },
3015
+ {
3016
+ id: string;
3017
+ label: string;
3018
+ variant?: 'primary' | 'secondary' | 'ghost' | 'danger';
3019
+ params?: {
3020
+ [k: string]: Scalar;
3021
+ };
3022
+ }
3023
+ ] | [
3024
+ {
3025
+ id: string;
3026
+ label: string;
3027
+ variant?: 'primary' | 'secondary' | 'ghost' | 'danger';
3028
+ params?: {
3029
+ [k: string]: Scalar;
3030
+ };
3031
+ },
3032
+ {
3033
+ id: string;
3034
+ label: string;
3035
+ variant?: 'primary' | 'secondary' | 'ghost' | 'danger';
3036
+ params?: {
3037
+ [k: string]: Scalar;
3038
+ };
3039
+ },
3040
+ {
3041
+ id: string;
3042
+ label: string;
3043
+ variant?: 'primary' | 'secondary' | 'ghost' | 'danger';
3044
+ params?: {
3045
+ [k: string]: Scalar;
3046
+ };
3047
+ },
3048
+ {
3049
+ id: string;
3050
+ label: string;
3051
+ variant?: 'primary' | 'secondary' | 'ghost' | 'danger';
3052
+ params?: {
3053
+ [k: string]: Scalar;
3054
+ };
3055
+ },
3056
+ {
3057
+ id: string;
3058
+ label: string;
3059
+ variant?: 'primary' | 'secondary' | 'ghost' | 'danger';
3060
+ params?: {
3061
+ [k: string]: Scalar;
3062
+ };
3063
+ }
3064
+ ] | [
3065
+ {
3066
+ id: string;
3067
+ label: string;
3068
+ variant?: 'primary' | 'secondary' | 'ghost' | 'danger';
3069
+ params?: {
3070
+ [k: string]: Scalar;
3071
+ };
3072
+ },
3073
+ {
3074
+ id: string;
3075
+ label: string;
3076
+ variant?: 'primary' | 'secondary' | 'ghost' | 'danger';
3077
+ params?: {
3078
+ [k: string]: Scalar;
3079
+ };
3080
+ },
3081
+ {
3082
+ id: string;
3083
+ label: string;
3084
+ variant?: 'primary' | 'secondary' | 'ghost' | 'danger';
3085
+ params?: {
3086
+ [k: string]: Scalar;
3087
+ };
3088
+ },
3089
+ {
3090
+ id: string;
3091
+ label: string;
3092
+ variant?: 'primary' | 'secondary' | 'ghost' | 'danger';
3093
+ params?: {
3094
+ [k: string]: Scalar;
3095
+ };
3096
+ },
3097
+ {
3098
+ id: string;
3099
+ label: string;
3100
+ variant?: 'primary' | 'secondary' | 'ghost' | 'danger';
3101
+ params?: {
3102
+ [k: string]: Scalar;
3103
+ };
3104
+ },
3105
+ {
3106
+ id: string;
3107
+ label: string;
3108
+ variant?: 'primary' | 'secondary' | 'ghost' | 'danger';
3109
+ params?: {
3110
+ [k: string]: Scalar;
3111
+ };
3112
+ }
3113
+ ];
3114
+ /**
3115
+ * @maxItems 6
3116
+ */
3117
+ badges?: [] | [Badge] | [Badge, Badge] | [Badge, Badge, Badge] | [Badge, Badge, Badge, Badge] | [Badge, Badge, Badge, Badge, Badge] | [Badge, Badge, Badge, Badge, Badge, Badge];
3118
+ tone?: Tone;
3119
+ }
3120
+ /**
3121
+ * Solo por referencia; nunca en línea.
3122
+ *
3123
+ * This interface was referenced by `GenuiV2`'s JSON-Schema
3124
+ * via the `definition` "block_settings".
3125
+ */
3126
+ export interface BlockSettings {
3127
+ type: 'settings';
3128
+ id?: Id;
3129
+ when?: Predicate;
3130
+ fallback?: string;
3131
+ addon: string;
3132
+ /**
3133
+ * @maxItems 40
3134
+ */
3135
+ keys?: Key[];
3136
+ scope: 'org' | 'branch';
3137
+ section?: string;
3138
+ }
3139
+ /**
3140
+ * This interface was referenced by `GenuiV2`'s JSON-Schema
3141
+ * via the `definition` "block_media".
3142
+ */
3143
+ export interface BlockMedia {
3144
+ type: 'media';
3145
+ id?: Id;
3146
+ when?: Predicate;
3147
+ fallback?: string;
3148
+ src: string;
3149
+ alt: string;
3150
+ width: number;
3151
+ height: number;
3152
+ caption?: Label;
3153
+ }
3154
+ /**
3155
+ * This interface was referenced by `GenuiV2`'s JSON-Schema
3156
+ * via the `definition` "block_slot".
3157
+ */
3158
+ export interface BlockSlot {
3159
+ type: 'slot';
3160
+ id?: Id;
3161
+ when?: Predicate;
3162
+ fallback?: string;
3163
+ name: string;
3164
+ record?: Value;
3165
+ }
3166
+ /**
3167
+ * This interface was referenced by `GenuiV2`'s JSON-Schema
3168
+ * via the `definition` "block_ext".
3169
+ */
3170
+ export interface BlockExt {
3171
+ type: 'ext';
3172
+ id?: Id;
3173
+ when?: Predicate;
3174
+ fallback?: string;
3175
+ ext: string;
3176
+ props?: {
3177
+ [k: string]: Scalar | (string | number | boolean)[];
3178
+ };
3179
+ }
3180
+ //# sourceMappingURL=genui-v2.d.ts.map