Skip to content

DailyNotesPluginInstance

Defined in: src/obsidian/internals/InternalPlugins/DailyNotes/DailyNotesPluginInstance.d.ts:11

Extends

Properties

app

app: App

Defined in: src/obsidian/internals/InternalPlugins/DailyNotes/DailyNotesPluginInstance.d.ts:12


defaultOn

defaultOn: true

Defined in: src/obsidian/internals/InternalPlugins/DailyNotes/DailyNotesPluginInstance.d.ts:13


description

description: string

Defined in: src/obsidian/internals/InternalPlugins/InternalPluginInstance.d.ts:5

Inherited from

InternalPluginInstance.description


id

id: string

Defined in: src/obsidian/internals/InternalPlugins/InternalPluginInstance.d.ts:6

Inherited from

InternalPluginInstance.id


name

name: string

Defined in: src/obsidian/internals/InternalPlugins/InternalPluginInstance.d.ts:7

Inherited from

InternalPluginInstance.name


onDisable()?

optional onDisable: (app, plugin) => void

Defined in: src/obsidian/internals/InternalPlugins/InternalPluginInstance.d.ts:8

Parameters

app

App

plugin

DailyNotesPlugin

Returns

void

Inherited from

InternalPluginInstance.onDisable


onEnable()?

optional onEnable: (app, plugin) => Promise<void>

Defined in: src/obsidian/internals/InternalPlugins/InternalPluginInstance.d.ts:9

Parameters

app

App

plugin

DailyNotesPlugin

Returns

Promise<void>

Inherited from

InternalPluginInstance.onEnable


onUserDisable()?

optional onUserDisable: (app) => void

Defined in: src/obsidian/internals/InternalPlugins/InternalPluginInstance.d.ts:10

Parameters

app

App

Returns

void

Inherited from

InternalPluginInstance.onUserDisable


onUserEnable()?

optional onUserEnable: (app) => void

Defined in: src/obsidian/internals/InternalPlugins/InternalPluginInstance.d.ts:11

Parameters

app

App

Returns

void

Inherited from

InternalPluginInstance.onUserEnable


options

options: DailyNotesOptions

Defined in: src/obsidian/internals/InternalPlugins/DailyNotes/DailyNotesPluginInstance.d.ts:14


plugin

plugin: DailyNotesPlugin

Defined in: src/obsidian/internals/InternalPlugins/DailyNotes/DailyNotesPluginInstance.d.ts:15

Methods

getCurrentFileDateTimestamp()

getCurrentFileDateTimestamp(): null | number

Defined in: src/obsidian/internals/InternalPlugins/DailyNotes/DailyNotesPluginInstance.d.ts:17

Returns

null | number


getDailyNote()

getDailyNote(date): Promise<undefined | null | TFile>

Defined in: src/obsidian/internals/InternalPlugins/DailyNotes/DailyNotesPluginInstance.d.ts:18

Parameters

date

typeof moment

Returns

Promise<undefined | null | TFile>


getFormat()

getFormat(): string

Defined in: src/obsidian/internals/InternalPlugins/DailyNotes/DailyNotesPluginInstance.d.ts:19

Returns

string


gotoNextExisting()

gotoNextExisting(timestamp): Promise<void>

Defined in: src/obsidian/internals/InternalPlugins/DailyNotes/DailyNotesPluginInstance.d.ts:20

Parameters

timestamp

number

Returns

Promise<void>


gotoPreviousExisting()

gotoPreviousExisting(timestamp): Promise<void>

Defined in: src/obsidian/internals/InternalPlugins/DailyNotes/DailyNotesPluginInstance.d.ts:21

Parameters

timestamp

number

Returns

Promise<void>


init()

init(app, plugin): void

Defined in: src/obsidian/internals/InternalPlugins/InternalPluginInstance.d.ts:13

Parameters

app

App

plugin

DailyNotesPlugin

Returns

void

Inherited from

InternalPluginInstance.init


iterateDailyNotes()

iterateDailyNotes(callback): void

Defined in: src/obsidian/internals/InternalPlugins/DailyNotes/DailyNotesPluginInstance.d.ts:22

Parameters

callback

(file, timestamp) => void

Returns

void


onExternalSettingsChange()

onExternalSettingsChange(): Promise<void>

Defined in: src/obsidian/internals/InternalPlugins/DailyNotes/DailyNotesPluginInstance.d.ts:23

Returns

Promise<void>


onOpenDailyNote()

onOpenDailyNote(evt): Promise<void>

Defined in: src/obsidian/internals/InternalPlugins/DailyNotes/DailyNotesPluginInstance.d.ts:24

Parameters

evt

Event

Returns

Promise<void>