rmapi-js
    Preparing search index...

    Interface DocumentType

    a file, referred to in the api as a document

    interface DocumentType {
        fileType: "epub" | "pdf" | "notebook";
        hash: string;
        id: string;
        lastModified: string;
        lastOpened: string;
        parent?: string;
        pinned: boolean;
        tags?: Tag[];
        type: "DocumentType";
        visibleName: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    fileType: "epub" | "pdf" | "notebook"

    the type of the file

    hash: string

    the current hash of the state of this entry

    id: string

    the document id, a uuid4

    lastModified: string

    the last modified timestamp

    lastOpened: string

    the timestamp of the last time this entry was opened

    parent?: string

    the parent of this entry

    There are two special parents, "" (empty string) for the root directory, and "trash" for the trash

    pinned: boolean

    true if the entry is starred in most ui elements

    tags?: Tag[]

    any tags the entry might have

    type: "DocumentType"

    the key to identify this as a document

    visibleName: string

    the visible display name of this entry