interface Node<T, U> {
    access: NodeAccess<U>;
    breadcrumb: T[];
    createdAt: Date;
    createdBy: {};
    currentDataId: null | string;
    deletedAt: null | Date;
    id: string;
    isFavorite: boolean;
    name: string;
    parentId: null | string;
    sizes: NodeSize;
    type: "FILE" | "FOLDER";
    updatedAt: Date;
    users: [{}, "admin" | "write" | "read"][];
}

Type Parameters

Properties

access: NodeAccess<U>
breadcrumb: T[]
createdAt: Date
createdBy: {}
currentDataId: null | string
deletedAt: null | Date
id: string
isFavorite: boolean
name: string
parentId: null | string
sizes: NodeSize
type: "FILE" | "FOLDER"
updatedAt: Date
users: [{}, "admin" | "write" | "read"][]