Skip to content

Variable: GetBlogPostsInSpaceSchema

ts
const GetBlogPostsInSpaceSchema: ZodObject<{
  bodyFormat: ZodOptional<ZodCustom<"storage" | string & object | "atlas_doc_format", "storage" | string & object | "atlas_doc_format">>;
  cursor: ZodOptional<ZodString>;
  id: ZodNumber;
  limit: ZodOptional<ZodNumber>;
  sort: ZodOptional<ZodCustom<
     | "id"
     | string & object
     | "created-date"
     | "-created-date"
     | "modified-date"
     | "-modified-date"
     | "-id", 
     | "id"
     | string & object
     | "created-date"
     | "-created-date"
     | "modified-date"
     | "-modified-date"
    | "-id">>;
  status: ZodOptional<ZodArray<ZodCustom<"deleted" | string & object | "current" | "trashed", "deleted" | string & object | "current" | "trashed">>>;
  title: ZodOptional<ZodString>;
}, $strip>;

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