Interface IProjectWithData<T>

    interface IProjectWithData<T> {
        archived?: TProjectGetArchived extends T
            ? boolean
            : never;
        avatar?: "avatar"[] extends T
            ? Buffer
            : never;
        createddate: TProjectGetCreateddate extends T
            ? Date
            : never;
        description?: TProjectGetDescription extends T
            ? string
            : never;
        geometries: "geometries"[] extends T
            ? string[]
            : never[];
        groups: "groups"[] extends T
            ? Pick<IGroupWithData<"name"[]>, "id" | "name">[]
            : never[];
        history?: TProjectGetHistory extends T
            ? object
            : never;
        id: string;
        lastaccess: TProjectGetLastaccess extends T
            ? Date
            : never;
        owners: "owners"[] extends T
            ? Pick<IUserWithData<(
                | "lastname"
                | "firstname"
                | "email"
                | "avatar")[]>,
                | "id"
                | "lastname"
                | "firstname"
                | "email"
                | "avatar">[]
            : never[];
        public?: TProjectGetPublic extends T
            ? boolean
            : never;
        simulations: "simulations"[] extends T
            ? string[]
            : never[];
        title: TProjectGetTitle extends T
            ? string
            : never;
        users: "users"[] extends T
            ? Pick<IUserWithData<(
                | "lastname"
                | "firstname"
                | "email"
                | "avatar")[]>,
                | "id"
                | "lastname"
                | "firstname"
                | "email"
                | "avatar">[]
            : never[];
        workspace: TProjectGetWorkspace extends T
            ? string
            : never;
    }

    Type Parameters

    • T = []

    Hierarchy (view full)

    Properties

    archived?: TProjectGetArchived extends T
        ? boolean
        : never
    avatar?: "avatar"[] extends T
        ? Buffer
        : never
    createddate: TProjectGetCreateddate extends T
        ? Date
        : never
    description?: TProjectGetDescription extends T
        ? string
        : never
    geometries: "geometries"[] extends T
        ? string[]
        : never[]
    groups: "groups"[] extends T
        ? Pick<IGroupWithData<"name"[]>, "id" | "name">[]
        : never[]
    history?: TProjectGetHistory extends T
        ? object
        : never
    id: string
    lastaccess: TProjectGetLastaccess extends T
        ? Date
        : never
    owners: "owners"[] extends T
        ? Pick<IUserWithData<(
            | "lastname"
            | "firstname"
            | "email"
            | "avatar")[]>,
            | "id"
            | "lastname"
            | "firstname"
            | "email"
            | "avatar">[]
        : never[]
    public?: TProjectGetPublic extends T
        ? boolean
        : never
    simulations: "simulations"[] extends T
        ? string[]
        : never[]
    title: TProjectGetTitle extends T
        ? string
        : never
    users: "users"[] extends T
        ? Pick<IUserWithData<(
            | "lastname"
            | "firstname"
            | "email"
            | "avatar")[]>,
            | "id"
            | "lastname"
            | "firstname"
            | "email"
            | "avatar">[]
        : never[]
    workspace: TProjectGetWorkspace extends T
        ? string
        : never

    Generated using TypeDoc and TypeDoc Airthium Plugin