Skip to content

craft-hub / softwareSourceInputSchema

Variable: softwareSourceInputSchema ​

const softwareSourceInputSchema: ZodObject<{ branch: ZodDefault<ZodString>; catalogPath: ZodDefault<ZodString>; id: ZodOptional<ZodString>; localPath: ZodOptional<ZodString>; mode: ZodEnum<{ local: "local"; remote: "remote"; }>; refreshPolicy: ZodOptional<ZodDiscriminatedUnion<[ZodObject<{ mode: ZodLiteral<"manual">; }, $strict>, ZodObject<{ intervalMinutes: ZodNumber; mode: ZodLiteral<"interval">; }, $strict>, ZodObject<{ mode: ZodLiteral<"daily">; time: ZodString; timeZone: ZodString; }, $strict>], "mode">>; repository: ZodOptional<ZodString>; }, $strict>

Defined in: packages/craft-hub/src/software-sources.ts:23

A repository identity can have both an online location and one host-local checkout binding.

Released under the MIT License.