feat: track upgrade history (#13097)

This commit is contained in:
Jason Rasmussen 2024-10-01 13:33:58 -04:00 committed by GitHub
parent 1c3603e23b
commit 4d20b11f25
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
23 changed files with 406 additions and 19 deletions

View file

@ -0,0 +1,9 @@
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>;
}