@panneau/protocol 5.0.0-alpha.12 → 5.0.0-alpha.14
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/conformance/index.d.ts +6 -0
- package/dist/conformance/index.d.ts.map +1 -1
- package/dist/conformance/index.js +185 -2
- package/dist/conformance/index.js.map +1 -1
- package/dist/constants.d.ts +12 -2
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +22 -2
- package/dist/constants.js.map +1 -1
- package/dist/context.d.ts +15 -0
- package/dist/context.d.ts.map +1 -0
- package/dist/context.js +34 -0
- package/dist/context.js.map +1 -0
- package/dist/index.js +6 -5
- package/dist/lint.d.ts.map +1 -1
- package/dist/lint.js +17 -0
- package/dist/lint.js.map +1 -1
- package/dist/mock/index.d.ts +25 -4
- package/dist/mock/index.d.ts.map +1 -1
- package/dist/mock/index.js +129 -29
- package/dist/mock/index.js.map +1 -1
- package/dist/openapi.d.ts.map +1 -1
- package/dist/openapi.js +57 -5
- package/dist/openapi.js.map +1 -1
- package/dist/rules.d.ts +6 -0
- package/dist/rules.d.ts.map +1 -1
- package/dist/rules.js +20 -5
- package/dist/rules.js.map +1 -1
- package/dist/runtime/index.d.ts +1 -0
- package/dist/runtime/index.d.ts.map +1 -1
- package/dist/runtime/index.js +3 -2
- package/dist/schemas/action.d.ts +2 -0
- package/dist/schemas/action.d.ts.map +1 -1
- package/dist/schemas/api.d.ts +9 -0
- package/dist/schemas/api.d.ts.map +1 -1
- package/dist/schemas/api.js +5 -3
- package/dist/schemas/api.js.map +1 -1
- package/dist/schemas/definition.d.ts +67 -0
- package/dist/schemas/definition.d.ts.map +1 -1
- package/dist/schemas/definition.js +45 -2
- package/dist/schemas/definition.js.map +1 -1
- package/dist/schemas/field.d.ts +3 -0
- package/dist/schemas/field.d.ts.map +1 -1
- package/dist/schemas/field.js +6 -4
- package/dist/schemas/field.js.map +1 -1
- package/dist/schemas/index.d.ts +102 -0
- package/dist/schemas/index.d.ts.map +1 -1
- package/dist/schemas/index.js +9 -4
- package/dist/schemas/index.js.map +1 -1
- package/dist/schemas/list.d.ts +15 -0
- package/dist/schemas/list.d.ts.map +1 -1
- package/dist/schemas/list.js +13 -5
- package/dist/schemas/list.js.map +1 -1
- package/dist/schemas/resource.d.ts +11 -0
- package/dist/schemas/resource.d.ts.map +1 -1
- package/package.json +1 -1
- package/schema/boot.schema.json +136 -10
- package/schema/definition.schema.json +136 -10
- package/schema/openapi.json +523 -32
package/dist/schemas/index.d.ts
CHANGED
|
@@ -69,6 +69,7 @@ export declare const namedSchemas: {
|
|
|
69
69
|
rule: z.ZodEnum<{
|
|
70
70
|
email: "email";
|
|
71
71
|
url: "url";
|
|
72
|
+
tel: "tel";
|
|
72
73
|
json: "json";
|
|
73
74
|
}>;
|
|
74
75
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -147,6 +148,7 @@ export declare const namedSchemas: {
|
|
|
147
148
|
default: z.ZodOptional<z.ZodUnknown>;
|
|
148
149
|
localized: z.ZodOptional<z.ZodBoolean>;
|
|
149
150
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
151
|
+
abilities: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
150
152
|
createOnly: z.ZodOptional<z.ZodBoolean>;
|
|
151
153
|
updateOnly: z.ZodOptional<z.ZodBoolean>;
|
|
152
154
|
rules: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -180,6 +182,7 @@ export declare const namedSchemas: {
|
|
|
180
182
|
rule: z.ZodEnum<{
|
|
181
183
|
email: "email";
|
|
182
184
|
url: "url";
|
|
185
|
+
tel: "tel";
|
|
183
186
|
json: "json";
|
|
184
187
|
}>;
|
|
185
188
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -356,6 +359,8 @@ export declare const namedSchemas: {
|
|
|
356
359
|
center: "center";
|
|
357
360
|
end: "end";
|
|
358
361
|
}>>;
|
|
362
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
363
|
+
hideable: z.ZodOptional<z.ZodBoolean>;
|
|
359
364
|
}, z.core.$loose>;
|
|
360
365
|
Filter: z.ZodObject<{
|
|
361
366
|
id: z.ZodString;
|
|
@@ -372,6 +377,11 @@ export declare const namedSchemas: {
|
|
|
372
377
|
multiple: z.ZodOptional<z.ZodBoolean>;
|
|
373
378
|
default: z.ZodOptional<z.ZodUnknown>;
|
|
374
379
|
}, z.core.$loose>;
|
|
380
|
+
ListCalendar: z.ZodObject<{
|
|
381
|
+
field: z.ZodString;
|
|
382
|
+
filter: z.ZodOptional<z.ZodString>;
|
|
383
|
+
perPage: z.ZodOptional<z.ZodNumber>;
|
|
384
|
+
}, z.core.$loose>;
|
|
375
385
|
ListDefinition: z.ZodObject<{
|
|
376
386
|
columns: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
377
387
|
field: z.ZodOptional<z.ZodString>;
|
|
@@ -385,6 +395,8 @@ export declare const namedSchemas: {
|
|
|
385
395
|
center: "center";
|
|
386
396
|
end: "end";
|
|
387
397
|
}>>;
|
|
398
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
399
|
+
hideable: z.ZodOptional<z.ZodBoolean>;
|
|
388
400
|
}, z.core.$loose>>>;
|
|
389
401
|
filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
390
402
|
id: z.ZodString;
|
|
@@ -413,6 +425,11 @@ export declare const namedSchemas: {
|
|
|
413
425
|
}>>;
|
|
414
426
|
inlineEdit: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
415
427
|
selectable: z.ZodOptional<z.ZodBoolean>;
|
|
428
|
+
calendar: z.ZodOptional<z.ZodObject<{
|
|
429
|
+
field: z.ZodString;
|
|
430
|
+
filter: z.ZodOptional<z.ZodString>;
|
|
431
|
+
perPage: z.ZodOptional<z.ZodNumber>;
|
|
432
|
+
}, z.core.$loose>>;
|
|
416
433
|
}, z.core.$loose>;
|
|
417
434
|
ActionScope: z.ZodEnum<{
|
|
418
435
|
resource: "resource";
|
|
@@ -467,6 +484,7 @@ export declare const namedSchemas: {
|
|
|
467
484
|
default: z.ZodOptional<z.ZodUnknown>;
|
|
468
485
|
localized: z.ZodOptional<z.ZodBoolean>;
|
|
469
486
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
487
|
+
abilities: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
470
488
|
createOnly: z.ZodOptional<z.ZodBoolean>;
|
|
471
489
|
updateOnly: z.ZodOptional<z.ZodBoolean>;
|
|
472
490
|
rules: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -500,6 +518,7 @@ export declare const namedSchemas: {
|
|
|
500
518
|
rule: z.ZodEnum<{
|
|
501
519
|
email: "email";
|
|
502
520
|
url: "url";
|
|
521
|
+
tel: "tel";
|
|
503
522
|
json: "json";
|
|
504
523
|
}>;
|
|
505
524
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -664,6 +683,7 @@ export declare const namedSchemas: {
|
|
|
664
683
|
default: z.ZodOptional<z.ZodUnknown>;
|
|
665
684
|
localized: z.ZodOptional<z.ZodBoolean>;
|
|
666
685
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
686
|
+
abilities: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
667
687
|
createOnly: z.ZodOptional<z.ZodBoolean>;
|
|
668
688
|
updateOnly: z.ZodOptional<z.ZodBoolean>;
|
|
669
689
|
rules: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -697,6 +717,7 @@ export declare const namedSchemas: {
|
|
|
697
717
|
rule: z.ZodEnum<{
|
|
698
718
|
email: "email";
|
|
699
719
|
url: "url";
|
|
720
|
+
tel: "tel";
|
|
700
721
|
json: "json";
|
|
701
722
|
}>;
|
|
702
723
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -831,6 +852,8 @@ export declare const namedSchemas: {
|
|
|
831
852
|
center: "center";
|
|
832
853
|
end: "end";
|
|
833
854
|
}>>;
|
|
855
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
856
|
+
hideable: z.ZodOptional<z.ZodBoolean>;
|
|
834
857
|
}, z.core.$loose>>>;
|
|
835
858
|
filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
836
859
|
id: z.ZodString;
|
|
@@ -859,6 +882,11 @@ export declare const namedSchemas: {
|
|
|
859
882
|
}>>;
|
|
860
883
|
inlineEdit: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
861
884
|
selectable: z.ZodOptional<z.ZodBoolean>;
|
|
885
|
+
calendar: z.ZodOptional<z.ZodObject<{
|
|
886
|
+
field: z.ZodString;
|
|
887
|
+
filter: z.ZodOptional<z.ZodString>;
|
|
888
|
+
perPage: z.ZodOptional<z.ZodNumber>;
|
|
889
|
+
}, z.core.$loose>>;
|
|
862
890
|
}, z.core.$loose>>;
|
|
863
891
|
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
864
892
|
id: z.ZodString;
|
|
@@ -896,6 +924,7 @@ export declare const namedSchemas: {
|
|
|
896
924
|
default: z.ZodOptional<z.ZodUnknown>;
|
|
897
925
|
localized: z.ZodOptional<z.ZodBoolean>;
|
|
898
926
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
927
|
+
abilities: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
899
928
|
createOnly: z.ZodOptional<z.ZodBoolean>;
|
|
900
929
|
updateOnly: z.ZodOptional<z.ZodBoolean>;
|
|
901
930
|
rules: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -929,6 +958,7 @@ export declare const namedSchemas: {
|
|
|
929
958
|
rule: z.ZodEnum<{
|
|
930
959
|
email: "email";
|
|
931
960
|
url: "url";
|
|
961
|
+
tel: "tel";
|
|
932
962
|
json: "json";
|
|
933
963
|
}>;
|
|
934
964
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1133,6 +1163,7 @@ export declare const namedSchemas: {
|
|
|
1133
1163
|
label: z.ZodOptional<z.ZodString>;
|
|
1134
1164
|
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1135
1165
|
params: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1166
|
+
abilities: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
1136
1167
|
}, z.core.$loose>;
|
|
1137
1168
|
Widget: z.ZodObject<{
|
|
1138
1169
|
id: z.ZodString;
|
|
@@ -1150,6 +1181,41 @@ export declare const namedSchemas: {
|
|
|
1150
1181
|
endpoint: z.ZodOptional<z.ZodString>;
|
|
1151
1182
|
maxSize: z.ZodOptional<z.ZodNumber>;
|
|
1152
1183
|
}, z.core.$loose>;
|
|
1184
|
+
ContextOption: z.ZodObject<{
|
|
1185
|
+
value: z.ZodString;
|
|
1186
|
+
label: z.ZodString;
|
|
1187
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1188
|
+
}, z.core.$loose>;
|
|
1189
|
+
ContextParam: z.ZodObject<{
|
|
1190
|
+
name: z.ZodString;
|
|
1191
|
+
label: z.ZodString;
|
|
1192
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
1193
|
+
fixed: z.ZodOptional<z.ZodBoolean>;
|
|
1194
|
+
allLabel: z.ZodOptional<z.ZodString>;
|
|
1195
|
+
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1196
|
+
value: z.ZodString;
|
|
1197
|
+
label: z.ZodString;
|
|
1198
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1199
|
+
}, z.core.$loose>>>;
|
|
1200
|
+
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1201
|
+
valueLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1202
|
+
}, z.core.$loose>;
|
|
1203
|
+
DefinitionContext: z.ZodObject<{
|
|
1204
|
+
params: z.ZodArray<z.ZodObject<{
|
|
1205
|
+
name: z.ZodString;
|
|
1206
|
+
label: z.ZodString;
|
|
1207
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
1208
|
+
fixed: z.ZodOptional<z.ZodBoolean>;
|
|
1209
|
+
allLabel: z.ZodOptional<z.ZodString>;
|
|
1210
|
+
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1211
|
+
value: z.ZodString;
|
|
1212
|
+
label: z.ZodString;
|
|
1213
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1214
|
+
}, z.core.$loose>>>;
|
|
1215
|
+
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1216
|
+
valueLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1217
|
+
}, z.core.$loose>>;
|
|
1218
|
+
}, z.core.$loose>;
|
|
1153
1219
|
ThemeTokens: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
1154
1220
|
ToneValues: z.ZodObject<{
|
|
1155
1221
|
text: z.ZodString;
|
|
@@ -1353,6 +1419,7 @@ export declare const namedSchemas: {
|
|
|
1353
1419
|
default: z.ZodOptional<z.ZodUnknown>;
|
|
1354
1420
|
localized: z.ZodOptional<z.ZodBoolean>;
|
|
1355
1421
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
1422
|
+
abilities: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
1356
1423
|
createOnly: z.ZodOptional<z.ZodBoolean>;
|
|
1357
1424
|
updateOnly: z.ZodOptional<z.ZodBoolean>;
|
|
1358
1425
|
rules: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -1386,6 +1453,7 @@ export declare const namedSchemas: {
|
|
|
1386
1453
|
rule: z.ZodEnum<{
|
|
1387
1454
|
email: "email";
|
|
1388
1455
|
url: "url";
|
|
1456
|
+
tel: "tel";
|
|
1389
1457
|
json: "json";
|
|
1390
1458
|
}>;
|
|
1391
1459
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1520,6 +1588,8 @@ export declare const namedSchemas: {
|
|
|
1520
1588
|
center: "center";
|
|
1521
1589
|
end: "end";
|
|
1522
1590
|
}>>;
|
|
1591
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
1592
|
+
hideable: z.ZodOptional<z.ZodBoolean>;
|
|
1523
1593
|
}, z.core.$loose>>>;
|
|
1524
1594
|
filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1525
1595
|
id: z.ZodString;
|
|
@@ -1548,6 +1618,11 @@ export declare const namedSchemas: {
|
|
|
1548
1618
|
}>>;
|
|
1549
1619
|
inlineEdit: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1550
1620
|
selectable: z.ZodOptional<z.ZodBoolean>;
|
|
1621
|
+
calendar: z.ZodOptional<z.ZodObject<{
|
|
1622
|
+
field: z.ZodString;
|
|
1623
|
+
filter: z.ZodOptional<z.ZodString>;
|
|
1624
|
+
perPage: z.ZodOptional<z.ZodNumber>;
|
|
1625
|
+
}, z.core.$loose>>;
|
|
1551
1626
|
}, z.core.$loose>>;
|
|
1552
1627
|
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1553
1628
|
id: z.ZodString;
|
|
@@ -1585,6 +1660,7 @@ export declare const namedSchemas: {
|
|
|
1585
1660
|
default: z.ZodOptional<z.ZodUnknown>;
|
|
1586
1661
|
localized: z.ZodOptional<z.ZodBoolean>;
|
|
1587
1662
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
1663
|
+
abilities: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
1588
1664
|
createOnly: z.ZodOptional<z.ZodBoolean>;
|
|
1589
1665
|
updateOnly: z.ZodOptional<z.ZodBoolean>;
|
|
1590
1666
|
rules: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -1618,6 +1694,7 @@ export declare const namedSchemas: {
|
|
|
1618
1694
|
rule: z.ZodEnum<{
|
|
1619
1695
|
email: "email";
|
|
1620
1696
|
url: "url";
|
|
1697
|
+
tel: "tel";
|
|
1621
1698
|
json: "json";
|
|
1622
1699
|
}>;
|
|
1623
1700
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1771,6 +1848,7 @@ export declare const namedSchemas: {
|
|
|
1771
1848
|
label: z.ZodOptional<z.ZodString>;
|
|
1772
1849
|
props: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1773
1850
|
params: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1851
|
+
abilities: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
1774
1852
|
}, z.core.$loose>>>;
|
|
1775
1853
|
menus: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
|
|
1776
1854
|
type: z.ZodString;
|
|
@@ -1827,6 +1905,22 @@ export declare const namedSchemas: {
|
|
|
1827
1905
|
endpoint: z.ZodOptional<z.ZodString>;
|
|
1828
1906
|
maxSize: z.ZodOptional<z.ZodNumber>;
|
|
1829
1907
|
}, z.core.$loose>>;
|
|
1908
|
+
context: z.ZodOptional<z.ZodObject<{
|
|
1909
|
+
params: z.ZodArray<z.ZodObject<{
|
|
1910
|
+
name: z.ZodString;
|
|
1911
|
+
label: z.ZodString;
|
|
1912
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
1913
|
+
fixed: z.ZodOptional<z.ZodBoolean>;
|
|
1914
|
+
allLabel: z.ZodOptional<z.ZodString>;
|
|
1915
|
+
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1916
|
+
value: z.ZodString;
|
|
1917
|
+
label: z.ZodString;
|
|
1918
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1919
|
+
}, z.core.$loose>>>;
|
|
1920
|
+
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1921
|
+
valueLabel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1922
|
+
}, z.core.$loose>>;
|
|
1923
|
+
}, z.core.$loose>>;
|
|
1830
1924
|
theme: z.ZodOptional<z.ZodObject<{
|
|
1831
1925
|
tokens: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1832
1926
|
colorScheme: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1950,6 +2044,7 @@ export declare const namedSchemas: {
|
|
|
1950
2044
|
version: z.ZodNullable<z.ZodString>;
|
|
1951
2045
|
abilities: z.ZodRecord<z.ZodString, z.ZodBoolean>;
|
|
1952
2046
|
}, z.core.$loose>>;
|
|
2047
|
+
param: z.ZodOptional<z.ZodString>;
|
|
1953
2048
|
}, z.core.$loose>;
|
|
1954
2049
|
Selection: z.ZodUnion<readonly [z.ZodObject<{
|
|
1955
2050
|
ids: z.ZodArray<z.ZodString>;
|
|
@@ -2377,6 +2472,13 @@ export declare const namedSchemas: {
|
|
|
2377
2472
|
total: z.ZodOptional<z.ZodNumber>;
|
|
2378
2473
|
}, z.core.$loose>>;
|
|
2379
2474
|
}, z.core.$loose>;
|
|
2475
|
+
ContextOptionsResponse: z.ZodObject<{
|
|
2476
|
+
data: z.ZodArray<z.ZodObject<{
|
|
2477
|
+
value: z.ZodString;
|
|
2478
|
+
label: z.ZodString;
|
|
2479
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2480
|
+
}, z.core.$loose>>;
|
|
2481
|
+
}, z.core.$loose>;
|
|
2380
2482
|
PreviewResponse: z.ZodObject<{
|
|
2381
2483
|
url: z.ZodString;
|
|
2382
2484
|
expiresAt: z.ZodOptional<z.ZodString>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],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schemas/index.js
CHANGED
|
@@ -3,11 +3,11 @@ import { BlockType, Field, RichTextSettings, RichTextStyle, Rule } from "./field
|
|
|
3
3
|
import { actionJsonRules } from "./jsonRules.js";
|
|
4
4
|
import { LayoutNode } from "./layout.js";
|
|
5
5
|
import { Action, ActionConfirm, ActionPlacement, ActionScope } from "./action.js";
|
|
6
|
-
import { Column, Filter, ListDefinition } from "./list.js";
|
|
6
|
+
import { Column, Filter, ListCalendar, ListDefinition } from "./list.js";
|
|
7
7
|
import { Resource, ResourceFeatures } from "./resource.js";
|
|
8
8
|
import { DefinitionTheme, Theme, ThemeFont, ThemeFontFace, ThemeFontStylesheet, ThemeTokens, ToneInput, ToneValues } from "./theme.js";
|
|
9
|
-
import { Auth, AuthProvider, AuthToken, Definition, MenuItem, Page, Uploads, User, Widget } from "./definition.js";
|
|
10
|
-
import { ActionItemResult, ActionRequest, ActionResult, ActionRun, ActionRunResponse, CursorPagination, EmbedResponse, EmbedValue, FieldCheckRequest, FieldCheckResponse, Item, ItemResponse, ListResponse, LocationValue, MediaInfo, MediaItem, MediaReference, MediaTransform, Pagination, PreviewResponse, Problem, SearchResponse, Selection, Session, StoredFile, Upload, UploadReference, UploadResponse, UploadSignRequest, UploadSignResponse } from "./api.js";
|
|
9
|
+
import { Auth, AuthProvider, AuthToken, ContextOption, ContextParam, Definition, DefinitionContext, MenuItem, Page, Uploads, User, Widget } from "./definition.js";
|
|
10
|
+
import { ActionItemResult, ActionRequest, ActionResult, ActionRun, ActionRunResponse, ContextOptionsResponse, CursorPagination, EmbedResponse, EmbedValue, FieldCheckRequest, FieldCheckResponse, Item, ItemResponse, ListResponse, LocationValue, MediaInfo, MediaItem, MediaReference, MediaTransform, Pagination, PreviewResponse, Problem, SearchResponse, Selection, Session, StoredFile, Upload, UploadReference, UploadResponse, UploadSignRequest, UploadSignResponse } from "./api.js";
|
|
11
11
|
import { BootConfig } from "./boot.js";
|
|
12
12
|
import { z } from "zod";
|
|
13
13
|
//#region src/schemas/index.ts
|
|
@@ -26,6 +26,7 @@ var namedSchemas = {
|
|
|
26
26
|
LayoutNode,
|
|
27
27
|
Column,
|
|
28
28
|
Filter,
|
|
29
|
+
ListCalendar,
|
|
29
30
|
ListDefinition,
|
|
30
31
|
ActionScope,
|
|
31
32
|
ActionPlacement,
|
|
@@ -41,6 +42,9 @@ var namedSchemas = {
|
|
|
41
42
|
Page,
|
|
42
43
|
Widget,
|
|
43
44
|
Uploads,
|
|
45
|
+
ContextOption,
|
|
46
|
+
ContextParam,
|
|
47
|
+
DefinitionContext,
|
|
44
48
|
ThemeTokens,
|
|
45
49
|
ToneValues,
|
|
46
50
|
ToneInput,
|
|
@@ -76,6 +80,7 @@ var namedSchemas = {
|
|
|
76
80
|
MediaReference,
|
|
77
81
|
Session,
|
|
78
82
|
SearchResponse,
|
|
83
|
+
ContextOptionsResponse,
|
|
79
84
|
PreviewResponse,
|
|
80
85
|
EmbedValue,
|
|
81
86
|
EmbedResponse,
|
|
@@ -92,6 +97,6 @@ function createSchemaRegistry() {
|
|
|
92
97
|
return registry;
|
|
93
98
|
}
|
|
94
99
|
//#endregion
|
|
95
|
-
export { Abilities, Action, ActionConfirm, ActionItemResult, ActionPlacement, ActionRequest, ActionResult, ActionRun, ActionRunResponse, ActionScope, Auth, AuthProvider, AuthToken, BlockType, BootConfig, Column, Condition, CursorPagination, Definition, DefinitionTheme, EmbedResponse, EmbedValue, Field, FieldCheckRequest, FieldCheckResponse, Filter, Id, Item, ItemResponse, LayoutNode, ListDefinition, ListResponse, LocationValue, MediaInfo, MediaItem, MediaReference, MediaTransform, MenuItem, Option, Page, Pagination, PreviewResponse, Problem, Resource, ResourceFeatures, RichTextSettings, RichTextStyle, RouteReference, Rule, SearchResponse, Selection, Session, StoredFile, Theme, ThemeFont, ThemeFontFace, ThemeFontStylesheet, ThemeTokens, ToneInput, ToneValues, Upload, UploadReference, UploadResponse, UploadSignRequest, UploadSignResponse, Uploads, User, Widget, createSchemaRegistry, namedSchemas };
|
|
100
|
+
export { Abilities, Action, ActionConfirm, ActionItemResult, ActionPlacement, ActionRequest, ActionResult, ActionRun, ActionRunResponse, ActionScope, Auth, AuthProvider, AuthToken, BlockType, BootConfig, Column, Condition, ContextOption, ContextOptionsResponse, ContextParam, CursorPagination, Definition, DefinitionContext, DefinitionTheme, EmbedResponse, EmbedValue, Field, FieldCheckRequest, FieldCheckResponse, Filter, Id, Item, ItemResponse, LayoutNode, ListCalendar, ListDefinition, ListResponse, LocationValue, MediaInfo, MediaItem, MediaReference, MediaTransform, MenuItem, Option, Page, Pagination, PreviewResponse, Problem, Resource, ResourceFeatures, RichTextSettings, RichTextStyle, RouteReference, Rule, SearchResponse, Selection, Session, StoredFile, Theme, ThemeFont, ThemeFontFace, ThemeFontStylesheet, ThemeTokens, ToneInput, ToneValues, Upload, UploadReference, UploadResponse, UploadSignRequest, UploadSignResponse, Uploads, User, Widget, createSchemaRegistry, namedSchemas };
|
|
96
101
|
|
|
97
102
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../src/schemas/index.ts"],"sourcesContent":["import { z } from 'zod';\n\nimport { Action, ActionConfirm, ActionPlacement, ActionScope } from './action';\nimport {\n ActionItemResult,\n ActionRequest,\n ActionResult,\n ActionRun,\n ActionRunResponse,\n CursorPagination,\n EmbedResponse,\n EmbedValue,\n FieldCheckRequest,\n FieldCheckResponse,\n Item,\n ItemResponse,\n ListResponse,\n LocationValue,\n MediaInfo,\n MediaItem,\n MediaReference,\n MediaTransform,\n Pagination,\n PreviewResponse,\n Problem,\n SearchResponse,\n Selection,\n Session,\n StoredFile,\n Upload,\n UploadReference,\n UploadResponse,\n UploadSignRequest,\n UploadSignResponse,\n} from './api';\nimport { Abilities, Condition, Id, Option, RouteReference } from './common';\nimport {\n Auth,\n AuthProvider,\n AuthToken,\n Definition,\n MenuItem,\n Page,\n Uploads,\n User,\n Widget,\n} from './definition';\nimport { BlockType, Field, RichTextSettings, RichTextStyle, Rule } from './field';\nimport { actionJsonRules } from './jsonRules';\nimport { LayoutNode } from './layout';\nimport { Column, Filter, ListDefinition } from './list';\nimport { Resource, ResourceFeatures } from './resource';\nimport {\n DefinitionTheme,\n Theme,\n ThemeFont,\n ThemeFontFace,\n ThemeFontStylesheet,\n ThemeTokens,\n ToneInput,\n ToneValues,\n} from './theme';\n\nexport * from './common';\nexport * from './field';\nexport * from './layout';\nexport * from './list';\nexport * from './action';\nexport * from './resource';\nexport * from './theme';\nexport * from './definition';\nexport * from './api';\nexport * from './boot';\n\n/** The named schemas of the protocol, as they appear in the generated JSON Schema and OpenAPI files. */\nexport const namedSchemas = {\n Id,\n Abilities,\n RouteReference,\n Condition,\n Option,\n Rule,\n BlockType,\n Field,\n RichTextStyle,\n RichTextSettings,\n LayoutNode,\n Column,\n Filter,\n ListDefinition,\n ActionScope,\n ActionPlacement,\n ActionConfirm,\n Action,\n ResourceFeatures,\n Resource,\n User,\n AuthProvider,\n AuthToken,\n Auth,\n MenuItem,\n Page,\n Widget,\n Uploads,\n ThemeTokens,\n ToneValues,\n ToneInput,\n ThemeFontFace,\n ThemeFontStylesheet,\n ThemeFont,\n Theme,\n DefinitionTheme,\n Definition,\n Item,\n Pagination,\n CursorPagination,\n ItemResponse,\n ListResponse,\n Problem,\n Selection,\n ActionRequest,\n ActionItemResult,\n ActionResult,\n ActionRun,\n ActionRunResponse,\n MediaTransform,\n StoredFile,\n UploadReference,\n Upload,\n UploadResponse,\n UploadSignRequest,\n UploadSignResponse,\n FieldCheckRequest,\n FieldCheckResponse,\n MediaInfo,\n MediaItem,\n MediaReference,\n Session,\n SearchResponse,\n PreviewResponse,\n EmbedValue,\n EmbedResponse,\n LocationValue,\n} satisfies Record<string, z.ZodType>;\n\n/** A registry of the named schemas, used to reference them by name in generated files. */\nexport function createSchemaRegistry() {\n const registry = z.registry<{ id: string } & Record<string, unknown>>();\n Object.entries(namedSchemas).forEach(([id, schema]) => registry.add(schema, { id }));\n // Checks that Zod makes in code, which the JSON Schema of the definition must make too.\n registry.add(Action, { id: 'Action', ...actionJsonRules });\n return registry;\n}\n"],"mappings":";;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../src/schemas/index.ts"],"sourcesContent":["import { z } from 'zod';\n\nimport { Action, ActionConfirm, ActionPlacement, ActionScope } from './action';\nimport {\n ActionItemResult,\n ActionRequest,\n ActionResult,\n ActionRun,\n ActionRunResponse,\n ContextOptionsResponse,\n CursorPagination,\n EmbedResponse,\n EmbedValue,\n FieldCheckRequest,\n FieldCheckResponse,\n Item,\n ItemResponse,\n ListResponse,\n LocationValue,\n MediaInfo,\n MediaItem,\n MediaReference,\n MediaTransform,\n Pagination,\n PreviewResponse,\n Problem,\n SearchResponse,\n Selection,\n Session,\n StoredFile,\n Upload,\n UploadReference,\n UploadResponse,\n UploadSignRequest,\n UploadSignResponse,\n} from './api';\nimport { Abilities, Condition, Id, Option, RouteReference } from './common';\nimport {\n Auth,\n AuthProvider,\n AuthToken,\n ContextOption,\n ContextParam,\n Definition,\n DefinitionContext,\n MenuItem,\n Page,\n Uploads,\n User,\n Widget,\n} from './definition';\nimport { BlockType, Field, RichTextSettings, RichTextStyle, Rule } from './field';\nimport { actionJsonRules } from './jsonRules';\nimport { LayoutNode } from './layout';\nimport { Column, Filter, ListCalendar, ListDefinition } from './list';\nimport { Resource, ResourceFeatures } from './resource';\nimport {\n DefinitionTheme,\n Theme,\n ThemeFont,\n ThemeFontFace,\n ThemeFontStylesheet,\n ThemeTokens,\n ToneInput,\n ToneValues,\n} from './theme';\n\nexport * from './common';\nexport * from './field';\nexport * from './layout';\nexport * from './list';\nexport * from './action';\nexport * from './resource';\nexport * from './theme';\nexport * from './definition';\nexport * from './api';\nexport * from './boot';\n\n/** The named schemas of the protocol, as they appear in the generated JSON Schema and OpenAPI files. */\nexport const namedSchemas = {\n Id,\n Abilities,\n RouteReference,\n Condition,\n Option,\n Rule,\n BlockType,\n Field,\n RichTextStyle,\n RichTextSettings,\n LayoutNode,\n Column,\n Filter,\n ListCalendar,\n ListDefinition,\n ActionScope,\n ActionPlacement,\n ActionConfirm,\n Action,\n ResourceFeatures,\n Resource,\n User,\n AuthProvider,\n AuthToken,\n Auth,\n MenuItem,\n Page,\n Widget,\n Uploads,\n ContextOption,\n ContextParam,\n DefinitionContext,\n ThemeTokens,\n ToneValues,\n ToneInput,\n ThemeFontFace,\n ThemeFontStylesheet,\n ThemeFont,\n Theme,\n DefinitionTheme,\n Definition,\n Item,\n Pagination,\n CursorPagination,\n ItemResponse,\n ListResponse,\n Problem,\n Selection,\n ActionRequest,\n ActionItemResult,\n ActionResult,\n ActionRun,\n ActionRunResponse,\n MediaTransform,\n StoredFile,\n UploadReference,\n Upload,\n UploadResponse,\n UploadSignRequest,\n UploadSignResponse,\n FieldCheckRequest,\n FieldCheckResponse,\n MediaInfo,\n MediaItem,\n MediaReference,\n Session,\n SearchResponse,\n ContextOptionsResponse,\n PreviewResponse,\n EmbedValue,\n EmbedResponse,\n LocationValue,\n} satisfies Record<string, z.ZodType>;\n\n/** A registry of the named schemas, used to reference them by name in generated files. */\nexport function createSchemaRegistry() {\n const registry = z.registry<{ id: string } & Record<string, unknown>>();\n Object.entries(namedSchemas).forEach(([id, schema]) => registry.add(schema, { id }));\n // Checks that Zod makes in code, which the JSON Schema of the definition must make too.\n registry.add(Action, { id: 'Action', ...actionJsonRules });\n return registry;\n}\n"],"mappings":";;;;;;;;;;;;;;AA+EA,IAAa,eAAe;CACxB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACJ;;AAGA,SAAgB,uBAAuB;CACnC,MAAM,WAAW,EAAE,SAAmD;CACtE,OAAO,QAAQ,YAAY,CAAC,CAAC,SAAS,CAAC,IAAI,YAAY,SAAS,IAAI,QAAQ,EAAE,GAAG,CAAC,CAAC;CAEnF,SAAS,IAAI,QAAQ;EAAE,IAAI;EAAU,GAAG;CAAgB,CAAC;CACzD,OAAO;AACX"}
|
package/dist/schemas/list.d.ts
CHANGED
|
@@ -11,6 +11,8 @@ export declare const Column: z.ZodObject<{
|
|
|
11
11
|
center: "center";
|
|
12
12
|
end: "end";
|
|
13
13
|
}>>;
|
|
14
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
15
|
+
hideable: z.ZodOptional<z.ZodBoolean>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
17
|
export declare const Filter: z.ZodObject<{
|
|
16
18
|
id: z.ZodString;
|
|
@@ -27,6 +29,11 @@ export declare const Filter: z.ZodObject<{
|
|
|
27
29
|
multiple: z.ZodOptional<z.ZodBoolean>;
|
|
28
30
|
default: z.ZodOptional<z.ZodUnknown>;
|
|
29
31
|
}, z.core.$loose>;
|
|
32
|
+
export declare const ListCalendar: z.ZodObject<{
|
|
33
|
+
field: z.ZodString;
|
|
34
|
+
filter: z.ZodOptional<z.ZodString>;
|
|
35
|
+
perPage: z.ZodOptional<z.ZodNumber>;
|
|
36
|
+
}, z.core.$loose>;
|
|
30
37
|
export declare const ListDefinition: z.ZodObject<{
|
|
31
38
|
columns: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
32
39
|
field: z.ZodOptional<z.ZodString>;
|
|
@@ -40,6 +47,8 @@ export declare const ListDefinition: z.ZodObject<{
|
|
|
40
47
|
center: "center";
|
|
41
48
|
end: "end";
|
|
42
49
|
}>>;
|
|
50
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
51
|
+
hideable: z.ZodOptional<z.ZodBoolean>;
|
|
43
52
|
}, z.core.$loose>>>;
|
|
44
53
|
filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
45
54
|
id: z.ZodString;
|
|
@@ -68,8 +77,14 @@ export declare const ListDefinition: z.ZodObject<{
|
|
|
68
77
|
}>>;
|
|
69
78
|
inlineEdit: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
70
79
|
selectable: z.ZodOptional<z.ZodBoolean>;
|
|
80
|
+
calendar: z.ZodOptional<z.ZodObject<{
|
|
81
|
+
field: z.ZodString;
|
|
82
|
+
filter: z.ZodOptional<z.ZodString>;
|
|
83
|
+
perPage: z.ZodOptional<z.ZodNumber>;
|
|
84
|
+
}, z.core.$loose>>;
|
|
71
85
|
}, z.core.$loose>;
|
|
72
86
|
export type Column = z.infer<typeof Column>;
|
|
73
87
|
export type Filter = z.infer<typeof Filter>;
|
|
74
88
|
export type ListDefinition = z.infer<typeof ListDefinition>;
|
|
89
|
+
export type ListCalendar = z.infer<typeof ListCalendar>;
|
|
75
90
|
//# sourceMappingURL=list.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../src/schemas/list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../src/schemas/list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,MAAM;;;;;;;;;;;;;;iBAwBb,CAAC;AAEP,eAAO,MAAM,MAAM;;;;;;;;;;;;;;iBAWjB,CAAC;AAEH,eAAO,MAAM,YAAY;;;;iBAavB,CAAC;AAEH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA+BzB,CAAC;AAEH,MAAM,MAAM,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC;AAC5C,MAAM,MAAM,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC;AAC5C,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAC5D,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC"}
|
package/dist/schemas/list.js
CHANGED
|
@@ -12,7 +12,9 @@ var Column = z.looseObject({
|
|
|
12
12
|
"start",
|
|
13
13
|
"center",
|
|
14
14
|
"end"
|
|
15
|
-
]).optional()
|
|
15
|
+
]).optional(),
|
|
16
|
+
hidden: z.boolean().optional().meta({ description: "Not shown by default: the user can show it from the columns of the list (decision 0042)." }),
|
|
17
|
+
hideable: z.boolean().optional().meta({ description: "`false`: always shown, the user can move it but not hide it. Columns are hideable by default." })
|
|
16
18
|
}).refine((column) => column.field !== void 0 || column.id !== void 0, { message: "A column needs a `field` or an `id`." });
|
|
17
19
|
var Filter = z.looseObject({
|
|
18
20
|
id: z.string().min(1).meta({ description: "Sent as `filter[id]`." }),
|
|
@@ -23,20 +25,26 @@ var Filter = z.looseObject({
|
|
|
23
25
|
multiple: z.boolean().optional(),
|
|
24
26
|
default: z.unknown().optional()
|
|
25
27
|
});
|
|
28
|
+
var ListCalendar = z.looseObject({
|
|
29
|
+
field: z.string().min(1).meta({ description: "The `date` or `datetime` field each item is shown on the day of." }),
|
|
30
|
+
filter: z.string().min(1).optional().meta({ description: "The id of the list's `date-range` filter on that field, through which the calendar asks for the days around a month. Defaults to the field's name." }),
|
|
31
|
+
perPage: z.number().int().positive().optional().meta({ description: "How many items the calendar asks for a month, in one request. Defaults to 100." })
|
|
32
|
+
});
|
|
26
33
|
var ListDefinition = z.looseObject({
|
|
27
34
|
columns: z.array(Column).optional(),
|
|
28
35
|
filters: z.array(Filter).optional(),
|
|
29
36
|
sorts: z.array(z.string().min(1)).optional().meta({ description: "Fields the list can be sorted by." }),
|
|
30
37
|
defaultSort: z.string().optional().meta({ description: "Same format as the `sort` query parameter: `-published_at,title`." }),
|
|
31
38
|
search: z.boolean().optional().meta({ description: "Whether the `q` parameter is supported." }),
|
|
32
|
-
layouts: z.array(z.string().min(1)).optional(),
|
|
39
|
+
layouts: z.array(z.string().min(1)).optional().meta({ description: "The layouts the list offers, the first being the default. Built in: `table`, `cards`, `gallery` (on the `itemImage` of the resource) and `calendar` (with `calendar`)." }),
|
|
33
40
|
perPage: z.number().int().positive().optional(),
|
|
34
41
|
perPageOptions: z.array(z.number().int().positive()).optional(),
|
|
35
42
|
pagination: z.enum(["pages", "cursor"]).optional().meta({ description: "`pages` (the default): numbered pages, with a total. `cursor`: the list follows `nextCursor` of each page with the `cursor` parameter, without page numbers, for large lists that the backend can't count (decision 0039)." }),
|
|
36
|
-
inlineEdit: z.array(z.string().min(1)).optional().meta({ description: "Fields
|
|
37
|
-
selectable: z.boolean().optional()
|
|
43
|
+
inlineEdit: z.array(z.string().min(1)).optional().meta({ description: "Fields that columns edit in place, on items that can be updated: `text`, `number`, `select`, `boolean` and `date`. Each change is a `PATCH` with the one field and `If-Match` (decision 0043)." }),
|
|
44
|
+
selectable: z.boolean().optional(),
|
|
45
|
+
calendar: ListCalendar.optional().meta({ description: "The calendar of the list: the items of a month on the days of a date field, asked for through a `date-range` filter instead of pages (decision 0044)." })
|
|
38
46
|
});
|
|
39
47
|
//#endregion
|
|
40
|
-
export { Column, Filter, ListDefinition };
|
|
48
|
+
export { Column, Filter, ListCalendar, ListDefinition };
|
|
41
49
|
|
|
42
50
|
//# sourceMappingURL=list.js.map
|
package/dist/schemas/list.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list.js","names":[],"sources":["../../src/schemas/list.ts"],"sourcesContent":["import { z } from 'zod';\n\nimport { Option } from './common';\n\nexport const Column = z\n .looseObject({\n field: z.string().min(1).optional().meta({ description: 'The field shown in the column.' }),\n id: z\n .string()\n .min(1)\n .optional()\n .meta({ description: 'Id of a column that is not a field.' }),\n label: z.string().optional(),\n display: z.string().optional().meta({ description: 'How the value is displayed.' }),\n sortable: z.boolean().optional(),\n width: z.union([z.number(), z.string()]).optional(),\n align: z.enum(['start', 'center', 'end']).optional(),\n })\n .refine((column) => column.field !== undefined || column.id !== undefined, {\n message: 'A column needs a `field` or an `id`.',\n });\n\nexport const Filter = z.looseObject({\n id: z.string().min(1).meta({ description: 'Sent as `filter[id]`.' }),\n type: z.string().min(1).meta({\n description:\n 'Built-in: `text`, `select`, `toggle`, `date`, `date-range`, `relation`. A `date-range` value is the bounds of a range: `filter[id][from]` and `filter[id][to]`, days (`2026-01-31`), both inclusive and both optional.',\n }),\n label: z.string().optional(),\n options: z.array(Option).optional(),\n resource: z.string().optional(),\n multiple: z.boolean().optional(),\n default: z.unknown().optional(),\n});\n\nexport const ListDefinition = z.looseObject({\n columns: z.array(Column).optional(),\n filters: z.array(Filter).optional(),\n sorts: z\n .array(z.string().min(1))\n .optional()\n .meta({ description: 'Fields the list can be sorted by.' }),\n defaultSort: z\n .string()\n .optional()\n .meta({ description: 'Same format as the `sort` query parameter: `-published_at,title`.' }),\n search: z.boolean().optional().meta({ description: 'Whether the `q` parameter is supported.' }),\n layouts: z.array(z.string().min(1)).optional(),\n perPage: z.number().int().positive().optional(),\n perPageOptions: z.array(z.number().int().positive()).optional(),\n pagination: z.enum(['pages', 'cursor']).optional().meta({\n description:\n \"`pages` (the default): numbered pages, with a total. `cursor`: the list follows `nextCursor` of each page with the `cursor` parameter, without page numbers, for large lists that the backend can't count (decision 0039).\",\n }),\n inlineEdit: z
|
|
1
|
+
{"version":3,"file":"list.js","names":[],"sources":["../../src/schemas/list.ts"],"sourcesContent":["import { z } from 'zod';\n\nimport { Option } from './common';\n\nexport const Column = z\n .looseObject({\n field: z.string().min(1).optional().meta({ description: 'The field shown in the column.' }),\n id: z\n .string()\n .min(1)\n .optional()\n .meta({ description: 'Id of a column that is not a field.' }),\n label: z.string().optional(),\n display: z.string().optional().meta({ description: 'How the value is displayed.' }),\n sortable: z.boolean().optional(),\n width: z.union([z.number(), z.string()]).optional(),\n align: z.enum(['start', 'center', 'end']).optional(),\n hidden: z.boolean().optional().meta({\n description:\n 'Not shown by default: the user can show it from the columns of the list (decision 0042).',\n }),\n hideable: z.boolean().optional().meta({\n description:\n '`false`: always shown, the user can move it but not hide it. Columns are hideable by default.',\n }),\n })\n .refine((column) => column.field !== undefined || column.id !== undefined, {\n message: 'A column needs a `field` or an `id`.',\n });\n\nexport const Filter = z.looseObject({\n id: z.string().min(1).meta({ description: 'Sent as `filter[id]`.' }),\n type: z.string().min(1).meta({\n description:\n 'Built-in: `text`, `select`, `toggle`, `date`, `date-range`, `relation`. A `date-range` value is the bounds of a range: `filter[id][from]` and `filter[id][to]`, days (`2026-01-31`), both inclusive and both optional.',\n }),\n label: z.string().optional(),\n options: z.array(Option).optional(),\n resource: z.string().optional(),\n multiple: z.boolean().optional(),\n default: z.unknown().optional(),\n});\n\nexport const ListCalendar = z.looseObject({\n field: z\n .string()\n .min(1)\n .meta({ description: 'The `date` or `datetime` field each item is shown on the day of.' }),\n filter: z.string().min(1).optional().meta({\n description:\n \"The id of the list's `date-range` filter on that field, through which the calendar asks for the days around a month. Defaults to the field's name.\",\n }),\n perPage: z.number().int().positive().optional().meta({\n description:\n 'How many items the calendar asks for a month, in one request. Defaults to 100.',\n }),\n});\n\nexport const ListDefinition = z.looseObject({\n columns: z.array(Column).optional(),\n filters: z.array(Filter).optional(),\n sorts: z\n .array(z.string().min(1))\n .optional()\n .meta({ description: 'Fields the list can be sorted by.' }),\n defaultSort: z\n .string()\n .optional()\n .meta({ description: 'Same format as the `sort` query parameter: `-published_at,title`.' }),\n search: z.boolean().optional().meta({ description: 'Whether the `q` parameter is supported.' }),\n layouts: z.array(z.string().min(1)).optional().meta({\n description:\n 'The layouts the list offers, the first being the default. Built in: `table`, `cards`, `gallery` (on the `itemImage` of the resource) and `calendar` (with `calendar`).',\n }),\n perPage: z.number().int().positive().optional(),\n perPageOptions: z.array(z.number().int().positive()).optional(),\n pagination: z.enum(['pages', 'cursor']).optional().meta({\n description:\n \"`pages` (the default): numbered pages, with a total. `cursor`: the list follows `nextCursor` of each page with the `cursor` parameter, without page numbers, for large lists that the backend can't count (decision 0039).\",\n }),\n inlineEdit: z.array(z.string().min(1)).optional().meta({\n description:\n 'Fields that columns edit in place, on items that can be updated: `text`, `number`, `select`, `boolean` and `date`. Each change is a `PATCH` with the one field and `If-Match` (decision 0043).',\n }),\n selectable: z.boolean().optional(),\n calendar: ListCalendar.optional().meta({\n description:\n 'The calendar of the list: the items of a month on the days of a date field, asked for through a `date-range` filter instead of pages (decision 0044).',\n }),\n});\n\nexport type Column = z.infer<typeof Column>;\nexport type Filter = z.infer<typeof Filter>;\nexport type ListDefinition = z.infer<typeof ListDefinition>;\nexport type ListCalendar = z.infer<typeof ListCalendar>;\n"],"mappings":";;;AAIA,IAAa,SAAS,EACjB,YAAY;CACT,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,KAAK,EAAE,aAAa,iCAAiC,CAAC;CAC1F,IAAI,EACC,OAAO,CAAC,CACR,IAAI,CAAC,CAAC,CACN,SAAS,CAAC,CACV,KAAK,EAAE,aAAa,sCAAsC,CAAC;CAChE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS;CAC3B,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,KAAK,EAAE,aAAa,8BAA8B,CAAC;CAClF,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS;CAC/B,OAAO,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS;CAClD,OAAO,EAAE,KAAK;EAAC;EAAS;EAAU;CAAK,CAAC,CAAC,CAAC,SAAS;CACnD,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS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CACxB,SAAS,CAAC,CACV,KAAK,EAAE,aAAa,oCAAoC,CAAC;CAC9D,aAAa,EACR,OAAO,CAAC,CACR,SAAS,CAAC,CACV,KAAK,EAAE,aAAa,oEAAoE,CAAC;CAC9F,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,CAAC,CAAC,KAAK,EAAE,aAAa,0CAA0C,CAAC;CAC9F,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,KAAK,EAChD,aACI,yKACR,CAAC;CACD,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9C,gBAAgB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS;CAC9D,YAAY,EAAE,KAAK,CAAC,SAAS,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,KAAK,EACpD,aACI,6NACR,CAAC;CACD,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,KAAK,EACnD,aACI,iMACR,CAAC;CACD,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS;CACjC,UAAU,aAAa,SAAS,CAAC,CAAC,KAAK,EACnC,aACI,wJACR,CAAC;AACL,CAAC"}
|
|
@@ -39,6 +39,7 @@ export declare const Resource: z.ZodObject<{
|
|
|
39
39
|
default: z.ZodOptional<z.ZodUnknown>;
|
|
40
40
|
localized: z.ZodOptional<z.ZodBoolean>;
|
|
41
41
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
42
|
+
abilities: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
42
43
|
createOnly: z.ZodOptional<z.ZodBoolean>;
|
|
43
44
|
updateOnly: z.ZodOptional<z.ZodBoolean>;
|
|
44
45
|
rules: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -72,6 +73,7 @@ export declare const Resource: z.ZodObject<{
|
|
|
72
73
|
rule: z.ZodEnum<{
|
|
73
74
|
email: "email";
|
|
74
75
|
url: "url";
|
|
76
|
+
tel: "tel";
|
|
75
77
|
json: "json";
|
|
76
78
|
}>;
|
|
77
79
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -206,6 +208,8 @@ export declare const Resource: z.ZodObject<{
|
|
|
206
208
|
center: "center";
|
|
207
209
|
end: "end";
|
|
208
210
|
}>>;
|
|
211
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
212
|
+
hideable: z.ZodOptional<z.ZodBoolean>;
|
|
209
213
|
}, z.core.$loose>>>;
|
|
210
214
|
filters: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
211
215
|
id: z.ZodString;
|
|
@@ -234,6 +238,11 @@ export declare const Resource: z.ZodObject<{
|
|
|
234
238
|
}>>;
|
|
235
239
|
inlineEdit: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
236
240
|
selectable: z.ZodOptional<z.ZodBoolean>;
|
|
241
|
+
calendar: z.ZodOptional<z.ZodObject<{
|
|
242
|
+
field: z.ZodString;
|
|
243
|
+
filter: z.ZodOptional<z.ZodString>;
|
|
244
|
+
perPage: z.ZodOptional<z.ZodNumber>;
|
|
245
|
+
}, z.core.$loose>>;
|
|
237
246
|
}, z.core.$loose>>;
|
|
238
247
|
actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
239
248
|
id: z.ZodString;
|
|
@@ -271,6 +280,7 @@ export declare const Resource: z.ZodObject<{
|
|
|
271
280
|
default: z.ZodOptional<z.ZodUnknown>;
|
|
272
281
|
localized: z.ZodOptional<z.ZodBoolean>;
|
|
273
282
|
readOnly: z.ZodOptional<z.ZodBoolean>;
|
|
283
|
+
abilities: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
274
284
|
createOnly: z.ZodOptional<z.ZodBoolean>;
|
|
275
285
|
updateOnly: z.ZodOptional<z.ZodBoolean>;
|
|
276
286
|
rules: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
@@ -304,6 +314,7 @@ export declare const Resource: z.ZodObject<{
|
|
|
304
314
|
rule: z.ZodEnum<{
|
|
305
315
|
email: "email";
|
|
306
316
|
url: "url";
|
|
317
|
+
tel: "tel";
|
|
307
318
|
json: "json";
|
|
308
319
|
}>;
|
|
309
320
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resource.d.ts","sourceRoot":"","sources":["../../src/schemas/resource.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAGtC,eAAO,MAAM,gBAAgB;;;;;;;;;;;iBAmB3B,CAAC;AAEH,eAAO,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"resource.d.ts","sourceRoot":"","sources":["../../src/schemas/resource.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAGtC,eAAO,MAAM,gBAAgB;;;;;;;;;;;iBAmB3B,CAAC;AAEH,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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