Skip to content

craft-hub / operationSupportSchema

Variable: operationSupportSchema ​

const operationSupportSchema: ZodObject<{ cliVersion: ZodOptional<ZodString>; message: ZodOptional<ZodString>; operations: ZodRecord<ZodString, ZodObject<{ reason: ZodOptional<ZodString>; supported: ZodBoolean; }, $strict>>; platform: ZodOptional<ZodString>; state: ZodEnum<{ available: "available"; unavailable: "unavailable"; unsupported: "unsupported"; }>; }, $strict>

Defined in: packages/craft-hub/src/configuration-management.ts:4

Bounded platform operation report supplied by a trusted local execution provider.

Released under the MIT License.