30f499cf2e
update server to use absolute import paths
14 lines
315 B
TypeScript
14 lines
315 B
TypeScript
import { SmartInfoEntity } from 'src/infra/entities/smart-info.entity';
|
|
|
|
export class SmartInfoResponseDto {
|
|
tags?: string[] | null;
|
|
objects?: string[] | null;
|
|
}
|
|
|
|
export function mapSmartInfo(entity: SmartInfoEntity): SmartInfoResponseDto {
|
|
return {
|
|
tags: entity.tags,
|
|
objects: entity.objects,
|
|
};
|
|
}
|