Skip to content

Variable: GetPagesInSpaceSchema

ts
const GetPagesInSpaceSchema: ZodObject<{
  bodyFormat: ZodOptional<ZodCustom<"storage" | string & object | "atlas_doc_format", "storage" | string & object | "atlas_doc_format">>;
  cursor: ZodOptional<ZodString>;
  depth: ZodOptional<ZodCustom<"all" | string & object | "root", "all" | string & object | "root">>;
  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">>;
  status: ZodOptional<ZodArray<ZodCustom<"deleted" | string & object | "current" | "trashed" | "archived", "deleted" | string & object | "current" | "trashed" | "archived">>>;
  title: ZodOptional<ZodString>;
}, $strip>;

Defined in: src/v2/parameters/getPagesInSpace.ts:6