Variable: AddContentRestrictionSchema
ts
const AddContentRestrictionSchema: ZodObject<{
operation: ZodCustom<"update" | string & object | "read", "update" | string & object | "read">;
restrictions: ZodObject<{
group: ZodOptional<ZodArray<ZodObject<{
name: ZodString;
type: ZodCustom<"group" | ... & ..., "group" | ... & ...>;
}, $loose>>>;
user: ZodOptional<ZodArray<ZodObject<{
accountId: ZodNullable<ZodString>;
type: ZodCustom<"unknown" | "user" | ... & ... | "known" | "anonymous", "unknown" | "user" | ... & ... | "known" | "anonymous">;
userKey: ZodOptional<ZodNullable<ZodString>>;
username: ZodOptional<ZodNullable<ZodString>>;
}, $loose>>>;
}, $loose>;
}, $loose>;Defined in: src/v1/models/addContentRestriction.ts:7