0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-01-21 00:52:43 -05:00

chore(mobile): update isar (#2571)

This commit is contained in:
Fynn Petersen-Frey 2023-05-26 15:09:44 +02:00 committed by GitHub
parent b7516f31c6
commit 71ef7685c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 32 additions and 26 deletions

5
mobile/.gitignore vendored
View file

@ -49,3 +49,8 @@ app.*.map.json
# Fastlane # Fastlane
ios/fastlane/report.xml ios/fastlane/report.xml
# Isar
default.isar
default.isar.lock
libisar.so

@ -1 +1 @@
Subproject commit 70da4e0bbd7be1005a3cfc38a8cd39f1c8fc530f Subproject commit 6643d064abf22606b6c6a741ea873e4781115ef4

View file

@ -7,7 +7,7 @@ part of 'backup_album.model.dart';
// ************************************************************************** // **************************************************************************
// coverage:ignore-file // coverage:ignore-file
// ignore_for_file: duplicate_ignore, non_constant_identifier_names, constant_identifier_names, invalid_use_of_protected_member, unnecessary_cast, prefer_const_constructors, lines_longer_than_80_chars, require_trailing_commas, inference_failure_on_function_invocation, unnecessary_parenthesis, unnecessary_raw_strings, unnecessary_null_checks, join_return_with_assignment, prefer_final_locals, avoid_js_rounded_ints, avoid_positional_boolean_parameters // ignore_for_file: duplicate_ignore, non_constant_identifier_names, constant_identifier_names, invalid_use_of_protected_member, unnecessary_cast, prefer_const_constructors, lines_longer_than_80_chars, require_trailing_commas, inference_failure_on_function_invocation, unnecessary_parenthesis, unnecessary_raw_strings, unnecessary_null_checks, join_return_with_assignment, prefer_final_locals, avoid_js_rounded_ints, avoid_positional_boolean_parameters, always_specify_types
extension GetBackupAlbumCollection on Isar { extension GetBackupAlbumCollection on Isar {
IsarCollection<BackupAlbum> get backupAlbums => this.collection(); IsarCollection<BackupAlbum> get backupAlbums => this.collection();
@ -45,7 +45,7 @@ const BackupAlbumSchema = CollectionSchema(
getId: _backupAlbumGetId, getId: _backupAlbumGetId,
getLinks: _backupAlbumGetLinks, getLinks: _backupAlbumGetLinks,
attach: _backupAlbumAttach, attach: _backupAlbumAttach,
version: '3.0.5', version: '3.1.0+1',
); );
int _backupAlbumEstimateSize( int _backupAlbumEstimateSize(

View file

@ -7,7 +7,7 @@ part of 'duplicated_asset.model.dart';
// ************************************************************************** // **************************************************************************
// coverage:ignore-file // coverage:ignore-file
// ignore_for_file: duplicate_ignore, non_constant_identifier_names, constant_identifier_names, invalid_use_of_protected_member, unnecessary_cast, prefer_const_constructors, lines_longer_than_80_chars, require_trailing_commas, inference_failure_on_function_invocation, unnecessary_parenthesis, unnecessary_raw_strings, unnecessary_null_checks, join_return_with_assignment, prefer_final_locals, avoid_js_rounded_ints, avoid_positional_boolean_parameters // ignore_for_file: duplicate_ignore, non_constant_identifier_names, constant_identifier_names, invalid_use_of_protected_member, unnecessary_cast, prefer_const_constructors, lines_longer_than_80_chars, require_trailing_commas, inference_failure_on_function_invocation, unnecessary_parenthesis, unnecessary_raw_strings, unnecessary_null_checks, join_return_with_assignment, prefer_final_locals, avoid_js_rounded_ints, avoid_positional_boolean_parameters, always_specify_types
extension GetDuplicatedAssetCollection on Isar { extension GetDuplicatedAssetCollection on Isar {
IsarCollection<DuplicatedAsset> get duplicatedAssets => this.collection(); IsarCollection<DuplicatedAsset> get duplicatedAssets => this.collection();
@ -34,7 +34,7 @@ const DuplicatedAssetSchema = CollectionSchema(
getId: _duplicatedAssetGetId, getId: _duplicatedAssetGetId,
getLinks: _duplicatedAssetGetLinks, getLinks: _duplicatedAssetGetLinks,
attach: _duplicatedAssetAttach, attach: _duplicatedAssetAttach,
version: '3.0.5', version: '3.1.0+1',
); );
int _duplicatedAssetEstimateSize( int _duplicatedAssetEstimateSize(

View file

@ -7,7 +7,7 @@ part of 'album.dart';
// ************************************************************************** // **************************************************************************
// coverage:ignore-file // coverage:ignore-file
// ignore_for_file: duplicate_ignore, non_constant_identifier_names, constant_identifier_names, invalid_use_of_protected_member, unnecessary_cast, prefer_const_constructors, lines_longer_than_80_chars, require_trailing_commas, inference_failure_on_function_invocation, unnecessary_parenthesis, unnecessary_raw_strings, unnecessary_null_checks, join_return_with_assignment, prefer_final_locals, avoid_js_rounded_ints, avoid_positional_boolean_parameters // ignore_for_file: duplicate_ignore, non_constant_identifier_names, constant_identifier_names, invalid_use_of_protected_member, unnecessary_cast, prefer_const_constructors, lines_longer_than_80_chars, require_trailing_commas, inference_failure_on_function_invocation, unnecessary_parenthesis, unnecessary_raw_strings, unnecessary_null_checks, join_return_with_assignment, prefer_final_locals, avoid_js_rounded_ints, avoid_positional_boolean_parameters, always_specify_types
extension GetAlbumCollection on Isar { extension GetAlbumCollection on Isar {
IsarCollection<Album> get albums => this.collection(); IsarCollection<Album> get albums => this.collection();
@ -111,7 +111,7 @@ const AlbumSchema = CollectionSchema(
getId: _albumGetId, getId: _albumGetId,
getLinks: _albumGetLinks, getLinks: _albumGetLinks,
attach: _albumAttach, attach: _albumAttach,
version: '3.0.5', version: '3.1.0+1',
); );
int _albumEstimateSize( int _albumEstimateSize(

View file

@ -7,7 +7,7 @@ part of 'asset.dart';
// ************************************************************************** // **************************************************************************
// coverage:ignore-file // coverage:ignore-file
// ignore_for_file: duplicate_ignore, non_constant_identifier_names, constant_identifier_names, invalid_use_of_protected_member, unnecessary_cast, prefer_const_constructors, lines_longer_than_80_chars, require_trailing_commas, inference_failure_on_function_invocation, unnecessary_parenthesis, unnecessary_raw_strings, unnecessary_null_checks, join_return_with_assignment, prefer_final_locals, avoid_js_rounded_ints, avoid_positional_boolean_parameters // ignore_for_file: duplicate_ignore, non_constant_identifier_names, constant_identifier_names, invalid_use_of_protected_member, unnecessary_cast, prefer_const_constructors, lines_longer_than_80_chars, require_trailing_commas, inference_failure_on_function_invocation, unnecessary_parenthesis, unnecessary_raw_strings, unnecessary_null_checks, join_return_with_assignment, prefer_final_locals, avoid_js_rounded_ints, avoid_positional_boolean_parameters, always_specify_types
extension GetAssetCollection on Isar { extension GetAssetCollection on Isar {
IsarCollection<Asset> get assets => this.collection(); IsarCollection<Asset> get assets => this.collection();
@ -142,7 +142,7 @@ const AssetSchema = CollectionSchema(
getId: _assetGetId, getId: _assetGetId,
getLinks: _assetGetLinks, getLinks: _assetGetLinks,
attach: _assetAttach, attach: _assetAttach,
version: '3.0.5', version: '3.1.0+1',
); );
int _assetEstimateSize( int _assetEstimateSize(

View file

@ -7,7 +7,7 @@ part of 'etag.dart';
// ************************************************************************** // **************************************************************************
// coverage:ignore-file // coverage:ignore-file
// ignore_for_file: duplicate_ignore, non_constant_identifier_names, constant_identifier_names, invalid_use_of_protected_member, unnecessary_cast, prefer_const_constructors, lines_longer_than_80_chars, require_trailing_commas, inference_failure_on_function_invocation, unnecessary_parenthesis, unnecessary_raw_strings, unnecessary_null_checks, join_return_with_assignment, prefer_final_locals, avoid_js_rounded_ints, avoid_positional_boolean_parameters // ignore_for_file: duplicate_ignore, non_constant_identifier_names, constant_identifier_names, invalid_use_of_protected_member, unnecessary_cast, prefer_const_constructors, lines_longer_than_80_chars, require_trailing_commas, inference_failure_on_function_invocation, unnecessary_parenthesis, unnecessary_raw_strings, unnecessary_null_checks, join_return_with_assignment, prefer_final_locals, avoid_js_rounded_ints, avoid_positional_boolean_parameters, always_specify_types
extension GetETagCollection on Isar { extension GetETagCollection on Isar {
IsarCollection<ETag> get eTags => this.collection(); IsarCollection<ETag> get eTags => this.collection();
@ -53,7 +53,7 @@ const ETagSchema = CollectionSchema(
getId: _eTagGetId, getId: _eTagGetId,
getLinks: _eTagGetLinks, getLinks: _eTagGetLinks,
attach: _eTagAttach, attach: _eTagAttach,
version: '3.0.5', version: '3.1.0+1',
); );
int _eTagEstimateSize( int _eTagEstimateSize(

View file

@ -7,7 +7,7 @@ part of 'exif_info.dart';
// ************************************************************************** // **************************************************************************
// coverage:ignore-file // coverage:ignore-file
// ignore_for_file: duplicate_ignore, non_constant_identifier_names, constant_identifier_names, invalid_use_of_protected_member, unnecessary_cast, prefer_const_constructors, lines_longer_than_80_chars, require_trailing_commas, inference_failure_on_function_invocation, unnecessary_parenthesis, unnecessary_raw_strings, unnecessary_null_checks, join_return_with_assignment, prefer_final_locals, avoid_js_rounded_ints, avoid_positional_boolean_parameters // ignore_for_file: duplicate_ignore, non_constant_identifier_names, constant_identifier_names, invalid_use_of_protected_member, unnecessary_cast, prefer_const_constructors, lines_longer_than_80_chars, require_trailing_commas, inference_failure_on_function_invocation, unnecessary_parenthesis, unnecessary_raw_strings, unnecessary_null_checks, join_return_with_assignment, prefer_final_locals, avoid_js_rounded_ints, avoid_positional_boolean_parameters, always_specify_types
extension GetExifInfoCollection on Isar { extension GetExifInfoCollection on Isar {
IsarCollection<ExifInfo> get exifInfos => this.collection(); IsarCollection<ExifInfo> get exifInfos => this.collection();
@ -99,7 +99,7 @@ const ExifInfoSchema = CollectionSchema(
getId: _exifInfoGetId, getId: _exifInfoGetId,
getLinks: _exifInfoGetLinks, getLinks: _exifInfoGetLinks,
attach: _exifInfoAttach, attach: _exifInfoAttach,
version: '3.0.5', version: '3.1.0+1',
); );
int _exifInfoEstimateSize( int _exifInfoEstimateSize(

View file

@ -7,7 +7,7 @@ part of 'logger_message.model.dart';
// ************************************************************************** // **************************************************************************
// coverage:ignore-file // coverage:ignore-file
// ignore_for_file: duplicate_ignore, non_constant_identifier_names, constant_identifier_names, invalid_use_of_protected_member, unnecessary_cast, prefer_const_constructors, lines_longer_than_80_chars, require_trailing_commas, inference_failure_on_function_invocation, unnecessary_parenthesis, unnecessary_raw_strings, unnecessary_null_checks, join_return_with_assignment, prefer_final_locals, avoid_js_rounded_ints, avoid_positional_boolean_parameters // ignore_for_file: duplicate_ignore, non_constant_identifier_names, constant_identifier_names, invalid_use_of_protected_member, unnecessary_cast, prefer_const_constructors, lines_longer_than_80_chars, require_trailing_commas, inference_failure_on_function_invocation, unnecessary_parenthesis, unnecessary_raw_strings, unnecessary_null_checks, join_return_with_assignment, prefer_final_locals, avoid_js_rounded_ints, avoid_positional_boolean_parameters, always_specify_types
extension GetLoggerMessageCollection on Isar { extension GetLoggerMessageCollection on Isar {
IsarCollection<LoggerMessage> get loggerMessages => this.collection(); IsarCollection<LoggerMessage> get loggerMessages => this.collection();
@ -55,7 +55,7 @@ const LoggerMessageSchema = CollectionSchema(
getId: _loggerMessageGetId, getId: _loggerMessageGetId,
getLinks: _loggerMessageGetLinks, getLinks: _loggerMessageGetLinks,
attach: _loggerMessageAttach, attach: _loggerMessageAttach,
version: '3.0.5', version: '3.1.0+1',
); );
int _loggerMessageEstimateSize( int _loggerMessageEstimateSize(

View file

@ -7,7 +7,7 @@ part of 'store.dart';
// ************************************************************************** // **************************************************************************
// coverage:ignore-file // coverage:ignore-file
// ignore_for_file: duplicate_ignore, non_constant_identifier_names, constant_identifier_names, invalid_use_of_protected_member, unnecessary_cast, prefer_const_constructors, lines_longer_than_80_chars, require_trailing_commas, inference_failure_on_function_invocation, unnecessary_parenthesis, unnecessary_raw_strings, unnecessary_null_checks, join_return_with_assignment, prefer_final_locals, avoid_js_rounded_ints, avoid_positional_boolean_parameters // ignore_for_file: duplicate_ignore, non_constant_identifier_names, constant_identifier_names, invalid_use_of_protected_member, unnecessary_cast, prefer_const_constructors, lines_longer_than_80_chars, require_trailing_commas, inference_failure_on_function_invocation, unnecessary_parenthesis, unnecessary_raw_strings, unnecessary_null_checks, join_return_with_assignment, prefer_final_locals, avoid_js_rounded_ints, avoid_positional_boolean_parameters, always_specify_types
extension GetStoreValueCollection on Isar { extension GetStoreValueCollection on Isar {
IsarCollection<StoreValue> get storeValues => this.collection(); IsarCollection<StoreValue> get storeValues => this.collection();
@ -39,7 +39,7 @@ const StoreValueSchema = CollectionSchema(
getId: _storeValueGetId, getId: _storeValueGetId,
getLinks: _storeValueGetLinks, getLinks: _storeValueGetLinks,
attach: _storeValueAttach, attach: _storeValueAttach,
version: '3.0.5', version: '3.1.0+1',
); );
int _storeValueEstimateSize( int _storeValueEstimateSize(

View file

@ -7,7 +7,7 @@ part of 'user.dart';
// ************************************************************************** // **************************************************************************
// coverage:ignore-file // coverage:ignore-file
// ignore_for_file: duplicate_ignore, non_constant_identifier_names, constant_identifier_names, invalid_use_of_protected_member, unnecessary_cast, prefer_const_constructors, lines_longer_than_80_chars, require_trailing_commas, inference_failure_on_function_invocation, unnecessary_parenthesis, unnecessary_raw_strings, unnecessary_null_checks, join_return_with_assignment, prefer_final_locals, avoid_js_rounded_ints, avoid_positional_boolean_parameters // ignore_for_file: duplicate_ignore, non_constant_identifier_names, constant_identifier_names, invalid_use_of_protected_member, unnecessary_cast, prefer_const_constructors, lines_longer_than_80_chars, require_trailing_commas, inference_failure_on_function_invocation, unnecessary_parenthesis, unnecessary_raw_strings, unnecessary_null_checks, join_return_with_assignment, prefer_final_locals, avoid_js_rounded_ints, avoid_positional_boolean_parameters, always_specify_types
extension GetUserCollection on Isar { extension GetUserCollection on Isar {
IsarCollection<User> get users => this.collection(); IsarCollection<User> get users => this.collection();
@ -98,7 +98,7 @@ const UserSchema = CollectionSchema(
getId: _userGetId, getId: _userGetId,
getLinks: _userGetLinks, getLinks: _userGetLinks,
attach: _userAttach, attach: _userAttach,
version: '3.0.5', version: '3.1.0+1',
); );
int _userEstimateSize( int _userEstimateSize(

View file

@ -624,26 +624,26 @@ packages:
dependency: "direct main" dependency: "direct main"
description: description:
name: isar name: isar
sha256: "5be35dbc489880fccc535da3d1c4b3f5fdeee6ebfcacd4b149e39e803c4029cd" sha256: "99165dadb2cf2329d3140198363a7e7bff9bbd441871898a87e26914d25cf1ea"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "3.0.5" version: "3.1.0+1"
isar_flutter_libs: isar_flutter_libs:
dependency: "direct main" dependency: "direct main"
description: description:
name: isar_flutter_libs name: isar_flutter_libs
sha256: "9794524734856a8a3629652f9f359b66e3fea3cebeec4dbdeb3e3a8fb253073e" sha256: bc6768cc4b9c61aabff77152e7f33b4b17d2fc93134f7af1c3dd51500fe8d5e8
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "3.0.5" version: "3.1.0+1"
isar_generator: isar_generator:
dependency: "direct dev" dependency: "direct dev"
description: description:
name: isar_generator name: isar_generator
sha256: ee4ab5d5b251bc7e86e1257793b57af100065831f00f3a12404b177ae53c2d69 sha256: "76c121e1295a30423604f2f819bc255bc79f852f3bc8743a24017df6068ad133"
url: "https://pub.dev" url: "https://pub.dev"
source: hosted source: hosted
version: "3.0.5" version: "3.1.0+1"
js: js:
dependency: transitive dependency: transitive
description: description:

View file

@ -3,7 +3,7 @@ description: Immich - selfhosted backup media file on mobile phone
publish_to: "none" publish_to: "none"
version: 1.57.1+80 version: 1.57.1+80
isar_version: &isar_version 3.0.5 isar_version: &isar_version 3.1.0+1
environment: environment:
sdk: ">=3.0.0-0 <4.0.0" sdk: ">=3.0.0-0 <4.0.0"

View file

@ -47,6 +47,7 @@ void main() {
LoggerMessageSchema LoggerMessageSchema
], ],
maxSizeMiB: 256, maxSizeMiB: 256,
directory: ".",
); );
} }