mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 02:16:05 +01:00 
			
		
		
		
	server: Fix missing .js import for blob_interface
This commit is contained in:
		| @@ -2,7 +2,7 @@ import becca from "../becca/becca.js"; | |||||||
| import NotFoundError from "../errors/not_found_error.js"; | import NotFoundError from "../errors/not_found_error.js"; | ||||||
| import protectedSessionService from "./protected_session.js"; | import protectedSessionService from "./protected_session.js"; | ||||||
| import utils from "./utils.js"; | import utils from "./utils.js"; | ||||||
| import type { Blob } from "./blob-interface"; | import type { Blob } from "./blob-interface.js"; | ||||||
|  |  | ||||||
| function getBlobPojo(entityName: string, entityId: string, opts?: { preview: boolean }) { | function getBlobPojo(entityName: string, entityId: string, opts?: { preview: boolean }) { | ||||||
|     // TODO: Unused opts. |     // TODO: Unused opts. | ||||||
|   | |||||||
| @@ -7,7 +7,7 @@ import instanceId from "./instance_id.js"; | |||||||
| import becca from "../becca/becca.js"; | import becca from "../becca/becca.js"; | ||||||
| import blobService from "../services/blob.js"; | import blobService from "../services/blob.js"; | ||||||
| import { EntityChange } from './entity_changes_interface.js'; | import { EntityChange } from './entity_changes_interface.js'; | ||||||
| import type { Blob } from "./blob-interface"; | import type { Blob } from "./blob-interface.js"; | ||||||
| import eventService from "./events.js"; | import eventService from "./events.js"; | ||||||
|  |  | ||||||
| let maxEntityChangeId = 0; | let maxEntityChangeId = 0; | ||||||
|   | |||||||
| @@ -4,7 +4,7 @@ import sql from "../../sql.js"; | |||||||
| import utils from "../../../services/utils.js"; | import utils from "../../../services/utils.js"; | ||||||
| import AbstractShacaEntity from "./abstract_shaca_entity.js"; | import AbstractShacaEntity from "./abstract_shaca_entity.js"; | ||||||
| import SNote from "./snote.js"; | import SNote from "./snote.js"; | ||||||
| import { Blob } from '../../../services/blob-interface'; | import { Blob } from '../../../services/blob-interface.js'; | ||||||
| import { SAttachmentRow } from './rows.js'; | import { SAttachmentRow } from './rows.js'; | ||||||
|  |  | ||||||
| class SAttachment extends AbstractShacaEntity { | class SAttachment extends AbstractShacaEntity { | ||||||
|   | |||||||
| @@ -4,7 +4,7 @@ import sql from "../../sql.js"; | |||||||
| import utils from "../../../services/utils.js"; | import utils from "../../../services/utils.js"; | ||||||
| import AbstractShacaEntity from "./abstract_shaca_entity.js"; | import AbstractShacaEntity from "./abstract_shaca_entity.js"; | ||||||
| import escape from "escape-html"; | import escape from "escape-html"; | ||||||
| import { Blob } from '../../../services/blob-interface'; | import { Blob } from '../../../services/blob-interface.js'; | ||||||
| import SAttachment from "./sattachment.js"; | import SAttachment from "./sattachment.js"; | ||||||
| import SAttribute from "./sattribute.js"; | import SAttribute from "./sattribute.js"; | ||||||
| import SBranch from "./sbranch.js"; | import SBranch from "./sbranch.js"; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user