mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 18:12:29 +08:00
chore(monorepo/server): revert imports to share rows
This commit is contained in:
parent
a59954eb17
commit
04594edc64
@ -5,7 +5,7 @@ import utils from "../../../services/utils.js";
|
|||||||
import AbstractShacaEntity from "./abstract_shaca_entity.js";
|
import AbstractShacaEntity from "./abstract_shaca_entity.js";
|
||||||
import type SNote from "./snote.js";
|
import type SNote from "./snote.js";
|
||||||
import type { Blob } from "../../../services/blob-interface.js";
|
import type { Blob } from "../../../services/blob-interface.js";
|
||||||
import type { SAttachmentRow } from "@triliumnext/commons";
|
import type { SAttachmentRow } from "./rows.js";
|
||||||
|
|
||||||
class SAttachment extends AbstractShacaEntity {
|
class SAttachment extends AbstractShacaEntity {
|
||||||
private attachmentId: string;
|
private attachmentId: string;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
import AbstractShacaEntity from "./abstract_shaca_entity.js";
|
import AbstractShacaEntity from "./abstract_shaca_entity.js";
|
||||||
import type { SAttributeRow } from "@triliumnext/commons";
|
import type { SAttributeRow } from "./rows.js";
|
||||||
import type SNote from "./snote.js";
|
import type SNote from "./snote.js";
|
||||||
|
|
||||||
class SAttribute extends AbstractShacaEntity {
|
class SAttribute extends AbstractShacaEntity {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
import AbstractShacaEntity from "./abstract_shaca_entity.js";
|
import AbstractShacaEntity from "./abstract_shaca_entity.js";
|
||||||
import type { SBranchRow } from "@triliumnext/commons";
|
import type { SBranchRow } from "./rows.js";
|
||||||
import type SNote from "./snote.js";
|
import type SNote from "./snote.js";
|
||||||
|
|
||||||
class SBranch extends AbstractShacaEntity {
|
class SBranch extends AbstractShacaEntity {
|
||||||
|
@ -8,7 +8,7 @@ import type { Blob } from "../../../services/blob-interface.js";
|
|||||||
import type SAttachment from "./sattachment.js";
|
import type SAttachment from "./sattachment.js";
|
||||||
import type SAttribute from "./sattribute.js";
|
import type SAttribute from "./sattribute.js";
|
||||||
import type SBranch from "./sbranch.js";
|
import type SBranch from "./sbranch.js";
|
||||||
import type { SNoteRow } from "@triliumnext/commons";
|
import type { SNoteRow } from "./rows.js";
|
||||||
|
|
||||||
const LABEL = "label";
|
const LABEL = "label";
|
||||||
const RELATION = "relation";
|
const RELATION = "relation";
|
||||||
|
@ -9,7 +9,7 @@ import SAttribute from "./entities/sattribute.js";
|
|||||||
import SAttachment from "./entities/sattachment.js";
|
import SAttachment from "./entities/sattachment.js";
|
||||||
import shareRoot from "../share_root.js";
|
import shareRoot from "../share_root.js";
|
||||||
import eventService from "../../services/events.js";
|
import eventService from "../../services/events.js";
|
||||||
import type { SAttachmentRow, SAttributeRow, SBranchRow, SNoteRow } from "@triliumnext/commons";
|
import type { SAttachmentRow, SAttributeRow, SBranchRow, SNoteRow } from "./entities/rows.js";
|
||||||
|
|
||||||
function load() {
|
function load() {
|
||||||
const start = Date.now();
|
const start = Date.now();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user