GetAvailablePathForAttachmentsParams
Options for the getAvailablePathForAttachments function.
Import:
import type { GetAvailablePathForAttachmentsParams } from 'obsidian-dev-utils/obsidian/attachment-path';Signature:
export interface GetAvailablePathForAttachmentsParamsProperties
| Property | Type | Description |
|---|---|---|
| app | App | An Obsidian application instance. |
| attachmentFileBaseName | string | A base name of the attachment. |
| attachmentFileExtension | string | An extension of the attachment. |
| notePathOrFile | null | PathOrFile | A file to attach to. |
| shouldSkipDuplicateCheck? | boolean | Should the duplicate check be skipped. |
| shouldSkipMissingAttachmentFolderCreation? | boolean | Should missing attachment folder creation be skipped. |
Links to this page: