Skip to content

MisplacedAttachmentEntry

One reference to an attachment outside the attachment folder of the note that makes it.

The same attachment referenced from two notes is two entries, because the two notes can configure different attachment folders.

Import:

import type { MisplacedAttachmentEntry } from '@mnaoumov/obsidian-lib/misplaced-attachment';

Signature:

export interface MisplacedAttachmentEntry

Properties

PropertyTypeDescription
attachmentPathstringThe attachment's current vault-relative path.
properAttachmentFolderPathstringThe vault-relative folder the referencing note's configuration puts the attachment in.
referenceReferenceThe reference that reaches the attachment.

Links to this page: