refactor(ts): enable verbatim module syntax

This commit is contained in:
Elian Doran
2025-01-09 18:36:24 +02:00
parent 4cbb529fd4
commit 324696bc54
161 changed files with 244 additions and 250 deletions

View File

@@ -4,8 +4,8 @@ import sql from "../../sql.js";
import utils from "../../../services/utils.js";
import AbstractShacaEntity from "./abstract_shaca_entity.js";
import SNote from "./snote.js";
import { Blob } from "../../../services/blob-interface.js";
import { SAttachmentRow } from "./rows.js";
import type { Blob } from "../../../services/blob-interface.js";
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 { SAttributeRow } from "./rows.js";
import type { SAttributeRow } from "./rows.js";
import SNote from "./snote.js";
class SAttribute extends AbstractShacaEntity {

View File

@@ -1,7 +1,7 @@
"use strict";
import AbstractShacaEntity from "./abstract_shaca_entity.js";
import { SBranchRow } from "./rows.js";
import type { SBranchRow } from "./rows.js";
import SNote from "./snote.js";
class SBranch extends AbstractShacaEntity {

View File

@@ -4,11 +4,11 @@ import sql from "../../sql.js";
import utils from "../../../services/utils.js";
import AbstractShacaEntity from "./abstract_shaca_entity.js";
import escape from "escape-html";
import { Blob } from "../../../services/blob-interface.js";
import type { Blob } from "../../../services/blob-interface.js";
import SAttachment from "./sattachment.js";
import SAttribute from "./sattribute.js";
import SBranch from "./sbranch.js";
import { SNoteRow } from "./rows.js";
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 { SAttachmentRow, SAttributeRow, SBranchRow, SNoteRow } from "./entities/rows.js";
import type { SAttachmentRow, SAttributeRow, SBranchRow, SNoteRow } from "./entities/rows.js";
function load() {
const start = Date.now();