Skip to content

Variable: AddCustomContentPermissionsSchema

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

Defined in: src/v1/parameters/addCustomContentPermissions.ts:4