Files
immich/server/src/domain/asset/response-dto/smart-info-response.dto.ts
T
Daniel Dietzler 30f499cf2e chore(server): use absolute import paths (#8080)
update server to use absolute import paths
2024-03-20 14:32:04 -04:00

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,
};
}