mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-01-23 01:06:21 +01:00
13 lines
346 B
Dart
13 lines
346 B
Dart
import 'package:nc_photos/account.dart';
|
|
import 'package:nc_photos/entity/file.dart';
|
|
import 'package:nc_photos/entity/share.dart';
|
|
|
|
/// List all shares from a given file
|
|
class ListShare {
|
|
ListShare(this.shareRepo);
|
|
|
|
Future<List<Share>> call(Account account, File file) =>
|
|
shareRepo.list(account, file);
|
|
|
|
final ShareRepo shareRepo;
|
|
}
|