Skip to content

craft-hub / workItemProjectDeleteRequestSchema

Variable: workItemProjectDeleteRequestSchema ​

const workItemProjectDeleteRequestSchema: ZodObject<{ revision: ZodString; target: ZodDiscriminatedUnion<[ZodObject<{ ref: ZodObject<{ accountId: ZodString; containerId: ZodString; instanceId: ZodString; itemId: ZodString; kind: ZodString; providerId: ZodString; }, $strict>; type: ZodLiteral<"item">; }, $strict>, ZodObject<{ ref: ZodObject<{ accountId: ZodString; containerId: ZodString; instanceId: ZodString; kind: ZodString; providerId: ZodString; }, $strict>; type: ZodLiteral<"container">; }, $strict>], "type">; }, $strict>

Defined in: packages/craft-hub/src/work-item-projects.ts:25

Validated removal; deleting an item override exposes the container default again.

Released under the MIT License.