mirror of
https://github.com/KevinMidboe/immich.git
synced 2025-12-07 19:59:07 +00:00
build: version pump script (#1398)
* build: version pump script * feat: server pump is optional * chore: remove unused variable * chore: examples Co-authored-by: Alex <alex.tran1502@gmail.com>
This commit is contained in:
2
mobile/openapi/doc/AssetApi.md
generated
2
mobile/openapi/doc/AssetApi.md
generated
@@ -336,7 +336,7 @@ Name | Type | Description | Notes
|
||||
|
||||
|
||||
|
||||
|
||||
Current this is not used in any UI element
|
||||
|
||||
### Example
|
||||
```dart
|
||||
|
||||
1
mobile/openapi/doc/ServerVersionReponseDto.md
generated
1
mobile/openapi/doc/ServerVersionReponseDto.md
generated
@@ -11,7 +11,6 @@ Name | Type | Description | Notes
|
||||
**major** | **int** | |
|
||||
**minor** | **int** | |
|
||||
**patch_** | **int** | |
|
||||
**build** | **int** | |
|
||||
|
||||
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
||||
|
||||
|
||||
4
mobile/openapi/lib/api/asset_api.dart
generated
4
mobile/openapi/lib/api/asset_api.dart
generated
@@ -347,7 +347,7 @@ class AssetApi {
|
||||
return null;
|
||||
}
|
||||
|
||||
///
|
||||
/// Current this is not used in any UI element
|
||||
///
|
||||
/// Note: This method returns the HTTP [Response].
|
||||
///
|
||||
@@ -383,7 +383,7 @@ class AssetApi {
|
||||
);
|
||||
}
|
||||
|
||||
///
|
||||
/// Current this is not used in any UI element
|
||||
///
|
||||
/// Parameters:
|
||||
///
|
||||
|
||||
@@ -16,7 +16,6 @@ class ServerVersionReponseDto {
|
||||
required this.major,
|
||||
required this.minor,
|
||||
required this.patch_,
|
||||
required this.build,
|
||||
});
|
||||
|
||||
int major;
|
||||
@@ -25,32 +24,27 @@ class ServerVersionReponseDto {
|
||||
|
||||
int patch_;
|
||||
|
||||
int build;
|
||||
|
||||
@override
|
||||
bool operator ==(Object other) => identical(this, other) || other is ServerVersionReponseDto &&
|
||||
other.major == major &&
|
||||
other.minor == minor &&
|
||||
other.patch_ == patch_ &&
|
||||
other.build == build;
|
||||
other.patch_ == patch_;
|
||||
|
||||
@override
|
||||
int get hashCode =>
|
||||
// ignore: unnecessary_parenthesis
|
||||
(major.hashCode) +
|
||||
(minor.hashCode) +
|
||||
(patch_.hashCode) +
|
||||
(build.hashCode);
|
||||
(patch_.hashCode);
|
||||
|
||||
@override
|
||||
String toString() => 'ServerVersionReponseDto[major=$major, minor=$minor, patch_=$patch_, build=$build]';
|
||||
String toString() => 'ServerVersionReponseDto[major=$major, minor=$minor, patch_=$patch_]';
|
||||
|
||||
Map<String, dynamic> toJson() {
|
||||
final json = <String, dynamic>{};
|
||||
json[r'major'] = this.major;
|
||||
json[r'minor'] = this.minor;
|
||||
json[r'patch'] = this.patch_;
|
||||
json[r'build'] = this.build;
|
||||
return json;
|
||||
}
|
||||
|
||||
@@ -76,7 +70,6 @@ class ServerVersionReponseDto {
|
||||
major: mapValueOfType<int>(json, r'major')!,
|
||||
minor: mapValueOfType<int>(json, r'minor')!,
|
||||
patch_: mapValueOfType<int>(json, r'patch')!,
|
||||
build: mapValueOfType<int>(json, r'build')!,
|
||||
);
|
||||
}
|
||||
return null;
|
||||
@@ -129,7 +122,6 @@ class ServerVersionReponseDto {
|
||||
'major',
|
||||
'minor',
|
||||
'patch',
|
||||
'build',
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
2
mobile/openapi/test/asset_api_test.dart
generated
2
mobile/openapi/test/asset_api_test.dart
generated
@@ -59,7 +59,7 @@ void main() {
|
||||
// TODO
|
||||
});
|
||||
|
||||
//
|
||||
// Current this is not used in any UI element
|
||||
//
|
||||
//Future<Object> downloadLibrary({ num skip }) async
|
||||
test('test downloadLibrary', () async {
|
||||
|
||||
@@ -31,11 +31,6 @@ void main() {
|
||||
// TODO
|
||||
});
|
||||
|
||||
// int build
|
||||
test('to test the property `build`', () async {
|
||||
// TODO
|
||||
});
|
||||
|
||||
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user