Skip to content

Variable: FoundUsersAndGroupsSchema ​

ts
const FoundUsersAndGroupsSchema: ZodObject<{
  groups: ZodOptional<ZodObject<{
     groups: ZodOptional<ZodArray<ZodObject<{
        avatarUrl: ZodOptional<ZodString>;
        groupId: ZodOptional<ZodString>;
        html: ZodOptional<ZodString>;
        labels: ZodOptional<ZodArray<...>>;
        managedBy: ZodOptional<ZodCustom<..., ...>>;
        name: ZodOptional<ZodString>;
        usageType: ZodOptional<ZodCustom<..., ...>>;
     }, ApiObjectConfig<undefined>>>>;
     header: ZodOptional<ZodString>;
     total: ZodOptional<ZodNumber>;
  }, ApiObjectConfig<undefined>>>;
  users: ZodOptional<ZodObject<{
     header: ZodOptional<ZodString>;
     total: ZodOptional<ZodNumber>;
     users: ZodOptional<ZodArray<ZodObject<{
        accountId: ZodOptional<ZodString>;
        accountType: ZodOptional<ZodCustom<..., ...>>;
        avatarUrl: ZodOptional<ZodURL>;
        displayName: ZodOptional<ZodString>;
        html: ZodOptional<ZodString>;
     }, ApiObjectConfig<undefined>>>>;
  }, ApiObjectConfig<undefined>>>;
}, ApiObjectConfig<undefined>>;

Defined in: src/cloud/models/foundUsersAndGroups.ts:7

List of users and groups found in a search.