server-esm: Change simple library import statements

This commit is contained in:
Elian Doran
2024-07-18 21:37:45 +03:00
parent 35d11cc0d2
commit 2750df04a3
61 changed files with 122 additions and 122 deletions

View File

@@ -9,20 +9,20 @@ import log from "../services/log.js";
import utils from "../services/utils.js";
import revisionService from "./revisions.js";
import request from "./request.js";
import path = require('path');
import url = require('url');
import path from "path";
import url from "url";
import becca from "../becca/becca.js";
import BBranch from "../becca/entities/bbranch.js";
import BNote from "../becca/entities/bnote.js";
import BAttribute from "../becca/entities/battribute.js";
import BAttachment from "../becca/entities/battachment.js";
import dayjs = require('dayjs');
import dayjs from "dayjs";
import htmlSanitizer from "./html_sanitizer.js";
import ValidationError from "../errors/validation_error.js";
import noteTypesService from "./note_types.js";
import fs = require('fs');
import fs from "fs";
import ws from "./ws.js";
import html2plaintext = require('html2plaintext');
import html2plaintext from "html2plaintext";
import { AttachmentRow, AttributeRow, BranchRow, NoteRow, NoteType } from '../becca/entities/rows';
import TaskContext from "./task_context.js";
import { NoteParams } from './note-interface';