mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 18:08:33 +02:00
server-ts: Port share/share_root
This commit is contained in:
parent
80a1b8b44d
commit
b07df6061f
@ -1,7 +1,7 @@
|
|||||||
const { JSDOM } = require("jsdom");
|
const { JSDOM } = require("jsdom");
|
||||||
const shaca = require('./shaca/shaca.js');
|
const shaca = require('./shaca/shaca.js');
|
||||||
const assetPath = require('../services/asset_path');
|
const assetPath = require('../services/asset_path');
|
||||||
const shareRoot = require('./share_root.js');
|
const shareRoot = require('./share_root');
|
||||||
const escapeHtml = require('escape-html');
|
const escapeHtml = require('escape-html');
|
||||||
|
|
||||||
function getContent(note) {
|
function getContent(note) {
|
||||||
|
@ -5,7 +5,7 @@ const ejs = require("ejs");
|
|||||||
|
|
||||||
const shaca = require('./shaca/shaca.js');
|
const shaca = require('./shaca/shaca.js');
|
||||||
const shacaLoader = require('./shaca/shaca_loader.js');
|
const shacaLoader = require('./shaca/shaca_loader.js');
|
||||||
const shareRoot = require('./share_root.js');
|
const shareRoot = require('./share_root');
|
||||||
const contentRenderer = require('./content_renderer.js');
|
const contentRenderer = require('./content_renderer.js');
|
||||||
const assetPath = require('../services/asset_path');
|
const assetPath = require('../services/asset_path');
|
||||||
const appPath = require('../services/app_path');
|
const appPath = require('../services/app_path');
|
||||||
|
@ -7,7 +7,7 @@ const SNote = require('./entities/snote.js');
|
|||||||
const SBranch = require('./entities/sbranch.js');
|
const SBranch = require('./entities/sbranch.js');
|
||||||
const SAttribute = require('./entities/sattribute.js');
|
const SAttribute = require('./entities/sattribute.js');
|
||||||
const SAttachment = require('./entities/sattachment.js');
|
const SAttachment = require('./entities/sattachment.js');
|
||||||
const shareRoot = require('../share_root.js');
|
const shareRoot = require('../share_root');
|
||||||
const eventService = require('../../services/events');
|
const eventService = require('../../services/events');
|
||||||
|
|
||||||
function load() {
|
function load() {
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
module.exports = {
|
export = {
|
||||||
SHARE_ROOT_NOTE_ID: '_share'
|
SHARE_ROOT_NOTE_ID: '_share'
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user