Trilium Frontend API
    Preparing search index...

    Interface FAttachment

    Attachment is a file directly tied into a note without being a hidden child.

    interface FAttachment {
        attachmentId: string;
        contentLength: number;
        isProtected: boolean;
        mime: string;
        ownerId: string;
        role: string;
        title: string;
        utcDateModified: string;
        utcDateScheduledForErasureSince: string;
        getBlob(): Promise<default>;
        getNote(): FNote;
        update(row: FAttachmentRow): void;
    }
    Index

    Properties

    attachmentId: string
    contentLength: number

    optionally added to the entity

    isProtected: boolean
    mime: string
    ownerId: string
    role: string
    title: string
    utcDateModified: string
    utcDateScheduledForErasureSince: string

    Methods

    • Returns Promise<default>

    • Returns FNote