Skip to content

Variable: GroupsSearchRequestSchema ​

ts
const GroupsSearchRequestSchema: ZodObject<{
  cursor: ZodOptional<ZodString>;
  expand: ZodOptional<ZodArray<ZodCustom<
     | string & object
     | "USERS"
     | "META"
     | "ROLE_ASSIGNMENTS"
     | "MANAGEMENT_ACCESS", 
     | string & object
     | "USERS"
     | "META"
     | "ROLE_ASSIGNMENTS"
    | "MANAGEMENT_ACCESS">>>;
  groupIds: ZodOptional<ZodArray<ZodString>>;
  groupNames: ZodOptional<ZodObject<{
     contains: ZodOptional<ZodString>;
     eq: ZodOptional<ZodArray<ZodString>>;
  }, ApiObjectConfig<undefined>>>;
  limit: ZodOptional<ZodNumber>;
}, ApiObjectConfig<undefined>>;

Defined in: src/admin/models/groupsSearchRequest.ts:5