@asteby/metacore-genui 2.1.0 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +40 -6
- package/dist/diagram.d.ts +34 -0
- package/dist/diagram.d.ts.map +1 -0
- package/dist/diagram.js +103 -0
- package/dist/diagram.js.map +1 -0
- package/dist/generated/genui-v2-schema.d.ts +387 -30
- package/dist/generated/genui-v2-schema.d.ts.map +1 -1
- package/dist/generated/genui-v2-schema.js +511 -32
- package/dist/generated/genui-v2-schema.js.map +1 -1
- package/dist/generated/genui-v2.d.ts +346 -2
- package/dist/generated/genui-v2.d.ts.map +1 -1
- package/dist/generative-ui.d.ts +11 -1
- package/dist/generative-ui.d.ts.map +1 -1
- package/dist/generative-ui.js +3 -3
- package/dist/generative-ui.js.map +1 -1
- package/dist/index.d.ts +7 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +8 -1
- package/dist/index.js.map +1 -1
- package/dist/map-points.d.ts +31 -0
- package/dist/map-points.d.ts.map +1 -0
- package/dist/map-points.js +60 -0
- package/dist/map-points.js.map +1 -0
- package/dist/markdown.d.ts +13 -0
- package/dist/markdown.d.ts.map +1 -0
- package/dist/markdown.js +63 -0
- package/dist/markdown.js.map +1 -0
- package/dist/metric.d.ts +12 -0
- package/dist/metric.d.ts.map +1 -0
- package/dist/metric.js +80 -0
- package/dist/metric.js.map +1 -0
- package/dist/registry.d.ts +69 -0
- package/dist/registry.d.ts.map +1 -0
- package/dist/registry.js +49 -0
- package/dist/registry.js.map +1 -0
- package/dist/render-v2.d.ts +23 -0
- package/dist/render-v2.d.ts.map +1 -0
- package/dist/render-v2.js +166 -0
- package/dist/render-v2.js.map +1 -0
- package/dist/validate-v2.d.ts.map +1 -1
- package/dist/validate-v2.js +48 -1
- package/dist/validate-v2.js.map +1 -1
- package/package.json +2 -2
- package/schema/genui-v2.schema.json +443 -32
|
@@ -80,14 +80,15 @@ export declare const GENUI_V2_SCHEMA: {
|
|
|
80
80
|
};
|
|
81
81
|
readonly id: {
|
|
82
82
|
readonly type: "string";
|
|
83
|
-
readonly pattern: "^[A-Za-z][A-Za-z0-9_-]{0,63}$";
|
|
83
|
+
readonly pattern: "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[A-Za-z][A-Za-z0-9_-]{0,63}$";
|
|
84
84
|
readonly description: "Identificador único dentro del documento.";
|
|
85
|
+
readonly "x-no-proto": true;
|
|
85
86
|
};
|
|
86
87
|
readonly key: {
|
|
87
88
|
readonly type: "string";
|
|
88
|
-
readonly pattern: "^(?!(
|
|
89
|
+
readonly pattern: "^(?=.{1,64}$)(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[A-Za-z_][A-Za-z0-9_]*(\\.[A-Za-z_][A-Za-z0-9_]*)*$";
|
|
89
90
|
readonly "x-no-proto": true;
|
|
90
|
-
readonly description: "Clave de campo, columna o entrada
|
|
91
|
+
readonly description: "Clave de campo, columna o entrada: segmentos no vacíos [A-Za-z_][A-Za-z0-9_]* separados por punto (sin \"a..b\" ni \"a.\"); ningún segmento puede ser __proto__, constructor ni prototype.";
|
|
91
92
|
};
|
|
92
93
|
readonly bindingPath: {
|
|
93
94
|
readonly type: "string";
|
|
@@ -113,7 +114,8 @@ export declare const GENUI_V2_SCHEMA: {
|
|
|
113
114
|
readonly properties: {
|
|
114
115
|
readonly $t: {
|
|
115
116
|
readonly type: "string";
|
|
116
|
-
readonly pattern: "^[A-Za-z0-9_.:-]{1,128}$";
|
|
117
|
+
readonly pattern: "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[A-Za-z0-9_.:-]{1,128}$";
|
|
118
|
+
readonly "x-no-proto": true;
|
|
117
119
|
};
|
|
118
120
|
readonly args: {
|
|
119
121
|
readonly type: "object";
|
|
@@ -175,7 +177,8 @@ export declare const GENUI_V2_SCHEMA: {
|
|
|
175
177
|
};
|
|
176
178
|
readonly name: {
|
|
177
179
|
readonly type: "string";
|
|
178
|
-
readonly pattern: "^[A-Za-z_][A-Za-z0-9_]{0,63}$";
|
|
180
|
+
readonly pattern: "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[A-Za-z_][A-Za-z0-9_]{0,63}$";
|
|
181
|
+
readonly "x-no-proto": true;
|
|
179
182
|
};
|
|
180
183
|
readonly predicate: {
|
|
181
184
|
readonly type: "object";
|
|
@@ -300,7 +303,8 @@ export declare const GENUI_V2_SCHEMA: {
|
|
|
300
303
|
readonly type: "object";
|
|
301
304
|
readonly maxProperties: 24;
|
|
302
305
|
readonly propertyNames: {
|
|
303
|
-
readonly pattern: "^[A-Za-z_][A-Za-z0-9_
|
|
306
|
+
readonly pattern: "^(?=.{1,64}$)(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[A-Za-z_][A-Za-z0-9_]*(\\.[A-Za-z_][A-Za-z0-9_]*)*$";
|
|
307
|
+
readonly "x-no-proto": true;
|
|
304
308
|
};
|
|
305
309
|
readonly additionalProperties: {
|
|
306
310
|
readonly $ref: "#/$defs/value";
|
|
@@ -421,7 +425,8 @@ export declare const GENUI_V2_SCHEMA: {
|
|
|
421
425
|
};
|
|
422
426
|
readonly icon: {
|
|
423
427
|
readonly type: "string";
|
|
424
|
-
readonly pattern: "^[a-z][a-z0-9-]{0,63}$";
|
|
428
|
+
readonly pattern: "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9-]{0,63}$";
|
|
429
|
+
readonly "x-no-proto": true;
|
|
425
430
|
};
|
|
426
431
|
readonly confirm: {
|
|
427
432
|
readonly type: "object";
|
|
@@ -466,7 +471,8 @@ export declare const GENUI_V2_SCHEMA: {
|
|
|
466
471
|
};
|
|
467
472
|
readonly icon: {
|
|
468
473
|
readonly type: "string";
|
|
469
|
-
readonly pattern: "^[a-z][a-z0-9-]{0,63}$";
|
|
474
|
+
readonly pattern: "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9-]{0,63}$";
|
|
475
|
+
readonly "x-no-proto": true;
|
|
470
476
|
};
|
|
471
477
|
readonly confirm: {
|
|
472
478
|
readonly type: "object";
|
|
@@ -492,8 +498,9 @@ export declare const GENUI_V2_SCHEMA: {
|
|
|
492
498
|
};
|
|
493
499
|
readonly action: {
|
|
494
500
|
readonly type: "string";
|
|
495
|
-
readonly pattern: "^[a-z][a-z0-9_]*(\\.[A-Za-z][A-Za-z0-9_]*){1,3}$";
|
|
501
|
+
readonly pattern: "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9_]*(\\.[A-Za-z][A-Za-z0-9_]*){1,3}$";
|
|
496
502
|
readonly description: "Acción del manifest <addon>.<Model>.<key>.";
|
|
503
|
+
readonly "x-no-proto": true;
|
|
497
504
|
};
|
|
498
505
|
readonly record: {
|
|
499
506
|
readonly $ref: "#/$defs/value";
|
|
@@ -547,7 +554,8 @@ export declare const GENUI_V2_SCHEMA: {
|
|
|
547
554
|
};
|
|
548
555
|
readonly icon: {
|
|
549
556
|
readonly type: "string";
|
|
550
|
-
readonly pattern: "^[a-z][a-z0-9-]{0,63}$";
|
|
557
|
+
readonly pattern: "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9-]{0,63}$";
|
|
558
|
+
readonly "x-no-proto": true;
|
|
551
559
|
};
|
|
552
560
|
readonly confirm: {
|
|
553
561
|
readonly type: "object";
|
|
@@ -579,7 +587,8 @@ export declare const GENUI_V2_SCHEMA: {
|
|
|
579
587
|
};
|
|
580
588
|
readonly action: {
|
|
581
589
|
readonly type: "string";
|
|
582
|
-
readonly pattern: "^[a-z][a-z0-9_]*(\\.[A-Za-z][A-Za-z0-9_]*){1,3}$";
|
|
590
|
+
readonly pattern: "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9_]*(\\.[A-Za-z][A-Za-z0-9_]*){1,3}$";
|
|
591
|
+
readonly "x-no-proto": true;
|
|
583
592
|
};
|
|
584
593
|
};
|
|
585
594
|
};
|
|
@@ -599,7 +608,8 @@ export declare const GENUI_V2_SCHEMA: {
|
|
|
599
608
|
};
|
|
600
609
|
readonly icon: {
|
|
601
610
|
readonly type: "string";
|
|
602
|
-
readonly pattern: "^[a-z][a-z0-9-]{0,63}$";
|
|
611
|
+
readonly pattern: "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9-]{0,63}$";
|
|
612
|
+
readonly "x-no-proto": true;
|
|
603
613
|
};
|
|
604
614
|
readonly confirm: {
|
|
605
615
|
readonly type: "object";
|
|
@@ -647,7 +657,8 @@ export declare const GENUI_V2_SCHEMA: {
|
|
|
647
657
|
};
|
|
648
658
|
readonly icon: {
|
|
649
659
|
readonly type: "string";
|
|
650
|
-
readonly pattern: "^[a-z][a-z0-9-]{0,63}$";
|
|
660
|
+
readonly pattern: "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9-]{0,63}$";
|
|
661
|
+
readonly "x-no-proto": true;
|
|
651
662
|
};
|
|
652
663
|
readonly confirm: {
|
|
653
664
|
readonly type: "object";
|
|
@@ -698,7 +709,8 @@ export declare const GENUI_V2_SCHEMA: {
|
|
|
698
709
|
};
|
|
699
710
|
readonly icon: {
|
|
700
711
|
readonly type: "string";
|
|
701
|
-
readonly pattern: "^[a-z][a-z0-9-]{0,63}$";
|
|
712
|
+
readonly pattern: "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9-]{0,63}$";
|
|
713
|
+
readonly "x-no-proto": true;
|
|
702
714
|
};
|
|
703
715
|
readonly confirm: {
|
|
704
716
|
readonly type: "object";
|
|
@@ -752,7 +764,8 @@ export declare const GENUI_V2_SCHEMA: {
|
|
|
752
764
|
};
|
|
753
765
|
readonly icon: {
|
|
754
766
|
readonly type: "string";
|
|
755
|
-
readonly pattern: "^[a-z][a-z0-9-]{0,63}$";
|
|
767
|
+
readonly pattern: "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9-]{0,63}$";
|
|
768
|
+
readonly "x-no-proto": true;
|
|
756
769
|
};
|
|
757
770
|
readonly confirm: {
|
|
758
771
|
readonly type: "object";
|
|
@@ -797,7 +810,8 @@ export declare const GENUI_V2_SCHEMA: {
|
|
|
797
810
|
};
|
|
798
811
|
readonly icon: {
|
|
799
812
|
readonly type: "string";
|
|
800
|
-
readonly pattern: "^[a-z][a-z0-9-]{0,63}$";
|
|
813
|
+
readonly pattern: "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9-]{0,63}$";
|
|
814
|
+
readonly "x-no-proto": true;
|
|
801
815
|
};
|
|
802
816
|
readonly confirm: {
|
|
803
817
|
readonly type: "object";
|
|
@@ -842,7 +856,8 @@ export declare const GENUI_V2_SCHEMA: {
|
|
|
842
856
|
};
|
|
843
857
|
readonly icon: {
|
|
844
858
|
readonly type: "string";
|
|
845
|
-
readonly pattern: "^[a-z][a-z0-9-]{0,63}$";
|
|
859
|
+
readonly pattern: "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9-]{0,63}$";
|
|
860
|
+
readonly "x-no-proto": true;
|
|
846
861
|
};
|
|
847
862
|
readonly confirm: {
|
|
848
863
|
readonly type: "object";
|
|
@@ -892,7 +907,8 @@ export declare const GENUI_V2_SCHEMA: {
|
|
|
892
907
|
};
|
|
893
908
|
readonly icon: {
|
|
894
909
|
readonly type: "string";
|
|
895
|
-
readonly pattern: "^[a-z][a-z0-9-]{0,63}$";
|
|
910
|
+
readonly pattern: "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9-]{0,63}$";
|
|
911
|
+
readonly "x-no-proto": true;
|
|
896
912
|
};
|
|
897
913
|
readonly confirm: {
|
|
898
914
|
readonly type: "object";
|
|
@@ -937,7 +953,8 @@ export declare const GENUI_V2_SCHEMA: {
|
|
|
937
953
|
};
|
|
938
954
|
readonly icon: {
|
|
939
955
|
readonly type: "string";
|
|
940
|
-
readonly pattern: "^[a-z][a-z0-9-]{0,63}$";
|
|
956
|
+
readonly pattern: "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9-]{0,63}$";
|
|
957
|
+
readonly "x-no-proto": true;
|
|
941
958
|
};
|
|
942
959
|
readonly confirm: {
|
|
943
960
|
readonly type: "object";
|
|
@@ -963,7 +980,8 @@ export declare const GENUI_V2_SCHEMA: {
|
|
|
963
980
|
};
|
|
964
981
|
readonly id: {
|
|
965
982
|
readonly type: "string";
|
|
966
|
-
readonly pattern: "^[a-z][a-z0-9_]*(\\.[a-z][a-z0-9_]*){1,3}$";
|
|
983
|
+
readonly pattern: "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9_]*(\\.[a-z][a-z0-9_]*){1,3}$";
|
|
984
|
+
readonly "x-no-proto": true;
|
|
967
985
|
};
|
|
968
986
|
readonly params: {
|
|
969
987
|
readonly type: "object";
|
|
@@ -1017,8 +1035,8 @@ export declare const GENUI_V2_SCHEMA: {
|
|
|
1017
1035
|
readonly maxLength: 160;
|
|
1018
1036
|
};
|
|
1019
1037
|
readonly depends_on: {
|
|
1020
|
-
readonly
|
|
1021
|
-
readonly
|
|
1038
|
+
readonly $ref: "#/$defs/key";
|
|
1039
|
+
readonly description: "Clave de otro campo del mismo formulario.";
|
|
1022
1040
|
};
|
|
1023
1041
|
readonly visible_when: {
|
|
1024
1042
|
readonly type: "object";
|
|
@@ -1077,7 +1095,8 @@ export declare const GENUI_V2_SCHEMA: {
|
|
|
1077
1095
|
};
|
|
1078
1096
|
readonly widget: {
|
|
1079
1097
|
readonly type: "string";
|
|
1080
|
-
readonly pattern: "^[a-z][a-z0-9_]{0,31}$";
|
|
1098
|
+
readonly pattern: "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9_]{0,31}$";
|
|
1099
|
+
readonly "x-no-proto": true;
|
|
1081
1100
|
};
|
|
1082
1101
|
readonly section: {
|
|
1083
1102
|
readonly type: "string";
|
|
@@ -1111,7 +1130,8 @@ export declare const GENUI_V2_SCHEMA: {
|
|
|
1111
1130
|
};
|
|
1112
1131
|
readonly widget: {
|
|
1113
1132
|
readonly type: "string";
|
|
1114
|
-
readonly pattern: "^[a-z][a-z0-9_]*\\.dashboard\\.[a-z][a-z0-9_]*$";
|
|
1133
|
+
readonly pattern: "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9_]*\\.dashboard\\.[a-z][a-z0-9_]*$";
|
|
1134
|
+
readonly "x-no-proto": true;
|
|
1115
1135
|
};
|
|
1116
1136
|
readonly inline: {
|
|
1117
1137
|
readonly type: "array";
|
|
@@ -1202,6 +1222,12 @@ export declare const GENUI_V2_SCHEMA: {
|
|
|
1202
1222
|
readonly $ref: "#/$defs/block_slot";
|
|
1203
1223
|
}, {
|
|
1204
1224
|
readonly $ref: "#/$defs/block_ext";
|
|
1225
|
+
}, {
|
|
1226
|
+
readonly $ref: "#/$defs/block_map";
|
|
1227
|
+
}, {
|
|
1228
|
+
readonly $ref: "#/$defs/block_metric";
|
|
1229
|
+
}, {
|
|
1230
|
+
readonly $ref: "#/$defs/block_diagram";
|
|
1205
1231
|
}];
|
|
1206
1232
|
};
|
|
1207
1233
|
readonly block_stack: {
|
|
@@ -1465,7 +1491,8 @@ export declare const GENUI_V2_SCHEMA: {
|
|
|
1465
1491
|
};
|
|
1466
1492
|
readonly icon: {
|
|
1467
1493
|
readonly type: "string";
|
|
1468
|
-
readonly pattern: "^[a-z][a-z0-9-]{0,63}$";
|
|
1494
|
+
readonly pattern: "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9-]{0,63}$";
|
|
1495
|
+
readonly "x-no-proto": true;
|
|
1469
1496
|
};
|
|
1470
1497
|
readonly actions: {
|
|
1471
1498
|
readonly $ref: "#/$defs/actions";
|
|
@@ -2157,7 +2184,8 @@ export declare const GENUI_V2_SCHEMA: {
|
|
|
2157
2184
|
readonly properties: {
|
|
2158
2185
|
readonly id: {
|
|
2159
2186
|
readonly type: "string";
|
|
2160
|
-
readonly pattern: "^[a-z][a-z0-9_]*(\\.[a-z][a-z0-9_]*){1,3}$";
|
|
2187
|
+
readonly pattern: "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9_]*(\\.[a-z][a-z0-9_]*){1,3}$";
|
|
2188
|
+
readonly "x-no-proto": true;
|
|
2161
2189
|
};
|
|
2162
2190
|
readonly label: {
|
|
2163
2191
|
readonly type: "string";
|
|
@@ -2211,7 +2239,8 @@ export declare const GENUI_V2_SCHEMA: {
|
|
|
2211
2239
|
};
|
|
2212
2240
|
readonly addon: {
|
|
2213
2241
|
readonly type: "string";
|
|
2214
|
-
readonly pattern: "^[a-z][a-z0-9_]{0,63}$";
|
|
2242
|
+
readonly pattern: "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9_]{0,63}$";
|
|
2243
|
+
readonly "x-no-proto": true;
|
|
2215
2244
|
};
|
|
2216
2245
|
readonly keys: {
|
|
2217
2246
|
readonly type: "array";
|
|
@@ -2250,7 +2279,7 @@ export declare const GENUI_V2_SCHEMA: {
|
|
|
2250
2279
|
readonly src: {
|
|
2251
2280
|
readonly type: "string";
|
|
2252
2281
|
readonly maxLength: 2048;
|
|
2253
|
-
readonly pattern: "^(asset:[A-Za-z0-9_-]{1,64}|/[^/\\\\\\s][^\\\\\\s]*)$";
|
|
2282
|
+
readonly pattern: "^(asset:(?!(?:__proto__|constructor|prototype)$)[A-Za-z0-9_-]{1,64}|/[^/\\\\\\s][^\\\\\\s]*)$";
|
|
2254
2283
|
};
|
|
2255
2284
|
readonly alt: {
|
|
2256
2285
|
readonly type: "string";
|
|
@@ -2291,7 +2320,8 @@ export declare const GENUI_V2_SCHEMA: {
|
|
|
2291
2320
|
};
|
|
2292
2321
|
readonly name: {
|
|
2293
2322
|
readonly type: "string";
|
|
2294
|
-
readonly pattern: "^[a-z][a-z0-9_]*(\\.[a-z][a-z0-9_]*){1,3}$";
|
|
2323
|
+
readonly pattern: "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9_]*(\\.[a-z][a-z0-9_]*){1,3}$";
|
|
2324
|
+
readonly "x-no-proto": true;
|
|
2295
2325
|
};
|
|
2296
2326
|
readonly record: {
|
|
2297
2327
|
readonly $ref: "#/$defs/value";
|
|
@@ -2318,7 +2348,8 @@ export declare const GENUI_V2_SCHEMA: {
|
|
|
2318
2348
|
};
|
|
2319
2349
|
readonly ext: {
|
|
2320
2350
|
readonly type: "string";
|
|
2321
|
-
readonly pattern: "^[a-z][a-z0-9_]{0,63}\\.[a-z][a-z0-9_]{0,63}@[0-9]{1,3}$";
|
|
2351
|
+
readonly pattern: "^(?!(?:.*[.:@])?(?:__proto__|constructor|prototype)(?:[.:@]|$))[a-z][a-z0-9_]{0,63}\\.[a-z][a-z0-9_]{0,63}@[0-9]{1,3}$";
|
|
2352
|
+
readonly "x-no-proto": true;
|
|
2322
2353
|
};
|
|
2323
2354
|
readonly props: {
|
|
2324
2355
|
readonly type: "object";
|
|
@@ -2337,6 +2368,332 @@ export declare const GENUI_V2_SCHEMA: {
|
|
|
2337
2368
|
};
|
|
2338
2369
|
};
|
|
2339
2370
|
};
|
|
2371
|
+
readonly mapPoint: {
|
|
2372
|
+
readonly type: "object";
|
|
2373
|
+
readonly additionalProperties: false;
|
|
2374
|
+
readonly required: readonly ["key", "lat", "lng", "label"];
|
|
2375
|
+
readonly properties: {
|
|
2376
|
+
readonly key: {
|
|
2377
|
+
readonly $ref: "#/$defs/key";
|
|
2378
|
+
};
|
|
2379
|
+
readonly lat: {
|
|
2380
|
+
readonly type: "number";
|
|
2381
|
+
readonly minimum: -90;
|
|
2382
|
+
readonly maximum: 90;
|
|
2383
|
+
};
|
|
2384
|
+
readonly lng: {
|
|
2385
|
+
readonly type: "number";
|
|
2386
|
+
readonly minimum: -180;
|
|
2387
|
+
readonly maximum: 180;
|
|
2388
|
+
};
|
|
2389
|
+
readonly label: {
|
|
2390
|
+
readonly $ref: "#/$defs/label";
|
|
2391
|
+
};
|
|
2392
|
+
readonly status: {
|
|
2393
|
+
readonly type: "string";
|
|
2394
|
+
readonly maxLength: 64;
|
|
2395
|
+
};
|
|
2396
|
+
readonly group: {
|
|
2397
|
+
readonly type: "string";
|
|
2398
|
+
readonly maxLength: 64;
|
|
2399
|
+
};
|
|
2400
|
+
readonly tone: {
|
|
2401
|
+
readonly $ref: "#/$defs/tone";
|
|
2402
|
+
};
|
|
2403
|
+
readonly details: {
|
|
2404
|
+
readonly type: "array";
|
|
2405
|
+
readonly maxItems: 8;
|
|
2406
|
+
readonly items: {
|
|
2407
|
+
readonly type: "object";
|
|
2408
|
+
readonly additionalProperties: false;
|
|
2409
|
+
readonly required: readonly ["value"];
|
|
2410
|
+
readonly properties: {
|
|
2411
|
+
readonly label: {
|
|
2412
|
+
readonly $ref: "#/$defs/label";
|
|
2413
|
+
};
|
|
2414
|
+
readonly value: {
|
|
2415
|
+
readonly $ref: "#/$defs/text";
|
|
2416
|
+
};
|
|
2417
|
+
};
|
|
2418
|
+
};
|
|
2419
|
+
};
|
|
2420
|
+
};
|
|
2421
|
+
};
|
|
2422
|
+
readonly mapFields: {
|
|
2423
|
+
readonly type: "object";
|
|
2424
|
+
readonly additionalProperties: false;
|
|
2425
|
+
readonly description: "Columnas de la fuente que alimentan cada punto.";
|
|
2426
|
+
readonly properties: {
|
|
2427
|
+
readonly key: {
|
|
2428
|
+
readonly $ref: "#/$defs/key";
|
|
2429
|
+
};
|
|
2430
|
+
readonly lat: {
|
|
2431
|
+
readonly $ref: "#/$defs/key";
|
|
2432
|
+
};
|
|
2433
|
+
readonly lng: {
|
|
2434
|
+
readonly $ref: "#/$defs/key";
|
|
2435
|
+
};
|
|
2436
|
+
readonly label: {
|
|
2437
|
+
readonly $ref: "#/$defs/key";
|
|
2438
|
+
};
|
|
2439
|
+
readonly status: {
|
|
2440
|
+
readonly $ref: "#/$defs/key";
|
|
2441
|
+
};
|
|
2442
|
+
readonly group: {
|
|
2443
|
+
readonly $ref: "#/$defs/key";
|
|
2444
|
+
};
|
|
2445
|
+
readonly tone: {
|
|
2446
|
+
readonly $ref: "#/$defs/key";
|
|
2447
|
+
};
|
|
2448
|
+
};
|
|
2449
|
+
};
|
|
2450
|
+
readonly block_map: {
|
|
2451
|
+
readonly type: "object";
|
|
2452
|
+
readonly additionalProperties: false;
|
|
2453
|
+
readonly required: readonly ["type", "summary"];
|
|
2454
|
+
readonly properties: {
|
|
2455
|
+
readonly type: {
|
|
2456
|
+
readonly const: "map";
|
|
2457
|
+
};
|
|
2458
|
+
readonly id: {
|
|
2459
|
+
readonly $ref: "#/$defs/id";
|
|
2460
|
+
};
|
|
2461
|
+
readonly when: {
|
|
2462
|
+
readonly $ref: "#/$defs/predicate";
|
|
2463
|
+
};
|
|
2464
|
+
readonly fallback: {
|
|
2465
|
+
readonly type: "string";
|
|
2466
|
+
readonly maxLength: 2000;
|
|
2467
|
+
};
|
|
2468
|
+
readonly title: {
|
|
2469
|
+
readonly $ref: "#/$defs/label";
|
|
2470
|
+
};
|
|
2471
|
+
readonly points: {
|
|
2472
|
+
readonly type: "array";
|
|
2473
|
+
readonly items: {
|
|
2474
|
+
readonly $ref: "#/$defs/mapPoint";
|
|
2475
|
+
};
|
|
2476
|
+
readonly maxItems: 200;
|
|
2477
|
+
};
|
|
2478
|
+
readonly source: {
|
|
2479
|
+
readonly $ref: "#/$defs/source";
|
|
2480
|
+
};
|
|
2481
|
+
readonly fields: {
|
|
2482
|
+
readonly $ref: "#/$defs/mapFields";
|
|
2483
|
+
};
|
|
2484
|
+
readonly status_tones: {
|
|
2485
|
+
readonly type: "object";
|
|
2486
|
+
readonly maxProperties: 16;
|
|
2487
|
+
readonly propertyNames: {
|
|
2488
|
+
readonly pattern: "^[A-Za-z0-9_.:-]{1,64}$";
|
|
2489
|
+
};
|
|
2490
|
+
readonly additionalProperties: {
|
|
2491
|
+
readonly $ref: "#/$defs/tone";
|
|
2492
|
+
};
|
|
2493
|
+
readonly description: "Color por estado: status -> Tone (nunca colores literales).";
|
|
2494
|
+
};
|
|
2495
|
+
readonly group_by: {
|
|
2496
|
+
readonly enum: readonly ["status", "group"];
|
|
2497
|
+
};
|
|
2498
|
+
readonly legend: {
|
|
2499
|
+
readonly type: "boolean";
|
|
2500
|
+
};
|
|
2501
|
+
readonly cluster: {
|
|
2502
|
+
readonly type: "boolean";
|
|
2503
|
+
};
|
|
2504
|
+
readonly tooltip: {
|
|
2505
|
+
readonly type: "boolean";
|
|
2506
|
+
};
|
|
2507
|
+
readonly detail_panel: {
|
|
2508
|
+
readonly type: "boolean";
|
|
2509
|
+
readonly description: "Panel lateral con el detalle del punto seleccionado.";
|
|
2510
|
+
};
|
|
2511
|
+
readonly on_select: {
|
|
2512
|
+
readonly $ref: "#/$defs/action";
|
|
2513
|
+
};
|
|
2514
|
+
readonly height: {
|
|
2515
|
+
readonly enum: readonly ["sm", "md", "lg"];
|
|
2516
|
+
};
|
|
2517
|
+
readonly summary: {
|
|
2518
|
+
readonly type: "string";
|
|
2519
|
+
readonly maxLength: 2000;
|
|
2520
|
+
readonly description: "Resumen accesible (obligatorio).";
|
|
2521
|
+
};
|
|
2522
|
+
};
|
|
2523
|
+
};
|
|
2524
|
+
readonly block_metric: {
|
|
2525
|
+
readonly type: "object";
|
|
2526
|
+
readonly additionalProperties: false;
|
|
2527
|
+
readonly required: readonly ["type", "label"];
|
|
2528
|
+
readonly properties: {
|
|
2529
|
+
readonly type: {
|
|
2530
|
+
readonly const: "metric";
|
|
2531
|
+
};
|
|
2532
|
+
readonly id: {
|
|
2533
|
+
readonly $ref: "#/$defs/id";
|
|
2534
|
+
};
|
|
2535
|
+
readonly when: {
|
|
2536
|
+
readonly $ref: "#/$defs/predicate";
|
|
2537
|
+
};
|
|
2538
|
+
readonly fallback: {
|
|
2539
|
+
readonly type: "string";
|
|
2540
|
+
readonly maxLength: 2000;
|
|
2541
|
+
};
|
|
2542
|
+
readonly label: {
|
|
2543
|
+
readonly $ref: "#/$defs/label";
|
|
2544
|
+
};
|
|
2545
|
+
readonly value: {
|
|
2546
|
+
readonly $ref: "#/$defs/value";
|
|
2547
|
+
};
|
|
2548
|
+
readonly source: {
|
|
2549
|
+
readonly $ref: "#/$defs/source";
|
|
2550
|
+
};
|
|
2551
|
+
readonly field: {
|
|
2552
|
+
readonly $ref: "#/$defs/key";
|
|
2553
|
+
};
|
|
2554
|
+
readonly format: {
|
|
2555
|
+
readonly $ref: "#/$defs/statFormat";
|
|
2556
|
+
};
|
|
2557
|
+
readonly trend: {
|
|
2558
|
+
readonly enum: readonly ["up", "down", "flat"];
|
|
2559
|
+
};
|
|
2560
|
+
readonly delta: {
|
|
2561
|
+
readonly type: "string";
|
|
2562
|
+
readonly maxLength: 64;
|
|
2563
|
+
};
|
|
2564
|
+
readonly compare: {
|
|
2565
|
+
readonly type: "string";
|
|
2566
|
+
readonly maxLength: 160;
|
|
2567
|
+
};
|
|
2568
|
+
readonly tone: {
|
|
2569
|
+
readonly $ref: "#/$defs/tone";
|
|
2570
|
+
};
|
|
2571
|
+
readonly thresholds: {
|
|
2572
|
+
readonly type: "array";
|
|
2573
|
+
readonly maxItems: 4;
|
|
2574
|
+
readonly items: {
|
|
2575
|
+
readonly type: "object";
|
|
2576
|
+
readonly additionalProperties: false;
|
|
2577
|
+
readonly required: readonly ["at", "tone"];
|
|
2578
|
+
readonly properties: {
|
|
2579
|
+
readonly at: {
|
|
2580
|
+
readonly type: "number";
|
|
2581
|
+
};
|
|
2582
|
+
readonly tone: {
|
|
2583
|
+
readonly $ref: "#/$defs/tone";
|
|
2584
|
+
};
|
|
2585
|
+
};
|
|
2586
|
+
};
|
|
2587
|
+
readonly description: "Tono por severidad: el umbral mayor alcanzado por el valor gana.";
|
|
2588
|
+
};
|
|
2589
|
+
readonly spark: {
|
|
2590
|
+
readonly type: "array";
|
|
2591
|
+
readonly maxItems: 60;
|
|
2592
|
+
readonly items: {
|
|
2593
|
+
readonly type: "number";
|
|
2594
|
+
};
|
|
2595
|
+
};
|
|
2596
|
+
readonly spark_field: {
|
|
2597
|
+
readonly $ref: "#/$defs/key";
|
|
2598
|
+
};
|
|
2599
|
+
readonly hint: {
|
|
2600
|
+
readonly $ref: "#/$defs/label";
|
|
2601
|
+
};
|
|
2602
|
+
};
|
|
2603
|
+
};
|
|
2604
|
+
readonly diagramNode: {
|
|
2605
|
+
readonly type: "object";
|
|
2606
|
+
readonly additionalProperties: false;
|
|
2607
|
+
readonly required: readonly ["id", "label"];
|
|
2608
|
+
readonly properties: {
|
|
2609
|
+
readonly id: {
|
|
2610
|
+
readonly $ref: "#/$defs/key";
|
|
2611
|
+
};
|
|
2612
|
+
readonly label: {
|
|
2613
|
+
readonly $ref: "#/$defs/label";
|
|
2614
|
+
};
|
|
2615
|
+
readonly kind: {
|
|
2616
|
+
readonly enum: readonly ["service", "database", "queue", "user", "external", "group", "generic"];
|
|
2617
|
+
};
|
|
2618
|
+
readonly tone: {
|
|
2619
|
+
readonly $ref: "#/$defs/tone";
|
|
2620
|
+
};
|
|
2621
|
+
readonly detail: {
|
|
2622
|
+
readonly type: "string";
|
|
2623
|
+
readonly maxLength: 160;
|
|
2624
|
+
};
|
|
2625
|
+
readonly route: {
|
|
2626
|
+
readonly $ref: "#/$defs/route";
|
|
2627
|
+
};
|
|
2628
|
+
};
|
|
2629
|
+
};
|
|
2630
|
+
readonly diagramEdge: {
|
|
2631
|
+
readonly type: "object";
|
|
2632
|
+
readonly additionalProperties: false;
|
|
2633
|
+
readonly required: readonly ["from", "to"];
|
|
2634
|
+
readonly properties: {
|
|
2635
|
+
readonly from: {
|
|
2636
|
+
readonly $ref: "#/$defs/key";
|
|
2637
|
+
};
|
|
2638
|
+
readonly to: {
|
|
2639
|
+
readonly $ref: "#/$defs/key";
|
|
2640
|
+
};
|
|
2641
|
+
readonly label: {
|
|
2642
|
+
readonly $ref: "#/$defs/label";
|
|
2643
|
+
};
|
|
2644
|
+
readonly tone: {
|
|
2645
|
+
readonly $ref: "#/$defs/tone";
|
|
2646
|
+
};
|
|
2647
|
+
readonly style: {
|
|
2648
|
+
readonly enum: readonly ["solid", "dashed"];
|
|
2649
|
+
};
|
|
2650
|
+
};
|
|
2651
|
+
};
|
|
2652
|
+
readonly block_diagram: {
|
|
2653
|
+
readonly type: "object";
|
|
2654
|
+
readonly additionalProperties: false;
|
|
2655
|
+
readonly required: readonly ["type", "nodes", "summary"];
|
|
2656
|
+
readonly properties: {
|
|
2657
|
+
readonly type: {
|
|
2658
|
+
readonly const: "diagram";
|
|
2659
|
+
};
|
|
2660
|
+
readonly id: {
|
|
2661
|
+
readonly $ref: "#/$defs/id";
|
|
2662
|
+
};
|
|
2663
|
+
readonly when: {
|
|
2664
|
+
readonly $ref: "#/$defs/predicate";
|
|
2665
|
+
};
|
|
2666
|
+
readonly fallback: {
|
|
2667
|
+
readonly type: "string";
|
|
2668
|
+
readonly maxLength: 2000;
|
|
2669
|
+
};
|
|
2670
|
+
readonly title: {
|
|
2671
|
+
readonly $ref: "#/$defs/label";
|
|
2672
|
+
};
|
|
2673
|
+
readonly direction: {
|
|
2674
|
+
readonly enum: readonly ["lr", "tb"];
|
|
2675
|
+
};
|
|
2676
|
+
readonly nodes: {
|
|
2677
|
+
readonly type: "array";
|
|
2678
|
+
readonly items: {
|
|
2679
|
+
readonly $ref: "#/$defs/diagramNode";
|
|
2680
|
+
};
|
|
2681
|
+
readonly maxItems: 60;
|
|
2682
|
+
readonly minItems: 1;
|
|
2683
|
+
};
|
|
2684
|
+
readonly edges: {
|
|
2685
|
+
readonly type: "array";
|
|
2686
|
+
readonly items: {
|
|
2687
|
+
readonly $ref: "#/$defs/diagramEdge";
|
|
2688
|
+
};
|
|
2689
|
+
readonly maxItems: 120;
|
|
2690
|
+
};
|
|
2691
|
+
readonly summary: {
|
|
2692
|
+
readonly type: "string";
|
|
2693
|
+
readonly maxLength: 2000;
|
|
2694
|
+
};
|
|
2695
|
+
};
|
|
2696
|
+
};
|
|
2340
2697
|
};
|
|
2341
2698
|
};
|
|
2342
2699
|
/** Campos permitidos y requeridos por tipo de bloque (derivado del esquema). */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"genui-v2-schema.d.ts","sourceRoot":"","sources":["../../src/generated/genui-v2-schema.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"genui-v2-schema.d.ts","sourceRoot":"","sources":["../../src/generated/genui-v2-schema.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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