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

Type Parameters

  • T = []

Properties

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