UserModel

interface IUserModelGet<T = []> {
    groups: "groups"[] extends T ? string[] : never[];
    id: string;
    model: TUserModelGetModel extends T ? IModel : never;
    owners: "owners"[] extends T ? string[] : never[];
    template: TUserModelGetTemplate extends T ? string : never;
    users: "users"[] extends T ? string[] : never[];
}

Type Parameters

  • T = []

Hierarchy

  • Omit<IUserModel<T>, "owners" | "users" | "groups">
    • IUserModelGet

Properties

groups: "groups"[] extends T ? string[] : never[]
id: string
model: TUserModelGetModel extends T ? IModel : never
owners: "owners"[] extends T ? string[] : never[]
template: TUserModelGetTemplate extends T ? string : never
users: "users"[] extends T ? string[] : never[]