mirror of
https://github.com/immich-app/immich.git
synced 2025-01-10 05:46:46 +01:00
1c2d83e2c7
* refactor(server): job handlers * chore: remove comment * chore: add comments for
13 lines
531 B
TypeScript
13 lines
531 B
TypeScript
import { Inject } from '@nestjs/common';
|
|
import { AuthUserDto } from '../auth';
|
|
import { IAssetRepository } from './asset.repository';
|
|
import { MapMarkerDto } from './dto/map-marker.dto';
|
|
import { MapMarkerResponseDto } from './response-dto';
|
|
|
|
export class AssetService {
|
|
constructor(@Inject(IAssetRepository) private assetRepository: IAssetRepository) {}
|
|
|
|
getMapMarkers(authUser: AuthUserDto, options: MapMarkerDto): Promise<MapMarkerResponseDto[]> {
|
|
return this.assetRepository.getMapMarkers(authUser.id, options);
|
|
}
|
|
}
|