flowdular 0.4.1 → 0.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/distribution.js +350 -96
- package/dist/index.js +3362 -2834
- package/package.json +2 -2
package/dist/distribution.js
CHANGED
|
@@ -435,8 +435,12 @@ var module_spec_schema_default = {
|
|
|
435
435
|
"locales"
|
|
436
436
|
],
|
|
437
437
|
properties: {
|
|
438
|
-
$schema: {
|
|
439
|
-
|
|
438
|
+
$schema: {
|
|
439
|
+
type: "string"
|
|
440
|
+
},
|
|
441
|
+
schemaVersion: {
|
|
442
|
+
enum: [1, 2]
|
|
443
|
+
},
|
|
440
444
|
id: {
|
|
441
445
|
type: "string",
|
|
442
446
|
pattern: "^[a-z][a-z0-9-]*(\\.[a-z][a-z0-9-]*)+$"
|
|
@@ -448,9 +452,17 @@ var module_spec_schema_default = {
|
|
|
448
452
|
status: {
|
|
449
453
|
enum: ["draft", "in-review", "approved", "implemented", "deprecated"]
|
|
450
454
|
},
|
|
451
|
-
name: {
|
|
452
|
-
|
|
453
|
-
|
|
455
|
+
name: {
|
|
456
|
+
type: "string",
|
|
457
|
+
minLength: 1
|
|
458
|
+
},
|
|
459
|
+
description: {
|
|
460
|
+
type: "string",
|
|
461
|
+
minLength: 1
|
|
462
|
+
},
|
|
463
|
+
profile: {
|
|
464
|
+
enum: ["full", "headless", "ui", "integration"]
|
|
465
|
+
},
|
|
454
466
|
capabilities: {
|
|
455
467
|
type: "array",
|
|
456
468
|
items: {
|
|
@@ -472,8 +484,12 @@ var module_spec_schema_default = {
|
|
|
472
484
|
additionalProperties: false,
|
|
473
485
|
required: ["id", "range"],
|
|
474
486
|
properties: {
|
|
475
|
-
id: {
|
|
476
|
-
|
|
487
|
+
id: {
|
|
488
|
+
type: "string"
|
|
489
|
+
},
|
|
490
|
+
range: {
|
|
491
|
+
type: "string"
|
|
492
|
+
}
|
|
477
493
|
}
|
|
478
494
|
}
|
|
479
495
|
},
|
|
@@ -496,20 +512,29 @@ var module_spec_schema_default = {
|
|
|
496
512
|
type: "string",
|
|
497
513
|
pattern: "^[a-z][a-z0-9-]*(\\.[a-z][a-z0-9-]*)+$"
|
|
498
514
|
},
|
|
499
|
-
optional: {
|
|
515
|
+
optional: {
|
|
516
|
+
type: "boolean"
|
|
517
|
+
}
|
|
500
518
|
}
|
|
501
519
|
}
|
|
502
520
|
},
|
|
503
|
-
tenancy: {
|
|
521
|
+
tenancy: {
|
|
522
|
+
enum: ["required", "optional", "none"]
|
|
523
|
+
},
|
|
504
524
|
locales: {
|
|
505
525
|
type: "array",
|
|
506
526
|
minItems: 1,
|
|
507
|
-
items: {
|
|
527
|
+
items: {
|
|
528
|
+
type: "string"
|
|
529
|
+
},
|
|
508
530
|
uniqueItems: true
|
|
509
531
|
},
|
|
510
532
|
invariants: {
|
|
511
533
|
type: "array",
|
|
512
|
-
items: {
|
|
534
|
+
items: {
|
|
535
|
+
type: "string",
|
|
536
|
+
minLength: 1
|
|
537
|
+
},
|
|
513
538
|
uniqueItems: true
|
|
514
539
|
},
|
|
515
540
|
permissions: {
|
|
@@ -523,14 +548,20 @@ var module_spec_schema_default = {
|
|
|
523
548
|
type: "string",
|
|
524
549
|
pattern: "^[a-z][a-z0-9-]*(\\.[a-z][a-z0-9-]*)+$"
|
|
525
550
|
},
|
|
526
|
-
description: {
|
|
551
|
+
description: {
|
|
552
|
+
type: "string",
|
|
553
|
+
minLength: 1
|
|
554
|
+
}
|
|
527
555
|
}
|
|
528
556
|
},
|
|
529
557
|
uniqueItems: true
|
|
530
558
|
},
|
|
531
559
|
dataOwnership: {
|
|
532
560
|
type: "array",
|
|
533
|
-
items: {
|
|
561
|
+
items: {
|
|
562
|
+
type: "string",
|
|
563
|
+
minLength: 1
|
|
564
|
+
},
|
|
534
565
|
uniqueItems: true
|
|
535
566
|
},
|
|
536
567
|
acceptanceScenarios: {
|
|
@@ -540,63 +571,98 @@ var module_spec_schema_default = {
|
|
|
540
571
|
additionalProperties: false,
|
|
541
572
|
required: ["id", "given", "when", "then"],
|
|
542
573
|
properties: {
|
|
543
|
-
id: {
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
574
|
+
id: {
|
|
575
|
+
type: "string",
|
|
576
|
+
pattern: "^[A-Z][A-Z0-9-]+$"
|
|
577
|
+
},
|
|
578
|
+
given: {
|
|
579
|
+
type: "string",
|
|
580
|
+
minLength: 1
|
|
581
|
+
},
|
|
582
|
+
when: {
|
|
583
|
+
type: "string",
|
|
584
|
+
minLength: 1
|
|
585
|
+
},
|
|
586
|
+
then: {
|
|
587
|
+
type: "string",
|
|
588
|
+
minLength: 1
|
|
589
|
+
}
|
|
547
590
|
}
|
|
548
591
|
},
|
|
549
592
|
uniqueItems: true
|
|
550
593
|
},
|
|
551
594
|
entities: {
|
|
552
595
|
type: "array",
|
|
553
|
-
items: {
|
|
596
|
+
items: {
|
|
597
|
+
$ref: "#/$defs/entity"
|
|
598
|
+
},
|
|
554
599
|
uniqueItems: true
|
|
555
600
|
},
|
|
556
601
|
screens: {
|
|
557
602
|
type: "array",
|
|
558
|
-
items: {
|
|
603
|
+
items: {
|
|
604
|
+
$ref: "#/$defs/screen"
|
|
605
|
+
},
|
|
559
606
|
uniqueItems: true
|
|
560
607
|
},
|
|
561
608
|
actions: {
|
|
562
609
|
type: "array",
|
|
563
|
-
items: {
|
|
610
|
+
items: {
|
|
611
|
+
$ref: "#/$defs/action"
|
|
612
|
+
},
|
|
564
613
|
uniqueItems: true
|
|
565
614
|
},
|
|
566
615
|
widgets: {
|
|
567
616
|
type: "array",
|
|
568
|
-
items: {
|
|
617
|
+
items: {
|
|
618
|
+
$ref: "#/$defs/widget"
|
|
619
|
+
},
|
|
569
620
|
uniqueItems: true
|
|
570
621
|
},
|
|
571
622
|
settings: {
|
|
572
623
|
type: "array",
|
|
573
|
-
items: {
|
|
624
|
+
items: {
|
|
625
|
+
$ref: "#/$defs/setting"
|
|
626
|
+
},
|
|
574
627
|
uniqueItems: true
|
|
575
628
|
},
|
|
576
629
|
agentTools: {
|
|
577
630
|
type: "array",
|
|
578
|
-
items: {
|
|
631
|
+
items: {
|
|
632
|
+
$ref: "#/$defs/agentTool"
|
|
633
|
+
},
|
|
579
634
|
uniqueItems: true
|
|
580
635
|
},
|
|
581
636
|
outOfScope: {
|
|
582
637
|
type: "array",
|
|
583
|
-
items: {
|
|
638
|
+
items: {
|
|
639
|
+
type: "string",
|
|
640
|
+
minLength: 1
|
|
641
|
+
},
|
|
584
642
|
uniqueItems: true
|
|
585
643
|
},
|
|
586
644
|
decisions: {
|
|
587
645
|
type: "array",
|
|
588
|
-
items: {
|
|
646
|
+
items: {
|
|
647
|
+
$ref: "#/$defs/decision"
|
|
648
|
+
},
|
|
589
649
|
uniqueItems: true
|
|
590
650
|
},
|
|
591
|
-
research: {
|
|
651
|
+
research: {
|
|
652
|
+
$ref: "#/$defs/research"
|
|
653
|
+
},
|
|
592
654
|
adapters: {
|
|
593
655
|
type: "array",
|
|
594
|
-
items: {
|
|
656
|
+
items: {
|
|
657
|
+
$ref: "#/$defs/adapter"
|
|
658
|
+
},
|
|
595
659
|
uniqueItems: true
|
|
596
660
|
},
|
|
597
661
|
templates: {
|
|
598
662
|
type: "array",
|
|
599
|
-
items: {
|
|
663
|
+
items: {
|
|
664
|
+
$ref: "#/$defs/template"
|
|
665
|
+
},
|
|
600
666
|
uniqueItems: true
|
|
601
667
|
}
|
|
602
668
|
},
|
|
@@ -604,7 +670,11 @@ var module_spec_schema_default = {
|
|
|
604
670
|
{
|
|
605
671
|
if: {
|
|
606
672
|
required: ["schemaVersion"],
|
|
607
|
-
properties: {
|
|
673
|
+
properties: {
|
|
674
|
+
schemaVersion: {
|
|
675
|
+
const: 1
|
|
676
|
+
}
|
|
677
|
+
}
|
|
608
678
|
},
|
|
609
679
|
then: {
|
|
610
680
|
properties: {
|
|
@@ -624,21 +694,40 @@ var module_spec_schema_default = {
|
|
|
624
694
|
}
|
|
625
695
|
],
|
|
626
696
|
$defs: {
|
|
627
|
-
entityId: {
|
|
628
|
-
|
|
629
|
-
|
|
697
|
+
entityId: {
|
|
698
|
+
type: "string",
|
|
699
|
+
pattern: "^[a-z][a-z0-9-]*$"
|
|
700
|
+
},
|
|
701
|
+
fieldId: {
|
|
702
|
+
type: "string",
|
|
703
|
+
pattern: "^[a-z][a-zA-Z0-9]*$"
|
|
704
|
+
},
|
|
705
|
+
enumValue: {
|
|
706
|
+
type: "string",
|
|
707
|
+
pattern: "^[a-z][a-z0-9_-]*$"
|
|
708
|
+
},
|
|
630
709
|
entity: {
|
|
631
710
|
type: "object",
|
|
632
711
|
additionalProperties: false,
|
|
633
712
|
required: ["id", "name", "fields"],
|
|
634
713
|
properties: {
|
|
635
|
-
id: {
|
|
636
|
-
|
|
637
|
-
|
|
714
|
+
id: {
|
|
715
|
+
$ref: "#/$defs/entityId"
|
|
716
|
+
},
|
|
717
|
+
name: {
|
|
718
|
+
type: "string",
|
|
719
|
+
minLength: 1
|
|
720
|
+
},
|
|
721
|
+
description: {
|
|
722
|
+
type: "string",
|
|
723
|
+
minLength: 1
|
|
724
|
+
},
|
|
638
725
|
fields: {
|
|
639
726
|
type: "array",
|
|
640
727
|
minItems: 1,
|
|
641
|
-
items: {
|
|
728
|
+
items: {
|
|
729
|
+
$ref: "#/$defs/field"
|
|
730
|
+
},
|
|
642
731
|
uniqueItems: true
|
|
643
732
|
},
|
|
644
733
|
states: {
|
|
@@ -646,11 +735,15 @@ var module_spec_schema_default = {
|
|
|
646
735
|
additionalProperties: false,
|
|
647
736
|
required: ["field", "values"],
|
|
648
737
|
properties: {
|
|
649
|
-
field: {
|
|
738
|
+
field: {
|
|
739
|
+
$ref: "#/$defs/fieldId"
|
|
740
|
+
},
|
|
650
741
|
values: {
|
|
651
742
|
type: "array",
|
|
652
743
|
minItems: 1,
|
|
653
|
-
items: {
|
|
744
|
+
items: {
|
|
745
|
+
$ref: "#/$defs/enumValue"
|
|
746
|
+
},
|
|
654
747
|
uniqueItems: true
|
|
655
748
|
},
|
|
656
749
|
transitions: {
|
|
@@ -660,9 +753,18 @@ var module_spec_schema_default = {
|
|
|
660
753
|
additionalProperties: false,
|
|
661
754
|
required: ["from", "to"],
|
|
662
755
|
properties: {
|
|
663
|
-
from: {
|
|
664
|
-
|
|
665
|
-
|
|
756
|
+
from: {
|
|
757
|
+
type: "string",
|
|
758
|
+
minLength: 1
|
|
759
|
+
},
|
|
760
|
+
to: {
|
|
761
|
+
type: "string",
|
|
762
|
+
minLength: 1
|
|
763
|
+
},
|
|
764
|
+
permission: {
|
|
765
|
+
type: "string",
|
|
766
|
+
minLength: 1
|
|
767
|
+
}
|
|
666
768
|
}
|
|
667
769
|
},
|
|
668
770
|
uniqueItems: true
|
|
@@ -676,7 +778,9 @@ var module_spec_schema_default = {
|
|
|
676
778
|
additionalProperties: false,
|
|
677
779
|
required: ["id", "type"],
|
|
678
780
|
properties: {
|
|
679
|
-
id: {
|
|
781
|
+
id: {
|
|
782
|
+
$ref: "#/$defs/fieldId"
|
|
783
|
+
},
|
|
680
784
|
type: {
|
|
681
785
|
enum: [
|
|
682
786
|
"string",
|
|
@@ -691,20 +795,32 @@ var module_spec_schema_default = {
|
|
|
691
795
|
"json"
|
|
692
796
|
]
|
|
693
797
|
},
|
|
694
|
-
required: {
|
|
695
|
-
|
|
696
|
-
|
|
798
|
+
required: {
|
|
799
|
+
type: "boolean"
|
|
800
|
+
},
|
|
801
|
+
unique: {
|
|
802
|
+
enum: ["tenant", "none"]
|
|
803
|
+
},
|
|
804
|
+
maxLength: {
|
|
805
|
+
type: "integer",
|
|
806
|
+
minimum: 1
|
|
807
|
+
},
|
|
697
808
|
values: {
|
|
698
809
|
type: "array",
|
|
699
810
|
minItems: 1,
|
|
700
|
-
items: {
|
|
811
|
+
items: {
|
|
812
|
+
$ref: "#/$defs/enumValue"
|
|
813
|
+
},
|
|
701
814
|
uniqueItems: true
|
|
702
815
|
},
|
|
703
816
|
reference: {
|
|
704
817
|
type: "string",
|
|
705
818
|
pattern: "^[a-z][a-z0-9-]*(\\.[a-z][a-z0-9-]*)*$"
|
|
706
819
|
},
|
|
707
|
-
description: {
|
|
820
|
+
description: {
|
|
821
|
+
type: "string",
|
|
822
|
+
minLength: 1
|
|
823
|
+
}
|
|
708
824
|
}
|
|
709
825
|
},
|
|
710
826
|
screen: {
|
|
@@ -712,21 +828,37 @@ var module_spec_schema_default = {
|
|
|
712
828
|
additionalProperties: false,
|
|
713
829
|
required: ["id", "kind"],
|
|
714
830
|
properties: {
|
|
715
|
-
id: {
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
831
|
+
id: {
|
|
832
|
+
$ref: "#/$defs/entityId"
|
|
833
|
+
},
|
|
834
|
+
kind: {
|
|
835
|
+
enum: ["list", "record", "form", "dashboard"]
|
|
836
|
+
},
|
|
837
|
+
entity: {
|
|
838
|
+
$ref: "#/$defs/entityId"
|
|
839
|
+
},
|
|
840
|
+
title: {
|
|
841
|
+
type: "string",
|
|
842
|
+
minLength: 1
|
|
843
|
+
},
|
|
719
844
|
columns: {
|
|
720
845
|
type: "array",
|
|
721
|
-
items: {
|
|
846
|
+
items: {
|
|
847
|
+
$ref: "#/$defs/fieldId"
|
|
848
|
+
},
|
|
722
849
|
uniqueItems: true
|
|
723
850
|
},
|
|
724
851
|
filters: {
|
|
725
852
|
type: "array",
|
|
726
|
-
items: {
|
|
853
|
+
items: {
|
|
854
|
+
$ref: "#/$defs/fieldId"
|
|
855
|
+
},
|
|
727
856
|
uniqueItems: true
|
|
728
857
|
},
|
|
729
|
-
navigationGroup: {
|
|
858
|
+
navigationGroup: {
|
|
859
|
+
type: "string",
|
|
860
|
+
minLength: 1
|
|
861
|
+
}
|
|
730
862
|
}
|
|
731
863
|
},
|
|
732
864
|
action: {
|
|
@@ -741,18 +873,29 @@ var module_spec_schema_default = {
|
|
|
741
873
|
"description"
|
|
742
874
|
],
|
|
743
875
|
properties: {
|
|
744
|
-
id: {
|
|
745
|
-
|
|
876
|
+
id: {
|
|
877
|
+
$ref: "#/$defs/entityId"
|
|
878
|
+
},
|
|
879
|
+
entity: {
|
|
880
|
+
$ref: "#/$defs/entityId"
|
|
881
|
+
},
|
|
746
882
|
permission: {
|
|
747
883
|
type: "string",
|
|
748
884
|
pattern: "^[a-z][a-z0-9-]*(\\.[a-z][a-z0-9-]*)+$"
|
|
749
885
|
},
|
|
750
|
-
kind: {
|
|
886
|
+
kind: {
|
|
887
|
+
enum: ["create", "update", "delete", "custom"]
|
|
888
|
+
},
|
|
751
889
|
risk: {
|
|
752
890
|
enum: ["read", "workspace-write", "external", "destructive"]
|
|
753
891
|
},
|
|
754
|
-
idempotent: {
|
|
755
|
-
|
|
892
|
+
idempotent: {
|
|
893
|
+
type: "boolean"
|
|
894
|
+
},
|
|
895
|
+
description: {
|
|
896
|
+
type: "string",
|
|
897
|
+
minLength: 1
|
|
898
|
+
}
|
|
756
899
|
}
|
|
757
900
|
},
|
|
758
901
|
widget: {
|
|
@@ -760,7 +903,9 @@ var module_spec_schema_default = {
|
|
|
760
903
|
additionalProperties: false,
|
|
761
904
|
required: ["id", "slot", "description"],
|
|
762
905
|
properties: {
|
|
763
|
-
id: {
|
|
906
|
+
id: {
|
|
907
|
+
$ref: "#/$defs/entityId"
|
|
908
|
+
},
|
|
764
909
|
slot: {
|
|
765
910
|
enum: [
|
|
766
911
|
"dashboard.metrics",
|
|
@@ -769,8 +914,13 @@ var module_spec_schema_default = {
|
|
|
769
914
|
"topbar.actions"
|
|
770
915
|
]
|
|
771
916
|
},
|
|
772
|
-
entity: {
|
|
773
|
-
|
|
917
|
+
entity: {
|
|
918
|
+
$ref: "#/$defs/entityId"
|
|
919
|
+
},
|
|
920
|
+
description: {
|
|
921
|
+
type: "string",
|
|
922
|
+
minLength: 1
|
|
923
|
+
}
|
|
774
924
|
}
|
|
775
925
|
},
|
|
776
926
|
setting: {
|
|
@@ -778,23 +928,44 @@ var module_spec_schema_default = {
|
|
|
778
928
|
additionalProperties: false,
|
|
779
929
|
required: ["key", "type", "scope", "description"],
|
|
780
930
|
properties: {
|
|
781
|
-
key: {
|
|
782
|
-
|
|
783
|
-
|
|
931
|
+
key: {
|
|
932
|
+
$ref: "#/$defs/fieldId"
|
|
933
|
+
},
|
|
934
|
+
type: {
|
|
935
|
+
enum: ["string", "integer", "boolean", "enum"]
|
|
936
|
+
},
|
|
937
|
+
scope: {
|
|
938
|
+
enum: ["tenant", "platform"]
|
|
939
|
+
},
|
|
940
|
+
kind: {
|
|
941
|
+
enum: ["setting", "flag"]
|
|
942
|
+
},
|
|
784
943
|
default: {
|
|
785
944
|
oneOf: [
|
|
786
|
-
{
|
|
787
|
-
|
|
788
|
-
|
|
945
|
+
{
|
|
946
|
+
type: "string"
|
|
947
|
+
},
|
|
948
|
+
{
|
|
949
|
+
type: "integer"
|
|
950
|
+
},
|
|
951
|
+
{
|
|
952
|
+
type: "boolean"
|
|
953
|
+
}
|
|
789
954
|
]
|
|
790
955
|
},
|
|
791
956
|
values: {
|
|
792
957
|
type: "array",
|
|
793
958
|
minItems: 1,
|
|
794
|
-
items: {
|
|
959
|
+
items: {
|
|
960
|
+
type: "string",
|
|
961
|
+
minLength: 1
|
|
962
|
+
},
|
|
795
963
|
uniqueItems: true
|
|
796
964
|
},
|
|
797
|
-
description: {
|
|
965
|
+
description: {
|
|
966
|
+
type: "string",
|
|
967
|
+
minLength: 1
|
|
968
|
+
}
|
|
798
969
|
}
|
|
799
970
|
},
|
|
800
971
|
agentTool: {
|
|
@@ -810,8 +981,13 @@ var module_spec_schema_default = {
|
|
|
810
981
|
type: "string",
|
|
811
982
|
pattern: "^[a-z][a-z0-9-]*(\\.[a-z][a-z0-9-]*)+$"
|
|
812
983
|
},
|
|
813
|
-
description: {
|
|
814
|
-
|
|
984
|
+
description: {
|
|
985
|
+
type: "string",
|
|
986
|
+
minLength: 1
|
|
987
|
+
},
|
|
988
|
+
risk: {
|
|
989
|
+
enum: ["read", "workspace-write"]
|
|
990
|
+
}
|
|
815
991
|
}
|
|
816
992
|
},
|
|
817
993
|
decision: {
|
|
@@ -819,10 +995,21 @@ var module_spec_schema_default = {
|
|
|
819
995
|
additionalProperties: false,
|
|
820
996
|
required: ["id", "question", "answer", "decidedBy"],
|
|
821
997
|
properties: {
|
|
822
|
-
id: {
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
998
|
+
id: {
|
|
999
|
+
type: "string",
|
|
1000
|
+
pattern: "^[A-Z][A-Z0-9-]+$"
|
|
1001
|
+
},
|
|
1002
|
+
question: {
|
|
1003
|
+
type: "string",
|
|
1004
|
+
minLength: 1
|
|
1005
|
+
},
|
|
1006
|
+
answer: {
|
|
1007
|
+
type: "string",
|
|
1008
|
+
minLength: 1
|
|
1009
|
+
},
|
|
1010
|
+
decidedBy: {
|
|
1011
|
+
enum: ["user", "default"]
|
|
1012
|
+
}
|
|
826
1013
|
}
|
|
827
1014
|
},
|
|
828
1015
|
domain: {
|
|
@@ -846,16 +1033,25 @@ var module_spec_schema_default = {
|
|
|
846
1033
|
},
|
|
847
1034
|
allowDomains: {
|
|
848
1035
|
type: "array",
|
|
849
|
-
items: {
|
|
1036
|
+
items: {
|
|
1037
|
+
$ref: "#/$defs/domain"
|
|
1038
|
+
},
|
|
850
1039
|
uniqueItems: true
|
|
851
1040
|
},
|
|
852
1041
|
denyDomains: {
|
|
853
1042
|
type: "array",
|
|
854
|
-
items: {
|
|
1043
|
+
items: {
|
|
1044
|
+
$ref: "#/$defs/domain"
|
|
1045
|
+
},
|
|
855
1046
|
uniqueItems: true
|
|
856
1047
|
},
|
|
857
|
-
monthlyQueryBudget: {
|
|
858
|
-
|
|
1048
|
+
monthlyQueryBudget: {
|
|
1049
|
+
type: "integer",
|
|
1050
|
+
minimum: 1
|
|
1051
|
+
},
|
|
1052
|
+
evidenceOwner: {
|
|
1053
|
+
$ref: "#/$defs/entityId"
|
|
1054
|
+
}
|
|
859
1055
|
}
|
|
860
1056
|
},
|
|
861
1057
|
adapter: {
|
|
@@ -874,9 +1070,17 @@ var module_spec_schema_default = {
|
|
|
874
1070
|
type: "string",
|
|
875
1071
|
pattern: "^[a-z][a-z0-9-]*(\\.[a-z][a-z0-9-]*)+$"
|
|
876
1072
|
},
|
|
877
|
-
direction: {
|
|
878
|
-
|
|
879
|
-
|
|
1073
|
+
direction: {
|
|
1074
|
+
enum: ["source", "sink"]
|
|
1075
|
+
},
|
|
1076
|
+
connector: {
|
|
1077
|
+
type: "string",
|
|
1078
|
+
pattern: "^[a-z][a-z0-9-]{0,95}$"
|
|
1079
|
+
},
|
|
1080
|
+
operation: {
|
|
1081
|
+
type: "string",
|
|
1082
|
+
pattern: "^[a-z][a-z0-9-]{0,63}$"
|
|
1083
|
+
},
|
|
880
1084
|
port: {
|
|
881
1085
|
type: "string",
|
|
882
1086
|
maxLength: 96,
|
|
@@ -884,7 +1088,9 @@ var module_spec_schema_default = {
|
|
|
884
1088
|
},
|
|
885
1089
|
schedule: {
|
|
886
1090
|
anyOf: [
|
|
887
|
-
{
|
|
1091
|
+
{
|
|
1092
|
+
type: "null"
|
|
1093
|
+
},
|
|
888
1094
|
{
|
|
889
1095
|
type: "string",
|
|
890
1096
|
maxLength: 100,
|
|
@@ -895,7 +1101,9 @@ var module_spec_schema_default = {
|
|
|
895
1101
|
mapping: {
|
|
896
1102
|
type: "array",
|
|
897
1103
|
minItems: 1,
|
|
898
|
-
items: {
|
|
1104
|
+
items: {
|
|
1105
|
+
$ref: "#/$defs/adapterMapping"
|
|
1106
|
+
},
|
|
899
1107
|
uniqueItems: true
|
|
900
1108
|
},
|
|
901
1109
|
recorded: {
|
|
@@ -909,11 +1117,27 @@ var module_spec_schema_default = {
|
|
|
909
1117
|
additionalProperties: false,
|
|
910
1118
|
required: ["to", "transform"],
|
|
911
1119
|
properties: {
|
|
912
|
-
from: {
|
|
913
|
-
|
|
914
|
-
|
|
1120
|
+
from: {
|
|
1121
|
+
type: "string",
|
|
1122
|
+
minLength: 1
|
|
1123
|
+
},
|
|
1124
|
+
to: {
|
|
1125
|
+
type: "string",
|
|
1126
|
+
minLength: 1
|
|
1127
|
+
},
|
|
1128
|
+
transform: {
|
|
1129
|
+
enum: ["rename", "constant", "format", "lookup"]
|
|
1130
|
+
},
|
|
915
1131
|
value: {
|
|
916
|
-
anyOf: [
|
|
1132
|
+
anyOf: [
|
|
1133
|
+
{
|
|
1134
|
+
type: "null"
|
|
1135
|
+
},
|
|
1136
|
+
{
|
|
1137
|
+
type: "string",
|
|
1138
|
+
minLength: 1
|
|
1139
|
+
}
|
|
1140
|
+
]
|
|
917
1141
|
}
|
|
918
1142
|
}
|
|
919
1143
|
},
|
|
@@ -922,10 +1146,19 @@ var module_spec_schema_default = {
|
|
|
922
1146
|
additionalProperties: false,
|
|
923
1147
|
required: ["id", "title", "inputEntity", "format", "body"],
|
|
924
1148
|
properties: {
|
|
925
|
-
id: {
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
1149
|
+
id: {
|
|
1150
|
+
$ref: "#/$defs/entityId"
|
|
1151
|
+
},
|
|
1152
|
+
title: {
|
|
1153
|
+
type: "string",
|
|
1154
|
+
minLength: 1
|
|
1155
|
+
},
|
|
1156
|
+
inputEntity: {
|
|
1157
|
+
$ref: "#/$defs/entityId"
|
|
1158
|
+
},
|
|
1159
|
+
format: {
|
|
1160
|
+
enum: ["pdf", "docx"]
|
|
1161
|
+
},
|
|
929
1162
|
body: {
|
|
930
1163
|
type: "string",
|
|
931
1164
|
pattern: "^templates/[a-z][a-z0-9-]*\\.md$"
|
|
@@ -1145,7 +1378,7 @@ var project_schema_default = {
|
|
|
1145
1378
|
path: {
|
|
1146
1379
|
type: "string",
|
|
1147
1380
|
maxLength: 256,
|
|
1148
|
-
pattern: "^(/|/[a-z0-9-]+(/[a-z0-9-]+)*)$"
|
|
1381
|
+
pattern: "^(/|/[a-z0-9-]+([.][a-z0-9-]+)*(/[a-z0-9-]+([.][a-z0-9-]+)*)*)$"
|
|
1149
1382
|
},
|
|
1150
1383
|
tenantId: {
|
|
1151
1384
|
type: "string",
|
|
@@ -1428,8 +1661,29 @@ function pluralFamilyIssues(bundle, locale) {
|
|
|
1428
1661
|
return issues;
|
|
1429
1662
|
}
|
|
1430
1663
|
|
|
1664
|
+
// ../contracts/src/web.ts
|
|
1665
|
+
var RESERVED_WEB_SEGMENTS = Object.freeze([
|
|
1666
|
+
"setup",
|
|
1667
|
+
"health",
|
|
1668
|
+
"ready",
|
|
1669
|
+
"assets",
|
|
1670
|
+
"app",
|
|
1671
|
+
"api",
|
|
1672
|
+
"auth",
|
|
1673
|
+
"sign-in",
|
|
1674
|
+
"sign-up",
|
|
1675
|
+
"forgot-password",
|
|
1676
|
+
"reset-password",
|
|
1677
|
+
"accept-invitation"
|
|
1678
|
+
]);
|
|
1679
|
+
var SEGMENT = "[a-z0-9-]+(?:\\.[a-z0-9-]+)*";
|
|
1680
|
+
var WEB_MOUNT_PATH = new RegExp(`^(?:/|/${SEGMENT}(?:/${SEGMENT})*)$`);
|
|
1681
|
+
var WEB_PAGE_PATH = new RegExp(
|
|
1682
|
+
`^(?:/|(?:/(?:${SEGMENT}|:[a-z][a-zA-Z0-9]*))+)$`
|
|
1683
|
+
);
|
|
1684
|
+
|
|
1431
1685
|
// ../contracts/src/index.ts
|
|
1432
|
-
var PLATFORM_API_VERSION = "0.1.
|
|
1686
|
+
var PLATFORM_API_VERSION = "0.1.26";
|
|
1433
1687
|
|
|
1434
1688
|
// ../kernel/src/module-compatibility.ts
|
|
1435
1689
|
function satisfiesModuleVersion(version, range) {
|
|
@@ -2117,7 +2371,7 @@ import { dirname as dirname6, join as join6, relative as relative5 } from "node:
|
|
|
2117
2371
|
import { createRequire } from "node:module";
|
|
2118
2372
|
import { readFile as readFile5 } from "node:fs/promises";
|
|
2119
2373
|
import { dirname as dirname4, join as join3 } from "node:path";
|
|
2120
|
-
var SDK_VERSION = "0.4.
|
|
2374
|
+
var SDK_VERSION = "0.4.3";
|
|
2121
2375
|
function npmPackage(specifier) {
|
|
2122
2376
|
return specifier.startsWith("@") ? specifier.split("/").slice(0, 2).join("/") : specifier.split("/")[0];
|
|
2123
2377
|
}
|