High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
import 'package:immich_mobile/domain/models/asset/base_asset.model.dart';
import '../../utils.dart';
class LocalAssetFactory {
static LocalAsset create({String? id, String? name, String? remoteId}) {
final assetId = TestUtils.uuid(id);
return LocalAsset(
id: assetId,
name: name ?? 'local_$assetId.jpg',
remoteId: remoteId,
type: AssetType.image,
createdAt: TestUtils.yesterday(),
updatedAt: TestUtils.now(),
playbackStyle: .image,
isEdited: false,
);
}
}