English
craft-hub / environmentSourceCommandSchema
Variable: environmentSourceCommandSchema
constenvironmentSourceCommandSchema:ZodDiscriminatedUnion<[ZodObject<{kind:ZodEnum<{private:"private";public:"public"; }>;operation:ZodLiteral<"connect">;providerId:ZodString;repository:ZodString; },$strict>,ZodObject<{credentials:ZodObject<{token:ZodString;username:ZodString; },$strict>;id:ZodUUID;operation:ZodLiteral<"authenticate">; },$strict>,ZodObject<{id:ZodUUID;operation:ZodLiteral<"cancel">; },$strict>],"operation">
Defined in: packages/craft-hub/src/environment-sources.ts:19
Connection requests contain repository identities and transient authentication, never commands or target paths.