interface IFrontMutateOrganizationsItem {
    groups?: Pick<
        IGroupWithData<("name" | "users")[]>,
        "id" | "name" | "users",
    >[];
    id: string;
    name?: string;
    owners?: Pick<
        IUserWithData<
            (
                | "lastname"
                | "firstname"
                | "email"
                | "avatar"
                | "workspaces"
                | "projects"
                | "usermodels"
            )[],
        >,
        | "id"
        | "lastname"
        | "firstname"
        | "email"
        | "avatar"
        | "workspaces"
        | "projects"
        | "usermodels",
    >[];
    pendingowners?: Pick<IUserWithData<"email"[]>, "id" | "email">[];
    pendingusers?: Pick<IUserWithData<"email"[]>, "id" | "email">[];
    users?: Pick<
        IUserWithData<
            (
                | "lastname"
                | "firstname"
                | "email"
                | "avatar"
                | "workspaces"
                | "projects"
                | "usermodels"
            )[],
        >,
        | "id"
        | "lastname"
        | "firstname"
        | "email"
        | "avatar"
        | "workspaces"
        | "projects"
        | "usermodels",
    >[];
}

Hierarchy

Properties

groups?: Pick<IGroupWithData<("name" | "users")[]>, "id" | "name" | "users">[]
id: string
name?: string
owners?: Pick<
    IUserWithData<
        (
            | "lastname"
            | "firstname"
            | "email"
            | "avatar"
            | "workspaces"
            | "projects"
            | "usermodels"
        )[],
    >,
    | "id"
    | "lastname"
    | "firstname"
    | "email"
    | "avatar"
    | "workspaces"
    | "projects"
    | "usermodels",
>[]
pendingowners?: Pick<IUserWithData<"email"[]>, "id" | "email">[]
pendingusers?: Pick<IUserWithData<"email"[]>, "id" | "email">[]
users?: Pick<
    IUserWithData<
        (
            | "lastname"
            | "firstname"
            | "email"
            | "avatar"
            | "workspaces"
            | "projects"
            | "usermodels"
        )[],
    >,
    | "id"
    | "lastname"
    | "firstname"
    | "email"
    | "avatar"
    | "workspaces"
    | "projects"
    | "usermodels",
>[]