skedyul 0.2.44 → 0.2.46
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/.build-stamp +1 -1
- package/dist/config.d.ts +8 -1
- package/dist/schemas.d.ts +40 -0
- package/dist/schemas.js +8 -1
- package/package.json +1 -1
package/dist/.build-stamp
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
1769393513717
|
package/dist/config.d.ts
CHANGED
|
@@ -225,7 +225,7 @@ export interface SelectComponentDefinition extends FormV2StyleProps {
|
|
|
225
225
|
label?: string;
|
|
226
226
|
placeholder?: string;
|
|
227
227
|
helpText?: string;
|
|
228
|
-
/** Static items array
|
|
228
|
+
/** Static items array (will be populated by iterable if using dynamic items) */
|
|
229
229
|
items?: Array<{
|
|
230
230
|
value: string;
|
|
231
231
|
label: string;
|
|
@@ -236,6 +236,13 @@ export interface SelectComponentDefinition extends FormV2StyleProps {
|
|
|
236
236
|
};
|
|
237
237
|
/** For relationship-based selects */
|
|
238
238
|
relationship?: RelationshipExtension;
|
|
239
|
+
/** For dynamic items using iterable pattern (e.g., 'system.models') */
|
|
240
|
+
iterable?: string;
|
|
241
|
+
/** Template for each item in the iterable */
|
|
242
|
+
itemTemplate?: {
|
|
243
|
+
value: string;
|
|
244
|
+
label: string;
|
|
245
|
+
};
|
|
239
246
|
}
|
|
240
247
|
/** Combobox component definition */
|
|
241
248
|
export interface ComboboxComponentDefinition extends FormV2StyleProps {
|
package/dist/schemas.d.ts
CHANGED
|
@@ -521,6 +521,11 @@ export declare const SelectComponentDefinitionSchema: z.ZodObject<{
|
|
|
521
521
|
relationship: z.ZodOptional<z.ZodObject<{
|
|
522
522
|
model: z.ZodString;
|
|
523
523
|
}, z.core.$strip>>;
|
|
524
|
+
iterable: z.ZodOptional<z.ZodString>;
|
|
525
|
+
itemTemplate: z.ZodOptional<z.ZodObject<{
|
|
526
|
+
value: z.ZodString;
|
|
527
|
+
label: z.ZodString;
|
|
528
|
+
}, z.core.$strip>>;
|
|
524
529
|
}, z.core.$strip>;
|
|
525
530
|
/** Combobox component definition */
|
|
526
531
|
export declare const ComboboxComponentDefinitionSchema: z.ZodObject<{
|
|
@@ -827,6 +832,11 @@ export declare const FormV2ComponentDefinitionSchema: z.ZodDiscriminatedUnion<[z
|
|
|
827
832
|
relationship: z.ZodOptional<z.ZodObject<{
|
|
828
833
|
model: z.ZodString;
|
|
829
834
|
}, z.core.$strip>>;
|
|
835
|
+
iterable: z.ZodOptional<z.ZodString>;
|
|
836
|
+
itemTemplate: z.ZodOptional<z.ZodObject<{
|
|
837
|
+
value: z.ZodString;
|
|
838
|
+
label: z.ZodString;
|
|
839
|
+
}, z.core.$strip>>;
|
|
830
840
|
}, z.core.$strip>, z.ZodObject<{
|
|
831
841
|
id: z.ZodString;
|
|
832
842
|
row: z.ZodNumber;
|
|
@@ -1098,6 +1108,11 @@ export declare const FormV2PropsDefinitionSchema: z.ZodObject<{
|
|
|
1098
1108
|
relationship: z.ZodOptional<z.ZodObject<{
|
|
1099
1109
|
model: z.ZodString;
|
|
1100
1110
|
}, z.core.$strip>>;
|
|
1111
|
+
iterable: z.ZodOptional<z.ZodString>;
|
|
1112
|
+
itemTemplate: z.ZodOptional<z.ZodObject<{
|
|
1113
|
+
value: z.ZodString;
|
|
1114
|
+
label: z.ZodString;
|
|
1115
|
+
}, z.core.$strip>>;
|
|
1101
1116
|
}, z.core.$strip>, z.ZodObject<{
|
|
1102
1117
|
id: z.ZodString;
|
|
1103
1118
|
row: z.ZodNumber;
|
|
@@ -1395,6 +1410,11 @@ export declare const CardBlockDefinitionSchema: z.ZodObject<{
|
|
|
1395
1410
|
relationship: z.ZodOptional<z.ZodObject<{
|
|
1396
1411
|
model: z.ZodString;
|
|
1397
1412
|
}, z.core.$strip>>;
|
|
1413
|
+
iterable: z.ZodOptional<z.ZodString>;
|
|
1414
|
+
itemTemplate: z.ZodOptional<z.ZodObject<{
|
|
1415
|
+
value: z.ZodString;
|
|
1416
|
+
label: z.ZodString;
|
|
1417
|
+
}, z.core.$strip>>;
|
|
1398
1418
|
}, z.core.$strip>, z.ZodObject<{
|
|
1399
1419
|
id: z.ZodString;
|
|
1400
1420
|
row: z.ZodNumber;
|
|
@@ -1785,6 +1805,11 @@ export declare const PageBlockDefinitionSchema: z.ZodUnion<readonly [z.ZodObject
|
|
|
1785
1805
|
relationship: z.ZodOptional<z.ZodObject<{
|
|
1786
1806
|
model: z.ZodString;
|
|
1787
1807
|
}, z.core.$strip>>;
|
|
1808
|
+
iterable: z.ZodOptional<z.ZodString>;
|
|
1809
|
+
itemTemplate: z.ZodOptional<z.ZodObject<{
|
|
1810
|
+
value: z.ZodString;
|
|
1811
|
+
label: z.ZodString;
|
|
1812
|
+
}, z.core.$strip>>;
|
|
1788
1813
|
}, z.core.$strip>, z.ZodObject<{
|
|
1789
1814
|
id: z.ZodString;
|
|
1790
1815
|
row: z.ZodNumber;
|
|
@@ -2255,6 +2280,11 @@ export declare const PageDefinitionSchema: z.ZodObject<{
|
|
|
2255
2280
|
relationship: z.ZodOptional<z.ZodObject<{
|
|
2256
2281
|
model: z.ZodString;
|
|
2257
2282
|
}, z.core.$strip>>;
|
|
2283
|
+
iterable: z.ZodOptional<z.ZodString>;
|
|
2284
|
+
itemTemplate: z.ZodOptional<z.ZodObject<{
|
|
2285
|
+
value: z.ZodString;
|
|
2286
|
+
label: z.ZodString;
|
|
2287
|
+
}, z.core.$strip>>;
|
|
2258
2288
|
}, z.core.$strip>, z.ZodObject<{
|
|
2259
2289
|
id: z.ZodString;
|
|
2260
2290
|
row: z.ZodNumber;
|
|
@@ -2866,6 +2896,11 @@ export declare const ProvisionConfigSchema: z.ZodObject<{
|
|
|
2866
2896
|
relationship: z.ZodOptional<z.ZodObject<{
|
|
2867
2897
|
model: z.ZodString;
|
|
2868
2898
|
}, z.core.$strip>>;
|
|
2899
|
+
iterable: z.ZodOptional<z.ZodString>;
|
|
2900
|
+
itemTemplate: z.ZodOptional<z.ZodObject<{
|
|
2901
|
+
value: z.ZodString;
|
|
2902
|
+
label: z.ZodString;
|
|
2903
|
+
}, z.core.$strip>>;
|
|
2869
2904
|
}, z.core.$strip>, z.ZodObject<{
|
|
2870
2905
|
id: z.ZodString;
|
|
2871
2906
|
row: z.ZodNumber;
|
|
@@ -3460,6 +3495,11 @@ export declare const SkedyulConfigSchema: z.ZodObject<{
|
|
|
3460
3495
|
relationship: z.ZodOptional<z.ZodObject<{
|
|
3461
3496
|
model: z.ZodString;
|
|
3462
3497
|
}, z.core.$strip>>;
|
|
3498
|
+
iterable: z.ZodOptional<z.ZodString>;
|
|
3499
|
+
itemTemplate: z.ZodOptional<z.ZodObject<{
|
|
3500
|
+
value: z.ZodString;
|
|
3501
|
+
label: z.ZodString;
|
|
3502
|
+
}, z.core.$strip>>;
|
|
3463
3503
|
}, z.core.$strip>, z.ZodObject<{
|
|
3464
3504
|
id: z.ZodString;
|
|
3465
3505
|
row: z.ZodNumber;
|
package/dist/schemas.js
CHANGED
|
@@ -264,13 +264,20 @@ exports.SelectComponentDefinitionSchema = exports.FormV2StylePropsSchema.extend(
|
|
|
264
264
|
label: zod_1.z.string().optional(),
|
|
265
265
|
placeholder: zod_1.z.string().optional(),
|
|
266
266
|
helpText: zod_1.z.string().optional(),
|
|
267
|
-
/** Static items array
|
|
267
|
+
/** Static items array (will be populated by iterable if using dynamic items) */
|
|
268
268
|
items: zod_1.z.union([zod_1.z.array(zod_1.z.object({ value: zod_1.z.string(), label: zod_1.z.string() })), zod_1.z.string()]).optional(),
|
|
269
269
|
value: zod_1.z.string().optional(),
|
|
270
270
|
isDisabled: zod_1.z.boolean().optional(),
|
|
271
271
|
required: zod_1.z.boolean().optional(),
|
|
272
272
|
}),
|
|
273
273
|
relationship: exports.RelationshipExtensionSchema.optional(),
|
|
274
|
+
/** For dynamic items using iterable pattern (e.g., 'system.models') */
|
|
275
|
+
iterable: zod_1.z.string().optional(),
|
|
276
|
+
/** Template for each item in the iterable */
|
|
277
|
+
itemTemplate: zod_1.z.object({
|
|
278
|
+
value: zod_1.z.string(),
|
|
279
|
+
label: zod_1.z.string(),
|
|
280
|
+
}).optional(),
|
|
274
281
|
});
|
|
275
282
|
/** Combobox component definition */
|
|
276
283
|
exports.ComboboxComponentDefinitionSchema = exports.FormV2StylePropsSchema.extend({
|