mirror of
https://github.com/zadam/trilium.git
synced 2025-10-29 18:49:00 +01:00
chore(backend_api): document week note behaviour
This commit is contained in:
parent
68bdd1336f
commit
b20a8bc90b
@ -255,8 +255,12 @@ export interface Api {
|
|||||||
/**
|
/**
|
||||||
* Returns week note for given date. If such a note doesn't exist, it is created.
|
* Returns week note for given date. If such a note doesn't exist, it is created.
|
||||||
*
|
*
|
||||||
|
* <p>
|
||||||
|
* If the calendar does not support week notes, this method will return `null`.
|
||||||
|
*
|
||||||
* @param date in YYYY-MM-DD format
|
* @param date in YYYY-MM-DD format
|
||||||
* @param rootNote - specify calendar root note, normally leave empty to use the default calendar
|
* @param rootNote - specify calendar root note, normally leave empty to use the default calendar
|
||||||
|
* @return an existing or newly created week note, or `null` if the calendar does not support week notes.
|
||||||
*/
|
*/
|
||||||
getWeekNote(date: string, rootNote: BNote): BNote | null;
|
getWeekNote(date: string, rootNote: BNote): BNote | null;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user