Skip to content

Variable: AddContentRestrictionUpdateArraySchema

ts
const AddContentRestrictionUpdateArraySchema: ZodArray<ZodObject<{
  operation: ZodCustom<"update" | string & object | "read", "update" | string & object | "read">;
  restrictions: ZodObject<{
     group: ZodOptional<ZodArray<ZodObject<{
        name: ZodString;
        type: ZodCustom<... | ..., ... | ...>;
     }, $loose>>>;
     user: ZodOptional<ZodArray<ZodObject<{
        accountId: ZodNullable<ZodString>;
        type: ZodCustom<... | ... | ... | ... | ..., ... | ... | ... | ... | ...>;
        userKey: ZodOptional<ZodNullable<...>>;
        username: ZodOptional<ZodNullable<...>>;
     }, $loose>>>;
  }, $loose>;
}, $loose>>;

Defined in: src/v1/models/addContentRestrictionUpdateArray.ts:4