server-esm: Solve a few straightforward imports

This commit is contained in:
Elian Doran
2024-07-18 22:11:38 +03:00
parent 5d3e54ee9c
commit 20c729e62b
4 changed files with 4 additions and 5 deletions

View File

@@ -1,10 +1,9 @@
"use strict";
import AbstractShacaEntity from "./abstract_shaca_entity";
import { SAttributeRow } from "./rows";
import SNote from "./snote.js";
const AbstractShacaEntity = require('./abstract_shaca_entity');
class SAttribute extends AbstractShacaEntity {
attributeId: string;

View File

@@ -27,7 +27,7 @@ class SNote extends AbstractShacaEntity {
parentBranches: SBranch[];
parents: SNote[];
children: SNote[];
private ownedAttributes: SAttribute[];
ownedAttributes: SAttribute[];
private __attributeCache: SAttribute[] | null;
private __inheritableAttributeCache: SAttribute[] | null;
targetRelations: SAttribute[];

View File

@@ -8,7 +8,7 @@ export default class Shaca {
notes!: Record<string, SNote>;
branches!: Record<string, SBranch>;
childParentToBranch!: Record<string, SBranch>;
private attributes!: Record<string, SAttribute>;
attributes!: Record<string, SAttribute>;
attachments!: Record<string, SAttachment>;
aliasToNote!: Record<string, SNote>;
shareRootNote!: SNote | null;