Group

interface IGroupGet<T = []> {
    id: string;
    name: TGroupGetName extends T ? string : never;
    organization: TGroupGetOrganization extends T ? string : never;
    projects: "projects"[] extends T ? string[] : never[];
    usermodels: "usermodels"[] extends T ? string[] : never[];
    users: "users"[] extends T ? string[] : never[];
    workspaces: "workspaces"[] extends T ? string[] : never[];
}

Type Parameters

  • T = []

Hierarchy

  • Omit<IGroup<T>, "users" | "workspaces" | "projects" | "usermodels">
    • IGroupGet

Properties

id: string
name: TGroupGetName extends T ? string : never
organization: TGroupGetOrganization extends T ? string : never
projects: "projects"[] extends T ? string[] : never[]
usermodels: "usermodels"[] extends T ? string[] : never[]
users: "users"[] extends T ? string[] : never[]
workspaces: "workspaces"[] extends T ? string[] : never[]