update packages

This commit is contained in:
sbriat
2023-10-18 10:21:43 +02:00
parent cfa7b08ca0
commit b2270b5918
16 changed files with 3239 additions and 1870 deletions

View File

@@ -8,6 +8,7 @@ import { AdEntity } from '../core/domain/ad.entity';
import { AdMapper } from '../ad.mapper';
import { ExtendedPrismaRepositoryBase } from '@mobicoop/ddd-library/dist/db/prisma-repository.base';
import { Frequency } from '../core/domain/ad.types';
import { SERVICE_NAME } from '@src/app.constants';
export type AdModel = {
uuid: string;
@@ -38,7 +39,7 @@ export type AdReadModel = AdModel & {
};
/**
* The record ready to be sent to the peristence system
* The record ready to be sent to the persistence system
*/
export type AdWriteModel = AdModel & {
schedule: {
@@ -103,7 +104,7 @@ export class AdRepository
eventEmitter,
new LoggerBase({
logger: new Logger(AdRepository.name),
domain: 'matcher',
domain: SERVICE_NAME,
messagePublisher,
}),
);