Skip to content

craft-hub / workbenchViewReferenceSchema

Variable: workbenchViewReferenceSchema ​

const workbenchViewReferenceSchema: ZodDiscriminatedUnion<[ZodObject<{ group: ZodOptional<ZodUnion<readonly [ZodString, ZodObject<{ default: ZodString; }, $catchall<ZodString>>]>>; integration: ZodString; plugin: ZodString; type: ZodLiteral<"integration">; view: ZodString; }, $strict>, ZodObject<{ group: ZodOptional<ZodUnion<readonly [ZodString, ZodObject<{ default: ZodString; }, $catchall<ZodString>>]>>; panel: ZodString; plugin: ZodString; type: ZodLiteral<"navigation">; }, $strict>, ZodObject<{ group: ZodOptional<ZodUnion<readonly [ZodString, ZodObject<{ default: ZodString; }, $catchall<ZodString>>]>>; integrations: ZodOptional<ZodArray<ZodString>>; type: ZodLiteral<"host">; view: ZodEnum<{ projects: "projects"; work-items: "work-items"; }>; }, $strict>], "type">

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

One existing plugin view composed into a contributed workbench.

Released under the MIT License.