mirror of
https://github.com/zadam/trilium.git
synced 2025-11-17 18:50:41 +01:00
server-esm: Change simple local import statements
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
"use strict";
|
||||
|
||||
import sql = require('../../sql');
|
||||
import utils = require('../../../services/utils');
|
||||
import AbstractShacaEntity = require('./abstract_shaca_entity');
|
||||
import SNote = require('./snote');
|
||||
import sql from "../../sql.js";
|
||||
import utils from "../../../services/utils.js";
|
||||
import AbstractShacaEntity from "./abstract_shaca_entity.js";
|
||||
import SNote from "./snote.js";
|
||||
import { Blob } from '../../../services/blob-interface';
|
||||
import { SAttachmentRow } from './rows';
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
"use strict";
|
||||
|
||||
import { SAttributeRow } from "./rows";
|
||||
import SNote = require('./snote');
|
||||
import SNote from "./snote.js";
|
||||
|
||||
const AbstractShacaEntity = require('./abstract_shaca_entity');
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
"use strict";
|
||||
|
||||
import AbstractShacaEntity = require('./abstract_shaca_entity');
|
||||
import AbstractShacaEntity from "./abstract_shaca_entity.js";
|
||||
import { SBranchRow } from './rows';
|
||||
import SNote = require('./snote');
|
||||
import SNote from "./snote.js";
|
||||
|
||||
class SBranch extends AbstractShacaEntity {
|
||||
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
"use strict";
|
||||
|
||||
import sql = require('../../sql');
|
||||
import utils = require('../../../services/utils');
|
||||
import AbstractShacaEntity = require('./abstract_shaca_entity');
|
||||
import sql from "../../sql.js";
|
||||
import utils from "../../../services/utils.js";
|
||||
import AbstractShacaEntity from "./abstract_shaca_entity.js";
|
||||
import escape = require('escape-html');
|
||||
import { Blob } from '../../../services/blob-interface';
|
||||
import SAttachment = require('./sattachment');
|
||||
import SAttribute = require('./sattribute');
|
||||
import SBranch = require('./sbranch');
|
||||
import SAttachment from "./sattachment.js";
|
||||
import SAttribute from "./sattribute.js";
|
||||
import SBranch from "./sbranch.js";
|
||||
import { SNoteRow } from './rows';
|
||||
|
||||
const LABEL = 'label';
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import SAttachment = require('./entities/sattachment');
|
||||
import SAttribute = require('./entities/sattribute');
|
||||
import SBranch = require('./entities/sbranch');
|
||||
import SNote = require('./entities/snote');
|
||||
import SAttachment from "./entities/sattachment.js";
|
||||
import SAttribute from "./entities/sattribute.js";
|
||||
import SBranch from "./entities/sbranch.js";
|
||||
import SNote from "./entities/snote.js";
|
||||
|
||||
export default class Shaca {
|
||||
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
"use strict";
|
||||
|
||||
import sql = require('../sql');
|
||||
import shaca = require('./shaca');
|
||||
import log = require('../../services/log');
|
||||
import SNote = require('./entities/snote');
|
||||
import SBranch = require('./entities/sbranch');
|
||||
import SAttribute = require('./entities/sattribute');
|
||||
import SAttachment = require('./entities/sattachment');
|
||||
import shareRoot = require('../share_root');
|
||||
import eventService = require('../../services/events');
|
||||
import sql from "../sql.js";
|
||||
import shaca from "./shaca.js";
|
||||
import log from "../../services/log.js";
|
||||
import SNote from "./entities/snote.js";
|
||||
import SBranch from "./entities/sbranch.js";
|
||||
import SAttribute from "./entities/sattribute.js";
|
||||
import SAttachment from "./entities/sattachment.js";
|
||||
import shareRoot from "../share_root.js";
|
||||
import eventService from "../../services/events.js";
|
||||
import { SAttachmentRow, SAttributeRow, SBranchRow, SNoteRow } from './entities/rows';
|
||||
|
||||
function load() {
|
||||
|
||||
Reference in New Issue
Block a user