mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
refactor: last repository (#16042)
This commit is contained in:
parent
5f3a42a132
commit
fa5aeaf539
71 changed files with 574 additions and 603 deletions
|
|
@ -1,3 +1,4 @@
|
|||
import { Injectable } from '@nestjs/common';
|
||||
import { DateTime } from 'luxon';
|
||||
import { AUDIT_LOG_MAX_DURATION } from 'src/constants';
|
||||
import { AssetResponseDto, mapAsset } from 'src/dtos/asset-response.dto';
|
||||
|
|
@ -10,6 +11,7 @@ import { setIsEqual } from 'src/utils/set';
|
|||
|
||||
const FULL_SYNC = { needsFullSync: true, deleted: [], upserted: [] };
|
||||
|
||||
@Injectable()
|
||||
export class SyncService extends BaseService {
|
||||
async getFullSync(auth: AuthDto, dto: AssetFullSyncDto): Promise<AssetResponseDto[]> {
|
||||
// mobile implementation is faster if this is a single id
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue