interface IGroup<T = []> {
    id: string;
    name: TGroupGetName extends T ? string : never;
    organization: TGroupGetOrganization extends T ? string : never;
    projects?: TGroupGetProjects extends T ? string[] : never[];
    usermodels?: TGroupGetUserModels extends T ? string[] : never[];
    users: TGroupGetUsers extends T ? string[] : never[];
    workspaces?: TGroupGetWorkspaces extends T ? string[] : never[];
}

Type Parameters

  • T = []

Properties

id: string
name: TGroupGetName extends T ? string : never
organization: TGroupGetOrganization extends T ? string : never
projects?: TGroupGetProjects extends T ? string[] : never[]
usermodels?: TGroupGetUserModels extends T ? string[] : never[]
users: TGroupGetUsers extends T ? string[] : never[]
workspaces?: TGroupGetWorkspaces extends T ? string[] : never[]