.
This commit is contained in:
parent
220d57cb7b
commit
93e0e6be65
@ -22,14 +22,14 @@ import {
|
|||||||
} from "@repo/rdx-ddd";
|
} from "@repo/rdx-ddd";
|
||||||
import { Result } from "@repo/rdx-utils";
|
import { Result } from "@repo/rdx-utils";
|
||||||
|
|
||||||
import type { CustomerSummary, ICustomerSummaryMapper } from "../../../application";
|
import type { CustomerSummary } from "../../../application";
|
||||||
import { CustomerStatus } from "../../../domain";
|
import { CustomerStatus } from "../../../domain";
|
||||||
import type { CustomerModel } from "../../sequelize";
|
import type { CustomerModel } from "../../sequelize";
|
||||||
|
|
||||||
export class SequelizeCustomerSummaryMapper
|
export class SequelizeCustomerSummaryMapper extends SequelizeQueryMapper<
|
||||||
extends SequelizeQueryMapper<CustomerModel, CustomerSummary>
|
CustomerModel,
|
||||||
implements ICustomerSummaryMapper
|
CustomerSummary
|
||||||
{
|
> {
|
||||||
public mapToReadModel(
|
public mapToReadModel(
|
||||||
raw: CustomerModel,
|
raw: CustomerModel,
|
||||||
params?: MapperParamsType
|
params?: MapperParamsType
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user