craft-hub / softwareCatalogSchema
Variable: softwareCatalogSchema
constsoftwareCatalogSchema:ZodObject<{items:ZodArray<ZodObject<{canInstall:ZodOptional<ZodBoolean>;canOpen:ZodOptional<ZodBoolean>;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>>;status:ZodEnum<{detected:"detected";not-detected:"not-detected";unknown:"unknown"; }>;title:ZodObject<{en:ZodString;zh:ZodOptional<ZodString>; },$strict>;url:ZodPipe<ZodString,ZodString>; },$strict>>;operationSupport:ZodOptional<ZodObject<{cliVersion:ZodOptional<ZodString>;message:ZodOptional<ZodString>;operations:ZodRecord<ZodString,ZodObject<{reason:ZodOptional<ZodString>;supported:ZodBoolean; },$strict>>;platform:ZodOptional<ZodString>;state:ZodEnum<{available:"available";unavailable:"unavailable";unsupported:"unsupported"; }>; },$strict>>;source:ZodObject<{id:ZodString;title:ZodString;url:ZodOptional<ZodPipe<ZodString,ZodString>>; },$strict>;version:ZodLiteral<1>; },$strict>
Defined in: packages/craft-hub/src/software-catalog.ts:58
One bounded, versioned catalog supplied by a trusted local host adapter.