Skip to content

craft-hub / setupProfileCommandSchema

Variable: setupProfileCommandSchema ​

const setupProfileCommandSchema: ZodDiscriminatedUnion<[ZodObject<{ configurations: ZodArray<ZodObject<{ integrationId: ZodString; itemId: ZodString; }, $strict>>; name: ZodString; operation: ZodLiteral<"save">; revision: ZodString; software: ZodArray<ZodObject<{ softwareId: ZodString; sourceId: ZodString; }, $strict>>; }, $strict>, ZodObject<{ operation: ZodLiteral<"import">; profile: ZodObject<{ configurations: ZodArray<ZodObject<{ integrationId: ZodString; itemId: ZodString; kind: ZodEnum<{ instructions: ...; mcp: ...; skill: ...; terminal: ...; }>; origin: ZodEnum<{ private: ...; public: ...; }>; sourceDigest: ZodString; title: ZodString; }, $strict>>; name: ZodString; platform: ZodLiteral<"darwin">; software: ZodArray<ZodObject<{ installation: ZodObject<{ kind: ...; packageId: ...; }, $strict>; softwareId: ZodString; sourceId: ZodString; title: ZodObject<{ en: ...; zh: ...; }, $strict>; url: ZodPipe<ZodString, ZodString>; }, $strict>>; version: ZodLiteral<1>; }, $strict>; revision: ZodString; }, $strict>, ZodObject<{ operation: ZodLiteral<"review">; }, $strict>, ZodObject<{ operation: ZodLiteral<"inventory">; }, $strict>], "operation">

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

All changes require the current local revision; importing never executes the profile.

Released under the MIT License.