craft-hub / accountConfigurationSchema
Variable: accountConfigurationSchema
constaccountConfigurationSchema:ZodObject<{schemaVersion:ZodLiteral<1>;scopes:ZodArray<ZodObject<{scope:ZodObject<{id:ZodString;kind:ZodEnum<{personal:"personal";team:"team"; }>;name:ZodString; },$strict>;workspaces:ZodObject<{groups:ZodArray<ZodObject<{icon:ZodOptional<...>;id:ZodString;name:ZodString;ownerScopeId:ZodOptional<...>; },$strict>>;schemaVersion:ZodLiteral<1>;workspaceGroups:ZodRecord<ZodString,ZodString>;workspaceOrder:ZodArray<ZodString>;workspaces:ZodArray<ZodObject<{color:ZodOptional<...>;icon:ZodOptional<...>;id:ZodString;members:ZodArray<...>;name:ZodString;ownerScopeId:ZodOptional<...>;pinned:ZodOptional<...>;primaryProject:ZodOptional<...>;schemaVersion:ZodLiteral<...>; },$strict>>; },$strict>; },$strict>>;subscriptions:ZodArray<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<...>;color:ZodOptional<...>;icon:ZodOptional<...>;id:ZodString;members:ZodArray<...>;name:ZodString;primaryProject:ZodOptional<...>;schemaVersion:ZodLiteral<...>; },$strict>>; },$strict>;sourceId:ZodString;url:ZodString; },$strict>>; },$strict>
Defined in: packages/craft-hub/src/account-sync.ts:41
Portable account data only. Credentials, project registrations, bindings and execution trust are excluded.