Skip to content

craft-hub / workspaceSubscriptionSchema

Variable: workspaceSubscriptionSchema ​

const workspaceSubscriptionSchema: ZodObject<{ autoFollow: ZodOptional<ZodBoolean>; branch: ZodString; directory: ZodString; id: ZodString; lastImportedAt: ZodString; lastRevision: ZodString; name: ZodOptional<ZodString>; ownerScopeId: ZodOptional<ZodString>; providerId: ZodString; repository: ZodString; selectedWorkspaceIds: ZodArray<ZodString>; snapshot: ZodObject<{ $schema: ZodOptional<ZodString>; id: ZodString; name: ZodString; schemaVersion: ZodLiteral<1>; workspaces: ZodArray<ZodObject<{ $schema: ZodOptional<ZodString>; color: ZodOptional<ZodEnum<{ blue: "blue"; cyan: "cyan"; green: "green"; orange: "orange"; pink: "pink"; purple: "purple"; red: "red"; yellow: "yellow"; }>>; icon: ZodOptional<ZodString>; id: ZodString; members: ZodArray<ZodObject<{ label: ZodOptional<...>; pinned: ZodOptional<...>; project: ZodString; }, $strict>>; name: ZodString; primaryProject: ZodOptional<ZodString>; schemaVersion: ZodLiteral<1>; }, $strict>>; }, $strict>; sourceId: ZodString; url: ZodString; }, $strict>

Defined in: packages/craft-hub/src/workspace-subscriptions.ts:13

Released under the MIT License.