User

interface IUserGet<T = []> {
    authorizedplugins: "authorizedplugins"[] extends T ? string[] : never[];
    avatar?: TUserGetAvatar extends T ? string : never;
    email: TUserGetEmail extends T ? string : never;
    firstname?: TUserGetFirstname extends T ? string : never;
    id: string | (TUserGetId extends T ? string : never);
    isvalidated: TUserGetIsvalidated extends T ? boolean : never;
    lastmodificationdate: TUserGetLastmodificationdate extends T ? Date : never;
    lastname?: TUserGetLastname extends T ? string : never;
    organizations: "organizations"[] extends T ? string[] : never[];
    password: TUserGetPassword extends T ? string : never;
    passwordlastchanged: TUserGetPasswordlastchange extends T ? Date : never;
    plugins: "plugins"[] extends T ? ClientPlugin[] : never[];
    projects: "projects"[] extends T ? string[] : never[];
    superuser: TUserGetSuperuser extends T ? boolean : never;
    usermodels: "usermodels"[] extends T ? string[] : never[];
    workspaces: "workspaces"[] extends T ? string[] : never[];
}

Type Parameters

  • T = []

Hierarchy

  • Omit<
        IUser<T>,

            | "organizations"
            | "workspaces"
            | "authorizedplugins"
            | "plugins"
            | "usermodels",
    >
    • IUserGet

Properties

authorizedplugins: "authorizedplugins"[] extends T ? string[] : never[]
avatar?: TUserGetAvatar extends T ? string : never
email: TUserGetEmail extends T ? string : never
firstname?: TUserGetFirstname extends T ? string : never
id: string | (TUserGetId extends T ? string : never)
isvalidated: TUserGetIsvalidated extends T ? boolean : never
lastmodificationdate: TUserGetLastmodificationdate extends T ? Date : never
lastname?: TUserGetLastname extends T ? string : never
organizations: "organizations"[] extends T ? string[] : never[]
password: TUserGetPassword extends T ? string : never
passwordlastchanged: TUserGetPasswordlastchange extends T ? Date : never
plugins: "plugins"[] extends T ? ClientPlugin[] : never[]
projects: "projects"[] extends T ? string[] : never[]
superuser: TUserGetSuperuser extends T ? boolean : never
usermodels: "usermodels"[] extends T ? string[] : never[]
workspaces: "workspaces"[] extends T ? string[] : never[]