User model

interface IFrontUserModel {
    groups: Pick<IGroupWithData<"name"[]>, "id" | "name">[];
    id: string;
    model: IModel;
    owners: Pick<
        IUserWithData<("lastname" | "firstname" | "email" | "avatar")[]>,
        "id" | "lastname" | "firstname" | "email" | "avatar",
    >[];
    template: string;
    users: Pick<
        IUserWithData<("lastname" | "firstname" | "email" | "avatar")[]>,
        "id" | "lastname" | "firstname" | "email" | "avatar",
    >[];
}

Hierarchy

  • Pick<
        IUserModelWithData<
            ("id" | "model" | "template" | "owners" | "users" | "groups")[],
        >,
        "id" | "model" | "template" | "owners" | "users" | "groups",
    >
    • IFrontUserModel

Properties

groups: Pick<IGroupWithData<"name"[]>, "id" | "name">[]
id: string
model: IModel
owners: Pick<
    IUserWithData<("lastname" | "firstname" | "email" | "avatar")[]>,
    "id" | "lastname" | "firstname" | "email" | "avatar",
>[]
template: string
users: Pick<
    IUserWithData<("lastname" | "firstname" | "email" | "avatar")[]>,
    "id" | "lastname" | "firstname" | "email" | "avatar",
>[]