Skip to content

Variable: SearchByCQLSchema

ts
const SearchByCQLSchema: ZodObject<{
  _: ZodOptional<ZodNumber>;
  cql: ZodString;
  cqlcontext: ZodOptional<ZodString>;
  cursor: ZodOptional<ZodString>;
  excerpt: ZodOptional<ZodCustom<
     | "none"
     | "highlight"
     | string & object
     | "indexed"
     | "highlight_unescaped"
     | "indexed_unescaped", 
     | "none"
     | "highlight"
     | string & object
     | "indexed"
     | "highlight_unescaped"
    | "indexed_unescaped">>;
  excludeCurrentSpaces: ZodOptional<ZodBoolean>;
  expand: ZodOptional<ZodArray<ZodString>>;
  includeArchivedSpaces: ZodOptional<ZodBoolean>;
  limit: ZodOptional<ZodNumber>;
  next: ZodOptional<ZodBoolean>;
  prev: ZodOptional<ZodBoolean>;
  sitePermissionTypeFilter: ZodOptional<ZodCustom<"all" | "none" | string & object | "externalCollaborator", "all" | "none" | string & object | "externalCollaborator">>;
  start: ZodOptional<ZodNumber>;
}, $strip>;

Defined in: src/v1/parameters/searchByCQL.ts:4