Skip to content

craft-hub / setupProfileSchema

Variable: setupProfileSchema ​

const setupProfileSchema: ZodObject<{ configurations: ZodArray<ZodObject<{ integrationId: ZodString; itemId: ZodString; kind: ZodEnum<{ instructions: "instructions"; mcp: "mcp"; skill: "skill"; terminal: "terminal"; }>; origin: ZodEnum<{ private: "private"; public: "public"; }>; sourceDigest: ZodString; title: ZodString; }, $strict>>; name: ZodString; platform: ZodLiteral<"darwin">; software: ZodArray<ZodObject<{ installation: ZodObject<{ kind: ZodEnum<{ brew-cask: "brew-cask"; brew-formula: "brew-formula"; download: "download"; manual: "manual"; }>; packageId: ZodOptional<ZodString>; }, $strict>; softwareId: ZodString; sourceId: ZodString; title: ZodObject<{ en: ZodString; zh: ZodOptional<ZodString>; }, $strict>; url: ZodPipe<ZodString, ZodString>; }, $strict>>; version: ZodLiteral<1>; }, $strict>

Defined in: packages/craft-hub/src/setup-profile.ts:32

Desired software and managed source references; configuration contents and machine state stay local.

Released under the MIT License.