Skip to content

Variable: SearchProjectsSchema

ts
const SearchProjectsSchema: ZodObject<{
  action: ZodOptional<ZodCustom<"view" | string & object | "edit" | "create" | "browse", "view" | string & object | "edit" | "create" | "browse">>;
  categoryId: ZodOptional<ZodNumber>;
  expand: ZodOptional<ZodUnion<readonly [ZodString, ZodArray<ZodString>, ZodCustom<
     | "url"
     | "description"
     | string & object
     | "issueTypes"
     | "lead"
     | "insight"
     | "projectKeys", 
     | "url"
     | "description"
     | string & object
     | "issueTypes"
     | "lead"
     | "insight"
     | "projectKeys">, ZodArray<ZodCustom<
     | "url"
     | "description"
     | string & object
     | "issueTypes"
     | "lead"
     | "insight"
     | "projectKeys", 
     | "url"
     | "description"
     | string & object
     | "issueTypes"
     | "lead"
     | "insight"
    | "projectKeys">>]>>;
  id: ZodOptional<ZodArray<ZodNumber>>;
  keys: ZodOptional<ZodArray<ZodString>>;
  maxResults: ZodOptional<ZodNumber>;
  orderBy: ZodOptional<ZodCustom<
     | "name"
     | "key"
     | string & object
     | "category"
     | "owner"
     | "archivedDate"
     | "deletedDate"
     | "issueCount"
     | "-name"
     | "+name"
     | "-issueCount"
     | "+issueCount"
     | "-owner"
     | "+owner"
     | "-category"
     | "+category"
     | "-key"
     | "+key"
     | "lastIssueUpdatedDate"
     | "-lastIssueUpdatedDate"
     | "+lastIssueUpdatedDate"
     | "+archivedDate"
     | "-archivedDate"
     | "+deletedDate"
     | "-deletedDate", 
     | "name"
     | "key"
     | string & object
     | "category"
     | "owner"
     | "archivedDate"
     | "deletedDate"
     | "issueCount"
     | "-name"
     | "+name"
     | "-issueCount"
     | "+issueCount"
     | "-owner"
     | "+owner"
     | "-category"
     | "+category"
     | "-key"
     | "+key"
     | "lastIssueUpdatedDate"
     | "-lastIssueUpdatedDate"
     | "+lastIssueUpdatedDate"
     | "+archivedDate"
     | "-archivedDate"
     | "+deletedDate"
    | "-deletedDate">>;
  properties: ZodOptional<ZodArray<ZodObject<{
  }, $loose>>>;
  propertyQuery: ZodOptional<ZodString>;
  query: ZodOptional<ZodString>;
  startAt: ZodOptional<ZodNumber>;
  status: ZodOptional<ZodArray<ZodCustom<"deleted" | "live" | string & object | "archived", "deleted" | "live" | string & object | "archived">>>;
  typeKey: ZodOptional<ZodUnion<readonly [ZodString, ZodArray<ZodString>]>>;
}, $strip>;

Defined in: src/cloud/parameters/searchProjects.ts:5