@wise/dynamic-flow-types 3.1.4 → 3.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/main.mjs CHANGED
@@ -16,6 +16,10 @@ var httpMethodSchema = z.union([
16
16
  var iconNamedSchema = z.object({
17
17
  name: z.string()
18
18
  });
19
+ var supportingValuesSchema = z.object({
20
+ value: z.string().optional(),
21
+ subvalue: z.string().optional()
22
+ });
19
23
  var contextSchema = z.union([
20
24
  z.literal("positive"),
21
25
  z.literal("neutral"),
@@ -26,6 +30,10 @@ var contextSchema = z.union([
26
30
  z.literal("info"),
27
31
  z.literal("primary")
28
32
  ]);
33
+ var inlineAlertSchema = z.object({
34
+ content: z.string(),
35
+ context: contextSchema.optional()
36
+ });
29
37
  var iconTextSchema = z.object({
30
38
  text: z.string()
31
39
  });
@@ -260,11 +268,14 @@ var summaryProviderSchema = z.object({
260
268
  var uploadSourceSchema = z.union([z.literal("camera"), z.literal("file")]);
261
269
  var suggestionsValueSchema = z.object({
262
270
  label: z.string(),
263
- value: jsonElementSchema.optional(),
271
+ value: jsonElementSchema,
264
272
  icon: iconSchema.optional(),
265
273
  image: imageSchema.optional(),
266
274
  tag: z.string().optional()
267
275
  });
276
+ var dismissBehaviorSchema = z.object({
277
+ type: z.literal("dismiss")
278
+ });
268
279
  var navigationStackBehaviorSchema = z.union([
269
280
  z.literal("default"),
270
281
  z.literal("remove-previous"),
@@ -301,17 +312,6 @@ var actionSchema = z.object({
301
312
  timeout: z.number().optional(),
302
313
  skipValidation: z.boolean().optional()
303
314
  });
304
- var listLayoutItemSchema = z.object({
305
- description: z.string().optional(),
306
- status: listLayoutStatusSchema.optional(),
307
- icon: iconSchema.optional(),
308
- image: imageSchema.optional(),
309
- title: z.string().optional(),
310
- subtitle: z.string().optional(),
311
- value: z.string().optional(),
312
- subvalue: z.string().optional(),
313
- tag: z.string().optional()
314
- });
315
315
  var instructionsLayoutSchema = z.object({
316
316
  type: z.literal("instructions"),
317
317
  title: z.string().optional(),
@@ -319,13 +319,6 @@ var instructionsLayoutSchema = z.object({
319
319
  control: z.string().optional(),
320
320
  margin: sizeSchema.optional()
321
321
  });
322
- var reviewLayoutFieldSchema = z.object({
323
- label: z.string(),
324
- value: z.string(),
325
- rawValue: z.string().optional(),
326
- help: helpSchema.optional(),
327
- tag: z.string().optional()
328
- });
329
322
  var searchResultSearchSchema = z.object({
330
323
  type: z.literal("search"),
331
324
  title: z.string(),
@@ -367,165 +360,139 @@ var containerBehaviorSchema = z.object({
367
360
  action: actionSchema.optional(),
368
361
  link: linkSchema.optional()
369
362
  });
370
- var behaviorSchema = z.union([
371
- actionBehaviorSchema,
372
- containerBehaviorSchema,
373
- linkBehaviorSchema
374
- ]);
375
- var alertLayoutCallToActionSchema = z.object({
376
- title: z.string(),
377
- accessibilityDescription: z.string().optional(),
378
- behavior: behaviorSchema
379
- });
380
- var listLayoutCallToActionSchema = z.object({
381
- title: z.string(),
382
- accessibilityDescription: z.string().optional(),
383
- behavior: behaviorSchema
384
- });
385
- var decisionLayoutOptionSchema = z.object({
386
- action: actionSchema.optional(),
387
- title: z.string(),
388
- description: z.string().optional(),
389
- disabled: z.boolean().optional(),
390
- icon: iconSchema.optional(),
391
- image: imageSchema.optional(),
392
- behavior: behaviorSchema.optional(),
393
- tag: z.string().optional()
394
- });
395
- var itemCallToActionSchema = z.object({
396
- title: z.string(),
397
- accessibilityDescription: z.string().optional(),
398
- behavior: behaviorSchema
399
- });
400
- var buttonLayoutSchema = z.object({
401
- type: z.literal("button"),
402
- action: actionSchema.optional(),
403
- size: sizeSchema.optional(),
404
- title: z.string().optional(),
405
- behavior: behaviorSchema.optional(),
406
- context: contextSchema.optional(),
407
- disabled: z.boolean().optional(),
408
- pinOrder: z.number().optional(),
409
- control: z.string().optional(),
410
- margin: sizeSchema.optional()
411
- });
412
363
  var searchResultSchema = z.union([searchResultActionSchema, searchResultSearchSchema]);
413
- var linkHandlerSchema = z.object({
414
- regexPattern: z.string(),
415
- behavior: behaviorSchema.optional()
416
- });
417
364
  var navigationSchema = z.object({
418
365
  backButton: navigationBackBehaviorSchema.optional(),
419
366
  back: navigationBackBehaviorSchema.optional(),
420
367
  stackBehavior: navigationStackBehaviorSchema.optional()
421
368
  });
422
- var pollingOnErrorSchema = z.object({
423
- action: actionSchema.optional(),
424
- behavior: behaviorSchema.optional()
425
- });
426
- var reviewLayoutCallToActionSchema = z.object({
427
- action: actionSchema.optional(),
428
- title: z.string(),
429
- accessibilityDescription: z.string().optional(),
430
- behavior: behaviorSchema.optional()
431
- });
432
- var alertLayoutSchema = z.object({
433
- type: z.literal("alert"),
434
- markdown: z.string(),
435
- context: contextSchema.optional(),
436
- control: z.string().optional(),
437
- margin: sizeSchema.optional(),
438
- callToAction: alertLayoutCallToActionSchema.optional()
439
- });
440
- var listLayoutSchema = z.object({
441
- type: z.literal("list"),
442
- title: z.string().optional(),
443
- callToAction: listLayoutCallToActionSchema.optional(),
444
- items: z.array(listLayoutItemSchema),
445
- control: z.string().optional(),
446
- margin: sizeSchema.optional()
447
- });
448
- var decisionLayoutSchema = z.object({
449
- type: z.literal("decision"),
450
- title: z.string().optional(),
451
- options: z.array(decisionLayoutOptionSchema),
452
- control: z.string().optional(),
453
- margin: sizeSchema.optional()
454
- });
455
- var statusListLayoutItemSchema = z.object({
456
- title: z.string(),
457
- description: z.string().optional(),
458
- icon: iconSchema,
459
- status: statusListLayoutStatusSchema.optional(),
460
- callToAction: itemCallToActionSchema.optional(),
461
- tag: z.string().optional()
462
- });
463
- var reviewLayoutSchema = z.object({
464
- type: z.literal("review"),
465
- orientation: z.string().optional(),
466
- action: actionSchema.optional(),
467
- fields: z.array(reviewLayoutFieldSchema),
468
- title: z.string().optional(),
469
- callToAction: reviewLayoutCallToActionSchema.optional(),
470
- control: z.string().optional(),
471
- margin: sizeSchema.optional()
472
- });
473
369
  var searchResponseBodySchema = z.object({
474
370
  results: z.array(searchResultSchema)
475
371
  });
476
- var pollingSchema = z.object({
477
- interval: z.number().optional(),
478
- url: z.string(),
479
- delay: z.number().optional(),
480
- timeout: z.number().optional(),
481
- maxAttempts: z.number(),
482
- onError: pollingOnErrorSchema
483
- });
484
- var blobSchemaSchema = z.object({
485
- type: z.literal("blob"),
486
- promoted: z.boolean().optional(),
487
- $id: z.string().optional(),
488
- title: z.string().optional(),
489
- description: z.string().optional(),
490
- control: z.string().optional(),
491
- hidden: z.boolean().optional(),
492
- icon: iconSchema.optional(),
493
- image: imageSchema.optional(),
494
- keywords: z.array(z.string()).optional(),
495
- summary: summaryProviderSchema.optional(),
496
- analyticsId: z.string().optional(),
497
- validationAsync: validateAsyncSchema.optional(),
498
- validationMessages: z.record(z.string()).optional(),
499
- alert: alertLayoutSchema.optional(),
500
- cameraConfig: jsonElementSchema.optional(),
501
- accepts: z.array(z.string()).optional(),
502
- maxSize: z.number().optional(),
503
- source: uploadSourceSchema.optional(),
504
- disabled: z.boolean().optional()
505
- });
506
- var constSchemaSchema = z.object({
507
- hidden: z.boolean().optional(),
508
- alert: alertLayoutSchema.optional(),
509
- control: z.string().optional(),
510
- promoted: z.boolean().optional(),
511
- $id: z.string().optional(),
512
- const: jsonElementSchema,
513
- title: z.string().optional(),
514
- description: z.string().optional(),
515
- icon: iconSchema.optional(),
516
- image: imageSchema.optional(),
517
- keywords: z.array(z.string()).optional(),
518
- summary: summaryProviderSchema.optional(),
519
- analyticsId: z.string().optional(),
520
- disabled: z.boolean().optional()
521
- });
522
- var statusListLayoutSchema = z.object({
523
- type: z.literal("status-list"),
524
- items: z.array(statusListLayoutItemSchema),
525
- title: z.string().optional(),
526
- control: z.string().optional(),
527
- margin: sizeSchema.optional()
528
- });
372
+ var additionalInfoSchema = z.lazy(
373
+ () => z.object({
374
+ text: z.string(),
375
+ behavior: behaviorSchema.optional(),
376
+ accessibilityDescription: z.string().optional()
377
+ })
378
+ );
379
+ var behaviorSchema = z.lazy(
380
+ () => z.union([
381
+ actionBehaviorSchema,
382
+ containerBehaviorSchema,
383
+ dismissBehaviorSchema,
384
+ linkBehaviorSchema,
385
+ modalBehaviorSchema
386
+ ])
387
+ );
388
+ var reviewLayoutCallToActionSchema = z.lazy(
389
+ () => z.object({
390
+ action: actionSchema.optional(),
391
+ title: z.string(),
392
+ accessibilityDescription: z.string().optional(),
393
+ behavior: behaviorSchema.optional()
394
+ })
395
+ );
396
+ var alertLayoutSchema = z.lazy(
397
+ () => z.object({
398
+ type: z.literal("alert"),
399
+ markdown: z.string(),
400
+ context: contextSchema.optional(),
401
+ control: z.string().optional(),
402
+ margin: sizeSchema.optional(),
403
+ callToAction: alertLayoutCallToActionSchema.optional()
404
+ })
405
+ );
406
+ var alertLayoutCallToActionSchema = z.lazy(
407
+ () => z.object({
408
+ title: z.string(),
409
+ accessibilityDescription: z.string().optional(),
410
+ behavior: behaviorSchema
411
+ })
412
+ );
413
+ var listLayoutSchema = z.lazy(
414
+ () => z.object({
415
+ type: z.literal("list"),
416
+ title: z.string().optional(),
417
+ callToAction: listLayoutCallToActionSchema.optional(),
418
+ items: z.array(listLayoutItemSchema),
419
+ control: z.string().optional(),
420
+ margin: sizeSchema.optional()
421
+ })
422
+ );
423
+ var listLayoutCallToActionSchema = z.lazy(
424
+ () => z.object({
425
+ title: z.string(),
426
+ accessibilityDescription: z.string().optional(),
427
+ behavior: behaviorSchema
428
+ })
429
+ );
430
+ var listLayoutItemSchema = z.lazy(
431
+ () => z.object({
432
+ status: listLayoutStatusSchema.optional(),
433
+ icon: iconSchema.optional(),
434
+ image: imageSchema.optional(),
435
+ title: z.string().optional(),
436
+ subtitle: z.string().optional(),
437
+ value: z.string().optional(),
438
+ subvalue: z.string().optional(),
439
+ tag: z.string().optional(),
440
+ additionalInfo: additionalInfoSchema.optional(),
441
+ supportingValues: supportingValuesSchema.optional(),
442
+ inlineAlert: inlineAlertSchema.optional(),
443
+ description: z.string().optional()
444
+ })
445
+ );
446
+ var decisionLayoutSchema = z.lazy(
447
+ () => z.object({
448
+ type: z.literal("decision"),
449
+ title: z.string().optional(),
450
+ options: z.array(decisionLayoutOptionSchema),
451
+ control: z.string().optional(),
452
+ margin: sizeSchema.optional()
453
+ })
454
+ );
455
+ var decisionLayoutOptionSchema = z.lazy(
456
+ () => z.object({
457
+ action: actionSchema.optional(),
458
+ title: z.string(),
459
+ description: z.string().optional(),
460
+ disabled: z.boolean().optional(),
461
+ icon: iconSchema.optional(),
462
+ image: imageSchema.optional(),
463
+ behavior: behaviorSchema.optional(),
464
+ tag: z.string().optional(),
465
+ additionalText: z.string().optional(),
466
+ supportingValues: supportingValuesSchema.optional(),
467
+ inlineAlert: inlineAlertSchema.optional()
468
+ })
469
+ );
470
+ var statusListLayoutSchema = z.lazy(
471
+ () => z.object({
472
+ type: z.literal("status-list"),
473
+ items: z.array(statusListLayoutItemSchema),
474
+ title: z.string().optional(),
475
+ control: z.string().optional(),
476
+ margin: sizeSchema.optional()
477
+ })
478
+ );
479
+ var statusListLayoutItemSchema = z.lazy(
480
+ () => z.object({
481
+ title: z.string(),
482
+ description: z.string().optional(),
483
+ icon: iconSchema,
484
+ status: statusListLayoutStatusSchema.optional(),
485
+ callToAction: itemCallToActionSchema.optional(),
486
+ tag: z.string().optional()
487
+ })
488
+ );
489
+ var itemCallToActionSchema = z.lazy(
490
+ () => z.object({
491
+ title: z.string(),
492
+ accessibilityDescription: z.string().optional(),
493
+ behavior: behaviorSchema
494
+ })
495
+ );
529
496
  var layoutSchema = z.lazy(
530
497
  () => z.union([
531
498
  alertLayoutSchema,
@@ -559,6 +526,20 @@ var boxLayoutSchema = z.lazy(
559
526
  margin: sizeSchema.optional()
560
527
  })
561
528
  );
529
+ var buttonLayoutSchema = z.lazy(
530
+ () => z.object({
531
+ type: z.literal("button"),
532
+ action: actionSchema.optional(),
533
+ size: sizeSchema.optional(),
534
+ title: z.string().optional(),
535
+ behavior: behaviorSchema.optional(),
536
+ context: contextSchema.optional(),
537
+ disabled: z.boolean().optional(),
538
+ pinOrder: z.number().optional(),
539
+ control: z.string().optional(),
540
+ margin: sizeSchema.optional()
541
+ })
542
+ );
562
543
  var columnsLayoutSchema = z.lazy(
563
544
  () => z.object({
564
545
  type: z.literal("columns"),
@@ -578,12 +559,44 @@ var modalLayoutSchema = z.lazy(
578
559
  content: modalLayoutContentSchema
579
560
  })
580
561
  );
562
+ var reviewLayoutSchema = z.lazy(
563
+ () => z.object({
564
+ type: z.literal("review"),
565
+ orientation: z.string().optional(),
566
+ action: actionSchema.optional(),
567
+ fields: z.array(reviewLayoutFieldSchema),
568
+ title: z.string().optional(),
569
+ callToAction: reviewLayoutCallToActionSchema.optional(),
570
+ control: z.string().optional(),
571
+ margin: sizeSchema.optional()
572
+ })
573
+ );
574
+ var reviewLayoutFieldSchema = z.lazy(
575
+ () => z.object({
576
+ label: z.string(),
577
+ value: z.string(),
578
+ rawValue: z.string().optional(),
579
+ help: helpSchema.optional(),
580
+ tag: z.string().optional(),
581
+ icon: iconSchema.optional(),
582
+ image: imageSchema.optional(),
583
+ additionalInfo: additionalInfoSchema.optional(),
584
+ inlineAlert: inlineAlertSchema.optional(),
585
+ callToAction: reviewLayoutCallToActionSchema.optional()
586
+ })
587
+ );
581
588
  var modalLayoutContentSchema = z.lazy(
582
589
  () => z.object({
583
590
  title: z.string().optional(),
584
591
  components: z.array(layoutSchema)
585
592
  })
586
593
  );
594
+ var modalResponseBodySchema = z.lazy(
595
+ () => z.object({
596
+ title: z.string().optional(),
597
+ content: z.array(layoutSchema)
598
+ })
599
+ );
587
600
  var stepSchema = z.lazy(
588
601
  () => z.object({
589
602
  key: z.string().optional(),
@@ -621,6 +634,22 @@ var schemaSchema = z.lazy(
621
634
  stringSchemaSchema
622
635
  ])
623
636
  );
637
+ var pollingSchema = z.lazy(
638
+ () => z.object({
639
+ interval: z.number().optional(),
640
+ url: z.string(),
641
+ delay: z.number().optional(),
642
+ timeout: z.number().optional(),
643
+ maxAttempts: z.number(),
644
+ onError: pollingOnErrorSchema
645
+ })
646
+ );
647
+ var linkHandlerSchema = z.lazy(
648
+ () => z.object({
649
+ regexPattern: z.string(),
650
+ behavior: behaviorSchema.optional()
651
+ })
652
+ );
624
653
  var allOfSchemaSchema = z.lazy(
625
654
  () => z.object({
626
655
  disabled: z.boolean().optional(),
@@ -642,6 +671,30 @@ var allOfSchemaSchema = z.lazy(
642
671
  var arraySchemaSchema = z.lazy(
643
672
  () => z.union([arraySchemaListSchema, arraySchemaTupleSchema])
644
673
  );
674
+ var blobSchemaSchema = z.lazy(
675
+ () => z.object({
676
+ type: z.literal("blob"),
677
+ promoted: z.boolean().optional(),
678
+ $id: z.string().optional(),
679
+ title: z.string().optional(),
680
+ description: z.string().optional(),
681
+ control: z.string().optional(),
682
+ hidden: z.boolean().optional(),
683
+ icon: iconSchema.optional(),
684
+ image: imageSchema.optional(),
685
+ keywords: z.array(z.string()).optional(),
686
+ summary: summaryProviderSchema.optional(),
687
+ analyticsId: z.string().optional(),
688
+ validationAsync: validateAsyncSchema.optional(),
689
+ validationMessages: z.record(z.string()).optional(),
690
+ alert: alertLayoutSchema.optional(),
691
+ cameraConfig: jsonElementSchema.optional(),
692
+ accepts: z.array(z.string()).optional(),
693
+ maxSize: z.number().optional(),
694
+ source: uploadSourceSchema.optional(),
695
+ disabled: z.boolean().optional()
696
+ })
697
+ );
645
698
  var booleanSchemaSchema = z.lazy(
646
699
  () => z.object({
647
700
  type: z.literal("boolean"),
@@ -670,6 +723,24 @@ var booleanSchemaSchema = z.lazy(
670
723
  help: helpSchema.optional()
671
724
  })
672
725
  );
726
+ var constSchemaSchema = z.lazy(
727
+ () => z.object({
728
+ hidden: z.boolean().optional(),
729
+ alert: alertLayoutSchema.optional(),
730
+ control: z.string().optional(),
731
+ promoted: z.boolean().optional(),
732
+ $id: z.string().optional(),
733
+ const: jsonElementSchema,
734
+ title: z.string().optional(),
735
+ description: z.string().optional(),
736
+ icon: iconSchema.optional(),
737
+ image: imageSchema.optional(),
738
+ keywords: z.array(z.string()).optional(),
739
+ summary: summaryProviderSchema.optional(),
740
+ analyticsId: z.string().optional(),
741
+ disabled: z.boolean().optional()
742
+ })
743
+ );
673
744
  var integerSchemaSchema = z.lazy(
674
745
  () => z.object({
675
746
  type: z.literal("integer"),
@@ -889,6 +960,19 @@ var arraySchemaTupleSchema = z.lazy(
889
960
  alert: alertLayoutSchema.optional()
890
961
  })
891
962
  );
963
+ var pollingOnErrorSchema = z.lazy(
964
+ () => z.object({
965
+ action: actionSchema.optional(),
966
+ behavior: behaviorSchema.optional()
967
+ })
968
+ );
969
+ var modalBehaviorSchema = z.lazy(
970
+ () => z.object({
971
+ type: z.literal("modal"),
972
+ title: z.string().optional(),
973
+ content: z.array(layoutSchema)
974
+ })
975
+ );
892
976
 
893
977
  // src/zod/validators.ts
894
978
  var validateStep = (step) => validate(step, stepSchema);
@@ -1,7 +1,9 @@
1
1
  import type { ActionBehavior } from './ActionBehavior';
2
2
  import type { ContainerBehavior } from './ContainerBehavior';
3
+ import type { DismissBehavior } from './DismissBehavior';
3
4
  import type { LinkBehavior } from './LinkBehavior';
5
+ import type { ModalBehavior } from './ModalBehavior';
4
6
  /**
5
7
  * Describes the result of performing some interaction.
6
8
  */
7
- export type Behavior = ActionBehavior | ContainerBehavior | LinkBehavior;
9
+ export type Behavior = ActionBehavior | ContainerBehavior | DismissBehavior | LinkBehavior | ModalBehavior;
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Dismisses the top-most modal content when the behavior is triggered.
3
+ */
4
+ export type DismissBehavior = {
5
+ /**
6
+ * It must be `dismiss`.
7
+ */
8
+ type: 'dismiss';
9
+ };
@@ -0,0 +1,20 @@
1
+ import type { Layout } from '../layout/Layout';
2
+ /**
3
+ * Opens a modal when the behavior is triggered.
4
+ */
5
+ export type ModalBehavior = {
6
+ /**
7
+ * It must be `modal`.
8
+ */
9
+ type: 'modal';
10
+ /**
11
+ * The user-facing title of the modal.
12
+ */
13
+ title?: string;
14
+ /**
15
+ * The content which should be displayed within the modal.
16
+ * Please note that we discourage the use of form components within modals as
17
+ * this can lead to an undesirable user experience with validation.
18
+ */
19
+ content: Layout[];
20
+ };
@@ -12,7 +12,7 @@ export type SuggestionsValue = {
12
12
  /**
13
13
  * The value which should be filled when the suggestion is selected
14
14
  */
15
- value?: JsonElement;
15
+ value: JsonElement;
16
16
  /**
17
17
  * An icon which the client can use to represent this suggestion.
18
18
  */
@@ -1,20 +1,26 @@
1
- import type { FormLayout as GeneratedFormLayout } from './layout/FormLayout';
2
1
  import type { JsonElement } from './JsonElement';
2
+ import type { FormLayout as GeneratedFormLayout } from './layout/FormLayout';
3
3
  export type { Action } from './feature/Action';
4
4
  export type { Navigation } from './feature/Navigation';
5
5
  export type { PersistAsync } from './feature/PersistAsync';
6
6
  export type { Polling } from './feature/Polling';
7
7
  export type { PollingOnError } from './feature/PollingOnError';
8
8
  export type { ValidateAsync } from './feature/ValidateAsync';
9
+ export type { ActionBehavior } from './feature/ActionBehavior';
9
10
  export type { Behavior } from './feature/Behavior';
11
+ export type { DismissBehavior } from './feature/DismissBehavior';
12
+ export type { LinkBehavior } from './feature/LinkBehavior';
13
+ export type { ModalBehavior } from './feature/ModalBehavior';
14
+ export type { LinkHandler } from './feature/LinkHandler';
15
+ export type { AdditionalInfo } from './misc/AdditionalInfo';
10
16
  export type { Align } from './misc/Align';
11
17
  export type { AutocapitalizationType } from './misc/AutocapitalizationType';
12
18
  export type { Context } from './misc/Context';
13
- export type { Size } from './misc/Size';
14
- export type { Size as Margin } from './misc/Size';
15
19
  export type { Icon } from './misc/Icon';
16
20
  export type { Image } from './misc/Image';
17
- export type { Layout } from './layout/Layout';
21
+ export type { InlineAlert } from './misc/InlineAlert';
22
+ export type { Size as Margin, Size } from './misc/Size';
23
+ export type { SupportingValues } from './misc/SupportingValues';
18
24
  export type { AlertLayout } from './layout/AlertLayout';
19
25
  export type { AlertLayoutCallToAction } from './layout/AlertLayoutCallToAction';
20
26
  export type { BoxLayout } from './layout/BoxLayout';
@@ -23,14 +29,13 @@ export type { ColumnsLayout } from './layout/ColumnsLayout';
23
29
  export type { DecisionLayout } from './layout/DecisionLayout';
24
30
  export type { DecisionLayoutOption } from './layout/DecisionLayoutOption';
25
31
  export type { DividerLayout } from './layout/DividerLayout';
26
- export type FormLayout = GeneratedFormLayout & {
27
- schema?: Reference;
28
- };
29
32
  export type { HeadingLayout } from './layout/HeadingLayout';
30
33
  export type { ImageLayout } from './layout/ImageLayout';
34
+ export type { InfoLayout } from './layout/InfoLayout';
31
35
  export type { InstructionsLayout } from './layout/InstructionsLayout';
32
36
  export type { InstructionsLayoutItem } from './layout/InstructionsLayoutItem';
33
- export type { InfoLayout } from './layout/InfoLayout';
37
+ export type { ItemCallToAction } from './layout/ItemCallToAction';
38
+ export type { Layout } from './layout/Layout';
34
39
  export type { ListLayout } from './layout/ListLayout';
35
40
  export type { ListLayoutCallToAction } from './layout/ListLayoutCallToAction';
36
41
  export type { ListLayoutItem } from './layout/ListLayoutItem';
@@ -48,27 +53,30 @@ export type { SearchLayout } from './layout/SearchLayout';
48
53
  export type { StatusListLayout } from './layout/StatusListLayout';
49
54
  export type { StatusListLayoutItem } from './layout/StatusListLayoutItem';
50
55
  export type { StatusListLayoutStatus } from './layout/StatusListLayoutStatus';
51
- export type { ItemCallToAction } from './layout/ItemCallToAction';
52
- export type { SearchResult } from './responses/search/SearchResult';
56
+ export type FormLayout = GeneratedFormLayout & {
57
+ schema?: Reference;
58
+ };
53
59
  export type { SearchResponseBody } from './responses/search/SearchResponseBody';
54
- export type { Schema } from './schema/Schema';
55
- export type { BooleanSchema } from './schema/BooleanSchema';
60
+ export type { SearchResult } from './responses/search/SearchResult';
61
+ export type { AllOfSchema } from './schema/AllOfSchema';
56
62
  export type { BlobSchema } from './schema/BlobSchema';
63
+ export type { BooleanSchema } from './schema/BooleanSchema';
57
64
  export type { ConstSchema } from './schema/ConstSchema';
65
+ export type { IntegerSchema } from './schema/IntegerSchema';
66
+ export type { NumberSchema } from './schema/NumberSchema';
58
67
  export type { ObjectSchema } from './schema/ObjectSchema';
59
- export type { AllOfSchema } from './schema/AllOfSchema';
60
68
  export type { OneOfSchema } from './schema/OneOfSchema';
69
+ export type { Schema } from './schema/Schema';
61
70
  export type { StringSchema } from './schema/StringSchema';
62
- export type { NumberSchema } from './schema/NumberSchema';
63
- export type { IntegerSchema } from './schema/IntegerSchema';
64
71
  export type { ArraySchema } from './schema/ArraySchema';
65
72
  export type { ArraySchemaList } from './schema/ArraySchemaList';
66
73
  export type { ArraySchemaTuple } from './schema/ArraySchemaTuple';
67
74
  export type { StringSchemaFormat } from './schema/StringSchemaFormat';
68
75
  export type { ActionResponseBody } from './responses/action/ActionResponseBody';
69
76
  export type { ErrorResponseBody } from './responses/error/ErrorResponseBody';
77
+ export type { ModalResponseBody } from './responses/modal/ModalResponseBody';
70
78
  export type { Step } from './step/Step';
71
- export type { JsonElement, JsonPrimitive, JsonArray, JsonObject } from './JsonElement';
79
+ export type { JsonArray, JsonElement, JsonObject, JsonPrimitive } from './JsonElement';
72
80
  export type Model = JsonElement;
73
81
  export type ValidationError = JsonElement;
74
82
  export type Reference = {