mirror of
https://github.com/immich-app/immich.git
synced 2024-12-29 15:11:58 +00:00
chore(server): patch dart openapi assertion (#2914)
* chore(server): patch dart openapi assertion * remove unused file
This commit is contained in:
parent
3e2f335a4c
commit
4311d385fc
93 changed files with 12 additions and 3 deletions
BIN
mobile/openapi/lib/model/add_assets_dto.dart
generated
BIN
mobile/openapi/lib/model/add_assets_dto.dart
generated
Binary file not shown.
BIN
mobile/openapi/lib/model/add_assets_response_dto.dart
generated
BIN
mobile/openapi/lib/model/add_assets_response_dto.dart
generated
Binary file not shown.
BIN
mobile/openapi/lib/model/add_users_dto.dart
generated
BIN
mobile/openapi/lib/model/add_users_dto.dart
generated
Binary file not shown.
BIN
mobile/openapi/lib/model/admin_signup_response_dto.dart
generated
BIN
mobile/openapi/lib/model/admin_signup_response_dto.dart
generated
Binary file not shown.
BIN
mobile/openapi/lib/model/album_count_response_dto.dart
generated
BIN
mobile/openapi/lib/model/album_count_response_dto.dart
generated
Binary file not shown.
BIN
mobile/openapi/lib/model/album_response_dto.dart
generated
BIN
mobile/openapi/lib/model/album_response_dto.dart
generated
Binary file not shown.
Binary file not shown.
BIN
mobile/openapi/lib/model/api_key_create_dto.dart
generated
BIN
mobile/openapi/lib/model/api_key_create_dto.dart
generated
Binary file not shown.
Binary file not shown.
BIN
mobile/openapi/lib/model/api_key_response_dto.dart
generated
BIN
mobile/openapi/lib/model/api_key_response_dto.dart
generated
Binary file not shown.
BIN
mobile/openapi/lib/model/api_key_update_dto.dart
generated
BIN
mobile/openapi/lib/model/api_key_update_dto.dart
generated
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
mobile/openapi/lib/model/asset_count_by_time_bucket.dart
generated
BIN
mobile/openapi/lib/model/asset_count_by_time_bucket.dart
generated
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
mobile/openapi/lib/model/asset_ids_dto.dart
generated
BIN
mobile/openapi/lib/model/asset_ids_dto.dart
generated
Binary file not shown.
BIN
mobile/openapi/lib/model/asset_ids_response_dto.dart
generated
BIN
mobile/openapi/lib/model/asset_ids_response_dto.dart
generated
Binary file not shown.
BIN
mobile/openapi/lib/model/asset_response_dto.dart
generated
BIN
mobile/openapi/lib/model/asset_response_dto.dart
generated
Binary file not shown.
BIN
mobile/openapi/lib/model/auth_device_response_dto.dart
generated
BIN
mobile/openapi/lib/model/auth_device_response_dto.dart
generated
Binary file not shown.
BIN
mobile/openapi/lib/model/change_password_dto.dart
generated
BIN
mobile/openapi/lib/model/change_password_dto.dart
generated
Binary file not shown.
BIN
mobile/openapi/lib/model/check_duplicate_asset_dto.dart
generated
BIN
mobile/openapi/lib/model/check_duplicate_asset_dto.dart
generated
Binary file not shown.
Binary file not shown.
BIN
mobile/openapi/lib/model/check_existing_assets_dto.dart
generated
BIN
mobile/openapi/lib/model/check_existing_assets_dto.dart
generated
Binary file not shown.
Binary file not shown.
BIN
mobile/openapi/lib/model/create_album_dto.dart
generated
BIN
mobile/openapi/lib/model/create_album_dto.dart
generated
Binary file not shown.
Binary file not shown.
BIN
mobile/openapi/lib/model/create_tag_dto.dart
generated
BIN
mobile/openapi/lib/model/create_tag_dto.dart
generated
Binary file not shown.
BIN
mobile/openapi/lib/model/create_user_dto.dart
generated
BIN
mobile/openapi/lib/model/create_user_dto.dart
generated
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
mobile/openapi/lib/model/delete_asset_dto.dart
generated
BIN
mobile/openapi/lib/model/delete_asset_dto.dart
generated
Binary file not shown.
BIN
mobile/openapi/lib/model/delete_asset_response_dto.dart
generated
BIN
mobile/openapi/lib/model/delete_asset_response_dto.dart
generated
Binary file not shown.
BIN
mobile/openapi/lib/model/download_files_dto.dart
generated
BIN
mobile/openapi/lib/model/download_files_dto.dart
generated
Binary file not shown.
BIN
mobile/openapi/lib/model/exif_response_dto.dart
generated
BIN
mobile/openapi/lib/model/exif_response_dto.dart
generated
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
mobile/openapi/lib/model/import_asset_dto.dart
generated
BIN
mobile/openapi/lib/model/import_asset_dto.dart
generated
Binary file not shown.
BIN
mobile/openapi/lib/model/job_command_dto.dart
generated
BIN
mobile/openapi/lib/model/job_command_dto.dart
generated
Binary file not shown.
BIN
mobile/openapi/lib/model/job_counts_dto.dart
generated
BIN
mobile/openapi/lib/model/job_counts_dto.dart
generated
Binary file not shown.
BIN
mobile/openapi/lib/model/job_settings_dto.dart
generated
BIN
mobile/openapi/lib/model/job_settings_dto.dart
generated
Binary file not shown.
BIN
mobile/openapi/lib/model/job_status_dto.dart
generated
BIN
mobile/openapi/lib/model/job_status_dto.dart
generated
Binary file not shown.
BIN
mobile/openapi/lib/model/login_credential_dto.dart
generated
BIN
mobile/openapi/lib/model/login_credential_dto.dart
generated
Binary file not shown.
BIN
mobile/openapi/lib/model/login_response_dto.dart
generated
BIN
mobile/openapi/lib/model/login_response_dto.dart
generated
Binary file not shown.
BIN
mobile/openapi/lib/model/logout_response_dto.dart
generated
BIN
mobile/openapi/lib/model/logout_response_dto.dart
generated
Binary file not shown.
BIN
mobile/openapi/lib/model/map_marker_response_dto.dart
generated
BIN
mobile/openapi/lib/model/map_marker_response_dto.dart
generated
Binary file not shown.
BIN
mobile/openapi/lib/model/memory_lane_response_dto.dart
generated
BIN
mobile/openapi/lib/model/memory_lane_response_dto.dart
generated
Binary file not shown.
BIN
mobile/openapi/lib/model/o_auth_callback_dto.dart
generated
BIN
mobile/openapi/lib/model/o_auth_callback_dto.dart
generated
Binary file not shown.
BIN
mobile/openapi/lib/model/o_auth_config_dto.dart
generated
BIN
mobile/openapi/lib/model/o_auth_config_dto.dart
generated
Binary file not shown.
BIN
mobile/openapi/lib/model/o_auth_config_response_dto.dart
generated
BIN
mobile/openapi/lib/model/o_auth_config_response_dto.dart
generated
Binary file not shown.
BIN
mobile/openapi/lib/model/person_response_dto.dart
generated
BIN
mobile/openapi/lib/model/person_response_dto.dart
generated
Binary file not shown.
BIN
mobile/openapi/lib/model/person_update_dto.dart
generated
BIN
mobile/openapi/lib/model/person_update_dto.dart
generated
Binary file not shown.
BIN
mobile/openapi/lib/model/queue_status_dto.dart
generated
BIN
mobile/openapi/lib/model/queue_status_dto.dart
generated
Binary file not shown.
BIN
mobile/openapi/lib/model/remove_assets_dto.dart
generated
BIN
mobile/openapi/lib/model/remove_assets_dto.dart
generated
Binary file not shown.
BIN
mobile/openapi/lib/model/search_album_response_dto.dart
generated
BIN
mobile/openapi/lib/model/search_album_response_dto.dart
generated
Binary file not shown.
BIN
mobile/openapi/lib/model/search_asset_dto.dart
generated
BIN
mobile/openapi/lib/model/search_asset_dto.dart
generated
Binary file not shown.
BIN
mobile/openapi/lib/model/search_asset_response_dto.dart
generated
BIN
mobile/openapi/lib/model/search_asset_response_dto.dart
generated
Binary file not shown.
BIN
mobile/openapi/lib/model/search_config_response_dto.dart
generated
BIN
mobile/openapi/lib/model/search_config_response_dto.dart
generated
Binary file not shown.
BIN
mobile/openapi/lib/model/search_explore_item.dart
generated
BIN
mobile/openapi/lib/model/search_explore_item.dart
generated
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
mobile/openapi/lib/model/search_facet_response_dto.dart
generated
BIN
mobile/openapi/lib/model/search_facet_response_dto.dart
generated
Binary file not shown.
BIN
mobile/openapi/lib/model/search_response_dto.dart
generated
BIN
mobile/openapi/lib/model/search_response_dto.dart
generated
Binary file not shown.
BIN
mobile/openapi/lib/model/server_info_response_dto.dart
generated
BIN
mobile/openapi/lib/model/server_info_response_dto.dart
generated
Binary file not shown.
BIN
mobile/openapi/lib/model/server_ping_response.dart
generated
BIN
mobile/openapi/lib/model/server_ping_response.dart
generated
Binary file not shown.
BIN
mobile/openapi/lib/model/server_stats_response_dto.dart
generated
BIN
mobile/openapi/lib/model/server_stats_response_dto.dart
generated
Binary file not shown.
BIN
mobile/openapi/lib/model/server_version_reponse_dto.dart
generated
BIN
mobile/openapi/lib/model/server_version_reponse_dto.dart
generated
Binary file not shown.
BIN
mobile/openapi/lib/model/shared_link_create_dto.dart
generated
BIN
mobile/openapi/lib/model/shared_link_create_dto.dart
generated
Binary file not shown.
BIN
mobile/openapi/lib/model/shared_link_edit_dto.dart
generated
BIN
mobile/openapi/lib/model/shared_link_edit_dto.dart
generated
Binary file not shown.
BIN
mobile/openapi/lib/model/shared_link_response_dto.dart
generated
BIN
mobile/openapi/lib/model/shared_link_response_dto.dart
generated
Binary file not shown.
BIN
mobile/openapi/lib/model/sign_up_dto.dart
generated
BIN
mobile/openapi/lib/model/sign_up_dto.dart
generated
Binary file not shown.
BIN
mobile/openapi/lib/model/smart_info_response_dto.dart
generated
BIN
mobile/openapi/lib/model/smart_info_response_dto.dart
generated
Binary file not shown.
BIN
mobile/openapi/lib/model/system_config_dto.dart
generated
BIN
mobile/openapi/lib/model/system_config_dto.dart
generated
Binary file not shown.
BIN
mobile/openapi/lib/model/system_config_f_fmpeg_dto.dart
generated
BIN
mobile/openapi/lib/model/system_config_f_fmpeg_dto.dart
generated
Binary file not shown.
BIN
mobile/openapi/lib/model/system_config_job_dto.dart
generated
BIN
mobile/openapi/lib/model/system_config_job_dto.dart
generated
Binary file not shown.
BIN
mobile/openapi/lib/model/system_config_o_auth_dto.dart
generated
BIN
mobile/openapi/lib/model/system_config_o_auth_dto.dart
generated
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
mobile/openapi/lib/model/tag_response_dto.dart
generated
BIN
mobile/openapi/lib/model/tag_response_dto.dart
generated
Binary file not shown.
BIN
mobile/openapi/lib/model/update_album_dto.dart
generated
BIN
mobile/openapi/lib/model/update_album_dto.dart
generated
Binary file not shown.
BIN
mobile/openapi/lib/model/update_asset_dto.dart
generated
BIN
mobile/openapi/lib/model/update_asset_dto.dart
generated
Binary file not shown.
BIN
mobile/openapi/lib/model/update_tag_dto.dart
generated
BIN
mobile/openapi/lib/model/update_tag_dto.dart
generated
Binary file not shown.
BIN
mobile/openapi/lib/model/update_user_dto.dart
generated
BIN
mobile/openapi/lib/model/update_user_dto.dart
generated
Binary file not shown.
BIN
mobile/openapi/lib/model/usage_by_user_dto.dart
generated
BIN
mobile/openapi/lib/model/usage_by_user_dto.dart
generated
Binary file not shown.
BIN
mobile/openapi/lib/model/user_count_response_dto.dart
generated
BIN
mobile/openapi/lib/model/user_count_response_dto.dart
generated
Binary file not shown.
BIN
mobile/openapi/lib/model/user_response_dto.dart
generated
BIN
mobile/openapi/lib/model/user_response_dto.dart
generated
Binary file not shown.
Binary file not shown.
|
@ -120,7 +120,7 @@ class {{{classname}}} {
|
|||
assert(() {
|
||||
requiredKeys.forEach((key) {
|
||||
assert(json.containsKey(key), 'Required key "{{{classname}}}[$key]" is missing from JSON.');
|
||||
assert(json[key] != null, 'Required key "{{{classname}}}[$key]" has a null value in JSON.');
|
||||
// assert(json[key] != null, 'Required key "{{{classname}}}[$key]" has a null value in JSON.');
|
||||
});
|
||||
return true;
|
||||
}());
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
--- native_class.mustache 2023-01-04 09:58:25.683944036 -0500
|
||||
+++ native_class1.mustache 2023-01-04 09:59:43.856353945 -0500
|
||||
--- native_class.mustache 2023-06-22 12:00:16.480685565 -0500
|
||||
+++ native_class1.mustache 2023-06-22 12:01:41.772534371 -0500
|
||||
@@ -91,14 +91,14 @@
|
||||
{{/isDateTime}}
|
||||
{{#isNullable}}
|
||||
|
@ -17,3 +17,12 @@
|
|||
}
|
||||
{{/defaultValue}}
|
||||
{{/required}}
|
||||
@@ -120,7 +120,7 @@
|
||||
assert(() {
|
||||
requiredKeys.forEach((key) {
|
||||
assert(json.containsKey(key), 'Required key "{{{classname}}}[$key]" is missing from JSON.');
|
||||
- assert(json[key] != null, 'Required key "{{{classname}}}[$key]" has a null value in JSON.');
|
||||
+ // assert(json[key] != null, 'Required key "{{{classname}}}[$key]" has a null value in JSON.');
|
||||
});
|
||||
return true;
|
||||
}());
|
||||
|
|
Loading…
Reference in a new issue