server-esm: Change simple local import statements

This commit is contained in:
Elian Doran
2024-07-18 21:35:17 +03:00
parent 8fb67c9766
commit 35d11cc0d2
184 changed files with 1023 additions and 1023 deletions

View File

@@ -3,18 +3,18 @@ import ejs = require('ejs');
import type { Request, Response, Router } from "express";
import shaca = require('./shaca/shaca');
import shacaLoader = require('./shaca/shaca_loader');
import shareRoot = require('./share_root');
import contentRenderer = require('./content_renderer');
import assetPath = require('../services/asset_path');
import appPath = require('../services/app_path');
import searchService = require('../services/search/services/search');
import SearchContext = require('../services/search/search_context');
import log = require('../services/log');
import SNote = require('./shaca/entities/snote');
import SBranch = require('./shaca/entities/sbranch');
import SAttachment = require('./shaca/entities/sattachment');
import shaca from "./shaca/shaca.js";
import shacaLoader from "./shaca/shaca_loader.js";
import shareRoot from "./share_root.js";
import contentRenderer from "./content_renderer.js";
import assetPath from "../services/asset_path.js";
import appPath from "../services/app_path.js";
import searchService from "../services/search/services/search.js";
import SearchContext from "../services/search/search_context.js";
import log from "../services/log.js";
import SNote from "./shaca/entities/snote.js";
import SBranch from "./shaca/entities/sbranch.js";
import SAttachment from "./shaca/entities/sattachment.js";
function getSharedSubTreeRoot(note: SNote): { note?: SNote; branch?: SBranch } {
if (note.noteId === shareRoot.SHARE_ROOT_NOTE_ID) {