mirror of
https://github.com/zadam/trilium.git
synced 2026-02-17 19:24:28 +01:00
chore(core): fix references to becca-interface
This commit is contained in:
parent
a15b84b4e5
commit
40b07c3e8a
@ -1,12 +1,11 @@
|
|||||||
|
|
||||||
|
|
||||||
import { EditedNotesResponse, RevisionItem, RevisionPojo, RevisionRow } from "@triliumnext/commons";
|
import { EditedNotesResponse, RevisionItem, RevisionPojo } from "@triliumnext/commons";
|
||||||
import { becca_service } from "@triliumnext/core";
|
import { becca_service, NotePojo } from "@triliumnext/core";
|
||||||
import type { Request, Response } from "express";
|
import type { Request, Response } from "express";
|
||||||
import path from "path";
|
import path from "path";
|
||||||
|
|
||||||
import becca from "../../becca/becca.js";
|
import becca from "../../becca/becca.js";
|
||||||
import type { NotePojo } from "../../becca/becca-interface.js";
|
|
||||||
import type BNote from "../../becca/entities/bnote.js";
|
import type BNote from "../../becca/entities/bnote.js";
|
||||||
import type BRevision from "../../becca/entities/brevision.js";
|
import type BRevision from "../../becca/entities/brevision.js";
|
||||||
import blobService from "../../services/blob.js";
|
import blobService from "../../services/blob.js";
|
||||||
|
|||||||
@ -1,13 +1,10 @@
|
|||||||
import type { AttributeRow } from "@triliumnext/commons";
|
import { type AttributeRow, dayjs, formatLogMessage } from "@triliumnext/commons";
|
||||||
import { dayjs } from "@triliumnext/commons";
|
import { type AbstractBeccaEntity, Becca } from "@triliumnext/core";
|
||||||
import { formatLogMessage } from "@triliumnext/commons";
|
|
||||||
import type { AbstractBeccaEntity } from "@triliumnext/core";
|
|
||||||
import axios from "axios";
|
import axios from "axios";
|
||||||
import * as cheerio from "cheerio";
|
import * as cheerio from "cheerio";
|
||||||
import xml2js from "xml2js";
|
import xml2js from "xml2js";
|
||||||
|
|
||||||
import becca from "../becca/becca.js";
|
import becca from "../becca/becca.js";
|
||||||
import type Becca from "../becca/becca-interface.js";
|
|
||||||
import type BAttachment from "../becca/entities/battachment.js";
|
import type BAttachment from "../becca/entities/battachment.js";
|
||||||
import type BAttribute from "../becca/entities/battribute.js";
|
import type BAttribute from "../becca/entities/battribute.js";
|
||||||
import type BBranch from "../becca/entities/bbranch.js";
|
import type BBranch from "../becca/entities/bbranch.js";
|
||||||
|
|||||||
@ -28,6 +28,8 @@ export { default as BOption } from "./becca/entities/boption";
|
|||||||
export { default as BRecentNote } from "./becca/entities/brecent_note";
|
export { default as BRecentNote } from "./becca/entities/brecent_note";
|
||||||
export { default as BRevision } from "./becca/entities/brevision";
|
export { default as BRevision } from "./becca/entities/brevision";
|
||||||
export { default as AbstractBeccaEntity } from "./becca/entities/abstract_becca_entity";
|
export { default as AbstractBeccaEntity } from "./becca/entities/abstract_becca_entity";
|
||||||
|
export { default as Becca } from "./becca/becca-interface";
|
||||||
|
export type { NotePojo } from "./becca/becca-interface";
|
||||||
|
|
||||||
export function initializeCore({ dbConfig, executionContext, crypto }: {
|
export function initializeCore({ dbConfig, executionContext, crypto }: {
|
||||||
dbConfig: SqlServiceParams,
|
dbConfig: SqlServiceParams,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user