skedyul 0.2.109 → 0.2.111
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 +2 -12
- package/dist/schemas.d.ts +2 -16
- package/dist/schemas.js +3 -13
- package/dist/types.d.ts +0 -2
- package/package.json +1 -1
package/dist/.build-stamp
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
1769750355304
|
package/dist/config.d.ts
CHANGED
|
@@ -648,16 +648,6 @@ export interface InstallConfig {
|
|
|
648
648
|
/** Tool name to invoke when app is uninstalled */
|
|
649
649
|
onUninstall?: string;
|
|
650
650
|
}
|
|
651
|
-
/**
|
|
652
|
-
* Configuration for a single webhook's provisioning lifecycle.
|
|
653
|
-
* Defines tools to invoke when the webhook is provisioned/deprovisioned.
|
|
654
|
-
*/
|
|
655
|
-
export interface WebhookProvisionConfig {
|
|
656
|
-
/** Tool name to invoke when webhook is provisioned */
|
|
657
|
-
onProvision?: string;
|
|
658
|
-
/** Tool name to invoke when webhook is deprovisioned */
|
|
659
|
-
onDeprovision?: string;
|
|
660
|
-
}
|
|
661
651
|
/** Provision-level configuration - auto-synced when app version is deployed */
|
|
662
652
|
export interface ProvisionConfig {
|
|
663
653
|
/** Global environment variables (developer-level, shared across all installs) */
|
|
@@ -674,8 +664,8 @@ export interface ProvisionConfig {
|
|
|
674
664
|
navigation?: NavigationConfig;
|
|
675
665
|
/** Page definitions for app UI */
|
|
676
666
|
pages?: PageDefinition[];
|
|
677
|
-
/**
|
|
678
|
-
|
|
667
|
+
/** Tool name to invoke after executable is healthy during provisioning */
|
|
668
|
+
onProvision?: string;
|
|
679
669
|
}
|
|
680
670
|
export interface SkedyulConfig {
|
|
681
671
|
/** App name */
|
package/dist/schemas.d.ts
CHANGED
|
@@ -2739,14 +2739,6 @@ export declare const WebhooksSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
2739
2739
|
}>>;
|
|
2740
2740
|
handler: z.ZodUnknown;
|
|
2741
2741
|
}, z.core.$strip>>;
|
|
2742
|
-
/**
|
|
2743
|
-
* Configuration for a single webhook's provisioning lifecycle.
|
|
2744
|
-
* Defines tools to invoke when the webhook is provisioned/deprovisioned.
|
|
2745
|
-
*/
|
|
2746
|
-
export declare const WebhookProvisionConfigSchema: z.ZodObject<{
|
|
2747
|
-
onProvision: z.ZodOptional<z.ZodString>;
|
|
2748
|
-
onDeprovision: z.ZodOptional<z.ZodString>;
|
|
2749
|
-
}, z.core.$strip>;
|
|
2750
2742
|
export declare const ProvisionConfigSchema: z.ZodObject<{
|
|
2751
2743
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2752
2744
|
label: z.ZodString;
|
|
@@ -3367,10 +3359,7 @@ export declare const ProvisionConfigSchema: z.ZodObject<{
|
|
|
3367
3359
|
where: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3368
3360
|
}, z.core.$strip>>;
|
|
3369
3361
|
}, z.core.$strip>>>;
|
|
3370
|
-
|
|
3371
|
-
onProvision: z.ZodOptional<z.ZodString>;
|
|
3372
|
-
onDeprovision: z.ZodOptional<z.ZodString>;
|
|
3373
|
-
}, z.core.$strip>>>;
|
|
3362
|
+
onProvision: z.ZodOptional<z.ZodString>;
|
|
3374
3363
|
}, z.core.$strip>;
|
|
3375
3364
|
export declare const SkedyulConfigSchema: z.ZodObject<{
|
|
3376
3365
|
name: z.ZodString;
|
|
@@ -4002,10 +3991,7 @@ export declare const SkedyulConfigSchema: z.ZodObject<{
|
|
|
4002
3991
|
where: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4003
3992
|
}, z.core.$strip>>;
|
|
4004
3993
|
}, z.core.$strip>>>;
|
|
4005
|
-
|
|
4006
|
-
onProvision: z.ZodOptional<z.ZodString>;
|
|
4007
|
-
onDeprovision: z.ZodOptional<z.ZodString>;
|
|
4008
|
-
}, z.core.$strip>>>;
|
|
3994
|
+
onProvision: z.ZodOptional<z.ZodString>;
|
|
4009
3995
|
}, z.core.$strip>, z.ZodUnknown]>>;
|
|
4010
3996
|
}, z.core.$strip>;
|
|
4011
3997
|
export type ParsedSkedyulConfig = z.infer<typeof SkedyulConfigSchema>;
|
package/dist/schemas.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ListItemTemplateSchema = 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.ChannelFieldDefinitionSchema = exports.ChannelCapabilitySchema = exports.ChannelCapabilityTypeSchema = 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.MessageSendOutputSchema = exports.MessageSendInputSchema = exports.MessageSendMessageSchema = exports.MessageSendContactSchema = exports.MessageSendSubscriptionSchema = exports.MessageSendChannelSchema = exports.SkedyulConfigSchema = exports.ProvisionConfigSchema = exports.
|
|
4
|
+
exports.MessageSendOutputSchema = exports.MessageSendInputSchema = exports.MessageSendMessageSchema = exports.MessageSendContactSchema = exports.MessageSendSubscriptionSchema = exports.MessageSendChannelSchema = exports.SkedyulConfigSchema = exports.ProvisionConfigSchema = exports.WebhooksSchema = exports.WebhookHandlerDefinitionSchema = exports.WebhookTypeSchema = exports.WebhookHttpMethodSchema = exports.PageDefinitionSchema = exports.NavigationConfigSchema = exports.NavigationBreadcrumbSchema = exports.BreadcrumbItemSchema = exports.NavigationSidebarSchema = exports.NavigationSectionSchema = exports.NavigationItemSchema = exports.PageInstanceFilterSchema = exports.PageContextDefinitionSchema = exports.PageContextItemDefinitionSchema = exports.PageContextFiltersSchema = exports.PageContextModeSchema = exports.PageBlockDefinitionSchema = exports.ListBlockDefinitionSchema = exports.LegacyFormBlockDefinitionSchema = exports.PageFieldDefinitionSchema = exports.CardBlockDefinitionSchema = exports.CardBlockHeaderSchema = exports.FormV2PropsDefinitionSchema = exports.FormV2ComponentDefinitionSchema = exports.FieldSettingComponentDefinitionSchema = exports.ModalFormDefinitionSchema = exports.AlertComponentDefinitionSchema = exports.EmptyFormComponentDefinitionSchema = exports.ListComponentDefinitionSchema = void 0;
|
|
5
5
|
exports.safeParseConfig = safeParseConfig;
|
|
6
6
|
exports.isModelDependency = isModelDependency;
|
|
7
7
|
exports.isChannelDependency = isChannelDependency;
|
|
@@ -652,16 +652,6 @@ exports.WebhooksSchema = zod_1.z.record(zod_1.z.string(), exports.WebhookHandler
|
|
|
652
652
|
// ─────────────────────────────────────────────────────────────────────────────
|
|
653
653
|
// Provision Config Schema
|
|
654
654
|
// ─────────────────────────────────────────────────────────────────────────────
|
|
655
|
-
/**
|
|
656
|
-
* Configuration for a single webhook's provisioning lifecycle.
|
|
657
|
-
* Defines tools to invoke when the webhook is provisioned/deprovisioned.
|
|
658
|
-
*/
|
|
659
|
-
exports.WebhookProvisionConfigSchema = zod_1.z.object({
|
|
660
|
-
/** Tool name to invoke when webhook is provisioned */
|
|
661
|
-
onProvision: zod_1.z.string().optional(),
|
|
662
|
-
/** Tool name to invoke when webhook is deprovisioned */
|
|
663
|
-
onDeprovision: zod_1.z.string().optional(),
|
|
664
|
-
});
|
|
665
655
|
exports.ProvisionConfigSchema = zod_1.z.object({
|
|
666
656
|
env: exports.EnvSchemaSchema.optional(),
|
|
667
657
|
models: zod_1.z.array(exports.ModelDefinitionSchema).optional(),
|
|
@@ -671,8 +661,8 @@ exports.ProvisionConfigSchema = zod_1.z.object({
|
|
|
671
661
|
/** Base navigation configuration for all pages (can be overridden per page) */
|
|
672
662
|
navigation: exports.NavigationConfigSchema.optional(),
|
|
673
663
|
pages: zod_1.z.array(exports.PageDefinitionSchema).optional(),
|
|
674
|
-
/**
|
|
675
|
-
|
|
664
|
+
/** Tool name to invoke after executable is healthy during provisioning */
|
|
665
|
+
onProvision: zod_1.z.string().optional(),
|
|
676
666
|
});
|
|
677
667
|
// ─────────────────────────────────────────────────────────────────────────────
|
|
678
668
|
// Main Config Schema
|
package/dist/types.d.ts
CHANGED
|
@@ -102,8 +102,6 @@ export type ProvisionToolInput = Record<string, never>;
|
|
|
102
102
|
* Extends ToolExecutionContext with provision-specific fields.
|
|
103
103
|
*/
|
|
104
104
|
export interface ProvisionToolContext extends ToolExecutionContext {
|
|
105
|
-
/** The webhook name being provisioned (e.g., 'receive_email') */
|
|
106
|
-
webhookName: string;
|
|
107
105
|
/** App version ID being provisioned */
|
|
108
106
|
appVersionId: string;
|
|
109
107
|
/** Trigger is always 'provision' for these tools */
|