mirror of
https://github.com/immich-app/immich.git
synced 2025-12-24 09:14:58 +03:00
fix(server): stacked assets for full sync, userIds as array for delta sync (#9100)
* fix(server): stacked assets for full sync, userIds as array for delta sync * refactor(server): sync * fix getDeltaSync after partner removal --------- Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
This commit is contained in:
committed by
GitHub
parent
fc2e709ad4
commit
32e7cfea3d
32
mobile/openapi/test/asset_delta_sync_dto_test.dart
generated
Normal file
32
mobile/openapi/test/asset_delta_sync_dto_test.dart
generated
Normal file
@@ -0,0 +1,32 @@
|
||||
//
|
||||
// AUTO-GENERATED FILE, DO NOT MODIFY!
|
||||
//
|
||||
// @dart=2.12
|
||||
|
||||
// ignore_for_file: unused_element, unused_import
|
||||
// ignore_for_file: always_put_required_named_parameters_first
|
||||
// ignore_for_file: constant_identifier_names
|
||||
// ignore_for_file: lines_longer_than_80_chars
|
||||
|
||||
import 'package:openapi/api.dart';
|
||||
import 'package:test/test.dart';
|
||||
|
||||
// tests for AssetDeltaSyncDto
|
||||
void main() {
|
||||
// final instance = AssetDeltaSyncDto();
|
||||
|
||||
group('test AssetDeltaSyncDto', () {
|
||||
// DateTime updatedAfter
|
||||
test('to test the property `updatedAfter`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// List<String> userIds (default value: const [])
|
||||
test('to test the property `userIds`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
|
||||
});
|
||||
|
||||
}
|
||||
47
mobile/openapi/test/asset_full_sync_dto_test.dart
generated
Normal file
47
mobile/openapi/test/asset_full_sync_dto_test.dart
generated
Normal file
@@ -0,0 +1,47 @@
|
||||
//
|
||||
// AUTO-GENERATED FILE, DO NOT MODIFY!
|
||||
//
|
||||
// @dart=2.12
|
||||
|
||||
// ignore_for_file: unused_element, unused_import
|
||||
// ignore_for_file: always_put_required_named_parameters_first
|
||||
// ignore_for_file: constant_identifier_names
|
||||
// ignore_for_file: lines_longer_than_80_chars
|
||||
|
||||
import 'package:openapi/api.dart';
|
||||
import 'package:test/test.dart';
|
||||
|
||||
// tests for AssetFullSyncDto
|
||||
void main() {
|
||||
// final instance = AssetFullSyncDto();
|
||||
|
||||
group('test AssetFullSyncDto', () {
|
||||
// DateTime lastCreationDate
|
||||
test('to test the property `lastCreationDate`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// String lastId
|
||||
test('to test the property `lastId`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// int limit
|
||||
test('to test the property `limit`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// DateTime updatedUntil
|
||||
test('to test the property `updatedUntil`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// String userId
|
||||
test('to test the property `userId`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
|
||||
});
|
||||
|
||||
}
|
||||
8
mobile/openapi/test/sync_api_test.dart
generated
8
mobile/openapi/test/sync_api_test.dart
generated
@@ -17,13 +17,13 @@ void main() {
|
||||
// final instance = SyncApi();
|
||||
|
||||
group('tests for SyncApi', () {
|
||||
//Future<List<AssetResponseDto>> getAllForUserFullSync(int limit, DateTime updatedUntil, { DateTime lastCreationDate, String lastId, String userId }) async
|
||||
test('test getAllForUserFullSync', () async {
|
||||
//Future<AssetDeltaSyncResponseDto> getDeltaSync(AssetDeltaSyncDto assetDeltaSyncDto) async
|
||||
test('test getDeltaSync', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
//Future<AssetDeltaSyncResponseDto> getDeltaSync(DateTime updatedAfter, List<String> userIds) async
|
||||
test('test getDeltaSync', () async {
|
||||
//Future<List<AssetResponseDto>> getFullSyncForUser(AssetFullSyncDto assetFullSyncDto) async
|
||||
test('test getFullSyncForUser', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user