interface IProject<T = []> {
    archived?: TProjectGetArchived extends T ? boolean : never;
    avatar?: TProjectGetAvatar extends T ? string : never;
    createddate: TProjectGetCreateddate extends T ? Date : never;
    description?: TProjectGetDescription extends T ? string : never;
    geometries?: TProjectGetGeometries extends T ? string[] : never[];
    groups?: TProjectGetGroups extends T ? string[] : never[];
    history?: TProjectGetHistory extends T ? object : never;
    id: string;
    lastaccess: TProjectGetLastaccess extends T ? Date : never;
    owners: TProjectGetOwners extends T ? string[] : never[];
    public?: TProjectGetPublic extends T ? boolean : never;
    simulations?: TProjectGetSimulations extends T ? string[] : never[];
    title: TProjectGetTitle extends T ? string : never;
    users?: TProjectGetUsers extends T ? string[] : never[];
    workspace: TProjectGetWorkspace extends T ? string : never;
}

Type Parameters

  • T = []

Properties

archived?: TProjectGetArchived extends T ? boolean : never
avatar?: TProjectGetAvatar extends T ? string : never
createddate: TProjectGetCreateddate extends T ? Date : never
description?: TProjectGetDescription extends T ? string : never
geometries?: TProjectGetGeometries extends T ? string[] : never[]
groups?: TProjectGetGroups extends T ? string[] : never[]
history?: TProjectGetHistory extends T ? object : never
id: string
lastaccess: TProjectGetLastaccess extends T ? Date : never
owners: TProjectGetOwners extends T ? string[] : never[]
public?: TProjectGetPublic extends T ? boolean : never
simulations?: TProjectGetSimulations extends T ? string[] : never[]
title: TProjectGetTitle extends T ? string : never
users?: TProjectGetUsers extends T ? string[] : never[]
workspace: TProjectGetWorkspace extends T ? string : never