mirror of
https://github.com/samsonjs/immich.git
synced 2026-04-03 10:45:52 +00:00
9 lines
391 B
TypeScript
9 lines
391 B
TypeScript
import { VersionHistoryEntity } from 'src/entities/version-history.entity';
|
|
|
|
export const IVersionHistoryRepository = 'IVersionHistoryRepository';
|
|
|
|
export interface IVersionHistoryRepository {
|
|
create(version: Omit<VersionHistoryEntity, 'id' | 'createdAt'>): Promise<VersionHistoryEntity>;
|
|
getAll(): Promise<VersionHistoryEntity[]>;
|
|
getLatest(): Promise<VersionHistoryEntity | null>;
|
|
}
|