inmemory to postgres

This commit is contained in:
2025-12-29 18:34:12 +01:00
parent 9e17d0752a
commit f5639a367f
176 changed files with 10175 additions and 468 deletions

View File

@@ -13,6 +13,12 @@ export interface Wallet {
createdAt: Date;
}
export const Wallet = {
rehydrate(props: Wallet): Wallet {
return { ...props };
},
};
export enum TransactionType {
DEPOSIT = 'deposit',
WITHDRAWAL = 'withdrawal',
@@ -34,4 +40,10 @@ export interface Transaction {
referenceId?: string;
referenceType?: ReferenceType;
createdAt: Date;
}
}
export const Transaction = {
rehydrate(props: Transaction): Transaction {
return { ...props };
},
};