8 lines
230 B
TypeScript
8 lines
230 B
TypeScript
import { Result } from "@common/domain";
|
|
import { TabContext } from "@contexts/auth/domain";
|
|
|
|
export interface ITabContextMapper {
|
|
toDomain(entity: any): Result<TabContext, Error>;
|
|
toPersistence(aggregate: TabContext): any;
|
|
}
|