website refactor
This commit is contained in:
@@ -2,13 +2,13 @@
|
||||
* In-Memory Implementation: InMemoryPrizeRepository
|
||||
*/
|
||||
|
||||
import type { Logger } from '@core/shared/application/Logger';
|
||||
import type { IPrizeRepository } from '@core/payments/domain/repositories/IPrizeRepository';
|
||||
import type { Logger } from '@core/shared/domain/Logger';
|
||||
import type { PrizeRepository } from '@core/payments/domain/repositories/PrizeRepository';
|
||||
import type { Prize } from '@core/payments/domain/entities/Prize';
|
||||
|
||||
const prizes: Map<string, Prize> = new Map();
|
||||
|
||||
export class InMemoryPrizeRepository implements IPrizeRepository {
|
||||
export class InMemoryPrizeRepository implements PrizeRepository {
|
||||
constructor(private readonly logger: Logger) {}
|
||||
|
||||
async findById(id: string): Promise<Prize | null> {
|
||||
|
||||
Reference in New Issue
Block a user