Skip to content

Variable: FoundGroupsSchema

ts
const FoundGroupsSchema: ZodObject<{
  groups: ZodOptional<ZodArray<ZodObject<{
     avatarUrl: ZodOptional<ZodString>;
     groupId: ZodOptional<ZodString>;
     html: ZodOptional<ZodString>;
     labels: ZodOptional<ZodArray<ZodObject<{
        text: ZodOptional<...>;
        title: ZodOptional<...>;
        type: ZodOptional<...>;
     }, $loose>>>;
     managedBy: ZodOptional<ZodCustom<string & object | "EXTERNAL" | "ADMINS" | "TEAM_MEMBERS" | "OPEN", string & object | "EXTERNAL" | "ADMINS" | "TEAM_MEMBERS" | "OPEN">>;
     name: ZodOptional<ZodString>;
     usageType: ZodOptional<ZodCustom<
        | string & object
        | "USERBASE_GROUP"
        | "TEAM_COLLABORATION"
        | "ADMIN_OVERSIGHT", 
        | string & object
        | "USERBASE_GROUP"
        | "TEAM_COLLABORATION"
       | "ADMIN_OVERSIGHT">>;
  }, $loose>>>;
  header: ZodOptional<ZodString>;
  total: ZodOptional<ZodNumber>;
}, $loose>;

Defined in: src/cloud/models/foundGroups.ts:9

The list of groups found in a search, including header text (Showing X of Y matching groups) and total of matched groups.