mirror of
https://github.com/zadam/trilium.git
synced 2025-12-23 00:29:59 +01:00
chore(monorepo/server): fix imports for hidden subtree
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
|
import type { HiddenSubtreeItem } from "@triliumnext/commons";
|
||||||
import { t } from "i18next";
|
import { t } from "i18next";
|
||||||
import type { HiddenSubtreeItem } from "./hidden_subtree.js";
|
|
||||||
|
|
||||||
export default function buildLaunchBarConfig() {
|
export default function buildLaunchBarConfig() {
|
||||||
const sharedLaunchers: Record<string, Omit<HiddenSubtreeItem, "id">> = {
|
const sharedLaunchers: Record<string, Omit<HiddenSubtreeItem, "id">> = {
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
import path from "path";
|
import path from "path";
|
||||||
import fs from "fs";
|
import fs from "fs";
|
||||||
import type { HiddenSubtreeItem } from "./hidden_subtree.js";
|
|
||||||
import type NoteMeta from "./meta/note_meta.js";
|
import type NoteMeta from "./meta/note_meta.js";
|
||||||
import type { NoteMetaFile } from "./meta/note_meta.js";
|
import type { NoteMetaFile } from "./meta/note_meta.js";
|
||||||
import { fileURLToPath } from "url";
|
import { fileURLToPath } from "url";
|
||||||
import { isDev } from "./utils.js";
|
import { isDev } from "./utils.js";
|
||||||
import type BNote from "../becca/entities/bnote.js";
|
import type BNote from "../becca/entities/bnote.js";
|
||||||
import becca from "../becca/becca.js";
|
import becca from "../becca/becca.js";
|
||||||
|
import type { HiddenSubtreeItem } from "@triliumnext/commons";
|
||||||
|
|
||||||
export function getHelpHiddenSubtreeData() {
|
export function getHelpHiddenSubtreeData() {
|
||||||
const srcRoot = path.join(path.dirname(fileURLToPath(import.meta.url)), "..");
|
const srcRoot = path.join(path.dirname(fileURLToPath(import.meta.url)), "..");
|
||||||
|
|||||||
Reference in New Issue
Block a user