Skip to content

Variable: GetCustomContentByTypeInPageSchema

ts
const GetCustomContentByTypeInPageSchema: ZodObject<{
  bodyFormat: ZodOptional<ZodCustom<"raw" | "storage" | string & object | "atlas_doc_format", "raw" | "storage" | string & object | "atlas_doc_format">>;
  cursor: ZodOptional<ZodString>;
  id: ZodNumber;
  limit: ZodOptional<ZodNumber>;
  sort: ZodOptional<ZodCustom<
     | "id"
     | "title"
     | string & object
     | "created-date"
     | "-created-date"
     | "modified-date"
     | "-modified-date"
     | "-id"
     | "-title", 
     | "id"
     | "title"
     | string & object
     | "created-date"
     | "-created-date"
     | "modified-date"
     | "-modified-date"
     | "-id"
    | "-title">>;
  type: ZodString;
}, $strip>;

Defined in: src/v2/parameters/getCustomContentByTypeInPage.ts:5