mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-03 20:06:08 +01:00 
			
		
		
		
	refactor: 💡 rename getWeekNote to getWeekFirstDayNote
This commit is contained in:
		@@ -239,7 +239,7 @@ interface Api {
 | 
			
		||||
     * @param date in YYYY-MM-DD format
 | 
			
		||||
     * @param rootNote - specify calendar root note, normally leave empty to use the default calendar
 | 
			
		||||
     */
 | 
			
		||||
    getWeekNote(
 | 
			
		||||
    getWeekFirstDayNote(
 | 
			
		||||
        date: string,
 | 
			
		||||
        options: {
 | 
			
		||||
            // TODO: Deduplicate type with date_notes.ts once ES modules are added.
 | 
			
		||||
@@ -552,7 +552,7 @@ function BackendScriptApi(this: Api, currentNote: BNote, apiParams: ApiParams) {
 | 
			
		||||
    this.getRootCalendarNote = dateNoteService.getRootCalendarNote;
 | 
			
		||||
    this.getDayNote = dateNoteService.getDayNote;
 | 
			
		||||
    this.getTodayNote = dateNoteService.getTodayNote;
 | 
			
		||||
    this.getWeekNote = dateNoteService.getWeekNote;
 | 
			
		||||
    this.getWeekFirstDayNote = dateNoteService.getWeekFirstDayNote;
 | 
			
		||||
    this.getMonthNote = dateNoteService.getMonthNote;
 | 
			
		||||
    this.getYearNote = dateNoteService.getYearNote;
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user