server-ts: Remove .js extensions in src/becca

This commit is contained in:
Elian Doran
2024-02-17 11:16:00 +02:00
parent 3a20bef1a9
commit 2c0063a5cc
13 changed files with 53 additions and 53 deletions

View File

@@ -1,13 +1,13 @@
"use strict";
import BNote = require('./bnote.js');
import AbstractBeccaEntity = require('./abstract_becca_entity.js');
import BNote = require('./bnote');
import AbstractBeccaEntity = require('./abstract_becca_entity');
import dateUtils = require('../../services/date_utils');
import utils = require('../../services/utils');
import TaskContext = require('../../services/task_context');
import cls = require('../../services/cls');
import log = require('../../services/log');
import { BranchRow } from './rows.js';
import { BranchRow } from './rows';
/**
* Branch represents a relationship between a child note and its parent note. Trilium allows a note to have multiple
@@ -159,7 +159,7 @@ class BBranch extends AbstractBeccaEntity<BBranch> {
if (parentBranches.length === 1 && parentBranches[0] === this) {
// needs to be run before branches and attributes are deleted and thus attached relations disappear
const handlers = require('../../services/handlers.js');
const handlers = require('../../services/handlers');
handlers.runAttachedRelations(note, 'runOnNoteDeletion', note);
}
}