From 49f9c01003e1b7d1924328f2b0c4dccc653d0fb6 Mon Sep 17 00:00:00 2001 From: Yaros Date: Mon, 16 Mar 2026 13:47:34 +0100 Subject: [PATCH] fix: imports --- server/src/schema/index.ts | 2 +- server/src/schema/tables/asset-ocr.table.ts | 2 +- server/src/services/sync.service.ts | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/server/src/schema/index.ts b/server/src/schema/index.ts index 7ad8a84e12..79cdd6cdbf 100644 --- a/server/src/schema/index.ts +++ b/server/src/schema/index.ts @@ -39,6 +39,7 @@ import { AssetFileTable } from 'src/schema/tables/asset-file.table'; import { AssetJobStatusTable } from 'src/schema/tables/asset-job-status.table'; import { AssetMetadataAuditTable } from 'src/schema/tables/asset-metadata-audit.table'; import { AssetMetadataTable } from 'src/schema/tables/asset-metadata.table'; +import { AssetOcrAuditTable } from 'src/schema/tables/asset-ocr-audit.table'; import { AssetOcrTable } from 'src/schema/tables/asset-ocr.table'; import { AssetTable } from 'src/schema/tables/asset.table'; import { AuditTable } from 'src/schema/tables/audit.table'; @@ -75,7 +76,6 @@ import { UserMetadataTable } from 'src/schema/tables/user-metadata.table'; import { UserTable } from 'src/schema/tables/user.table'; import { VersionHistoryTable } from 'src/schema/tables/version-history.table'; import { WorkflowActionTable, WorkflowFilterTable, WorkflowTable } from 'src/schema/tables/workflow.table'; -import { AssetOcrAuditTable } from './tables/asset-ocr-audit.table'; @Extensions(['uuid-ossp', 'unaccent', 'cube', 'earthdistance', 'pg_trgm', 'plpgsql']) @Database({ name: 'immich' }) diff --git a/server/src/schema/tables/asset-ocr.table.ts b/server/src/schema/tables/asset-ocr.table.ts index 42c9cedc52..f2c4e40032 100644 --- a/server/src/schema/tables/asset-ocr.table.ts +++ b/server/src/schema/tables/asset-ocr.table.ts @@ -7,8 +7,8 @@ import { Table, } from '@immich/sql-tools'; import { UpdateIdColumn } from 'src/decorators'; +import { asset_ocr_delete_audit } from 'src/schema/functions'; import { AssetTable } from 'src/schema/tables/asset.table'; -import { asset_ocr_delete_audit } from '../functions'; @Table('asset_ocr') @AfterDeleteTrigger({ diff --git a/server/src/services/sync.service.ts b/server/src/services/sync.service.ts index b0f4f23fad..fdf1fa2f9a 100644 --- a/server/src/services/sync.service.ts +++ b/server/src/services/sync.service.ts @@ -2,7 +2,6 @@ import { BadRequestException, ForbiddenException, Injectable } from '@nestjs/com import { Insertable } from 'kysely'; import { DateTime, Duration } from 'luxon'; import { Writable } from 'node:stream'; -import { ConnectableObservable } from 'rxjs'; import { AUDIT_LOG_MAX_DURATION } from 'src/constants'; import { OnJob } from 'src/decorators'; import { AssetResponseDto, mapAsset } from 'src/dtos/asset-response.dto';