Skip to content

craft-hub / softwareMetadataSchema

Variable: softwareMetadataSchema ​

const softwareMetadataSchema: ZodObject<{ description: ZodOptional<ZodString>; downloadUrl: ZodOptional<ZodPipe<ZodString, ZodString>>; group: ZodObject<{ id: ZodString; title: ZodObject<{ en: ZodString; zh: ZodOptional<ZodString>; }, $strict>; }, $strict>; iconScale: ZodOptional<ZodNumber>; iconStyle: ZodOptional<ZodEnum<{ original: "original"; rounded: "rounded"; }>>; iconUrl: ZodOptional<ZodPipe<ZodString, ZodString>>; id: ZodString; installation: ZodObject<{ kind: ZodEnum<{ brew-cask: "brew-cask"; brew-formula: "brew-formula"; download: "download"; manual: "manual"; }>; packageId: ZodOptional<ZodString>; }, $strict>; macosIconUrl: ZodOptional<ZodPipe<ZodString, ZodString>>; platforms: ZodOptional<ZodArray<ZodEnum<{ linux: "linux"; macos: "macos"; windows: "windows"; }>>>; repositoryUrl: ZodOptional<ZodPipe<ZodString, ZodString>>; title: ZodObject<{ en: ZodString; zh: ZodOptional<ZodString>; }, $strict>; url: ZodPipe<ZodString, ZodString>; }, $strict>

Defined in: packages/craft-hub/src/software-catalog.ts:20

Portable catalog metadata; no machine observations or executable recipes.

Released under the MIT License.