chore(monorepo/server): revert imports to share rows

This commit is contained in:
Elian Doran 2025-04-18 12:38:33 +03:00
parent a59954eb17
commit 04594edc64
No known key found for this signature in database
5 changed files with 5 additions and 5 deletions

View File

@ -5,7 +5,7 @@ import utils from "../../../services/utils.js";
import AbstractShacaEntity from "./abstract_shaca_entity.js";
import type SNote from "./snote.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 {
private attachmentId: string;

View File

@ -1,7 +1,7 @@
"use strict";
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";
class SAttribute extends AbstractShacaEntity {

View File

@ -1,7 +1,7 @@
"use strict";
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";
class SBranch extends AbstractShacaEntity {

View File

@ -8,7 +8,7 @@ import type { Blob } from "../../../services/blob-interface.js";
import type SAttachment from "./sattachment.js";
import type SAttribute from "./sattribute.js";
import type SBranch from "./sbranch.js";
import type { SNoteRow } from "@triliumnext/commons";
import type { SNoteRow } from "./rows.js";
const LABEL = "label";
const RELATION = "relation";

View File

@ -9,7 +9,7 @@ import SAttribute from "./entities/sattribute.js";
import SAttachment from "./entities/sattachment.js";
import shareRoot from "../share_root.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() {
const start = Date.now();