test: bench inserts
This commit is contained in:
@@ -3,6 +3,9 @@ import 'dart:async';
|
||||
import 'package:immich_mobile/domain/models/asset.model.dart';
|
||||
|
||||
abstract interface class IAssetRepository {
|
||||
/// Batch upsert asset
|
||||
Future<bool> upsert(Asset assets);
|
||||
|
||||
/// Batch upsert asset
|
||||
Future<bool> upsertAll(Iterable<Asset> assets);
|
||||
|
||||
|
||||
@@ -3,4 +3,6 @@ import 'package:immich_mobile/domain/models/render_list.model.dart';
|
||||
abstract interface class IRenderListRepository {
|
||||
/// Streams the [RenderList] for the main timeline
|
||||
Stream<RenderList> watchAll();
|
||||
|
||||
Future<RenderList> getAll();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user