Skip to content

craft-hub / workbenchContributionSchema

Variable: workbenchContributionSchema ​

const workbenchContributionSchema: ZodObject<{ description: ZodOptional<ZodUnion<readonly [ZodString, ZodObject<{ default: ZodString; }, $catchall<ZodString>>]>>; icon: ZodOptional<ZodString>; id: ZodString; order: ZodOptional<ZodNumber>; title: ZodUnion<readonly [ZodString, ZodObject<{ default: ZodString; }, $catchall<ZodString>>]>; views: ZodArray<ZodDiscriminatedUnion<[ZodObject<{ group: ZodOptional<ZodUnion<readonly [ZodString, ZodObject<..., ...>]>>; integration: ZodString; plugin: ZodString; type: ZodLiteral<"integration">; view: ZodString; }, $strict>, ZodObject<{ group: ZodOptional<ZodUnion<readonly [ZodString, ZodObject<..., ...>]>>; panel: ZodString; plugin: ZodString; type: ZodLiteral<"navigation">; }, $strict>, ZodObject<{ group: ZodOptional<ZodUnion<readonly [ZodString, ZodObject<..., ...>]>>; integrations: ZodOptional<ZodArray<ZodString>>; type: ZodLiteral<"host">; view: ZodEnum<{ projects: "projects"; work-items: "work-items"; }>; }, $strict>], "type">>; }, $strict>

Defined in: packages/craft-hub/src/workbench-contributions.ts:39

A product-level workbench that composes existing plugin views without owning their behavior.

Released under the MIT License.