Skip to content

craft-hub / softwareInstallationPlanSchema

Variable: softwareInstallationPlanSchema ​

const softwareInstallationPlanSchema: ZodObject<{ createdAt: ZodISODateTime; id: ZodString; items: ZodArray<ZodObject<{ action: ZodEnum<{ install: "install"; manual: "manual"; skip: "skip"; }>; installation: ZodObject<{ kind: ZodEnum<{ brew-cask: "brew-cask"; brew-formula: "brew-formula"; download: "download"; manual: "manual"; }>; packageId: ZodOptional<ZodString>; }, $strict>; reason: ZodOptional<ZodString>; softwareId: ZodString; title: ZodObject<{ en: ZodString; zh: ZodOptional<ZodString>; }, $strict>; }, $strict>>; prerequisites: ZodArray<ZodString>; sourceId: ZodString; version: ZodLiteral<1>; }, $strict>

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

Immutable preview; persistence and plan freshness are owned by the trusted adapter.

Released under the MIT License.