chore(types): missing import type for JS imports

This commit is contained in:
Elian Doran
2025-01-13 23:18:10 +02:00
parent 2fa5955bd5
commit 1807b2b031
110 changed files with 178 additions and 178 deletions

View File

@@ -1,5 +1,5 @@
import shaca from "../shaca.js";
import Shaca from "../shaca-interface.js";
import type Shaca from "../shaca-interface.js";
class AbstractShacaEntity {
get shaca(): Shaca {

View File

@@ -3,7 +3,7 @@
import sql from "../../sql.js";
import utils from "../../../services/utils.js";
import AbstractShacaEntity from "./abstract_shaca_entity.js";
import SNote from "./snote.js";
import type SNote from "./snote.js";
import type { Blob } from "../../../services/blob-interface.js";
import type { SAttachmentRow } from "./rows.js";

View File

@@ -2,7 +2,7 @@
import AbstractShacaEntity from "./abstract_shaca_entity.js";
import type { SAttributeRow } from "./rows.js";
import SNote from "./snote.js";
import type SNote from "./snote.js";
class SAttribute extends AbstractShacaEntity {
attributeId: string;

View File

@@ -2,7 +2,7 @@
import AbstractShacaEntity from "./abstract_shaca_entity.js";
import type { SBranchRow } from "./rows.js";
import SNote from "./snote.js";
import type SNote from "./snote.js";
class SBranch extends AbstractShacaEntity {
private branchId: string;

View File

@@ -5,9 +5,9 @@ import utils from "../../../services/utils.js";
import AbstractShacaEntity from "./abstract_shaca_entity.js";
import escape from "escape-html";
import type { Blob } from "../../../services/blob-interface.js";
import SAttachment from "./sattachment.js";
import SAttribute from "./sattribute.js";
import SBranch from "./sbranch.js";
import type SAttachment from "./sattachment.js";
import type SAttribute from "./sattribute.js";
import type SBranch from "./sbranch.js";
import type { SNoteRow } from "./rows.js";
const LABEL = "label";

View File

@@ -1,7 +1,7 @@
import SAttachment from "./entities/sattachment.js";
import SAttribute from "./entities/sattribute.js";
import SBranch from "./entities/sbranch.js";
import SNote from "./entities/snote.js";
import type SAttachment from "./entities/sattachment.js";
import type SAttribute from "./entities/sattribute.js";
import type SBranch from "./entities/sbranch.js";
import type SNote from "./entities/snote.js";
export default class Shaca {
notes!: Record<string, SNote>;