Skip to content

Variable: UsersAndGroupsSchema ​

ts
const UsersAndGroupsSchema: ZodObject<{
  groups: ZodOptional<ZodObject<{
     groups: ZodOptional<ZodArray<ZodObject<{
        html: ZodOptional<ZodString>;
        labels: ZodOptional<ZodArray<...>>;
        name: ZodOptional<ZodString>;
     }, ApiObjectConfig<undefined>>>>;
     header: ZodOptional<ZodString>;
     total: ZodOptional<ZodNumber>;
  }, ApiObjectConfig<undefined>>>;
  users: ZodOptional<ZodObject<{
     header: ZodOptional<ZodString>;
     total: ZodOptional<ZodNumber>;
     users: ZodOptional<ZodArray<ZodObject<{
        avatarUrl: ZodOptional<ZodString>;
        displayName: ZodOptional<ZodString>;
        html: ZodOptional<ZodString>;
        key: ZodOptional<ZodString>;
        name: ZodOptional<ZodString>;
     }, ApiObjectConfig<undefined>>>>;
  }, ApiObjectConfig<undefined>>>;
}, ApiObjectConfig<undefined>>;

Defined in: src/server/models/usersAndGroups.ts:6