interface FolderData {
    _id: null | string;
    _stats: DocumentStats;
    color?: null | string;
    description: string;
    flags: DocumentFlags;
    folder?: null | string;
    name: string;
    sort?: number;
    sorting?: string;
    type: string;
}

Properties

_id: null | string

The _id which uniquely identifies this Folder document

An object of creation and access information

color?: null | string

A color string used for the background color of this Folder

description: string

An HTML description of the contents of this folder

An object of optional key/value flags

folder?: null | string

The _id of a parent Folder which contains this Folder

name: string

The name of this Folder

sort?: number

The numeric sort value which orders this Folder relative to its siblings

sorting?: string

The sorting mode used to organize documents within this Folder, in ["a", "m"]

type: string

The document type which this Folder contains, from CONST.FOLDER_DOCUMENT_TYPES