Skip to content

craft-hub / packageLinkContributionSchema

Variable: packageLinkContributionSchema ​

const packageLinkContributionSchema: ZodObject<{ description: ZodOptional<ZodUnion<readonly [ZodString, ZodObject<{ default: ZodString; }, $catchall<ZodString>>]>>; id: ZodString; package: ZodObject<{ allFiles: ZodDefault<ZodArray<ZodString>>; anyFiles: ZodDefault<ZodArray<ZodString>>; }, $strict>; title: ZodUnion<readonly [ZodString, ZodObject<{ default: ZodString; }, $catchall<ZodString>>]>; toolGroup: ZodOptional<ZodString>; urlTemplate: ZodString; value: ZodObject<{ files: ZodArray<ZodString>; key: ZodString; }, $strict>; }, $strict>

Defined in: packages/craft-hub/src/command-contributions.ts:111

Declarative package link resolved from a quoted literal in a bounded config file.

Released under the MIT License.