Skip to content

Variable: SpacePermissionCustomContentSchema

ts
const SpacePermissionCustomContentSchema: ZodObject<{
  operations: ZodArray<ZodObject<{
     access: ZodBoolean;
     key: ZodCustom<string & object | "delete" | "read" | "create", string & object | "delete" | "read" | "create">;
     target: ZodString;
  }, $loose>>;
  subject: ZodObject<{
     identifier: ZodString;
     type: ZodCustom<"user" | "group" | string & object, "user" | "group" | string & object>;
  }, $loose>;
}, $loose>;

Defined in: src/v1/models/spacePermissionCustomContent.ts:9

This object represents a list of space permissions for custom content type for an individual user. Permissions consist of* a subjects object and a list with at least one operation object.