skedyul 0.2.7 → 0.2.9
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/schemas.d.ts +130 -0
- package/dist/schemas.js +13 -2
- package/package.json +1 -1
package/dist/.build-stamp
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
1769297464733
|
package/dist/schemas.d.ts
CHANGED
|
@@ -667,6 +667,24 @@ export declare const EmptyFormComponentDefinitionSchema: z.ZodObject<{
|
|
|
667
667
|
icon: z.ZodOptional<z.ZodString>;
|
|
668
668
|
}, z.core.$strip>;
|
|
669
669
|
}, z.core.$strip>;
|
|
670
|
+
/** Alert component definition for display-only informational content */
|
|
671
|
+
export declare const AlertComponentDefinitionSchema: z.ZodObject<{
|
|
672
|
+
id: z.ZodString;
|
|
673
|
+
row: z.ZodNumber;
|
|
674
|
+
col: z.ZodNumber;
|
|
675
|
+
className: z.ZodOptional<z.ZodString>;
|
|
676
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
677
|
+
component: z.ZodLiteral<"Alert">;
|
|
678
|
+
props: z.ZodObject<{
|
|
679
|
+
title: z.ZodString;
|
|
680
|
+
description: z.ZodString;
|
|
681
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
682
|
+
variant: z.ZodOptional<z.ZodEnum<{
|
|
683
|
+
default: "default";
|
|
684
|
+
destructive: "destructive";
|
|
685
|
+
}>>;
|
|
686
|
+
}, z.core.$strip>;
|
|
687
|
+
}, z.core.$strip>;
|
|
670
688
|
/** Forward declaration for FieldSetting with modalForm */
|
|
671
689
|
export type FormV2ComponentDefinition = z.infer<typeof FormV2ComponentDefinitionSchema>;
|
|
672
690
|
/** Modal form definition for nested forms */
|
|
@@ -968,6 +986,22 @@ export declare const FormV2ComponentDefinitionSchema: z.ZodDiscriminatedUnion<[z
|
|
|
968
986
|
description: z.ZodOptional<z.ZodString>;
|
|
969
987
|
icon: z.ZodOptional<z.ZodString>;
|
|
970
988
|
}, z.core.$strip>;
|
|
989
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
990
|
+
id: z.ZodString;
|
|
991
|
+
row: z.ZodNumber;
|
|
992
|
+
col: z.ZodNumber;
|
|
993
|
+
className: z.ZodOptional<z.ZodString>;
|
|
994
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
995
|
+
component: z.ZodLiteral<"Alert">;
|
|
996
|
+
props: z.ZodObject<{
|
|
997
|
+
title: z.ZodString;
|
|
998
|
+
description: z.ZodString;
|
|
999
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
1000
|
+
variant: z.ZodOptional<z.ZodEnum<{
|
|
1001
|
+
default: "default";
|
|
1002
|
+
destructive: "destructive";
|
|
1003
|
+
}>>;
|
|
1004
|
+
}, z.core.$strip>;
|
|
971
1005
|
}, z.core.$strip>], "component">;
|
|
972
1006
|
/** FormV2 props definition */
|
|
973
1007
|
export declare const FormV2PropsDefinitionSchema: z.ZodObject<{
|
|
@@ -1212,6 +1246,22 @@ export declare const FormV2PropsDefinitionSchema: z.ZodObject<{
|
|
|
1212
1246
|
description: z.ZodOptional<z.ZodString>;
|
|
1213
1247
|
icon: z.ZodOptional<z.ZodString>;
|
|
1214
1248
|
}, z.core.$strip>;
|
|
1249
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1250
|
+
id: z.ZodString;
|
|
1251
|
+
row: z.ZodNumber;
|
|
1252
|
+
col: z.ZodNumber;
|
|
1253
|
+
className: z.ZodOptional<z.ZodString>;
|
|
1254
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
1255
|
+
component: z.ZodLiteral<"Alert">;
|
|
1256
|
+
props: z.ZodObject<{
|
|
1257
|
+
title: z.ZodString;
|
|
1258
|
+
description: z.ZodString;
|
|
1259
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
1260
|
+
variant: z.ZodOptional<z.ZodEnum<{
|
|
1261
|
+
default: "default";
|
|
1262
|
+
destructive: "destructive";
|
|
1263
|
+
}>>;
|
|
1264
|
+
}, z.core.$strip>;
|
|
1215
1265
|
}, z.core.$strip>], "component">>;
|
|
1216
1266
|
layout: z.ZodObject<{
|
|
1217
1267
|
type: z.ZodLiteral<"form">;
|
|
@@ -1482,6 +1532,22 @@ export declare const CardBlockDefinitionSchema: z.ZodObject<{
|
|
|
1482
1532
|
description: z.ZodOptional<z.ZodString>;
|
|
1483
1533
|
icon: z.ZodOptional<z.ZodString>;
|
|
1484
1534
|
}, z.core.$strip>;
|
|
1535
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1536
|
+
id: z.ZodString;
|
|
1537
|
+
row: z.ZodNumber;
|
|
1538
|
+
col: z.ZodNumber;
|
|
1539
|
+
className: z.ZodOptional<z.ZodString>;
|
|
1540
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
1541
|
+
component: z.ZodLiteral<"Alert">;
|
|
1542
|
+
props: z.ZodObject<{
|
|
1543
|
+
title: z.ZodString;
|
|
1544
|
+
description: z.ZodString;
|
|
1545
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
1546
|
+
variant: z.ZodOptional<z.ZodEnum<{
|
|
1547
|
+
default: "default";
|
|
1548
|
+
destructive: "destructive";
|
|
1549
|
+
}>>;
|
|
1550
|
+
}, z.core.$strip>;
|
|
1485
1551
|
}, z.core.$strip>], "component">>;
|
|
1486
1552
|
layout: z.ZodObject<{
|
|
1487
1553
|
type: z.ZodLiteral<"form">;
|
|
@@ -1845,6 +1911,22 @@ export declare const PageBlockDefinitionSchema: z.ZodUnion<readonly [z.ZodObject
|
|
|
1845
1911
|
description: z.ZodOptional<z.ZodString>;
|
|
1846
1912
|
icon: z.ZodOptional<z.ZodString>;
|
|
1847
1913
|
}, z.core.$strip>;
|
|
1914
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1915
|
+
id: z.ZodString;
|
|
1916
|
+
row: z.ZodNumber;
|
|
1917
|
+
col: z.ZodNumber;
|
|
1918
|
+
className: z.ZodOptional<z.ZodString>;
|
|
1919
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
1920
|
+
component: z.ZodLiteral<"Alert">;
|
|
1921
|
+
props: z.ZodObject<{
|
|
1922
|
+
title: z.ZodString;
|
|
1923
|
+
description: z.ZodString;
|
|
1924
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
1925
|
+
variant: z.ZodOptional<z.ZodEnum<{
|
|
1926
|
+
default: "default";
|
|
1927
|
+
destructive: "destructive";
|
|
1928
|
+
}>>;
|
|
1929
|
+
}, z.core.$strip>;
|
|
1848
1930
|
}, z.core.$strip>], "component">>;
|
|
1849
1931
|
layout: z.ZodObject<{
|
|
1850
1932
|
type: z.ZodLiteral<"form">;
|
|
@@ -2209,6 +2291,22 @@ export declare const PageDefinitionSchema: z.ZodObject<{
|
|
|
2209
2291
|
description: z.ZodOptional<z.ZodString>;
|
|
2210
2292
|
icon: z.ZodOptional<z.ZodString>;
|
|
2211
2293
|
}, z.core.$strip>;
|
|
2294
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2295
|
+
id: z.ZodString;
|
|
2296
|
+
row: z.ZodNumber;
|
|
2297
|
+
col: z.ZodNumber;
|
|
2298
|
+
className: z.ZodOptional<z.ZodString>;
|
|
2299
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
2300
|
+
component: z.ZodLiteral<"Alert">;
|
|
2301
|
+
props: z.ZodObject<{
|
|
2302
|
+
title: z.ZodString;
|
|
2303
|
+
description: z.ZodString;
|
|
2304
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
2305
|
+
variant: z.ZodOptional<z.ZodEnum<{
|
|
2306
|
+
default: "default";
|
|
2307
|
+
destructive: "destructive";
|
|
2308
|
+
}>>;
|
|
2309
|
+
}, z.core.$strip>;
|
|
2212
2310
|
}, z.core.$strip>], "component">>;
|
|
2213
2311
|
layout: z.ZodObject<{
|
|
2214
2312
|
type: z.ZodLiteral<"form">;
|
|
@@ -2759,6 +2857,22 @@ export declare const ProvisionConfigSchema: z.ZodObject<{
|
|
|
2759
2857
|
description: z.ZodOptional<z.ZodString>;
|
|
2760
2858
|
icon: z.ZodOptional<z.ZodString>;
|
|
2761
2859
|
}, z.core.$strip>;
|
|
2860
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2861
|
+
id: z.ZodString;
|
|
2862
|
+
row: z.ZodNumber;
|
|
2863
|
+
col: z.ZodNumber;
|
|
2864
|
+
className: z.ZodOptional<z.ZodString>;
|
|
2865
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
2866
|
+
component: z.ZodLiteral<"Alert">;
|
|
2867
|
+
props: z.ZodObject<{
|
|
2868
|
+
title: z.ZodString;
|
|
2869
|
+
description: z.ZodString;
|
|
2870
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
2871
|
+
variant: z.ZodOptional<z.ZodEnum<{
|
|
2872
|
+
default: "default";
|
|
2873
|
+
destructive: "destructive";
|
|
2874
|
+
}>>;
|
|
2875
|
+
}, z.core.$strip>;
|
|
2762
2876
|
}, z.core.$strip>], "component">>;
|
|
2763
2877
|
layout: z.ZodObject<{
|
|
2764
2878
|
type: z.ZodLiteral<"form">;
|
|
@@ -3292,6 +3406,22 @@ export declare const SkedyulConfigSchema: z.ZodObject<{
|
|
|
3292
3406
|
description: z.ZodOptional<z.ZodString>;
|
|
3293
3407
|
icon: z.ZodOptional<z.ZodString>;
|
|
3294
3408
|
}, z.core.$strip>;
|
|
3409
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3410
|
+
id: z.ZodString;
|
|
3411
|
+
row: z.ZodNumber;
|
|
3412
|
+
col: z.ZodNumber;
|
|
3413
|
+
className: z.ZodOptional<z.ZodString>;
|
|
3414
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
3415
|
+
component: z.ZodLiteral<"Alert">;
|
|
3416
|
+
props: z.ZodObject<{
|
|
3417
|
+
title: z.ZodString;
|
|
3418
|
+
description: z.ZodString;
|
|
3419
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
3420
|
+
variant: z.ZodOptional<z.ZodEnum<{
|
|
3421
|
+
default: "default";
|
|
3422
|
+
destructive: "destructive";
|
|
3423
|
+
}>>;
|
|
3424
|
+
}, z.core.$strip>;
|
|
3295
3425
|
}, z.core.$strip>], "component">>;
|
|
3296
3426
|
layout: z.ZodObject<{
|
|
3297
3427
|
type: z.ZodLiteral<"form">;
|
package/dist/schemas.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.SkedyulConfigSchema = exports.ProvisionConfigSchema = exports.WebhooksSchema = exports.WebhookHandlerDefinitionSchema = exports.WebhookHttpMethodSchema = exports.PageDefinitionSchema = exports.PageInstanceFilterSchema = exports.PageContextDefinitionSchema = exports.PageContextItemDefinitionSchema = exports.PageContextModeSchema = exports.PageBlockDefinitionSchema = exports.ListBlockDefinitionSchema = exports.LegacyFormBlockDefinitionSchema = exports.PageFieldDefinitionSchema = exports.CardBlockDefinitionSchema = exports.CardBlockHeaderSchema = exports.FormV2PropsDefinitionSchema = exports.FormV2ComponentDefinitionSchema = exports.FieldSettingComponentDefinitionSchema = void 0;
|
|
3
|
+
exports.AlertComponentDefinitionSchema = exports.EmptyFormComponentDefinitionSchema = exports.ListComponentDefinitionSchema = exports.FileSettingComponentDefinitionSchema = exports.ImageSettingComponentDefinitionSchema = exports.TimePickerComponentDefinitionSchema = exports.DatePickerComponentDefinitionSchema = exports.CheckboxComponentDefinitionSchema = exports.ComboboxComponentDefinitionSchema = exports.SelectComponentDefinitionSchema = exports.TextareaComponentDefinitionSchema = exports.InputComponentDefinitionSchema = exports.FormLayoutConfigDefinitionSchema = exports.FormLayoutRowDefinitionSchema = exports.FormLayoutColumnDefinitionSchema = exports.RelationshipExtensionSchema = exports.FieldSettingButtonPropsSchema = exports.FormV2StylePropsSchema = exports.PageActionDefinitionSchema = exports.PageFormHeaderSchema = exports.PageFieldSourceSchema = exports.PageFieldTypeSchema = exports.PageBlockTypeSchema = exports.PageTypeSchema = exports.WorkflowDefinitionSchema = exports.WorkflowActionSchema = exports.WorkflowActionInputSchema = exports.ChannelDefinitionSchema = exports.ChannelToolBindingsSchema = exports.RelationshipDefinitionSchema = exports.RelationshipLinkSchema = exports.OnDeleteBehaviorSchema = exports.RelationshipCardinalitySchema = exports.ModelDefinitionSchema = exports.ModelFieldDefinitionSchema = exports.AppFieldVisibilitySchema = exports.InlineFieldDefinitionSchema = exports.FieldOptionSchema = exports.FieldDataTypeSchema = exports.ResourceDependencySchema = exports.WorkflowDependencySchema = exports.ChannelDependencySchema = exports.ModelDependencySchema = exports.StructuredFilterSchema = exports.FieldOwnerSchema = exports.ResourceScopeSchema = exports.ComputeLayerTypeSchema = exports.EnvSchemaSchema = exports.EnvVariableDefinitionSchema = exports.EnvVisibilitySchema = void 0;
|
|
4
|
+
exports.SkedyulConfigSchema = exports.ProvisionConfigSchema = exports.WebhooksSchema = exports.WebhookHandlerDefinitionSchema = exports.WebhookHttpMethodSchema = exports.PageDefinitionSchema = exports.PageInstanceFilterSchema = exports.PageContextDefinitionSchema = exports.PageContextItemDefinitionSchema = exports.PageContextModeSchema = exports.PageBlockDefinitionSchema = exports.ListBlockDefinitionSchema = exports.LegacyFormBlockDefinitionSchema = exports.PageFieldDefinitionSchema = exports.CardBlockDefinitionSchema = exports.CardBlockHeaderSchema = exports.FormV2PropsDefinitionSchema = exports.FormV2ComponentDefinitionSchema = exports.FieldSettingComponentDefinitionSchema = exports.ModalFormDefinitionSchema = void 0;
|
|
5
5
|
exports.safeParseConfig = safeParseConfig;
|
|
6
6
|
exports.isModelDependency = isModelDependency;
|
|
7
7
|
exports.isChannelDependency = isChannelDependency;
|
|
@@ -363,6 +363,16 @@ exports.EmptyFormComponentDefinitionSchema = exports.FormV2StylePropsSchema.exte
|
|
|
363
363
|
icon: zod_1.z.string().optional(),
|
|
364
364
|
}),
|
|
365
365
|
});
|
|
366
|
+
/** Alert component definition for display-only informational content */
|
|
367
|
+
exports.AlertComponentDefinitionSchema = exports.FormV2StylePropsSchema.extend({
|
|
368
|
+
component: zod_1.z.literal('Alert'),
|
|
369
|
+
props: zod_1.z.object({
|
|
370
|
+
title: zod_1.z.string(),
|
|
371
|
+
description: zod_1.z.string(),
|
|
372
|
+
icon: zod_1.z.string().optional(),
|
|
373
|
+
variant: zod_1.z.enum(['default', 'destructive']).optional(),
|
|
374
|
+
}),
|
|
375
|
+
});
|
|
366
376
|
/** Modal form definition for nested forms */
|
|
367
377
|
exports.ModalFormDefinitionSchema = zod_1.z.object({
|
|
368
378
|
header: exports.PageFormHeaderSchema,
|
|
@@ -397,6 +407,7 @@ exports.FormV2ComponentDefinitionSchema = zod_1.z.discriminatedUnion('component'
|
|
|
397
407
|
exports.FileSettingComponentDefinitionSchema,
|
|
398
408
|
exports.ListComponentDefinitionSchema,
|
|
399
409
|
exports.EmptyFormComponentDefinitionSchema,
|
|
410
|
+
exports.AlertComponentDefinitionSchema,
|
|
400
411
|
]);
|
|
401
412
|
/** FormV2 props definition */
|
|
402
413
|
exports.FormV2PropsDefinitionSchema = zod_1.z.object({
|