Skip to content

Variable: GetBlogPostsSchema

ts
const GetBlogPostsSchema: ZodObject<{
  bodyFormat: ZodOptional<ZodCustom<"storage" | string & object | "atlas_doc_format", "storage" | string & object | "atlas_doc_format">>;
  cursor: ZodOptional<ZodString>;
  id: ZodOptional<ZodArray<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">>;
  spaceId: ZodOptional<ZodArray<ZodNumber>>;
  status: ZodOptional<ZodArray<ZodCustom<"deleted" | string & object | "current" | "trashed", "deleted" | string & object | "current" | "trashed">>>;
  title: ZodOptional<ZodString>;
}, $strip>;

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