mirror of
https://github.com/KevinMidboe/immich.git
synced 2025-10-29 17:40:28 +00:00
* refactor: flatten infra folders * fix: database migrations * fix: test related import * fix: github actions workflow * chore: rename schemas to typesense-schemas
9 lines
308 B
TypeScript
9 lines
308 B
TypeScript
import { DeviceInfoEntity } from '@app/infra/entities';
|
|
|
|
export const IDeviceInfoRepository = 'IDeviceInfoRepository';
|
|
|
|
export interface IDeviceInfoRepository {
|
|
get(userId: string, deviceId: string): Promise<DeviceInfoEntity | null>;
|
|
save(entity: Partial<DeviceInfoEntity>): Promise<DeviceInfoEntity>;
|
|
}
|