mirror of
https://gitlab.com/mobicoop/v3/service/matcher.git
synced 2026-01-01 04:42:41 +00:00
update packages
This commit is contained in:
@@ -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,
|
||||
}),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user