mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 10:02:59 +08:00
chore(monorepo/server): fix imports for hidden subtree
This commit is contained in:
parent
ad8b77564c
commit
b0e97856bd
@ -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)), "..");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user