Skip to content

Variable: GetRestrictionsByOperationSchema ​

ts
const GetRestrictionsByOperationSchema: ZodObject<{
  _links: ZodOptional<ZodObject<{
     base: ZodOptional<ZodString>;
     byOperation: ZodOptional<ZodString>;
     collection: ZodOptional<ZodString>;
     context: ZodOptional<ZodString>;
     download: ZodOptional<ZodString>;
     editui: ZodOptional<ZodString>;
     edituiv2: ZodOptional<ZodString>;
     next: ZodOptional<ZodString>;
     prev: ZodOptional<ZodString>;
     self: ZodOptional<ZodString>;
     tinyui: ZodOptional<ZodString>;
     webui: ZodOptional<ZodString>;
  }, ApiObjectConfig<undefined>>>;
  read: ZodOptional<ZodType<ContentRestriction, unknown, $ZodTypeInternals<ContentRestriction, unknown>>>;
  update: ZodOptional<ZodType<ContentRestriction, unknown, $ZodTypeInternals<ContentRestriction, unknown>>>;
}, ApiObjectConfig<undefined>>;

Defined in: src/v1/models/getRestrictionsByOperation.ts:6