chore: include sync dtos (#25470)

This commit is contained in:
Jason Rasmussen
2026-01-23 09:24:25 -05:00
committed by GitHub
parent 20dca39143
commit 6d9dc46619
3 changed files with 212 additions and 2 deletions

View File

@@ -12,6 +12,7 @@ import {
type MaintenanceStatusResponseDto,
type NotificationDto,
type ServerVersionResponseDto,
type SyncAssetV1,
} from '@immich/sdk';
import { io, type Socket } from 'socket.io-client';
import { get, writable } from 'svelte/store';
@@ -40,7 +41,7 @@ export interface Events {
AppRestartV1: (event: AppRestartEvent) => void;
MaintenanceStatusV1: (event: MaintenanceStatusResponseDto) => void;
AssetEditReadyV1: (data: { asset: { id: string } }) => void;
AssetEditReadyV1: (data: { asset: SyncAssetV1 }) => void;
}
const websocket: Socket<Events> = io({