@cratis/arc 18.5.0 → 18.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/commands/Command.ts +18 -1
- package/commands/CommandValidator.ts +9 -7
- package/commands/for_Command/CommandWithRouteParams.ts +0 -2
- package/commands/for_Command/SomeCommand.ts +0 -2
- package/commands/for_Command/given/a_command_with_validator.ts +55 -0
- package/commands/for_Command/when_executing/with_client_validation_failing.ts +69 -0
- package/commands/for_Command/when_executing/with_client_validation_failure_and_custom_message.ts +29 -0
- package/commands/for_Command/when_executing/with_client_validation_passing.ts +63 -0
- package/commands/for_Command/when_executing/with_route_parameters.ts +1 -0
- package/commands/for_Command/when_validating/with_client_validation_failure.ts +26 -0
- package/commands/for_Command/when_validating/with_client_validation_passing.ts +77 -0
- package/commands/for_Command/when_validating/with_required_property_missing.ts +28 -0
- package/commands/for_CommandResult/when_chaining_callbacks/and_result_has_exceptions.ts +1 -0
- package/commands/for_CommandResult/when_chaining_callbacks/and_result_is_invalid.ts +1 -0
- package/commands/for_CommandResult/when_chaining_callbacks/and_result_is_successful.ts +1 -0
- package/commands/for_CommandResult/when_chaining_callbacks/and_result_is_unauthorized.ts +1 -0
- package/dist/cjs/commands/Command.d.ts +1 -1
- package/dist/cjs/commands/Command.d.ts.map +1 -1
- package/dist/cjs/commands/Command.js +13 -0
- package/dist/cjs/commands/Command.js.map +1 -1
- package/dist/cjs/commands/CommandValidator.d.ts +3 -6
- package/dist/cjs/commands/CommandValidator.d.ts.map +1 -1
- package/dist/cjs/commands/CommandValidator.js +5 -3
- package/dist/cjs/commands/CommandValidator.js.map +1 -1
- package/dist/cjs/commands/for_Command/CommandWithRouteParams.d.ts +16 -0
- package/dist/cjs/commands/for_Command/CommandWithRouteParams.d.ts.map +1 -0
- package/dist/cjs/commands/for_Command/SomeCommand.d.ts +14 -0
- package/dist/cjs/commands/for_Command/SomeCommand.d.ts.map +1 -0
- package/dist/cjs/commands/for_Command/given/a_command.d.ts +12 -0
- package/dist/cjs/commands/for_Command/given/a_command.d.ts.map +1 -0
- package/dist/cjs/commands/for_Command/given/a_command_with_validator.d.ts +33 -0
- package/dist/cjs/commands/for_Command/given/a_command_with_validator.d.ts.map +1 -0
- package/dist/cjs/commands/for_Command/when_clearing_the_command.d.ts +2 -0
- package/dist/cjs/commands/for_Command/when_clearing_the_command.d.ts.map +1 -0
- package/dist/cjs/commands/for_Command/when_constructing_command.d.ts +2 -0
- package/dist/cjs/commands/for_Command/when_constructing_command.d.ts.map +1 -0
- package/dist/cjs/commands/for_Command/when_constructing_command_with_globals_api_base_path.d.ts +2 -0
- package/dist/cjs/commands/for_Command/when_constructing_command_with_globals_api_base_path.d.ts.map +1 -0
- package/dist/cjs/commands/for_Command/when_constructing_command_with_globals_origin.d.ts +2 -0
- package/dist/cjs/commands/for_Command/when_constructing_command_with_globals_origin.d.ts.map +1 -0
- package/dist/cjs/commands/for_Command/when_executing/and_command_route_not_found.d.ts +2 -0
- package/dist/cjs/commands/for_Command/when_executing/and_command_route_not_found.d.ts.map +1 -0
- package/dist/cjs/commands/for_Command/when_executing/and_fetch_throws_exception.d.ts +2 -0
- package/dist/cjs/commands/for_Command/when_executing/and_fetch_throws_exception.d.ts.map +1 -0
- package/dist/cjs/commands/for_Command/when_executing/with_client_validation_failing.d.ts +2 -0
- package/dist/cjs/commands/for_Command/when_executing/with_client_validation_failing.d.ts.map +1 -0
- package/dist/cjs/commands/for_Command/when_executing/with_client_validation_failure_and_custom_message.d.ts +2 -0
- package/dist/cjs/commands/for_Command/when_executing/with_client_validation_failure_and_custom_message.d.ts.map +1 -0
- package/dist/cjs/commands/for_Command/when_executing/with_client_validation_passing.d.ts +2 -0
- package/dist/cjs/commands/for_Command/when_executing/with_client_validation_passing.d.ts.map +1 -0
- package/dist/cjs/commands/for_Command/when_executing/with_command_properties.d.ts +2 -0
- package/dist/cjs/commands/for_Command/when_executing/with_command_properties.d.ts.map +1 -0
- package/dist/cjs/commands/for_Command/when_executing/with_custom_http_headers.d.ts +2 -0
- package/dist/cjs/commands/for_Command/when_executing/with_custom_http_headers.d.ts.map +1 -0
- package/dist/cjs/commands/for_Command/when_executing/with_microservice_header.d.ts +2 -0
- package/dist/cjs/commands/for_Command/when_executing/with_microservice_header.d.ts.map +1 -0
- package/dist/cjs/commands/for_Command/when_executing/with_missing_required_property.d.ts +2 -0
- package/dist/cjs/commands/for_Command/when_executing/with_missing_required_property.d.ts.map +1 -0
- package/dist/cjs/commands/for_Command/when_executing/with_origin_and_api_base_path.d.ts +2 -0
- package/dist/cjs/commands/for_Command/when_executing/with_origin_and_api_base_path.d.ts.map +1 -0
- package/dist/cjs/commands/for_Command/when_executing/with_route_parameters.d.ts +2 -0
- package/dist/cjs/commands/for_Command/when_executing/with_route_parameters.d.ts.map +1 -0
- package/dist/cjs/commands/for_Command/when_executing/with_successful_response.d.ts +2 -0
- package/dist/cjs/commands/for_Command/when_executing/with_successful_response.d.ts.map +1 -0
- package/dist/cjs/commands/for_Command/when_property_changed_value_that_is_different_from_initial_value.d.ts +2 -0
- package/dist/cjs/commands/for_Command/when_property_changed_value_that_is_different_from_initial_value.d.ts.map +1 -0
- package/dist/cjs/commands/for_Command/when_property_changed_value_that_is_same_as_initial_value.d.ts +2 -0
- package/dist/cjs/commands/for_Command/when_property_changed_value_that_is_same_as_initial_value.d.ts.map +1 -0
- package/dist/cjs/commands/for_Command/when_property_changes_and_initial_value_is_undefined.d.ts +2 -0
- package/dist/cjs/commands/for_Command/when_property_changes_and_initial_value_is_undefined.d.ts.map +1 -0
- package/dist/cjs/commands/for_Command/when_property_changes_and_there_is_a_callback.d.ts +2 -0
- package/dist/cjs/commands/for_Command/when_property_changes_and_there_is_a_callback.d.ts.map +1 -0
- package/dist/cjs/commands/for_Command/when_property_has_changed_and_we_revert.d.ts +2 -0
- package/dist/cjs/commands/for_Command/when_property_has_changed_and_we_revert.d.ts.map +1 -0
- package/dist/cjs/commands/for_Command/when_setting_initial_values_after_property_changed.d.ts +2 -0
- package/dist/cjs/commands/for_Command/when_setting_initial_values_after_property_changed.d.ts.map +1 -0
- package/dist/cjs/commands/for_Command/when_validating/and_fetch_throws_exception.d.ts +2 -0
- package/dist/cjs/commands/for_Command/when_validating/and_fetch_throws_exception.d.ts.map +1 -0
- package/dist/cjs/commands/for_Command/when_validating/and_validation_endpoint_not_found.d.ts +2 -0
- package/dist/cjs/commands/for_Command/when_validating/and_validation_endpoint_not_found.d.ts.map +1 -0
- package/dist/cjs/commands/for_Command/when_validating/does_not_update_initial_values.d.ts +2 -0
- package/dist/cjs/commands/for_Command/when_validating/does_not_update_initial_values.d.ts.map +1 -0
- package/dist/cjs/commands/for_Command/when_validating/with_client_validation_failure.d.ts +2 -0
- package/dist/cjs/commands/for_Command/when_validating/with_client_validation_failure.d.ts.map +1 -0
- package/dist/cjs/commands/for_Command/when_validating/with_client_validation_passing.d.ts +2 -0
- package/dist/cjs/commands/for_Command/when_validating/with_client_validation_passing.d.ts.map +1 -0
- package/dist/cjs/commands/for_Command/when_validating/with_required_property_missing.d.ts +2 -0
- package/dist/cjs/commands/for_Command/when_validating/with_required_property_missing.d.ts.map +1 -0
- package/dist/cjs/commands/for_Command/when_validating/with_successful_response.d.ts +2 -0
- package/dist/cjs/commands/for_Command/when_validating/with_successful_response.d.ts.map +1 -0
- package/dist/cjs/commands/for_Command/when_validating/with_validation_errors.d.ts +2 -0
- package/dist/cjs/commands/for_Command/when_validating/with_validation_errors.d.ts.map +1 -0
- package/dist/cjs/commands/for_CommandResult/when_chaining_callbacks/and_result_has_exceptions.d.ts +2 -0
- package/dist/cjs/commands/for_CommandResult/when_chaining_callbacks/and_result_has_exceptions.d.ts.map +1 -0
- package/dist/cjs/commands/for_CommandResult/when_chaining_callbacks/and_result_is_invalid.d.ts +2 -0
- package/dist/cjs/commands/for_CommandResult/when_chaining_callbacks/and_result_is_invalid.d.ts.map +1 -0
- package/dist/cjs/commands/for_CommandResult/when_chaining_callbacks/and_result_is_successful.d.ts +2 -0
- package/dist/cjs/commands/for_CommandResult/when_chaining_callbacks/and_result_is_successful.d.ts.map +1 -0
- package/dist/cjs/commands/for_CommandResult/when_chaining_callbacks/and_result_is_unauthorized.d.ts +2 -0
- package/dist/cjs/commands/for_CommandResult/when_chaining_callbacks/and_result_is_unauthorized.d.ts.map +1 -0
- package/dist/cjs/identity/for_IdentityProvider/given/an_identity_provider.d.ts +12 -0
- package/dist/cjs/identity/for_IdentityProvider/given/an_identity_provider.d.ts.map +1 -0
- package/dist/cjs/identity/for_IdentityProvider/when_getting_current/with_type_safe_details.d.ts +2 -0
- package/dist/cjs/identity/for_IdentityProvider/when_getting_current/with_type_safe_details.d.ts.map +1 -0
- package/dist/cjs/identity/for_IdentityProvider/when_refreshing/with_api_base_path_set.d.ts +2 -0
- package/dist/cjs/identity/for_IdentityProvider/when_refreshing/with_api_base_path_set.d.ts.map +1 -0
- package/dist/cjs/identity/for_IdentityProvider/when_refreshing/with_globals_api_base_path.d.ts +2 -0
- package/dist/cjs/identity/for_IdentityProvider/when_refreshing/with_globals_api_base_path.d.ts.map +1 -0
- package/dist/cjs/identity/for_IdentityProvider/when_refreshing/with_type_safe_details.d.ts +2 -0
- package/dist/cjs/identity/for_IdentityProvider/when_refreshing/with_type_safe_details.d.ts.map +1 -0
- package/dist/cjs/identity/for_IdentityProvider/when_refreshing/without_api_base_path.d.ts +2 -0
- package/dist/cjs/identity/for_IdentityProvider/when_refreshing/without_api_base_path.d.ts.map +1 -0
- package/dist/cjs/identity/for_IdentityProvider/when_setting_api_base_path.d.ts +2 -0
- package/dist/cjs/identity/for_IdentityProvider/when_setting_api_base_path.d.ts.map +1 -0
- package/dist/cjs/identity/for_IdentityProvider/when_setting_origin.d.ts +2 -0
- package/dist/cjs/identity/for_IdentityProvider/when_setting_origin.d.ts.map +1 -0
- package/dist/cjs/queries/QueryFor.d.ts +2 -0
- package/dist/cjs/queries/QueryFor.d.ts.map +1 -1
- package/dist/cjs/queries/QueryFor.js +25 -0
- package/dist/cjs/queries/QueryFor.js.map +1 -1
- package/dist/cjs/queries/QueryValidator.d.ts +6 -0
- package/dist/cjs/queries/QueryValidator.d.ts.map +1 -0
- package/dist/cjs/queries/QueryValidator.js +12 -0
- package/dist/cjs/queries/QueryValidator.js.map +1 -0
- package/dist/cjs/queries/for_ObservableQueryConnection/given/an_observable_query_connection.d.ts +10 -0
- package/dist/cjs/queries/for_ObservableQueryConnection/given/an_observable_query_connection.d.ts.map +1 -0
- package/dist/cjs/queries/for_ObservableQueryConnection/when_constructing.d.ts +2 -0
- package/dist/cjs/queries/for_ObservableQueryConnection/when_constructing.d.ts.map +1 -0
- package/dist/cjs/queries/for_ObservableQueryFor/given/TestQueries.d.ts +42 -0
- package/dist/cjs/queries/for_ObservableQueryFor/given/TestQueries.d.ts.map +1 -0
- package/dist/cjs/queries/for_ObservableQueryFor/given/an_observable_query_for.d.ts +9 -0
- package/dist/cjs/queries/for_ObservableQueryFor/given/an_observable_query_for.d.ts.map +1 -0
- package/dist/cjs/queries/for_ObservableQueryFor/when_constructing.d.ts +2 -0
- package/dist/cjs/queries/for_ObservableQueryFor/when_constructing.d.ts.map +1 -0
- package/dist/cjs/queries/for_ObservableQueryFor/when_constructing_enumerable.d.ts +2 -0
- package/dist/cjs/queries/for_ObservableQueryFor/when_constructing_enumerable.d.ts.map +1 -0
- package/dist/cjs/queries/for_ObservableQueryFor/when_constructing_with_globals_api_base_path.d.ts +2 -0
- package/dist/cjs/queries/for_ObservableQueryFor/when_constructing_with_globals_api_base_path.d.ts.map +1 -0
- package/dist/cjs/queries/for_ObservableQueryFor/when_constructing_with_globals_origin.d.ts +2 -0
- package/dist/cjs/queries/for_ObservableQueryFor/when_constructing_with_globals_origin.d.ts.map +1 -0
- package/dist/cjs/queries/for_ObservableQueryFor/when_disposing.d.ts +2 -0
- package/dist/cjs/queries/for_ObservableQueryFor/when_disposing.d.ts.map +1 -0
- package/dist/cjs/queries/for_ObservableQueryFor/when_performing/with_enumerable_query.d.ts +2 -0
- package/dist/cjs/queries/for_ObservableQueryFor/when_performing/with_enumerable_query.d.ts.map +1 -0
- package/dist/cjs/queries/for_ObservableQueryFor/when_performing/with_invalid_arguments.d.ts +2 -0
- package/dist/cjs/queries/for_ObservableQueryFor/when_performing/with_invalid_arguments.d.ts.map +1 -0
- package/dist/cjs/queries/for_ObservableQueryFor/when_performing/with_paging.d.ts +2 -0
- package/dist/cjs/queries/for_ObservableQueryFor/when_performing/with_paging.d.ts.map +1 -0
- package/dist/cjs/queries/for_ObservableQueryFor/when_performing/with_parameter_descriptor_values.d.ts +2 -0
- package/dist/cjs/queries/for_ObservableQueryFor/when_performing/with_parameter_descriptor_values.d.ts.map +1 -0
- package/dist/cjs/queries/for_ObservableQueryFor/when_performing/with_partial_parameter_descriptor_values.d.ts +2 -0
- package/dist/cjs/queries/for_ObservableQueryFor/when_performing/with_partial_parameter_descriptor_values.d.ts.map +1 -0
- package/dist/cjs/queries/for_ObservableQueryFor/when_performing/with_route_parameters_and_unused_parameters.d.ts +2 -0
- package/dist/cjs/queries/for_ObservableQueryFor/when_performing/with_route_parameters_and_unused_parameters.d.ts.map +1 -0
- package/dist/cjs/queries/for_ObservableQueryFor/when_performing/with_sorting.d.ts +2 -0
- package/dist/cjs/queries/for_ObservableQueryFor/when_performing/with_sorting.d.ts.map +1 -0
- package/dist/cjs/queries/for_ObservableQueryFor/when_performing/with_valid_arguments.d.ts +2 -0
- package/dist/cjs/queries/for_ObservableQueryFor/when_performing/with_valid_arguments.d.ts.map +1 -0
- package/dist/cjs/queries/for_ObservableQueryFor/when_setting_api_base_path.d.ts +2 -0
- package/dist/cjs/queries/for_ObservableQueryFor/when_setting_api_base_path.d.ts.map +1 -0
- package/dist/cjs/queries/for_ObservableQueryFor/when_setting_microservice.d.ts +2 -0
- package/dist/cjs/queries/for_ObservableQueryFor/when_setting_microservice.d.ts.map +1 -0
- package/dist/cjs/queries/for_ObservableQueryFor/when_setting_origin.d.ts +2 -0
- package/dist/cjs/queries/for_ObservableQueryFor/when_setting_origin.d.ts.map +1 -0
- package/dist/cjs/queries/for_ObservableQueryFor/when_subscribing/with_enumerable_query.d.ts +2 -0
- package/dist/cjs/queries/for_ObservableQueryFor/when_subscribing/with_enumerable_query.d.ts.map +1 -0
- package/dist/cjs/queries/for_ObservableQueryFor/when_subscribing/with_invalid_arguments.d.ts +2 -0
- package/dist/cjs/queries/for_ObservableQueryFor/when_subscribing/with_invalid_arguments.d.ts.map +1 -0
- package/dist/cjs/queries/for_ObservableQueryFor/when_subscribing/with_paging.d.ts +2 -0
- package/dist/cjs/queries/for_ObservableQueryFor/when_subscribing/with_paging.d.ts.map +1 -0
- package/dist/cjs/queries/for_ObservableQueryFor/when_subscribing/with_route_and_query_args.d.ts +2 -0
- package/dist/cjs/queries/for_ObservableQueryFor/when_subscribing/with_route_and_query_args.d.ts.map +1 -0
- package/dist/cjs/queries/for_ObservableQueryFor/when_subscribing/with_sorting.d.ts +2 -0
- package/dist/cjs/queries/for_ObservableQueryFor/when_subscribing/with_sorting.d.ts.map +1 -0
- package/dist/cjs/queries/for_ObservableQueryFor/when_subscribing/with_valid_arguments.d.ts +2 -0
- package/dist/cjs/queries/for_ObservableQueryFor/when_subscribing/with_valid_arguments.d.ts.map +1 -0
- package/dist/cjs/queries/for_QueryFor/given/TestQueries.d.ts +37 -0
- package/dist/cjs/queries/for_QueryFor/given/TestQueries.d.ts.map +1 -0
- package/dist/cjs/queries/for_QueryFor/given/a_query_for.d.ts +9 -0
- package/dist/cjs/queries/for_QueryFor/given/a_query_for.d.ts.map +1 -0
- package/dist/cjs/queries/for_QueryFor/given/a_query_with_validator.d.ts +35 -0
- package/dist/cjs/queries/for_QueryFor/given/a_query_with_validator.d.ts.map +1 -0
- package/dist/cjs/queries/for_QueryFor/when_constructing.d.ts +2 -0
- package/dist/cjs/queries/for_QueryFor/when_constructing.d.ts.map +1 -0
- package/dist/cjs/queries/for_QueryFor/when_constructing_enumerable.d.ts +2 -0
- package/dist/cjs/queries/for_QueryFor/when_constructing_enumerable.d.ts.map +1 -0
- package/dist/cjs/queries/for_QueryFor/when_constructing_with_globals_api_base_path.d.ts +2 -0
- package/dist/cjs/queries/for_QueryFor/when_constructing_with_globals_api_base_path.d.ts.map +1 -0
- package/dist/cjs/queries/for_QueryFor/when_constructing_with_globals_origin.d.ts +2 -0
- package/dist/cjs/queries/for_QueryFor/when_constructing_with_globals_origin.d.ts.map +1 -0
- package/dist/cjs/queries/for_QueryFor/when_performing/with_abort_controller.d.ts +2 -0
- package/dist/cjs/queries/for_QueryFor/when_performing/with_abort_controller.d.ts.map +1 -0
- package/dist/cjs/queries/for_QueryFor/when_performing/with_client_validation_failing.d.ts +2 -0
- package/dist/cjs/queries/for_QueryFor/when_performing/with_client_validation_failing.d.ts.map +1 -0
- package/dist/cjs/queries/for_QueryFor/when_performing/with_client_validation_failure_and_custom_message.d.ts +2 -0
- package/dist/cjs/queries/for_QueryFor/when_performing/with_client_validation_failure_and_custom_message.d.ts.map +1 -0
- package/dist/cjs/queries/for_QueryFor/when_performing/with_client_validation_passing.d.ts +2 -0
- package/dist/cjs/queries/for_QueryFor/when_performing/with_client_validation_passing.d.ts.map +1 -0
- package/dist/cjs/queries/for_QueryFor/when_performing/with_enumerable_query.d.ts +2 -0
- package/dist/cjs/queries/for_QueryFor/when_performing/with_enumerable_query.d.ts.map +1 -0
- package/dist/cjs/queries/for_QueryFor/when_performing/with_fetch_error.d.ts +2 -0
- package/dist/cjs/queries/for_QueryFor/when_performing/with_fetch_error.d.ts.map +1 -0
- package/dist/cjs/queries/for_QueryFor/when_performing/with_invalid_arguments.d.ts +2 -0
- package/dist/cjs/queries/for_QueryFor/when_performing/with_invalid_arguments.d.ts.map +1 -0
- package/dist/cjs/queries/for_QueryFor/when_performing/with_json_parse_error.d.ts +2 -0
- package/dist/cjs/queries/for_QueryFor/when_performing/with_json_parse_error.d.ts.map +1 -0
- package/dist/cjs/queries/for_QueryFor/when_performing/with_paging.d.ts +2 -0
- package/dist/cjs/queries/for_QueryFor/when_performing/with_paging.d.ts.map +1 -0
- package/dist/cjs/queries/for_QueryFor/when_performing/with_parameter_descriptor_values.d.ts +2 -0
- package/dist/cjs/queries/for_QueryFor/when_performing/with_parameter_descriptor_values.d.ts.map +1 -0
- package/dist/cjs/queries/for_QueryFor/when_performing/with_partial_parameter_descriptor_values.d.ts +2 -0
- package/dist/cjs/queries/for_QueryFor/when_performing/with_partial_parameter_descriptor_values.d.ts.map +1 -0
- package/dist/cjs/queries/for_QueryFor/when_performing/with_query_without_required_parameters.d.ts +2 -0
- package/dist/cjs/queries/for_QueryFor/when_performing/with_query_without_required_parameters.d.ts.map +1 -0
- package/dist/cjs/queries/for_QueryFor/when_performing/with_route_parameters_and_unused_parameters.d.ts +2 -0
- package/dist/cjs/queries/for_QueryFor/when_performing/with_route_parameters_and_unused_parameters.d.ts.map +1 -0
- package/dist/cjs/queries/for_QueryFor/when_performing/with_sorting.d.ts +2 -0
- package/dist/cjs/queries/for_QueryFor/when_performing/with_sorting.d.ts.map +1 -0
- package/dist/cjs/queries/for_QueryFor/when_performing/with_valid_arguments.d.ts +2 -0
- package/dist/cjs/queries/for_QueryFor/when_performing/with_valid_arguments.d.ts.map +1 -0
- package/dist/cjs/queries/for_QueryFor/when_setting_api_base_path.d.ts +2 -0
- package/dist/cjs/queries/for_QueryFor/when_setting_api_base_path.d.ts.map +1 -0
- package/dist/cjs/queries/for_QueryFor/when_setting_microservice.d.ts +2 -0
- package/dist/cjs/queries/for_QueryFor/when_setting_microservice.d.ts.map +1 -0
- package/dist/cjs/queries/for_QueryFor/when_setting_origin.d.ts +2 -0
- package/dist/cjs/queries/for_QueryFor/when_setting_origin.d.ts.map +1 -0
- package/dist/cjs/queries/for_QueryResult/when_asking_has_data/and_it_an_array_with_items.d.ts +2 -0
- package/dist/cjs/queries/for_QueryResult/when_asking_has_data/and_it_an_array_with_items.d.ts.map +1 -0
- package/dist/cjs/queries/for_QueryResult/when_asking_has_data/and_it_is_defined_instance.d.ts +2 -0
- package/dist/cjs/queries/for_QueryResult/when_asking_has_data/and_it_is_defined_instance.d.ts.map +1 -0
- package/dist/cjs/queries/for_QueryResult/when_asking_has_data/and_it_is_empty_array.d.ts +2 -0
- package/dist/cjs/queries/for_QueryResult/when_asking_has_data/and_it_is_empty_array.d.ts.map +1 -0
- package/dist/cjs/queries/for_QueryResult/when_asking_has_data/and_it_is_undefined.d.ts +2 -0
- package/dist/cjs/queries/for_QueryResult/when_asking_has_data/and_it_is_undefined.d.ts.map +1 -0
- package/dist/cjs/queries/for_WebSocketMessage/when_creating_messages.d.ts +2 -0
- package/dist/cjs/queries/for_WebSocketMessage/when_creating_messages.d.ts.map +1 -0
- package/dist/cjs/queries/index.d.ts +1 -0
- package/dist/cjs/queries/index.d.ts.map +1 -1
- package/dist/cjs/queries/index.js +2 -0
- package/dist/cjs/queries/index.js.map +1 -1
- package/dist/cjs/validation/IValidationRule.d.ts +5 -0
- package/dist/cjs/validation/IValidationRule.d.ts.map +1 -0
- package/dist/cjs/validation/PropertyRule.d.ts +11 -0
- package/dist/cjs/validation/PropertyRule.d.ts.map +1 -0
- package/dist/cjs/validation/PropertyRule.js +27 -0
- package/dist/cjs/validation/PropertyRule.js.map +1 -0
- package/dist/cjs/validation/PropertyValidator.d.ts +11 -0
- package/dist/cjs/validation/PropertyValidator.d.ts.map +1 -0
- package/dist/cjs/validation/PropertyValidator.js +26 -0
- package/dist/cjs/validation/PropertyValidator.js.map +1 -0
- package/dist/cjs/validation/RuleBuilder.d.ts +11 -0
- package/dist/cjs/validation/RuleBuilder.d.ts.map +1 -0
- package/dist/cjs/validation/RuleBuilder.js +27 -0
- package/dist/cjs/validation/RuleBuilder.js.map +1 -0
- package/dist/cjs/validation/RuleBuilderExtensions.d.ts +28 -0
- package/dist/cjs/validation/RuleBuilderExtensions.d.ts.map +1 -0
- package/dist/cjs/validation/RuleBuilderExtensions.js +77 -0
- package/dist/cjs/validation/RuleBuilderExtensions.js.map +1 -0
- package/dist/cjs/validation/Validator.d.ts +8 -1
- package/dist/cjs/validation/Validator.d.ts.map +1 -1
- package/dist/cjs/validation/Validator.js +41 -0
- package/dist/cjs/validation/Validator.js.map +1 -1
- package/dist/cjs/validation/for_Validator/when_defining_multiple_rules_for_same_property.d.ts +2 -0
- package/dist/cjs/validation/for_Validator/when_defining_multiple_rules_for_same_property.d.ts.map +1 -0
- package/dist/cjs/validation/for_Validator/when_using_custom_error_message.d.ts +2 -0
- package/dist/cjs/validation/for_Validator/when_using_custom_error_message.d.ts.map +1 -0
- package/dist/cjs/validation/for_Validator/when_validating/with_all_rules_passing.d.ts +2 -0
- package/dist/cjs/validation/for_Validator/when_validating/with_all_rules_passing.d.ts.map +1 -0
- package/dist/cjs/validation/for_Validator/when_validating/with_multiple_rules_failing.d.ts +2 -0
- package/dist/cjs/validation/for_Validator/when_validating/with_multiple_rules_failing.d.ts.map +1 -0
- package/dist/cjs/validation/for_Validator/when_validating/with_one_rule_failing.d.ts +2 -0
- package/dist/cjs/validation/for_Validator/when_validating/with_one_rule_failing.d.ts.map +1 -0
- package/dist/cjs/validation/index.d.ts +11 -0
- package/dist/cjs/validation/index.d.ts.map +1 -1
- package/dist/cjs/validation/index.js +39 -0
- package/dist/cjs/validation/index.js.map +1 -1
- package/dist/cjs/validation/rules/ComparisonRules.d.ts +22 -0
- package/dist/cjs/validation/rules/ComparisonRules.d.ts.map +1 -0
- package/dist/cjs/validation/rules/ComparisonRules.js +62 -0
- package/dist/cjs/validation/rules/ComparisonRules.js.map +1 -0
- package/dist/cjs/validation/rules/EmailRule.d.ts +7 -0
- package/dist/cjs/validation/rules/EmailRule.d.ts.map +1 -0
- package/dist/cjs/validation/rules/EmailRule.js +19 -0
- package/dist/cjs/validation/rules/EmailRule.js.map +1 -0
- package/dist/cjs/validation/rules/LengthRules.d.ts +18 -0
- package/dist/cjs/validation/rules/LengthRules.d.ts.map +1 -0
- package/dist/cjs/validation/rules/LengthRules.js +50 -0
- package/dist/cjs/validation/rules/LengthRules.js.map +1 -0
- package/dist/cjs/validation/rules/NotEmptyRule.d.ts +10 -0
- package/dist/cjs/validation/rules/NotEmptyRule.d.ts.map +1 -0
- package/dist/cjs/validation/rules/NotEmptyRule.js +33 -0
- package/dist/cjs/validation/rules/NotEmptyRule.js.map +1 -0
- package/dist/cjs/validation/rules/RegexRule.d.ts +7 -0
- package/dist/cjs/validation/rules/RegexRule.d.ts.map +1 -0
- package/dist/cjs/validation/rules/RegexRule.js +20 -0
- package/dist/cjs/validation/rules/RegexRule.js.map +1 -0
- package/dist/cjs/validation/rules/for_EmailRule/when_validating/with_empty_string.d.ts +2 -0
- package/dist/cjs/validation/rules/for_EmailRule/when_validating/with_empty_string.d.ts.map +1 -0
- package/dist/cjs/validation/rules/for_EmailRule/when_validating/with_invalid_email.d.ts +2 -0
- package/dist/cjs/validation/rules/for_EmailRule/when_validating/with_invalid_email.d.ts.map +1 -0
- package/dist/cjs/validation/rules/for_EmailRule/when_validating/with_valid_email.d.ts +2 -0
- package/dist/cjs/validation/rules/for_EmailRule/when_validating/with_valid_email.d.ts.map +1 -0
- package/dist/cjs/validation/rules/for_GreaterThanOrEqualRule/when_validating/with_value_equal_to_threshold.d.ts +2 -0
- package/dist/cjs/validation/rules/for_GreaterThanOrEqualRule/when_validating/with_value_equal_to_threshold.d.ts.map +1 -0
- package/dist/cjs/validation/rules/for_GreaterThanRule/when_validating/with_value_equal_to_threshold.d.ts +2 -0
- package/dist/cjs/validation/rules/for_GreaterThanRule/when_validating/with_value_equal_to_threshold.d.ts.map +1 -0
- package/dist/cjs/validation/rules/for_GreaterThanRule/when_validating/with_value_greater_than_threshold.d.ts +2 -0
- package/dist/cjs/validation/rules/for_GreaterThanRule/when_validating/with_value_greater_than_threshold.d.ts.map +1 -0
- package/dist/cjs/validation/rules/for_GreaterThanRule/when_validating/with_value_less_than_threshold.d.ts +2 -0
- package/dist/cjs/validation/rules/for_GreaterThanRule/when_validating/with_value_less_than_threshold.d.ts.map +1 -0
- package/dist/cjs/validation/rules/for_LengthRule/when_validating/with_string_longer_than_maximum.d.ts +2 -0
- package/dist/cjs/validation/rules/for_LengthRule/when_validating/with_string_longer_than_maximum.d.ts.map +1 -0
- package/dist/cjs/validation/rules/for_LengthRule/when_validating/with_string_shorter_than_minimum.d.ts +2 -0
- package/dist/cjs/validation/rules/for_LengthRule/when_validating/with_string_shorter_than_minimum.d.ts.map +1 -0
- package/dist/cjs/validation/rules/for_LengthRule/when_validating/with_string_within_range.d.ts +2 -0
- package/dist/cjs/validation/rules/for_LengthRule/when_validating/with_string_within_range.d.ts.map +1 -0
- package/dist/cjs/validation/rules/for_LessThanRule/when_validating/with_value_less_than_threshold.d.ts +2 -0
- package/dist/cjs/validation/rules/for_LessThanRule/when_validating/with_value_less_than_threshold.d.ts.map +1 -0
- package/dist/cjs/validation/rules/for_MaxLengthRule/when_validating/with_string_equal_to_maximum.d.ts +2 -0
- package/dist/cjs/validation/rules/for_MaxLengthRule/when_validating/with_string_equal_to_maximum.d.ts.map +1 -0
- package/dist/cjs/validation/rules/for_MaxLengthRule/when_validating/with_string_longer_than_maximum.d.ts +2 -0
- package/dist/cjs/validation/rules/for_MaxLengthRule/when_validating/with_string_longer_than_maximum.d.ts.map +1 -0
- package/dist/cjs/validation/rules/for_MinLengthRule/when_validating/with_string_equal_to_minimum.d.ts +2 -0
- package/dist/cjs/validation/rules/for_MinLengthRule/when_validating/with_string_equal_to_minimum.d.ts.map +1 -0
- package/dist/cjs/validation/rules/for_MinLengthRule/when_validating/with_string_longer_than_minimum.d.ts +2 -0
- package/dist/cjs/validation/rules/for_MinLengthRule/when_validating/with_string_longer_than_minimum.d.ts.map +1 -0
- package/dist/cjs/validation/rules/for_MinLengthRule/when_validating/with_string_shorter_than_minimum.d.ts +2 -0
- package/dist/cjs/validation/rules/for_MinLengthRule/when_validating/with_string_shorter_than_minimum.d.ts.map +1 -0
- package/dist/cjs/validation/rules/for_NotEmptyRule/when_setting_custom_message.d.ts +2 -0
- package/dist/cjs/validation/rules/for_NotEmptyRule/when_setting_custom_message.d.ts.map +1 -0
- package/dist/cjs/validation/rules/for_NotEmptyRule/when_validating/with_empty_array.d.ts +2 -0
- package/dist/cjs/validation/rules/for_NotEmptyRule/when_validating/with_empty_array.d.ts.map +1 -0
- package/dist/cjs/validation/rules/for_NotEmptyRule/when_validating/with_empty_string.d.ts +2 -0
- package/dist/cjs/validation/rules/for_NotEmptyRule/when_validating/with_empty_string.d.ts.map +1 -0
- package/dist/cjs/validation/rules/for_NotEmptyRule/when_validating/with_non_empty_array.d.ts +2 -0
- package/dist/cjs/validation/rules/for_NotEmptyRule/when_validating/with_non_empty_array.d.ts.map +1 -0
- package/dist/cjs/validation/rules/for_NotEmptyRule/when_validating/with_null_value.d.ts +2 -0
- package/dist/cjs/validation/rules/for_NotEmptyRule/when_validating/with_null_value.d.ts.map +1 -0
- package/dist/cjs/validation/rules/for_NotEmptyRule/when_validating/with_undefined_value.d.ts +2 -0
- package/dist/cjs/validation/rules/for_NotEmptyRule/when_validating/with_undefined_value.d.ts.map +1 -0
- package/dist/cjs/validation/rules/for_NotEmptyRule/when_validating/with_valid_string.d.ts +2 -0
- package/dist/cjs/validation/rules/for_NotEmptyRule/when_validating/with_valid_string.d.ts.map +1 -0
- package/dist/cjs/validation/rules/for_NotEmptyRule/when_validating/with_whitespace_string.d.ts +2 -0
- package/dist/cjs/validation/rules/for_NotEmptyRule/when_validating/with_whitespace_string.d.ts.map +1 -0
- package/dist/esm/commands/Command.d.ts +1 -1
- package/dist/esm/commands/Command.d.ts.map +1 -1
- package/dist/esm/commands/Command.js +13 -0
- package/dist/esm/commands/Command.js.map +1 -1
- package/dist/esm/commands/CommandValidator.d.ts +3 -6
- package/dist/esm/commands/CommandValidator.d.ts.map +1 -1
- package/dist/esm/commands/CommandValidator.js +5 -3
- package/dist/esm/commands/CommandValidator.js.map +1 -1
- package/dist/esm/commands/for_Command/CommandWithRouteParams.d.ts +16 -0
- package/dist/esm/commands/for_Command/CommandWithRouteParams.d.ts.map +1 -0
- package/dist/esm/commands/for_Command/CommandWithRouteParams.js +21 -0
- package/dist/esm/commands/for_Command/CommandWithRouteParams.js.map +1 -0
- package/dist/esm/commands/for_Command/SomeCommand.d.ts +14 -0
- package/dist/esm/commands/for_Command/SomeCommand.d.ts.map +1 -0
- package/dist/esm/commands/for_Command/SomeCommand.js +21 -0
- package/dist/esm/commands/for_Command/SomeCommand.js.map +1 -0
- package/dist/esm/commands/for_Command/given/a_command.d.ts +12 -0
- package/dist/esm/commands/for_Command/given/a_command.d.ts.map +1 -0
- package/dist/esm/commands/for_Command/given/a_command.js +17 -0
- package/dist/esm/commands/for_Command/given/a_command.js.map +1 -0
- package/dist/esm/commands/for_Command/given/a_command_with_validator.d.ts +33 -0
- package/dist/esm/commands/for_Command/given/a_command_with_validator.d.ts.map +1 -0
- package/dist/esm/commands/for_Command/given/a_command_with_validator.js +38 -0
- package/dist/esm/commands/for_Command/given/a_command_with_validator.js.map +1 -0
- package/dist/esm/commands/for_Command/when_clearing_the_command.d.ts +2 -0
- package/dist/esm/commands/for_Command/when_clearing_the_command.d.ts.map +1 -0
- package/dist/esm/commands/for_Command/when_clearing_the_command.js +13 -0
- package/dist/esm/commands/for_Command/when_clearing_the_command.js.map +1 -0
- package/dist/esm/commands/for_Command/when_constructing_command.d.ts +2 -0
- package/dist/esm/commands/for_Command/when_constructing_command.d.ts.map +1 -0
- package/dist/esm/commands/for_Command/when_constructing_command.js +34 -0
- package/dist/esm/commands/for_Command/when_constructing_command.js.map +1 -0
- package/dist/esm/commands/for_Command/when_constructing_command_with_globals_api_base_path.d.ts +2 -0
- package/dist/esm/commands/for_Command/when_constructing_command_with_globals_api_base_path.d.ts.map +1 -0
- package/dist/esm/commands/for_Command/when_constructing_command_with_globals_api_base_path.js +20 -0
- package/dist/esm/commands/for_Command/when_constructing_command_with_globals_api_base_path.js.map +1 -0
- package/dist/esm/commands/for_Command/when_constructing_command_with_globals_origin.d.ts +2 -0
- package/dist/esm/commands/for_Command/when_constructing_command_with_globals_origin.d.ts.map +1 -0
- package/dist/esm/commands/for_Command/when_constructing_command_with_globals_origin.js +20 -0
- package/dist/esm/commands/for_Command/when_constructing_command_with_globals_origin.js.map +1 -0
- package/dist/esm/commands/for_Command/when_executing/and_command_route_not_found.d.ts +2 -0
- package/dist/esm/commands/for_Command/when_executing/and_command_route_not_found.d.ts.map +1 -0
- package/dist/esm/commands/for_Command/when_executing/and_command_route_not_found.js +18 -0
- package/dist/esm/commands/for_Command/when_executing/and_command_route_not_found.js.map +1 -0
- package/dist/esm/commands/for_Command/when_executing/and_fetch_throws_exception.d.ts +2 -0
- package/dist/esm/commands/for_Command/when_executing/and_fetch_throws_exception.d.ts.map +1 -0
- package/dist/esm/commands/for_Command/when_executing/and_fetch_throws_exception.js +16 -0
- package/dist/esm/commands/for_Command/when_executing/and_fetch_throws_exception.js.map +1 -0
- package/dist/esm/commands/for_Command/when_executing/with_client_validation_failing.d.ts +2 -0
- package/dist/esm/commands/for_Command/when_executing/with_client_validation_failing.d.ts.map +1 -0
- package/dist/esm/commands/for_Command/when_executing/with_client_validation_failing.js +52 -0
- package/dist/esm/commands/for_Command/when_executing/with_client_validation_failing.js.map +1 -0
- package/dist/esm/commands/for_Command/when_executing/with_client_validation_failure_and_custom_message.d.ts +2 -0
- package/dist/esm/commands/for_Command/when_executing/with_client_validation_failure_and_custom_message.d.ts.map +1 -0
- package/dist/esm/commands/for_Command/when_executing/with_client_validation_failure_and_custom_message.js +19 -0
- package/dist/esm/commands/for_Command/when_executing/with_client_validation_failure_and_custom_message.js.map +1 -0
- package/dist/esm/commands/for_Command/when_executing/with_client_validation_passing.d.ts +2 -0
- package/dist/esm/commands/for_Command/when_executing/with_client_validation_passing.d.ts.map +1 -0
- package/dist/esm/commands/for_Command/when_executing/with_client_validation_passing.js +49 -0
- package/dist/esm/commands/for_Command/when_executing/with_client_validation_passing.js.map +1 -0
- package/dist/esm/commands/for_Command/when_executing/with_command_properties.d.ts +2 -0
- package/dist/esm/commands/for_Command/when_executing/with_command_properties.d.ts.map +1 -0
- package/dist/esm/commands/for_Command/when_executing/with_command_properties.js +32 -0
- package/dist/esm/commands/for_Command/when_executing/with_command_properties.js.map +1 -0
- package/dist/esm/commands/for_Command/when_executing/with_custom_http_headers.d.ts +2 -0
- package/dist/esm/commands/for_Command/when_executing/with_custom_http_headers.d.ts.map +1 -0
- package/dist/esm/commands/for_Command/when_executing/with_custom_http_headers.js +54 -0
- package/dist/esm/commands/for_Command/when_executing/with_custom_http_headers.js.map +1 -0
- package/dist/esm/commands/for_Command/when_executing/with_microservice_header.d.ts +2 -0
- package/dist/esm/commands/for_Command/when_executing/with_microservice_header.d.ts.map +1 -0
- package/dist/esm/commands/for_Command/when_executing/with_microservice_header.js +40 -0
- package/dist/esm/commands/for_Command/when_executing/with_microservice_header.js.map +1 -0
- package/dist/esm/commands/for_Command/when_executing/with_missing_required_property.d.ts +2 -0
- package/dist/esm/commands/for_Command/when_executing/with_missing_required_property.d.ts.map +1 -0
- package/dist/esm/commands/for_Command/when_executing/with_missing_required_property.js +24 -0
- package/dist/esm/commands/for_Command/when_executing/with_missing_required_property.js.map +1 -0
- package/dist/esm/commands/for_Command/when_executing/with_origin_and_api_base_path.d.ts +2 -0
- package/dist/esm/commands/for_Command/when_executing/with_origin_and_api_base_path.d.ts.map +1 -0
- package/dist/esm/commands/for_Command/when_executing/with_origin_and_api_base_path.js +46 -0
- package/dist/esm/commands/for_Command/when_executing/with_origin_and_api_base_path.js.map +1 -0
- package/dist/esm/commands/for_Command/when_executing/with_route_parameters.d.ts +2 -0
- package/dist/esm/commands/for_Command/when_executing/with_route_parameters.d.ts.map +1 -0
- package/dist/esm/commands/for_Command/when_executing/with_route_parameters.js +51 -0
- package/dist/esm/commands/for_Command/when_executing/with_route_parameters.js.map +1 -0
- package/dist/esm/commands/for_Command/when_executing/with_successful_response.d.ts +2 -0
- package/dist/esm/commands/for_Command/when_executing/with_successful_response.d.ts.map +1 -0
- package/dist/esm/commands/for_Command/when_executing/with_successful_response.js +39 -0
- package/dist/esm/commands/for_Command/when_executing/with_successful_response.js.map +1 -0
- package/dist/esm/commands/for_Command/when_property_changed_value_that_is_different_from_initial_value.d.ts +2 -0
- package/dist/esm/commands/for_Command/when_property_changed_value_that_is_different_from_initial_value.d.ts.map +1 -0
- package/dist/esm/commands/for_Command/when_property_changed_value_that_is_different_from_initial_value.js +11 -0
- package/dist/esm/commands/for_Command/when_property_changed_value_that_is_different_from_initial_value.js.map +1 -0
- package/dist/esm/commands/for_Command/when_property_changed_value_that_is_same_as_initial_value.d.ts +2 -0
- package/dist/esm/commands/for_Command/when_property_changed_value_that_is_same_as_initial_value.d.ts.map +1 -0
- package/dist/esm/commands/for_Command/when_property_changed_value_that_is_same_as_initial_value.js +11 -0
- package/dist/esm/commands/for_Command/when_property_changed_value_that_is_same_as_initial_value.js.map +1 -0
- package/dist/esm/commands/for_Command/when_property_changes_and_initial_value_is_undefined.d.ts +2 -0
- package/dist/esm/commands/for_Command/when_property_changes_and_initial_value_is_undefined.d.ts.map +1 -0
- package/dist/esm/commands/for_Command/when_property_changes_and_initial_value_is_undefined.js +8 -0
- package/dist/esm/commands/for_Command/when_property_changes_and_initial_value_is_undefined.js.map +1 -0
- package/dist/esm/commands/for_Command/when_property_changes_and_there_is_a_callback.d.ts +2 -0
- package/dist/esm/commands/for_Command/when_property_changes_and_there_is_a_callback.d.ts.map +1 -0
- package/dist/esm/commands/for_Command/when_property_changes_and_there_is_a_callback.js +10 -0
- package/dist/esm/commands/for_Command/when_property_changes_and_there_is_a_callback.js.map +1 -0
- package/dist/esm/commands/for_Command/when_property_has_changed_and_we_revert.d.ts +2 -0
- package/dist/esm/commands/for_Command/when_property_has_changed_and_we_revert.d.ts.map +1 -0
- package/dist/esm/commands/for_Command/when_property_has_changed_and_we_revert.js +11 -0
- package/dist/esm/commands/for_Command/when_property_has_changed_and_we_revert.js.map +1 -0
- package/dist/esm/commands/for_Command/when_setting_initial_values_after_property_changed.d.ts +2 -0
- package/dist/esm/commands/for_Command/when_setting_initial_values_after_property_changed.d.ts.map +1 -0
- package/dist/esm/commands/for_Command/when_setting_initial_values_after_property_changed.js +12 -0
- package/dist/esm/commands/for_Command/when_setting_initial_values_after_property_changed.js.map +1 -0
- package/dist/esm/commands/for_Command/when_validating/and_fetch_throws_exception.d.ts +2 -0
- package/dist/esm/commands/for_Command/when_validating/and_fetch_throws_exception.d.ts.map +1 -0
- package/dist/esm/commands/for_Command/when_validating/and_fetch_throws_exception.js +16 -0
- package/dist/esm/commands/for_Command/when_validating/and_fetch_throws_exception.js.map +1 -0
- package/dist/esm/commands/for_Command/when_validating/and_validation_endpoint_not_found.d.ts +2 -0
- package/dist/esm/commands/for_Command/when_validating/and_validation_endpoint_not_found.d.ts.map +1 -0
- package/dist/esm/commands/for_Command/when_validating/and_validation_endpoint_not_found.js +18 -0
- package/dist/esm/commands/for_Command/when_validating/and_validation_endpoint_not_found.js.map +1 -0
- package/dist/esm/commands/for_Command/when_validating/does_not_update_initial_values.d.ts +2 -0
- package/dist/esm/commands/for_Command/when_validating/does_not_update_initial_values.d.ts.map +1 -0
- package/dist/esm/commands/for_Command/when_validating/does_not_update_initial_values.js +31 -0
- package/dist/esm/commands/for_Command/when_validating/does_not_update_initial_values.js.map +1 -0
- package/dist/esm/commands/for_Command/when_validating/with_client_validation_failure.d.ts +2 -0
- package/dist/esm/commands/for_Command/when_validating/with_client_validation_failure.d.ts.map +1 -0
- package/dist/esm/commands/for_Command/when_validating/with_client_validation_failure.js +18 -0
- package/dist/esm/commands/for_Command/when_validating/with_client_validation_failure.js.map +1 -0
- package/dist/esm/commands/for_Command/when_validating/with_client_validation_passing.d.ts +2 -0
- package/dist/esm/commands/for_Command/when_validating/with_client_validation_passing.d.ts.map +1 -0
- package/dist/esm/commands/for_Command/when_validating/with_client_validation_passing.js +56 -0
- package/dist/esm/commands/for_Command/when_validating/with_client_validation_passing.js.map +1 -0
- package/dist/esm/commands/for_Command/when_validating/with_required_property_missing.d.ts +2 -0
- package/dist/esm/commands/for_Command/when_validating/with_required_property_missing.d.ts.map +1 -0
- package/dist/esm/commands/for_Command/when_validating/with_required_property_missing.js +21 -0
- package/dist/esm/commands/for_Command/when_validating/with_required_property_missing.js.map +1 -0
- package/dist/esm/commands/for_Command/when_validating/with_successful_response.d.ts +2 -0
- package/dist/esm/commands/for_Command/when_validating/with_successful_response.d.ts.map +1 -0
- package/dist/esm/commands/for_Command/when_validating/with_successful_response.js +37 -0
- package/dist/esm/commands/for_Command/when_validating/with_successful_response.js.map +1 -0
- package/dist/esm/commands/for_Command/when_validating/with_validation_errors.d.ts +2 -0
- package/dist/esm/commands/for_Command/when_validating/with_validation_errors.d.ts.map +1 -0
- package/dist/esm/commands/for_Command/when_validating/with_validation_errors.js +37 -0
- package/dist/esm/commands/for_Command/when_validating/with_validation_errors.js.map +1 -0
- package/dist/esm/commands/for_CommandResult/when_chaining_callbacks/and_result_has_exceptions.d.ts +2 -0
- package/dist/esm/commands/for_CommandResult/when_chaining_callbacks/and_result_has_exceptions.d.ts.map +1 -0
- package/dist/esm/commands/for_CommandResult/when_chaining_callbacks/and_result_has_exceptions.js +48 -0
- package/dist/esm/commands/for_CommandResult/when_chaining_callbacks/and_result_has_exceptions.js.map +1 -0
- package/dist/esm/commands/for_CommandResult/when_chaining_callbacks/and_result_is_invalid.d.ts +2 -0
- package/dist/esm/commands/for_CommandResult/when_chaining_callbacks/and_result_is_invalid.d.ts.map +1 -0
- package/dist/esm/commands/for_CommandResult/when_chaining_callbacks/and_result_is_invalid.js +47 -0
- package/dist/esm/commands/for_CommandResult/when_chaining_callbacks/and_result_is_invalid.js.map +1 -0
- package/dist/esm/commands/for_CommandResult/when_chaining_callbacks/and_result_is_successful.d.ts +2 -0
- package/dist/esm/commands/for_CommandResult/when_chaining_callbacks/and_result_is_successful.d.ts.map +1 -0
- package/dist/esm/commands/for_CommandResult/when_chaining_callbacks/and_result_is_successful.js +37 -0
- package/dist/esm/commands/for_CommandResult/when_chaining_callbacks/and_result_is_successful.js.map +1 -0
- package/dist/esm/commands/for_CommandResult/when_chaining_callbacks/and_result_is_unauthorized.d.ts +2 -0
- package/dist/esm/commands/for_CommandResult/when_chaining_callbacks/and_result_is_unauthorized.d.ts.map +1 -0
- package/dist/esm/commands/for_CommandResult/when_chaining_callbacks/and_result_is_unauthorized.js +37 -0
- package/dist/esm/commands/for_CommandResult/when_chaining_callbacks/and_result_is_unauthorized.js.map +1 -0
- package/dist/esm/for_UrlHelpers/when_building_query_params/with_additional_parameters.d.ts +2 -0
- package/dist/esm/for_UrlHelpers/when_building_query_params/with_additional_parameters.d.ts.map +1 -0
- package/dist/esm/for_UrlHelpers/when_building_query_params/with_additional_parameters.js +17 -0
- package/dist/esm/for_UrlHelpers/when_building_query_params/with_additional_parameters.js.map +1 -0
- package/dist/esm/for_UrlHelpers/when_building_query_params/with_empty_parameters.d.ts +2 -0
- package/dist/esm/for_UrlHelpers/when_building_query_params/with_empty_parameters.d.ts.map +1 -0
- package/dist/esm/for_UrlHelpers/when_building_query_params/with_empty_parameters.js +11 -0
- package/dist/esm/for_UrlHelpers/when_building_query_params/with_empty_parameters.js.map +1 -0
- package/dist/esm/for_UrlHelpers/when_building_query_params/with_null_and_undefined_values.d.ts +2 -0
- package/dist/esm/for_UrlHelpers/when_building_query_params/with_null_and_undefined_values.d.ts.map +1 -0
- package/dist/esm/for_UrlHelpers/when_building_query_params/with_null_and_undefined_values.js +16 -0
- package/dist/esm/for_UrlHelpers/when_building_query_params/with_null_and_undefined_values.js.map +1 -0
- package/dist/esm/for_UrlHelpers/when_building_query_params/with_unused_parameters_only.d.ts +2 -0
- package/dist/esm/for_UrlHelpers/when_building_query_params/with_unused_parameters_only.d.ts.map +1 -0
- package/dist/esm/for_UrlHelpers/when_building_query_params/with_unused_parameters_only.js +15 -0
- package/dist/esm/for_UrlHelpers/when_building_query_params/with_unused_parameters_only.js.map +1 -0
- package/dist/esm/for_UrlHelpers/when_creating_url_from/with_base_path_ending_with_slash.d.ts +2 -0
- package/dist/esm/for_UrlHelpers/when_creating_url_from/with_base_path_ending_with_slash.d.ts.map +1 -0
- package/dist/esm/for_UrlHelpers/when_creating_url_from/with_base_path_ending_with_slash.js +23 -0
- package/dist/esm/for_UrlHelpers/when_creating_url_from/with_base_path_ending_with_slash.js.map +1 -0
- package/dist/esm/for_UrlHelpers/when_creating_url_from/with_empty_origin.d.ts +2 -0
- package/dist/esm/for_UrlHelpers/when_creating_url_from/with_empty_origin.d.ts.map +1 -0
- package/dist/esm/for_UrlHelpers/when_creating_url_from/with_empty_origin.js +35 -0
- package/dist/esm/for_UrlHelpers/when_creating_url_from/with_empty_origin.js.map +1 -0
- package/dist/esm/for_UrlHelpers/when_creating_url_from/with_null_or_undefined_origin.d.ts +2 -0
- package/dist/esm/for_UrlHelpers/when_creating_url_from/with_null_or_undefined_origin.d.ts.map +1 -0
- package/dist/esm/for_UrlHelpers/when_creating_url_from/with_null_or_undefined_origin.js +42 -0
- package/dist/esm/for_UrlHelpers/when_creating_url_from/with_null_or_undefined_origin.js.map +1 -0
- package/dist/esm/for_UrlHelpers/when_creating_url_from/with_relative_route.d.ts +2 -0
- package/dist/esm/for_UrlHelpers/when_creating_url_from/with_relative_route.d.ts.map +1 -0
- package/dist/esm/for_UrlHelpers/when_creating_url_from/with_relative_route.js +23 -0
- package/dist/esm/for_UrlHelpers/when_creating_url_from/with_relative_route.js.map +1 -0
- package/dist/esm/for_UrlHelpers/when_creating_url_from/with_valid_parameters.d.ts +2 -0
- package/dist/esm/for_UrlHelpers/when_creating_url_from/with_valid_parameters.d.ts.map +1 -0
- package/dist/esm/for_UrlHelpers/when_creating_url_from/with_valid_parameters.js +23 -0
- package/dist/esm/for_UrlHelpers/when_creating_url_from/with_valid_parameters.js.map +1 -0
- package/dist/esm/for_UrlHelpers/when_creating_url_from/without_document_object.d.ts +2 -0
- package/dist/esm/for_UrlHelpers/when_creating_url_from/without_document_object.d.ts.map +1 -0
- package/dist/esm/for_UrlHelpers/when_creating_url_from/without_document_object.js +26 -0
- package/dist/esm/for_UrlHelpers/when_creating_url_from/without_document_object.js.map +1 -0
- package/dist/esm/for_UrlHelpers/when_replacing_route_parameters/with_all_parameters_used_in_route.d.ts +2 -0
- package/dist/esm/for_UrlHelpers/when_replacing_route_parameters/with_all_parameters_used_in_route.d.ts.map +1 -0
- package/dist/esm/for_UrlHelpers/when_replacing_route_parameters/with_all_parameters_used_in_route.js +15 -0
- package/dist/esm/for_UrlHelpers/when_replacing_route_parameters/with_all_parameters_used_in_route.js.map +1 -0
- package/dist/esm/for_UrlHelpers/when_replacing_route_parameters/with_no_parameters.d.ts +2 -0
- package/dist/esm/for_UrlHelpers/when_replacing_route_parameters/with_no_parameters.d.ts.map +1 -0
- package/dist/esm/for_UrlHelpers/when_replacing_route_parameters/with_no_parameters.js +13 -0
- package/dist/esm/for_UrlHelpers/when_replacing_route_parameters/with_no_parameters.js.map +1 -0
- package/dist/esm/for_UrlHelpers/when_replacing_route_parameters/with_unused_parameters.d.ts +2 -0
- package/dist/esm/for_UrlHelpers/when_replacing_route_parameters/with_unused_parameters.d.ts.map +1 -0
- package/dist/esm/for_UrlHelpers/when_replacing_route_parameters/with_unused_parameters.js +17 -0
- package/dist/esm/for_UrlHelpers/when_replacing_route_parameters/with_unused_parameters.js.map +1 -0
- package/dist/esm/for_UrlHelpers/when_replacing_route_parameters/with_url_encoded_values.d.ts +2 -0
- package/dist/esm/for_UrlHelpers/when_replacing_route_parameters/with_url_encoded_values.d.ts.map +1 -0
- package/dist/esm/for_UrlHelpers/when_replacing_route_parameters/with_url_encoded_values.js +14 -0
- package/dist/esm/for_UrlHelpers/when_replacing_route_parameters/with_url_encoded_values.js.map +1 -0
- package/dist/esm/identity/for_IdentityProvider/given/an_identity_provider.d.ts +12 -0
- package/dist/esm/identity/for_IdentityProvider/given/an_identity_provider.d.ts.map +1 -0
- package/dist/esm/identity/for_IdentityProvider/given/an_identity_provider.js +18 -0
- package/dist/esm/identity/for_IdentityProvider/given/an_identity_provider.js.map +1 -0
- package/dist/esm/identity/for_IdentityProvider/when_getting_current/with_type_safe_details.d.ts +2 -0
- package/dist/esm/identity/for_IdentityProvider/when_getting_current/with_type_safe_details.d.ts.map +1 -0
- package/dist/esm/identity/for_IdentityProvider/when_getting_current/with_type_safe_details.js +34 -0
- package/dist/esm/identity/for_IdentityProvider/when_getting_current/with_type_safe_details.js.map +1 -0
- package/dist/esm/identity/for_IdentityProvider/when_refreshing/with_api_base_path_set.d.ts +2 -0
- package/dist/esm/identity/for_IdentityProvider/when_refreshing/with_api_base_path_set.d.ts.map +1 -0
- package/dist/esm/identity/for_IdentityProvider/when_refreshing/with_api_base_path_set.js +24 -0
- package/dist/esm/identity/for_IdentityProvider/when_refreshing/with_api_base_path_set.js.map +1 -0
- package/dist/esm/identity/for_IdentityProvider/when_refreshing/with_globals_api_base_path.d.ts +2 -0
- package/dist/esm/identity/for_IdentityProvider/when_refreshing/with_globals_api_base_path.d.ts.map +1 -0
- package/dist/esm/identity/for_IdentityProvider/when_refreshing/with_globals_api_base_path.js +29 -0
- package/dist/esm/identity/for_IdentityProvider/when_refreshing/with_globals_api_base_path.js.map +1 -0
- package/dist/esm/identity/for_IdentityProvider/when_refreshing/with_type_safe_details.d.ts +2 -0
- package/dist/esm/identity/for_IdentityProvider/when_refreshing/with_type_safe_details.d.ts.map +1 -0
- package/dist/esm/identity/for_IdentityProvider/when_refreshing/with_type_safe_details.js +35 -0
- package/dist/esm/identity/for_IdentityProvider/when_refreshing/with_type_safe_details.js.map +1 -0
- package/dist/esm/identity/for_IdentityProvider/when_refreshing/without_api_base_path.d.ts +2 -0
- package/dist/esm/identity/for_IdentityProvider/when_refreshing/without_api_base_path.d.ts.map +1 -0
- package/dist/esm/identity/for_IdentityProvider/when_refreshing/without_api_base_path.js +28 -0
- package/dist/esm/identity/for_IdentityProvider/when_refreshing/without_api_base_path.js.map +1 -0
- package/dist/esm/identity/for_IdentityProvider/when_setting_api_base_path.d.ts +2 -0
- package/dist/esm/identity/for_IdentityProvider/when_setting_api_base_path.d.ts.map +1 -0
- package/dist/esm/identity/for_IdentityProvider/when_setting_api_base_path.js +15 -0
- package/dist/esm/identity/for_IdentityProvider/when_setting_api_base_path.js.map +1 -0
- package/dist/esm/identity/for_IdentityProvider/when_setting_origin.d.ts +2 -0
- package/dist/esm/identity/for_IdentityProvider/when_setting_origin.d.ts.map +1 -0
- package/dist/esm/identity/for_IdentityProvider/when_setting_origin.js +15 -0
- package/dist/esm/identity/for_IdentityProvider/when_setting_origin.js.map +1 -0
- package/dist/esm/queries/QueryFor.d.ts +2 -0
- package/dist/esm/queries/QueryFor.d.ts.map +1 -1
- package/dist/esm/queries/QueryFor.js +25 -0
- package/dist/esm/queries/QueryFor.js.map +1 -1
- package/dist/esm/queries/QueryValidator.d.ts +6 -0
- package/dist/esm/queries/QueryValidator.d.ts.map +1 -0
- package/dist/esm/queries/QueryValidator.js +10 -0
- package/dist/esm/queries/QueryValidator.js.map +1 -0
- package/dist/esm/queries/for_ObservableQueryConnection/given/an_observable_query_connection.d.ts +10 -0
- package/dist/esm/queries/for_ObservableQueryConnection/given/an_observable_query_connection.d.ts.map +1 -0
- package/dist/esm/queries/for_ObservableQueryConnection/given/an_observable_query_connection.js +19 -0
- package/dist/esm/queries/for_ObservableQueryConnection/given/an_observable_query_connection.js.map +1 -0
- package/dist/esm/queries/for_ObservableQueryConnection/when_constructing.d.ts +2 -0
- package/dist/esm/queries/for_ObservableQueryConnection/when_constructing.d.ts.map +1 -0
- package/dist/esm/queries/for_ObservableQueryConnection/when_constructing.js +11 -0
- package/dist/esm/queries/for_ObservableQueryConnection/when_constructing.js.map +1 -0
- package/dist/esm/queries/for_ObservableQueryFor/given/TestQueries.d.ts +42 -0
- package/dist/esm/queries/for_ObservableQueryFor/given/TestQueries.d.ts.map +1 -0
- package/dist/esm/queries/for_ObservableQueryFor/given/TestQueries.js +60 -0
- package/dist/esm/queries/for_ObservableQueryFor/given/TestQueries.js.map +1 -0
- package/dist/esm/queries/for_ObservableQueryFor/given/an_observable_query_for.d.ts +9 -0
- package/dist/esm/queries/for_ObservableQueryFor/given/an_observable_query_for.d.ts.map +1 -0
- package/dist/esm/queries/for_ObservableQueryFor/given/an_observable_query_for.js +14 -0
- package/dist/esm/queries/for_ObservableQueryFor/given/an_observable_query_for.js.map +1 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_constructing.d.ts +2 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_constructing.d.ts.map +1 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_constructing.js +37 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_constructing.js.map +1 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_constructing_enumerable.d.ts +2 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_constructing_enumerable.d.ts.map +1 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_constructing_enumerable.js +14 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_constructing_enumerable.js.map +1 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_constructing_with_globals_api_base_path.d.ts +2 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_constructing_with_globals_api_base_path.d.ts.map +1 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_constructing_with_globals_api_base_path.js +20 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_constructing_with_globals_api_base_path.js.map +1 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_constructing_with_globals_origin.d.ts +2 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_constructing_with_globals_origin.d.ts.map +1 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_constructing_with_globals_origin.js +20 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_constructing_with_globals_origin.js.map +1 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_disposing.d.ts +2 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_disposing.d.ts.map +1 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_disposing.js +19 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_disposing.js.map +1 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_performing/with_enumerable_query.d.ts +2 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_performing/with_enumerable_query.d.ts.map +1 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_performing/with_enumerable_query.js +53 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_performing/with_enumerable_query.js.map +1 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_performing/with_invalid_arguments.d.ts +2 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_performing/with_invalid_arguments.d.ts.map +1 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_performing/with_invalid_arguments.js +15 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_performing/with_invalid_arguments.js.map +1 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_performing/with_paging.d.ts +2 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_performing/with_paging.d.ts.map +1 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_performing/with_paging.js +49 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_performing/with_paging.js.map +1 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_performing/with_parameter_descriptor_values.d.ts +2 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_performing/with_parameter_descriptor_values.d.ts.map +1 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_performing/with_parameter_descriptor_values.js +58 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_performing/with_parameter_descriptor_values.js.map +1 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_performing/with_partial_parameter_descriptor_values.d.ts +2 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_performing/with_partial_parameter_descriptor_values.d.ts.map +1 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_performing/with_partial_parameter_descriptor_values.js +56 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_performing/with_partial_parameter_descriptor_values.js.map +1 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_performing/with_route_parameters_and_unused_parameters.d.ts +2 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_performing/with_route_parameters_and_unused_parameters.d.ts.map +1 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_performing/with_route_parameters_and_unused_parameters.js +60 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_performing/with_route_parameters_and_unused_parameters.js.map +1 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_performing/with_sorting.d.ts +2 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_performing/with_sorting.d.ts.map +1 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_performing/with_sorting.js +50 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_performing/with_sorting.js.map +1 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_performing/with_valid_arguments.d.ts +2 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_performing/with_valid_arguments.d.ts.map +1 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_performing/with_valid_arguments.js +68 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_performing/with_valid_arguments.js.map +1 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_setting_api_base_path.d.ts +2 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_setting_api_base_path.d.ts.map +1 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_setting_api_base_path.js +11 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_setting_api_base_path.js.map +1 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_setting_microservice.d.ts +2 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_setting_microservice.d.ts.map +1 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_setting_microservice.js +11 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_setting_microservice.js.map +1 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_setting_origin.d.ts +2 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_setting_origin.d.ts.map +1 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_setting_origin.js +11 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_setting_origin.js.map +1 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_enumerable_query.d.ts +2 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_enumerable_query.d.ts.map +1 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_enumerable_query.js +24 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_enumerable_query.js.map +1 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_invalid_arguments.d.ts +2 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_invalid_arguments.d.ts.map +1 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_invalid_arguments.js +27 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_invalid_arguments.js.map +1 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_paging.d.ts +2 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_paging.d.ts.map +1 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_paging.js +26 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_paging.js.map +1 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_route_and_query_args.d.ts +2 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_route_and_query_args.d.ts.map +1 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_route_and_query_args.js +45 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_route_and_query_args.js.map +1 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_sorting.d.ts +2 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_sorting.d.ts.map +1 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_sorting.js +27 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_sorting.js.map +1 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_valid_arguments.d.ts +2 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_valid_arguments.d.ts.map +1 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_valid_arguments.js +24 -0
- package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_valid_arguments.js.map +1 -0
- package/dist/esm/queries/for_QueryFor/given/TestQueries.d.ts +37 -0
- package/dist/esm/queries/for_QueryFor/given/TestQueries.d.ts.map +1 -0
- package/dist/esm/queries/for_QueryFor/given/TestQueries.js +56 -0
- package/dist/esm/queries/for_QueryFor/given/TestQueries.js.map +1 -0
- package/dist/esm/queries/for_QueryFor/given/a_query_for.d.ts +9 -0
- package/dist/esm/queries/for_QueryFor/given/a_query_for.d.ts.map +1 -0
- package/dist/esm/queries/for_QueryFor/given/a_query_for.js +14 -0
- package/dist/esm/queries/for_QueryFor/given/a_query_for.js.map +1 -0
- package/dist/esm/queries/for_QueryFor/given/a_query_with_validator.d.ts +35 -0
- package/dist/esm/queries/for_QueryFor/given/a_query_with_validator.d.ts.map +1 -0
- package/dist/esm/queries/for_QueryFor/given/a_query_with_validator.js +35 -0
- package/dist/esm/queries/for_QueryFor/given/a_query_with_validator.js.map +1 -0
- package/dist/esm/queries/for_QueryFor/when_constructing.d.ts +2 -0
- package/dist/esm/queries/for_QueryFor/when_constructing.d.ts.map +1 -0
- package/dist/esm/queries/for_QueryFor/when_constructing.js +37 -0
- package/dist/esm/queries/for_QueryFor/when_constructing.js.map +1 -0
- package/dist/esm/queries/for_QueryFor/when_constructing_enumerable.d.ts +2 -0
- package/dist/esm/queries/for_QueryFor/when_constructing_enumerable.d.ts.map +1 -0
- package/dist/esm/queries/for_QueryFor/when_constructing_enumerable.js +14 -0
- package/dist/esm/queries/for_QueryFor/when_constructing_enumerable.js.map +1 -0
- package/dist/esm/queries/for_QueryFor/when_constructing_with_globals_api_base_path.d.ts +2 -0
- package/dist/esm/queries/for_QueryFor/when_constructing_with_globals_api_base_path.d.ts.map +1 -0
- package/dist/esm/queries/for_QueryFor/when_constructing_with_globals_api_base_path.js +20 -0
- package/dist/esm/queries/for_QueryFor/when_constructing_with_globals_api_base_path.js.map +1 -0
- package/dist/esm/queries/for_QueryFor/when_constructing_with_globals_origin.d.ts +2 -0
- package/dist/esm/queries/for_QueryFor/when_constructing_with_globals_origin.d.ts.map +1 -0
- package/dist/esm/queries/for_QueryFor/when_constructing_with_globals_origin.js +20 -0
- package/dist/esm/queries/for_QueryFor/when_constructing_with_globals_origin.js.map +1 -0
- package/dist/esm/queries/for_QueryFor/when_performing/with_abort_controller.d.ts +2 -0
- package/dist/esm/queries/for_QueryFor/when_performing/with_abort_controller.d.ts.map +1 -0
- package/dist/esm/queries/for_QueryFor/when_performing/with_abort_controller.js +57 -0
- package/dist/esm/queries/for_QueryFor/when_performing/with_abort_controller.js.map +1 -0
- package/dist/esm/queries/for_QueryFor/when_performing/with_client_validation_failing.d.ts +2 -0
- package/dist/esm/queries/for_QueryFor/when_performing/with_client_validation_failing.d.ts.map +1 -0
- package/dist/esm/queries/for_QueryFor/when_performing/with_client_validation_failing.js +44 -0
- package/dist/esm/queries/for_QueryFor/when_performing/with_client_validation_failing.js.map +1 -0
- package/dist/esm/queries/for_QueryFor/when_performing/with_client_validation_failure_and_custom_message.d.ts +2 -0
- package/dist/esm/queries/for_QueryFor/when_performing/with_client_validation_failure_and_custom_message.d.ts.map +1 -0
- package/dist/esm/queries/for_QueryFor/when_performing/with_client_validation_failure_and_custom_message.js +18 -0
- package/dist/esm/queries/for_QueryFor/when_performing/with_client_validation_failure_and_custom_message.js.map +1 -0
- package/dist/esm/queries/for_QueryFor/when_performing/with_client_validation_passing.d.ts +2 -0
- package/dist/esm/queries/for_QueryFor/when_performing/with_client_validation_passing.d.ts.map +1 -0
- package/dist/esm/queries/for_QueryFor/when_performing/with_client_validation_passing.js +47 -0
- package/dist/esm/queries/for_QueryFor/when_performing/with_client_validation_passing.js.map +1 -0
- package/dist/esm/queries/for_QueryFor/when_performing/with_enumerable_query.d.ts +2 -0
- package/dist/esm/queries/for_QueryFor/when_performing/with_enumerable_query.d.ts.map +1 -0
- package/dist/esm/queries/for_QueryFor/when_performing/with_enumerable_query.js +51 -0
- package/dist/esm/queries/for_QueryFor/when_performing/with_enumerable_query.js.map +1 -0
- package/dist/esm/queries/for_QueryFor/when_performing/with_fetch_error.d.ts +2 -0
- package/dist/esm/queries/for_QueryFor/when_performing/with_fetch_error.d.ts.map +1 -0
- package/dist/esm/queries/for_QueryFor/when_performing/with_fetch_error.js +36 -0
- package/dist/esm/queries/for_QueryFor/when_performing/with_fetch_error.js.map +1 -0
- package/dist/esm/queries/for_QueryFor/when_performing/with_invalid_arguments.d.ts +2 -0
- package/dist/esm/queries/for_QueryFor/when_performing/with_invalid_arguments.d.ts.map +1 -0
- package/dist/esm/queries/for_QueryFor/when_performing/with_invalid_arguments.js +19 -0
- package/dist/esm/queries/for_QueryFor/when_performing/with_invalid_arguments.js.map +1 -0
- package/dist/esm/queries/for_QueryFor/when_performing/with_json_parse_error.d.ts +2 -0
- package/dist/esm/queries/for_QueryFor/when_performing/with_json_parse_error.d.ts.map +1 -0
- package/dist/esm/queries/for_QueryFor/when_performing/with_json_parse_error.js +34 -0
- package/dist/esm/queries/for_QueryFor/when_performing/with_json_parse_error.js.map +1 -0
- package/dist/esm/queries/for_QueryFor/when_performing/with_paging.d.ts +2 -0
- package/dist/esm/queries/for_QueryFor/when_performing/with_paging.d.ts.map +1 -0
- package/dist/esm/queries/for_QueryFor/when_performing/with_paging.js +52 -0
- package/dist/esm/queries/for_QueryFor/when_performing/with_paging.js.map +1 -0
- package/dist/esm/queries/for_QueryFor/when_performing/with_parameter_descriptor_values.d.ts +2 -0
- package/dist/esm/queries/for_QueryFor/when_performing/with_parameter_descriptor_values.d.ts.map +1 -0
- package/dist/esm/queries/for_QueryFor/when_performing/with_parameter_descriptor_values.js +58 -0
- package/dist/esm/queries/for_QueryFor/when_performing/with_parameter_descriptor_values.js.map +1 -0
- package/dist/esm/queries/for_QueryFor/when_performing/with_partial_parameter_descriptor_values.d.ts +2 -0
- package/dist/esm/queries/for_QueryFor/when_performing/with_partial_parameter_descriptor_values.d.ts.map +1 -0
- package/dist/esm/queries/for_QueryFor/when_performing/with_partial_parameter_descriptor_values.js +56 -0
- package/dist/esm/queries/for_QueryFor/when_performing/with_partial_parameter_descriptor_values.js.map +1 -0
- package/dist/esm/queries/for_QueryFor/when_performing/with_query_without_required_parameters.d.ts +2 -0
- package/dist/esm/queries/for_QueryFor/when_performing/with_query_without_required_parameters.d.ts.map +1 -0
- package/dist/esm/queries/for_QueryFor/when_performing/with_query_without_required_parameters.js +48 -0
- package/dist/esm/queries/for_QueryFor/when_performing/with_query_without_required_parameters.js.map +1 -0
- package/dist/esm/queries/for_QueryFor/when_performing/with_route_parameters_and_unused_parameters.d.ts +2 -0
- package/dist/esm/queries/for_QueryFor/when_performing/with_route_parameters_and_unused_parameters.d.ts.map +1 -0
- package/dist/esm/queries/for_QueryFor/when_performing/with_route_parameters_and_unused_parameters.js +60 -0
- package/dist/esm/queries/for_QueryFor/when_performing/with_route_parameters_and_unused_parameters.js.map +1 -0
- package/dist/esm/queries/for_QueryFor/when_performing/with_sorting.d.ts +2 -0
- package/dist/esm/queries/for_QueryFor/when_performing/with_sorting.d.ts.map +1 -0
- package/dist/esm/queries/for_QueryFor/when_performing/with_sorting.js +82 -0
- package/dist/esm/queries/for_QueryFor/when_performing/with_sorting.js.map +1 -0
- package/dist/esm/queries/for_QueryFor/when_performing/with_valid_arguments.d.ts +2 -0
- package/dist/esm/queries/for_QueryFor/when_performing/with_valid_arguments.d.ts.map +1 -0
- package/dist/esm/queries/for_QueryFor/when_performing/with_valid_arguments.js +73 -0
- package/dist/esm/queries/for_QueryFor/when_performing/with_valid_arguments.js.map +1 -0
- package/dist/esm/queries/for_QueryFor/when_setting_api_base_path.d.ts +2 -0
- package/dist/esm/queries/for_QueryFor/when_setting_api_base_path.d.ts.map +1 -0
- package/dist/esm/queries/for_QueryFor/when_setting_api_base_path.js +12 -0
- package/dist/esm/queries/for_QueryFor/when_setting_api_base_path.js.map +1 -0
- package/dist/esm/queries/for_QueryFor/when_setting_microservice.d.ts +2 -0
- package/dist/esm/queries/for_QueryFor/when_setting_microservice.d.ts.map +1 -0
- package/dist/esm/queries/for_QueryFor/when_setting_microservice.js +12 -0
- package/dist/esm/queries/for_QueryFor/when_setting_microservice.js.map +1 -0
- package/dist/esm/queries/for_QueryFor/when_setting_origin.d.ts +2 -0
- package/dist/esm/queries/for_QueryFor/when_setting_origin.d.ts.map +1 -0
- package/dist/esm/queries/for_QueryFor/when_setting_origin.js +12 -0
- package/dist/esm/queries/for_QueryFor/when_setting_origin.js.map +1 -0
- package/dist/esm/queries/for_QueryResult/when_asking_has_data/and_it_an_array_with_items.d.ts +2 -0
- package/dist/esm/queries/for_QueryResult/when_asking_has_data/and_it_an_array_with_items.d.ts.map +1 -0
- package/dist/esm/queries/for_QueryResult/when_asking_has_data/and_it_an_array_with_items.js +21 -0
- package/dist/esm/queries/for_QueryResult/when_asking_has_data/and_it_an_array_with_items.js.map +1 -0
- package/dist/esm/queries/for_QueryResult/when_asking_has_data/and_it_is_defined_instance.d.ts +2 -0
- package/dist/esm/queries/for_QueryResult/when_asking_has_data/and_it_is_defined_instance.d.ts.map +1 -0
- package/dist/esm/queries/for_QueryResult/when_asking_has_data/and_it_is_defined_instance.js +21 -0
- package/dist/esm/queries/for_QueryResult/when_asking_has_data/and_it_is_defined_instance.js.map +1 -0
- package/dist/esm/queries/for_QueryResult/when_asking_has_data/and_it_is_empty_array.d.ts +2 -0
- package/dist/esm/queries/for_QueryResult/when_asking_has_data/and_it_is_empty_array.d.ts.map +1 -0
- package/dist/esm/queries/for_QueryResult/when_asking_has_data/and_it_is_empty_array.js +21 -0
- package/dist/esm/queries/for_QueryResult/when_asking_has_data/and_it_is_empty_array.js.map +1 -0
- package/dist/esm/queries/for_QueryResult/when_asking_has_data/and_it_is_undefined.d.ts +2 -0
- package/dist/esm/queries/for_QueryResult/when_asking_has_data/and_it_is_undefined.d.ts.map +1 -0
- package/dist/esm/queries/for_QueryResult/when_asking_has_data/and_it_is_undefined.js +21 -0
- package/dist/esm/queries/for_QueryResult/when_asking_has_data/and_it_is_undefined.js.map +1 -0
- package/dist/esm/queries/for_WebSocketMessage/when_creating_messages.d.ts +2 -0
- package/dist/esm/queries/for_WebSocketMessage/when_creating_messages.d.ts.map +1 -0
- package/dist/esm/queries/for_WebSocketMessage/when_creating_messages.js +53 -0
- package/dist/esm/queries/for_WebSocketMessage/when_creating_messages.js.map +1 -0
- package/dist/esm/queries/index.d.ts +1 -0
- package/dist/esm/queries/index.d.ts.map +1 -1
- package/dist/esm/queries/index.js +1 -0
- package/dist/esm/queries/index.js.map +1 -1
- package/dist/esm/tsconfig.tsbuildinfo +1 -1
- package/dist/esm/validation/IValidationRule.d.ts +5 -0
- package/dist/esm/validation/IValidationRule.d.ts.map +1 -0
- package/dist/esm/validation/IValidationRule.js +2 -0
- package/dist/esm/validation/IValidationRule.js.map +1 -0
- package/dist/esm/validation/PropertyRule.d.ts +11 -0
- package/dist/esm/validation/PropertyRule.d.ts.map +1 -0
- package/dist/esm/validation/PropertyRule.js +25 -0
- package/dist/esm/validation/PropertyRule.js.map +1 -0
- package/dist/esm/validation/PropertyValidator.d.ts +11 -0
- package/dist/esm/validation/PropertyValidator.d.ts.map +1 -0
- package/dist/esm/validation/PropertyValidator.js +24 -0
- package/dist/esm/validation/PropertyValidator.js.map +1 -0
- package/dist/esm/validation/RuleBuilder.d.ts +11 -0
- package/dist/esm/validation/RuleBuilder.d.ts.map +1 -0
- package/dist/esm/validation/RuleBuilder.js +25 -0
- package/dist/esm/validation/RuleBuilder.js.map +1 -0
- package/dist/esm/validation/RuleBuilderExtensions.d.ts +28 -0
- package/dist/esm/validation/RuleBuilderExtensions.d.ts.map +1 -0
- package/dist/esm/validation/RuleBuilderExtensions.js +65 -0
- package/dist/esm/validation/RuleBuilderExtensions.js.map +1 -0
- package/dist/esm/validation/Validator.d.ts +8 -1
- package/dist/esm/validation/Validator.d.ts.map +1 -1
- package/dist/esm/validation/Validator.js +41 -0
- package/dist/esm/validation/Validator.js.map +1 -1
- package/dist/esm/validation/for_Validator/when_defining_multiple_rules_for_same_property.d.ts +2 -0
- package/dist/esm/validation/for_Validator/when_defining_multiple_rules_for_same_property.d.ts.map +1 -0
- package/dist/esm/validation/for_Validator/when_defining_multiple_rules_for_same_property.js +20 -0
- package/dist/esm/validation/for_Validator/when_defining_multiple_rules_for_same_property.js.map +1 -0
- package/dist/esm/validation/for_Validator/when_using_custom_error_message.d.ts +2 -0
- package/dist/esm/validation/for_Validator/when_using_custom_error_message.d.ts.map +1 -0
- package/dist/esm/validation/for_Validator/when_using_custom_error_message.js +19 -0
- package/dist/esm/validation/for_Validator/when_using_custom_error_message.js.map +1 -0
- package/dist/esm/validation/for_Validator/when_validating/with_all_rules_passing.d.ts +2 -0
- package/dist/esm/validation/for_Validator/when_validating/with_all_rules_passing.d.ts.map +1 -0
- package/dist/esm/validation/for_Validator/when_validating/with_all_rules_passing.js +21 -0
- package/dist/esm/validation/for_Validator/when_validating/with_all_rules_passing.js.map +1 -0
- package/dist/esm/validation/for_Validator/when_validating/with_multiple_rules_failing.d.ts +2 -0
- package/dist/esm/validation/for_Validator/when_validating/with_multiple_rules_failing.d.ts.map +1 -0
- package/dist/esm/validation/for_Validator/when_validating/with_multiple_rules_failing.js +24 -0
- package/dist/esm/validation/for_Validator/when_validating/with_multiple_rules_failing.js.map +1 -0
- package/dist/esm/validation/for_Validator/when_validating/with_one_rule_failing.d.ts +2 -0
- package/dist/esm/validation/for_Validator/when_validating/with_one_rule_failing.d.ts.map +1 -0
- package/dist/esm/validation/for_Validator/when_validating/with_one_rule_failing.js +24 -0
- package/dist/esm/validation/for_Validator/when_validating/with_one_rule_failing.js.map +1 -0
- package/dist/esm/validation/index.d.ts +11 -0
- package/dist/esm/validation/index.d.ts.map +1 -1
- package/dist/esm/validation/index.js +10 -0
- package/dist/esm/validation/index.js.map +1 -1
- package/dist/esm/validation/rules/ComparisonRules.d.ts +22 -0
- package/dist/esm/validation/rules/ComparisonRules.d.ts.map +1 -0
- package/dist/esm/validation/rules/ComparisonRules.js +57 -0
- package/dist/esm/validation/rules/ComparisonRules.js.map +1 -0
- package/dist/esm/validation/rules/EmailRule.d.ts +7 -0
- package/dist/esm/validation/rules/EmailRule.d.ts.map +1 -0
- package/dist/esm/validation/rules/EmailRule.js +17 -0
- package/dist/esm/validation/rules/EmailRule.js.map +1 -0
- package/dist/esm/validation/rules/LengthRules.d.ts +18 -0
- package/dist/esm/validation/rules/LengthRules.d.ts.map +1 -0
- package/dist/esm/validation/rules/LengthRules.js +46 -0
- package/dist/esm/validation/rules/LengthRules.js.map +1 -0
- package/dist/esm/validation/rules/NotEmptyRule.d.ts +10 -0
- package/dist/esm/validation/rules/NotEmptyRule.d.ts.map +1 -0
- package/dist/esm/validation/rules/NotEmptyRule.js +30 -0
- package/dist/esm/validation/rules/NotEmptyRule.js.map +1 -0
- package/dist/esm/validation/rules/RegexRule.d.ts +7 -0
- package/dist/esm/validation/rules/RegexRule.d.ts.map +1 -0
- package/dist/esm/validation/rules/RegexRule.js +18 -0
- package/dist/esm/validation/rules/RegexRule.js.map +1 -0
- package/dist/esm/validation/rules/for_EmailRule/when_validating/with_empty_string.d.ts +2 -0
- package/dist/esm/validation/rules/for_EmailRule/when_validating/with_empty_string.d.ts.map +1 -0
- package/dist/esm/validation/rules/for_EmailRule/when_validating/with_empty_string.js +15 -0
- package/dist/esm/validation/rules/for_EmailRule/when_validating/with_empty_string.js.map +1 -0
- package/dist/esm/validation/rules/for_EmailRule/when_validating/with_invalid_email.d.ts +2 -0
- package/dist/esm/validation/rules/for_EmailRule/when_validating/with_invalid_email.d.ts.map +1 -0
- package/dist/esm/validation/rules/for_EmailRule/when_validating/with_invalid_email.js +15 -0
- package/dist/esm/validation/rules/for_EmailRule/when_validating/with_invalid_email.js.map +1 -0
- package/dist/esm/validation/rules/for_EmailRule/when_validating/with_valid_email.d.ts +2 -0
- package/dist/esm/validation/rules/for_EmailRule/when_validating/with_valid_email.d.ts.map +1 -0
- package/dist/esm/validation/rules/for_EmailRule/when_validating/with_valid_email.js +15 -0
- package/dist/esm/validation/rules/for_EmailRule/when_validating/with_valid_email.js.map +1 -0
- package/dist/esm/validation/rules/for_GreaterThanOrEqualRule/when_validating/with_value_equal_to_threshold.d.ts +2 -0
- package/dist/esm/validation/rules/for_GreaterThanOrEqualRule/when_validating/with_value_equal_to_threshold.d.ts.map +1 -0
- package/dist/esm/validation/rules/for_GreaterThanOrEqualRule/when_validating/with_value_equal_to_threshold.js +15 -0
- package/dist/esm/validation/rules/for_GreaterThanOrEqualRule/when_validating/with_value_equal_to_threshold.js.map +1 -0
- package/dist/esm/validation/rules/for_GreaterThanRule/when_validating/with_value_equal_to_threshold.d.ts +2 -0
- package/dist/esm/validation/rules/for_GreaterThanRule/when_validating/with_value_equal_to_threshold.d.ts.map +1 -0
- package/dist/esm/validation/rules/for_GreaterThanRule/when_validating/with_value_equal_to_threshold.js +15 -0
- package/dist/esm/validation/rules/for_GreaterThanRule/when_validating/with_value_equal_to_threshold.js.map +1 -0
- package/dist/esm/validation/rules/for_GreaterThanRule/when_validating/with_value_greater_than_threshold.d.ts +2 -0
- package/dist/esm/validation/rules/for_GreaterThanRule/when_validating/with_value_greater_than_threshold.d.ts.map +1 -0
- package/dist/esm/validation/rules/for_GreaterThanRule/when_validating/with_value_greater_than_threshold.js +15 -0
- package/dist/esm/validation/rules/for_GreaterThanRule/when_validating/with_value_greater_than_threshold.js.map +1 -0
- package/dist/esm/validation/rules/for_GreaterThanRule/when_validating/with_value_less_than_threshold.d.ts +2 -0
- package/dist/esm/validation/rules/for_GreaterThanRule/when_validating/with_value_less_than_threshold.d.ts.map +1 -0
- package/dist/esm/validation/rules/for_GreaterThanRule/when_validating/with_value_less_than_threshold.js +18 -0
- package/dist/esm/validation/rules/for_GreaterThanRule/when_validating/with_value_less_than_threshold.js.map +1 -0
- package/dist/esm/validation/rules/for_LengthRule/when_validating/with_string_longer_than_maximum.d.ts +2 -0
- package/dist/esm/validation/rules/for_LengthRule/when_validating/with_string_longer_than_maximum.d.ts.map +1 -0
- package/dist/esm/validation/rules/for_LengthRule/when_validating/with_string_longer_than_maximum.js +15 -0
- package/dist/esm/validation/rules/for_LengthRule/when_validating/with_string_longer_than_maximum.js.map +1 -0
- package/dist/esm/validation/rules/for_LengthRule/when_validating/with_string_shorter_than_minimum.d.ts +2 -0
- package/dist/esm/validation/rules/for_LengthRule/when_validating/with_string_shorter_than_minimum.d.ts.map +1 -0
- package/dist/esm/validation/rules/for_LengthRule/when_validating/with_string_shorter_than_minimum.js +15 -0
- package/dist/esm/validation/rules/for_LengthRule/when_validating/with_string_shorter_than_minimum.js.map +1 -0
- package/dist/esm/validation/rules/for_LengthRule/when_validating/with_string_within_range.d.ts +2 -0
- package/dist/esm/validation/rules/for_LengthRule/when_validating/with_string_within_range.d.ts.map +1 -0
- package/dist/esm/validation/rules/for_LengthRule/when_validating/with_string_within_range.js +15 -0
- package/dist/esm/validation/rules/for_LengthRule/when_validating/with_string_within_range.js.map +1 -0
- package/dist/esm/validation/rules/for_LessThanRule/when_validating/with_value_less_than_threshold.d.ts +2 -0
- package/dist/esm/validation/rules/for_LessThanRule/when_validating/with_value_less_than_threshold.d.ts.map +1 -0
- package/dist/esm/validation/rules/for_LessThanRule/when_validating/with_value_less_than_threshold.js +15 -0
- package/dist/esm/validation/rules/for_LessThanRule/when_validating/with_value_less_than_threshold.js.map +1 -0
- package/dist/esm/validation/rules/for_MaxLengthRule/when_validating/with_string_equal_to_maximum.d.ts +2 -0
- package/dist/esm/validation/rules/for_MaxLengthRule/when_validating/with_string_equal_to_maximum.d.ts.map +1 -0
- package/dist/esm/validation/rules/for_MaxLengthRule/when_validating/with_string_equal_to_maximum.js +15 -0
- package/dist/esm/validation/rules/for_MaxLengthRule/when_validating/with_string_equal_to_maximum.js.map +1 -0
- package/dist/esm/validation/rules/for_MaxLengthRule/when_validating/with_string_longer_than_maximum.d.ts +2 -0
- package/dist/esm/validation/rules/for_MaxLengthRule/when_validating/with_string_longer_than_maximum.d.ts.map +1 -0
- package/dist/esm/validation/rules/for_MaxLengthRule/when_validating/with_string_longer_than_maximum.js +18 -0
- package/dist/esm/validation/rules/for_MaxLengthRule/when_validating/with_string_longer_than_maximum.js.map +1 -0
- package/dist/esm/validation/rules/for_MinLengthRule/when_validating/with_string_equal_to_minimum.d.ts +2 -0
- package/dist/esm/validation/rules/for_MinLengthRule/when_validating/with_string_equal_to_minimum.d.ts.map +1 -0
- package/dist/esm/validation/rules/for_MinLengthRule/when_validating/with_string_equal_to_minimum.js +15 -0
- package/dist/esm/validation/rules/for_MinLengthRule/when_validating/with_string_equal_to_minimum.js.map +1 -0
- package/dist/esm/validation/rules/for_MinLengthRule/when_validating/with_string_longer_than_minimum.d.ts +2 -0
- package/dist/esm/validation/rules/for_MinLengthRule/when_validating/with_string_longer_than_minimum.d.ts.map +1 -0
- package/dist/esm/validation/rules/for_MinLengthRule/when_validating/with_string_longer_than_minimum.js +15 -0
- package/dist/esm/validation/rules/for_MinLengthRule/when_validating/with_string_longer_than_minimum.js.map +1 -0
- package/dist/esm/validation/rules/for_MinLengthRule/when_validating/with_string_shorter_than_minimum.d.ts +2 -0
- package/dist/esm/validation/rules/for_MinLengthRule/when_validating/with_string_shorter_than_minimum.d.ts.map +1 -0
- package/dist/esm/validation/rules/for_MinLengthRule/when_validating/with_string_shorter_than_minimum.js +18 -0
- package/dist/esm/validation/rules/for_MinLengthRule/when_validating/with_string_shorter_than_minimum.js.map +1 -0
- package/dist/esm/validation/rules/for_NotEmptyRule/when_setting_custom_message.d.ts +2 -0
- package/dist/esm/validation/rules/for_NotEmptyRule/when_setting_custom_message.d.ts.map +1 -0
- package/dist/esm/validation/rules/for_NotEmptyRule/when_setting_custom_message.js +17 -0
- package/dist/esm/validation/rules/for_NotEmptyRule/when_setting_custom_message.js.map +1 -0
- package/dist/esm/validation/rules/for_NotEmptyRule/when_validating/with_empty_array.d.ts +2 -0
- package/dist/esm/validation/rules/for_NotEmptyRule/when_validating/with_empty_array.d.ts.map +1 -0
- package/dist/esm/validation/rules/for_NotEmptyRule/when_validating/with_empty_array.js +15 -0
- package/dist/esm/validation/rules/for_NotEmptyRule/when_validating/with_empty_array.js.map +1 -0
- package/dist/esm/validation/rules/for_NotEmptyRule/when_validating/with_empty_string.d.ts +2 -0
- package/dist/esm/validation/rules/for_NotEmptyRule/when_validating/with_empty_string.d.ts.map +1 -0
- package/dist/esm/validation/rules/for_NotEmptyRule/when_validating/with_empty_string.js +15 -0
- package/dist/esm/validation/rules/for_NotEmptyRule/when_validating/with_empty_string.js.map +1 -0
- package/dist/esm/validation/rules/for_NotEmptyRule/when_validating/with_non_empty_array.d.ts +2 -0
- package/dist/esm/validation/rules/for_NotEmptyRule/when_validating/with_non_empty_array.d.ts.map +1 -0
- package/dist/esm/validation/rules/for_NotEmptyRule/when_validating/with_non_empty_array.js +15 -0
- package/dist/esm/validation/rules/for_NotEmptyRule/when_validating/with_non_empty_array.js.map +1 -0
- package/dist/esm/validation/rules/for_NotEmptyRule/when_validating/with_null_value.d.ts +2 -0
- package/dist/esm/validation/rules/for_NotEmptyRule/when_validating/with_null_value.d.ts.map +1 -0
- package/dist/esm/validation/rules/for_NotEmptyRule/when_validating/with_null_value.js +25 -0
- package/dist/esm/validation/rules/for_NotEmptyRule/when_validating/with_null_value.js.map +1 -0
- package/dist/esm/validation/rules/for_NotEmptyRule/when_validating/with_undefined_value.d.ts +2 -0
- package/dist/esm/validation/rules/for_NotEmptyRule/when_validating/with_undefined_value.d.ts.map +1 -0
- package/dist/esm/validation/rules/for_NotEmptyRule/when_validating/with_undefined_value.js +19 -0
- package/dist/esm/validation/rules/for_NotEmptyRule/when_validating/with_undefined_value.js.map +1 -0
- package/dist/esm/validation/rules/for_NotEmptyRule/when_validating/with_valid_string.d.ts +2 -0
- package/dist/esm/validation/rules/for_NotEmptyRule/when_validating/with_valid_string.d.ts.map +1 -0
- package/dist/esm/validation/rules/for_NotEmptyRule/when_validating/with_valid_string.js +15 -0
- package/dist/esm/validation/rules/for_NotEmptyRule/when_validating/with_valid_string.js.map +1 -0
- package/dist/esm/validation/rules/for_NotEmptyRule/when_validating/with_whitespace_string.d.ts +2 -0
- package/dist/esm/validation/rules/for_NotEmptyRule/when_validating/with_whitespace_string.d.ts.map +1 -0
- package/dist/esm/validation/rules/for_NotEmptyRule/when_validating/with_whitespace_string.js +15 -0
- package/dist/esm/validation/rules/for_NotEmptyRule/when_validating/with_whitespace_string.js.map +1 -0
- package/package.json +1 -1
- package/queries/QueryFor.ts +29 -0
- package/queries/QueryValidator.ts +19 -0
- package/queries/for_ObservableQueryFor/when_performing/with_paging.ts +0 -4
- package/queries/for_QueryFor/given/a_query_with_validator.ts +54 -0
- package/queries/for_QueryFor/when_performing/with_abort_controller.ts +1 -1
- package/queries/for_QueryFor/when_performing/with_client_validation_failing.ts +63 -0
- package/queries/for_QueryFor/when_performing/with_client_validation_failure_and_custom_message.ts +28 -0
- package/queries/for_QueryFor/when_performing/with_client_validation_passing.ts +64 -0
- package/queries/for_QueryFor/when_performing/with_query_without_required_parameters.ts +0 -4
- package/queries/for_QueryFor/when_performing/with_sorting.ts +1 -1
- package/queries/for_QueryResult/when_asking_has_data/and_it_an_array_with_items.ts +1 -1
- package/queries/for_QueryResult/when_asking_has_data/and_it_is_defined_instance.ts +1 -1
- package/queries/for_QueryResult/when_asking_has_data/and_it_is_empty_array.ts +1 -1
- package/queries/for_QueryResult/when_asking_has_data/and_it_is_undefined.ts +1 -1
- package/queries/index.ts +1 -0
- package/validation/IValidationRule.ts +18 -0
- package/validation/PropertyRule.ts +59 -0
- package/validation/PropertyValidator.ts +51 -0
- package/validation/RuleBuilder.ts +49 -0
- package/validation/RuleBuilderExtensions.ts +176 -0
- package/validation/Validator.ts +74 -4
- package/validation/for_Validator/when_defining_multiple_rules_for_same_property.ts +32 -0
- package/validation/for_Validator/when_using_custom_error_message.ts +30 -0
- package/validation/for_Validator/when_validating/with_all_rules_passing.ts +34 -0
- package/validation/for_Validator/when_validating/with_multiple_rules_failing.ts +38 -0
- package/validation/for_Validator/when_validating/with_one_rule_failing.ts +38 -0
- package/validation/index.ts +11 -0
- package/validation/rules/ComparisonRules.ts +96 -0
- package/validation/rules/EmailRule.ts +28 -0
- package/validation/rules/LengthRules.ts +74 -0
- package/validation/rules/NotEmptyRule.ts +51 -0
- package/validation/rules/RegexRule.ts +28 -0
- package/validation/rules/for_EmailRule/when_validating/with_empty_string.ts +25 -0
- package/validation/rules/for_EmailRule/when_validating/with_invalid_email.ts +25 -0
- package/validation/rules/for_EmailRule/when_validating/with_valid_email.ts +25 -0
- package/validation/rules/for_GreaterThanOrEqualRule/when_validating/with_value_equal_to_threshold.ts +25 -0
- package/validation/rules/for_GreaterThanRule/when_validating/with_value_equal_to_threshold.ts +25 -0
- package/validation/rules/for_GreaterThanRule/when_validating/with_value_greater_than_threshold.ts +25 -0
- package/validation/rules/for_GreaterThanRule/when_validating/with_value_less_than_threshold.ts +29 -0
- package/validation/rules/for_LengthRule/when_validating/with_string_longer_than_maximum.ts +25 -0
- package/validation/rules/for_LengthRule/when_validating/with_string_shorter_than_minimum.ts +25 -0
- package/validation/rules/for_LengthRule/when_validating/with_string_within_range.ts +25 -0
- package/validation/rules/for_LessThanRule/when_validating/with_value_less_than_threshold.ts +25 -0
- package/validation/rules/for_MaxLengthRule/when_validating/with_string_equal_to_maximum.ts +25 -0
- package/validation/rules/for_MaxLengthRule/when_validating/with_string_longer_than_maximum.ts +29 -0
- package/validation/rules/for_MinLengthRule/when_validating/with_string_equal_to_minimum.ts +25 -0
- package/validation/rules/for_MinLengthRule/when_validating/with_string_longer_than_minimum.ts +25 -0
- package/validation/rules/for_MinLengthRule/when_validating/with_string_shorter_than_minimum.ts +29 -0
- package/validation/rules/for_NotEmptyRule/when_setting_custom_message.ts +27 -0
- package/validation/rules/for_NotEmptyRule/when_validating/with_empty_array.ts +25 -0
- package/validation/rules/for_NotEmptyRule/when_validating/with_empty_string.ts +25 -0
- package/validation/rules/for_NotEmptyRule/when_validating/with_non_empty_array.ts +25 -0
- package/validation/rules/for_NotEmptyRule/when_validating/with_null_value.ts +38 -0
- package/validation/rules/for_NotEmptyRule/when_validating/with_undefined_value.ts +30 -0
- package/validation/rules/for_NotEmptyRule/when_validating/with_valid_string.ts +25 -0
- package/validation/rules/for_NotEmptyRule/when_validating/with_whitespace_string.ts +25 -0
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { a_query_for } from '../given/a_query_for';
|
|
2
|
+
import { given } from '../../../given';
|
|
3
|
+
import * as sinon from 'sinon';
|
|
4
|
+
import { createFetchHelper } from '../../../helpers/fetchHelper';
|
|
5
|
+
describe('with json parse error', given(a_query_for, context => {
|
|
6
|
+
let result;
|
|
7
|
+
let fetchStub;
|
|
8
|
+
let fetchHelper;
|
|
9
|
+
beforeEach(async () => {
|
|
10
|
+
fetchHelper = createFetchHelper();
|
|
11
|
+
fetchStub = fetchHelper.stubFetch();
|
|
12
|
+
fetchStub.resolves({
|
|
13
|
+
json: sinon.stub().rejects(new Error('Invalid JSON')),
|
|
14
|
+
ok: true,
|
|
15
|
+
status: 200
|
|
16
|
+
});
|
|
17
|
+
context.query.setOrigin('https://api.example.com');
|
|
18
|
+
result = await context.query.perform({ id: 'test-id' });
|
|
19
|
+
});
|
|
20
|
+
afterEach(() => {
|
|
21
|
+
fetchHelper.restore();
|
|
22
|
+
});
|
|
23
|
+
it('should return no success result', () => {
|
|
24
|
+
result.isSuccess.should.be.false;
|
|
25
|
+
});
|
|
26
|
+
it('should return default value', () => {
|
|
27
|
+
result.data.should.equal('');
|
|
28
|
+
});
|
|
29
|
+
it('should return result without data', () => {
|
|
30
|
+
result.data.should.equal('');
|
|
31
|
+
result.isSuccess.should.be.false;
|
|
32
|
+
});
|
|
33
|
+
}));
|
|
34
|
+
//# sourceMappingURL=with_json_parse_error.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"with_json_parse_error.js","sourceRoot":"","sources":["../../../../../queries/for_QueryFor/when_performing/with_json_parse_error.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAEvC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAGjE,QAAQ,CAAC,uBAAuB,EAAE,KAAK,CAAC,WAAW,EAAE,OAAO,CAAC,EAAE;IAC3D,IAAI,MAA2B,CAAC;IAChC,IAAI,SAA0B,CAAC;IAC/B,IAAI,WAAsE,CAAC;IAE3E,UAAU,CAAC,KAAK,IAAI,EAAE;QAElB,WAAW,GAAG,iBAAiB,EAAE,CAAC;QAClC,SAAS,GAAG,WAAW,CAAC,SAAS,EAAE,CAAC;QACpC,SAAS,CAAC,QAAQ,CAAC;YACf,IAAI,EAAE,KAAK,CAAC,IAAI,EAAE,CAAC,OAAO,CAAC,IAAI,KAAK,CAAC,cAAc,CAAC,CAAC;YACrD,EAAE,EAAE,IAAI;YACR,MAAM,EAAE,GAAG;SACS,CAAC,CAAC;QAE1B,OAAO,CAAC,KAAK,CAAC,SAAS,CAAC,yBAAyB,CAAC,CAAC;QAGnD,MAAM,GAAG,MAAM,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,EAAE,EAAE,EAAE,SAAS,EAAE,CAAC,CAAC;IAC5D,CAAC,CAAC,CAAC;IAEH,SAAS,CAAC,GAAG,EAAE;QACX,WAAW,CAAC,OAAO,EAAE,CAAC;IAC1B,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,iCAAiC,EAAE,GAAG,EAAE;QACvC,MAAM,CAAC,SAAS,CAAC,MAAM,CAAC,EAAE,CAAC,KAAK,CAAC;IACrC,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,6BAA6B,EAAE,GAAG,EAAE;QACnC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;IACjC,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,mCAAmC,EAAE,GAAG,EAAE;QACzC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;QAC7B,MAAM,CAAC,SAAS,CAAC,MAAM,CAAC,EAAE,CAAC,KAAK,CAAC;IACrC,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"with_paging.d.ts","sourceRoot":"","sources":["../../../../../queries/for_QueryFor/when_performing/with_paging.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { a_query_for } from '../given/a_query_for';
|
|
2
|
+
import { given } from '../../../given';
|
|
3
|
+
import * as sinon from 'sinon';
|
|
4
|
+
import { createFetchHelper } from '../../../helpers/fetchHelper';
|
|
5
|
+
import { Paging } from '../../Paging';
|
|
6
|
+
describe('with paging', given(a_query_for, context => {
|
|
7
|
+
let result;
|
|
8
|
+
let fetchStub;
|
|
9
|
+
let fetchHelper;
|
|
10
|
+
const mockResponse = {
|
|
11
|
+
data: 'test-result',
|
|
12
|
+
isSuccess: true,
|
|
13
|
+
isAuthorized: true,
|
|
14
|
+
isValid: true,
|
|
15
|
+
hasExceptions: false,
|
|
16
|
+
validationResults: [],
|
|
17
|
+
exceptionMessages: [],
|
|
18
|
+
exceptionStackTrace: '',
|
|
19
|
+
paging: {
|
|
20
|
+
totalItems: 0,
|
|
21
|
+
totalPages: 0,
|
|
22
|
+
page: 0,
|
|
23
|
+
size: 0
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
beforeEach(async () => {
|
|
27
|
+
fetchHelper = createFetchHelper();
|
|
28
|
+
fetchStub = fetchHelper.stubFetch();
|
|
29
|
+
fetchStub.resolves({
|
|
30
|
+
json: sinon.stub().resolves(mockResponse),
|
|
31
|
+
ok: true,
|
|
32
|
+
status: 200
|
|
33
|
+
});
|
|
34
|
+
context.query.setOrigin('https://api.example.com');
|
|
35
|
+
context.query.paging = new Paging(2, 10);
|
|
36
|
+
result = await context.query.perform({ id: 'test-id' });
|
|
37
|
+
});
|
|
38
|
+
afterEach(() => {
|
|
39
|
+
fetchHelper.restore();
|
|
40
|
+
});
|
|
41
|
+
it('should call fetch with URL including paging parameters', () => {
|
|
42
|
+
fetchStub.should.have.been.calledOnce;
|
|
43
|
+
const call = fetchStub.getCall(0);
|
|
44
|
+
const url = call.args[0].href;
|
|
45
|
+
url.should.include('page=2');
|
|
46
|
+
url.should.include('pageSize=10');
|
|
47
|
+
});
|
|
48
|
+
it('should return successful result', () => {
|
|
49
|
+
result.isSuccess.should.be.true;
|
|
50
|
+
});
|
|
51
|
+
}));
|
|
52
|
+
//# sourceMappingURL=with_paging.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"with_paging.js","sourceRoot":"","sources":["../../../../../queries/for_QueryFor/when_performing/with_paging.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAEvC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAEjE,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAEtC,QAAQ,CAAC,aAAa,EAAE,KAAK,CAAC,WAAW,EAAE,OAAO,CAAC,EAAE;IACjD,IAAI,MAA2B,CAAC;IAChC,IAAI,SAA0B,CAAC;IAC/B,IAAI,WAAsE,CAAC;IAC3E,MAAM,YAAY,GAAG;QACjB,IAAI,EAAE,aAAa;QACnB,SAAS,EAAE,IAAI;QACf,YAAY,EAAE,IAAI;QAClB,OAAO,EAAE,IAAI;QACb,aAAa,EAAE,KAAK;QACpB,iBAAiB,EAAE,EAAE;QACrB,iBAAiB,EAAE,EAAE;QACrB,mBAAmB,EAAE,EAAE;QACvB,MAAM,EAAE;YACJ,UAAU,EAAE,CAAC;YACb,UAAU,EAAE,CAAC;YACb,IAAI,EAAE,CAAC;YACP,IAAI,EAAE,CAAC;SACV;KACJ,CAAC;IAEF,UAAU,CAAC,KAAK,IAAI,EAAE;QAElB,WAAW,GAAG,iBAAiB,EAAE,CAAC;QAClC,SAAS,GAAG,WAAW,CAAC,SAAS,EAAE,CAAC;QACpC,SAAS,CAAC,QAAQ,CAAC;YACf,IAAI,EAAE,KAAK,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,YAAY,CAAC;YACzC,EAAE,EAAE,IAAI;YACR,MAAM,EAAE,GAAG;SACS,CAAC,CAAC;QAE1B,OAAO,CAAC,KAAK,CAAC,SAAS,CAAC,yBAAyB,CAAC,CAAC;QACnD,OAAO,CAAC,KAAK,CAAC,MAAM,GAAG,IAAI,MAAM,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;QAGzC,MAAM,GAAG,MAAM,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,EAAE,EAAE,EAAE,SAAS,EAAE,CAAC,CAAC;IAC5D,CAAC,CAAC,CAAC;IAEH,SAAS,CAAC,GAAG,EAAE;QACX,WAAW,CAAC,OAAO,EAAE,CAAC;IAC1B,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,wDAAwD,EAAE,GAAG,EAAE;QAC9D,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC;QACtC,MAAM,IAAI,GAAG,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;QAClC,MAAM,GAAG,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;QAC9B,GAAG,CAAC,MAAM,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;QAC7B,GAAG,CAAC,MAAM,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC;IACtC,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,iCAAiC,EAAE,GAAG,EAAE;QACvC,MAAM,CAAC,SAAS,CAAC,MAAM,CAAC,EAAE,CAAC,IAAI,CAAC;IACpC,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC,CAAC"}
|
package/dist/esm/queries/for_QueryFor/when_performing/with_parameter_descriptor_values.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"with_parameter_descriptor_values.d.ts","sourceRoot":"","sources":["../../../../../queries/for_QueryFor/when_performing/with_parameter_descriptor_values.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { a_query_for } from '../given/a_query_for';
|
|
2
|
+
import { given } from '../../../given';
|
|
3
|
+
import * as sinon from 'sinon';
|
|
4
|
+
import { createFetchHelper } from '../../../helpers/fetchHelper';
|
|
5
|
+
describe('with parameter descriptor values', given(a_query_for, context => {
|
|
6
|
+
let result;
|
|
7
|
+
let fetchStub;
|
|
8
|
+
let fetchHelper;
|
|
9
|
+
const mockResponse = {
|
|
10
|
+
data: 'test-result',
|
|
11
|
+
isSuccess: true,
|
|
12
|
+
isAuthorized: true,
|
|
13
|
+
isValid: true,
|
|
14
|
+
hasExceptions: false,
|
|
15
|
+
validationResults: [],
|
|
16
|
+
exceptionMessages: [],
|
|
17
|
+
exceptionStackTrace: '',
|
|
18
|
+
paging: {
|
|
19
|
+
totalItems: 0,
|
|
20
|
+
totalPages: 0,
|
|
21
|
+
page: 0,
|
|
22
|
+
size: 0
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
beforeEach(async () => {
|
|
26
|
+
fetchHelper = createFetchHelper();
|
|
27
|
+
fetchStub = fetchHelper.stubFetch();
|
|
28
|
+
fetchStub.resolves({
|
|
29
|
+
json: sinon.stub().resolves(mockResponse),
|
|
30
|
+
ok: true,
|
|
31
|
+
status: 200
|
|
32
|
+
});
|
|
33
|
+
context.queryWithParameterDescriptorValues.setOrigin('https://api.example.com');
|
|
34
|
+
context.queryWithParameterDescriptorValues.setApiBasePath('/api/v1');
|
|
35
|
+
context.queryWithParameterDescriptorValues.filter = 'active';
|
|
36
|
+
context.queryWithParameterDescriptorValues.limit = 10;
|
|
37
|
+
result = await context.queryWithParameterDescriptorValues.perform();
|
|
38
|
+
});
|
|
39
|
+
afterEach(() => {
|
|
40
|
+
fetchHelper.restore();
|
|
41
|
+
});
|
|
42
|
+
it('should return successful result', () => {
|
|
43
|
+
result.isSuccess.should.be.true;
|
|
44
|
+
});
|
|
45
|
+
it('should include parameter descriptor values in URL as query string', () => {
|
|
46
|
+
fetchStub.should.have.been.calledOnce;
|
|
47
|
+
const call = fetchStub.getCall(0);
|
|
48
|
+
const url = call.args[0].href;
|
|
49
|
+
url.should.include('filter=active');
|
|
50
|
+
url.should.include('limit=10');
|
|
51
|
+
});
|
|
52
|
+
it('should have query string separator in URL', () => {
|
|
53
|
+
const call = fetchStub.getCall(0);
|
|
54
|
+
const url = call.args[0].href;
|
|
55
|
+
url.should.include('?');
|
|
56
|
+
});
|
|
57
|
+
}));
|
|
58
|
+
//# sourceMappingURL=with_parameter_descriptor_values.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"with_parameter_descriptor_values.js","sourceRoot":"","sources":["../../../../../queries/for_QueryFor/when_performing/with_parameter_descriptor_values.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AACvC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAGjE,QAAQ,CAAC,kCAAkC,EAAE,KAAK,CAAC,WAAW,EAAE,OAAO,CAAC,EAAE;IACtE,IAAI,MAA2B,CAAC;IAChC,IAAI,SAA0B,CAAC;IAC/B,IAAI,WAAsE,CAAC;IAC3E,MAAM,YAAY,GAAG;QACjB,IAAI,EAAE,aAAa;QACnB,SAAS,EAAE,IAAI;QACf,YAAY,EAAE,IAAI;QAClB,OAAO,EAAE,IAAI;QACb,aAAa,EAAE,KAAK;QACpB,iBAAiB,EAAE,EAAE;QACrB,iBAAiB,EAAE,EAAE;QACrB,mBAAmB,EAAE,EAAE;QACvB,MAAM,EAAE;YACJ,UAAU,EAAE,CAAC;YACb,UAAU,EAAE,CAAC;YACb,IAAI,EAAE,CAAC;YACP,IAAI,EAAE,CAAC;SACV;KACJ,CAAC;IAEF,UAAU,CAAC,KAAK,IAAI,EAAE;QAClB,WAAW,GAAG,iBAAiB,EAAE,CAAC;QAClC,SAAS,GAAG,WAAW,CAAC,SAAS,EAAE,CAAC;QACpC,SAAS,CAAC,QAAQ,CAAC;YACf,IAAI,EAAE,KAAK,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,YAAY,CAAC;YACzC,EAAE,EAAE,IAAI;YACR,MAAM,EAAE,GAAG;SACS,CAAC,CAAC;QAE1B,OAAO,CAAC,kCAAkC,CAAC,SAAS,CAAC,yBAAyB,CAAC,CAAC;QAChF,OAAO,CAAC,kCAAkC,CAAC,cAAc,CAAC,SAAS,CAAC,CAAC;QAGrE,OAAO,CAAC,kCAAkC,CAAC,MAAM,GAAG,QAAQ,CAAC;QAC7D,OAAO,CAAC,kCAAkC,CAAC,KAAK,GAAG,EAAE,CAAC;QAEtD,MAAM,GAAG,MAAM,OAAO,CAAC,kCAAkC,CAAC,OAAO,EAAE,CAAC;IACxE,CAAC,CAAC,CAAC;IAEH,SAAS,CAAC,GAAG,EAAE;QACX,WAAW,CAAC,OAAO,EAAE,CAAC;IAC1B,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,iCAAiC,EAAE,GAAG,EAAE;QACvC,MAAM,CAAC,SAAS,CAAC,MAAM,CAAC,EAAE,CAAC,IAAI,CAAC;IACpC,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,mEAAmE,EAAE,GAAG,EAAE;QACzE,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC;QACtC,MAAM,IAAI,GAAG,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;QAClC,MAAM,GAAG,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;QAC9B,GAAG,CAAC,MAAM,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC;QACpC,GAAG,CAAC,MAAM,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;IACnC,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,2CAA2C,EAAE,GAAG,EAAE;QACjD,MAAM,IAAI,GAAG,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;QAClC,MAAM,GAAG,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;QAC9B,GAAG,CAAC,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IAC5B,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"with_partial_parameter_descriptor_values.d.ts","sourceRoot":"","sources":["../../../../../queries/for_QueryFor/when_performing/with_partial_parameter_descriptor_values.ts"],"names":[],"mappings":""}
|
package/dist/esm/queries/for_QueryFor/when_performing/with_partial_parameter_descriptor_values.js
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { a_query_for } from '../given/a_query_for';
|
|
2
|
+
import { given } from '../../../given';
|
|
3
|
+
import * as sinon from 'sinon';
|
|
4
|
+
import { createFetchHelper } from '../../../helpers/fetchHelper';
|
|
5
|
+
describe('with partial parameter descriptor values', given(a_query_for, context => {
|
|
6
|
+
let result;
|
|
7
|
+
let fetchStub;
|
|
8
|
+
let fetchHelper;
|
|
9
|
+
const mockResponse = {
|
|
10
|
+
data: 'test-result',
|
|
11
|
+
isSuccess: true,
|
|
12
|
+
isAuthorized: true,
|
|
13
|
+
isValid: true,
|
|
14
|
+
hasExceptions: false,
|
|
15
|
+
validationResults: [],
|
|
16
|
+
exceptionMessages: [],
|
|
17
|
+
exceptionStackTrace: '',
|
|
18
|
+
paging: {
|
|
19
|
+
totalItems: 0,
|
|
20
|
+
totalPages: 0,
|
|
21
|
+
page: 0,
|
|
22
|
+
size: 0
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
beforeEach(async () => {
|
|
26
|
+
fetchHelper = createFetchHelper();
|
|
27
|
+
fetchStub = fetchHelper.stubFetch();
|
|
28
|
+
fetchStub.resolves({
|
|
29
|
+
json: sinon.stub().resolves(mockResponse),
|
|
30
|
+
ok: true,
|
|
31
|
+
status: 200
|
|
32
|
+
});
|
|
33
|
+
context.queryWithParameterDescriptorValues.setOrigin('https://api.example.com');
|
|
34
|
+
context.queryWithParameterDescriptorValues.setApiBasePath('/api/v1');
|
|
35
|
+
context.queryWithParameterDescriptorValues.filter = 'active';
|
|
36
|
+
result = await context.queryWithParameterDescriptorValues.perform();
|
|
37
|
+
});
|
|
38
|
+
afterEach(() => {
|
|
39
|
+
fetchHelper.restore();
|
|
40
|
+
});
|
|
41
|
+
it('should return successful result', () => {
|
|
42
|
+
result.isSuccess.should.be.true;
|
|
43
|
+
});
|
|
44
|
+
it('should include only set parameter descriptor values in URL', () => {
|
|
45
|
+
fetchStub.should.have.been.calledOnce;
|
|
46
|
+
const call = fetchStub.getCall(0);
|
|
47
|
+
const url = call.args[0].href;
|
|
48
|
+
url.should.include('filter=active');
|
|
49
|
+
});
|
|
50
|
+
it('should not include undefined parameter descriptor values in URL', () => {
|
|
51
|
+
const call = fetchStub.getCall(0);
|
|
52
|
+
const url = call.args[0].href;
|
|
53
|
+
url.should.not.include('limit=');
|
|
54
|
+
});
|
|
55
|
+
}));
|
|
56
|
+
//# sourceMappingURL=with_partial_parameter_descriptor_values.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"with_partial_parameter_descriptor_values.js","sourceRoot":"","sources":["../../../../../queries/for_QueryFor/when_performing/with_partial_parameter_descriptor_values.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AACvC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAGjE,QAAQ,CAAC,0CAA0C,EAAE,KAAK,CAAC,WAAW,EAAE,OAAO,CAAC,EAAE;IAC9E,IAAI,MAA2B,CAAC;IAChC,IAAI,SAA0B,CAAC;IAC/B,IAAI,WAAsE,CAAC;IAC3E,MAAM,YAAY,GAAG;QACjB,IAAI,EAAE,aAAa;QACnB,SAAS,EAAE,IAAI;QACf,YAAY,EAAE,IAAI;QAClB,OAAO,EAAE,IAAI;QACb,aAAa,EAAE,KAAK;QACpB,iBAAiB,EAAE,EAAE;QACrB,iBAAiB,EAAE,EAAE;QACrB,mBAAmB,EAAE,EAAE;QACvB,MAAM,EAAE;YACJ,UAAU,EAAE,CAAC;YACb,UAAU,EAAE,CAAC;YACb,IAAI,EAAE,CAAC;YACP,IAAI,EAAE,CAAC;SACV;KACJ,CAAC;IAEF,UAAU,CAAC,KAAK,IAAI,EAAE;QAClB,WAAW,GAAG,iBAAiB,EAAE,CAAC;QAClC,SAAS,GAAG,WAAW,CAAC,SAAS,EAAE,CAAC;QACpC,SAAS,CAAC,QAAQ,CAAC;YACf,IAAI,EAAE,KAAK,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,YAAY,CAAC;YACzC,EAAE,EAAE,IAAI;YACR,MAAM,EAAE,GAAG;SACS,CAAC,CAAC;QAE1B,OAAO,CAAC,kCAAkC,CAAC,SAAS,CAAC,yBAAyB,CAAC,CAAC;QAChF,OAAO,CAAC,kCAAkC,CAAC,cAAc,CAAC,SAAS,CAAC,CAAC;QAGrE,OAAO,CAAC,kCAAkC,CAAC,MAAM,GAAG,QAAQ,CAAC;QAG7D,MAAM,GAAG,MAAM,OAAO,CAAC,kCAAkC,CAAC,OAAO,EAAE,CAAC;IACxE,CAAC,CAAC,CAAC;IAEH,SAAS,CAAC,GAAG,EAAE;QACX,WAAW,CAAC,OAAO,EAAE,CAAC;IAC1B,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,iCAAiC,EAAE,GAAG,EAAE;QACvC,MAAM,CAAC,SAAS,CAAC,MAAM,CAAC,EAAE,CAAC,IAAI,CAAC;IACpC,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,4DAA4D,EAAE,GAAG,EAAE;QAClE,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC;QACtC,MAAM,IAAI,GAAG,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;QAClC,MAAM,GAAG,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;QAC9B,GAAG,CAAC,MAAM,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC;IACxC,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,iEAAiE,EAAE,GAAG,EAAE;QACvE,MAAM,IAAI,GAAG,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;QAClC,MAAM,GAAG,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;QAC9B,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC;IACrC,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"with_query_without_required_parameters.d.ts","sourceRoot":"","sources":["../../../../../queries/for_QueryFor/when_performing/with_query_without_required_parameters.ts"],"names":[],"mappings":""}
|
package/dist/esm/queries/for_QueryFor/when_performing/with_query_without_required_parameters.js
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { a_query_for } from '../given/a_query_for';
|
|
2
|
+
import { given } from '../../../given';
|
|
3
|
+
import * as sinon from 'sinon';
|
|
4
|
+
import { createFetchHelper } from '../../../helpers/fetchHelper';
|
|
5
|
+
describe('with query without required parameters', given(a_query_for, context => {
|
|
6
|
+
let result;
|
|
7
|
+
let fetchStub;
|
|
8
|
+
let fetchHelper;
|
|
9
|
+
const mockResponse = {
|
|
10
|
+
data: 'test-result',
|
|
11
|
+
isSuccess: true,
|
|
12
|
+
isAuthorized: true,
|
|
13
|
+
isValid: true,
|
|
14
|
+
hasExceptions: false,
|
|
15
|
+
validationResults: [],
|
|
16
|
+
exceptionMessages: [],
|
|
17
|
+
exceptionStackTrace: '',
|
|
18
|
+
paging: {
|
|
19
|
+
totalItems: 0,
|
|
20
|
+
totalPages: 0,
|
|
21
|
+
page: 0,
|
|
22
|
+
size: 0
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
beforeEach(async () => {
|
|
26
|
+
fetchHelper = createFetchHelper();
|
|
27
|
+
fetchStub = fetchHelper.stubFetch();
|
|
28
|
+
fetchStub.resolves({
|
|
29
|
+
json: sinon.stub().resolves(mockResponse),
|
|
30
|
+
ok: true,
|
|
31
|
+
status: 200
|
|
32
|
+
});
|
|
33
|
+
context.queryWithoutParams.setOrigin('https://api.example.com');
|
|
34
|
+
result = await context.queryWithoutParams.perform();
|
|
35
|
+
});
|
|
36
|
+
afterEach(() => {
|
|
37
|
+
fetchHelper.restore();
|
|
38
|
+
});
|
|
39
|
+
it('should return successful result', () => {
|
|
40
|
+
result.isSuccess.should.be.true;
|
|
41
|
+
});
|
|
42
|
+
it('should call fetch with correct URL', () => {
|
|
43
|
+
fetchStub.should.have.been.calledOnce;
|
|
44
|
+
const call = fetchStub.getCall(0);
|
|
45
|
+
call.args[0].href.should.equal('https://api.example.com/api/all');
|
|
46
|
+
});
|
|
47
|
+
}));
|
|
48
|
+
//# sourceMappingURL=with_query_without_required_parameters.js.map
|
package/dist/esm/queries/for_QueryFor/when_performing/with_query_without_required_parameters.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"with_query_without_required_parameters.js","sourceRoot":"","sources":["../../../../../queries/for_QueryFor/when_performing/with_query_without_required_parameters.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAEvC,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAGjE,QAAQ,CAAC,wCAAwC,EAAE,KAAK,CAAC,WAAW,EAAE,OAAO,CAAC,EAAE;IAC5E,IAAI,MAA2B,CAAC;IAChC,IAAI,SAA0B,CAAC;IAC/B,IAAI,WAAsE,CAAC;IAC3E,MAAM,YAAY,GAAG;QACjB,IAAI,EAAE,aAAa;QACnB,SAAS,EAAE,IAAI;QACf,YAAY,EAAE,IAAI;QAClB,OAAO,EAAE,IAAI;QACb,aAAa,EAAE,KAAK;QACpB,iBAAiB,EAAE,EAAE;QACrB,iBAAiB,EAAE,EAAE;QACrB,mBAAmB,EAAE,EAAE;QACvB,MAAM,EAAE;YACJ,UAAU,EAAE,CAAC;YACb,UAAU,EAAE,CAAC;YACb,IAAI,EAAE,CAAC;YACP,IAAI,EAAE,CAAC;SACV;KACJ,CAAC;IAEF,UAAU,CAAC,KAAK,IAAI,EAAE;QAClB,WAAW,GAAG,iBAAiB,EAAE,CAAC;QAClC,SAAS,GAAG,WAAW,CAAC,SAAS,EAAE,CAAC;QACpC,SAAS,CAAC,QAAQ,CAAC;YACf,IAAI,EAAE,KAAK,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,YAAY,CAAC;YACzC,EAAE,EAAE,IAAI;YACR,MAAM,EAAE,GAAG;SACS,CAAC,CAAC;QAE1B,OAAO,CAAC,kBAAkB,CAAC,SAAS,CAAC,yBAAyB,CAAC,CAAC;QAGhE,MAAM,GAAG,MAAM,OAAO,CAAC,kBAAkB,CAAC,OAAO,EAAE,CAAC;IACxD,CAAC,CAAC,CAAC;IAEH,SAAS,CAAC,GAAG,EAAE;QACX,WAAW,CAAC,OAAO,EAAE,CAAC;IAC1B,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,iCAAiC,EAAE,GAAG,EAAE;QACvC,MAAM,CAAC,SAAS,CAAC,MAAM,CAAC,EAAE,CAAC,IAAI,CAAC;IACpC,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,oCAAoC,EAAE,GAAG,EAAE;QAC1C,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC;QACtC,MAAM,IAAI,GAAG,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;QAClC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,iCAAiC,CAAC,CAAC;IACtE,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"with_route_parameters_and_unused_parameters.d.ts","sourceRoot":"","sources":["../../../../../queries/for_QueryFor/when_performing/with_route_parameters_and_unused_parameters.ts"],"names":[],"mappings":""}
|
package/dist/esm/queries/for_QueryFor/when_performing/with_route_parameters_and_unused_parameters.js
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { a_query_for } from '../given/a_query_for';
|
|
2
|
+
import { given } from '../../../given';
|
|
3
|
+
import * as sinon from 'sinon';
|
|
4
|
+
import { createFetchHelper } from '../../../helpers/fetchHelper';
|
|
5
|
+
import { expect } from 'chai';
|
|
6
|
+
describe('with route parameters and unused parameters', given(a_query_for, context => {
|
|
7
|
+
let result;
|
|
8
|
+
let fetchStub;
|
|
9
|
+
let fetchHelper;
|
|
10
|
+
const mockResponse = {
|
|
11
|
+
data: 'test-result',
|
|
12
|
+
isSuccess: true,
|
|
13
|
+
isAuthorized: true,
|
|
14
|
+
isValid: true,
|
|
15
|
+
hasExceptions: false,
|
|
16
|
+
validationResults: [],
|
|
17
|
+
exceptionMessages: [],
|
|
18
|
+
exceptionStackTrace: '',
|
|
19
|
+
paging: {
|
|
20
|
+
totalItems: 0,
|
|
21
|
+
totalPages: 0,
|
|
22
|
+
page: 0,
|
|
23
|
+
size: 0
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
beforeEach(async () => {
|
|
27
|
+
fetchHelper = createFetchHelper();
|
|
28
|
+
fetchStub = fetchHelper.stubFetch();
|
|
29
|
+
fetchStub.resolves({
|
|
30
|
+
json: sinon.stub().resolves(mockResponse),
|
|
31
|
+
ok: true,
|
|
32
|
+
status: 200
|
|
33
|
+
});
|
|
34
|
+
context.query.setOrigin('https://api.example.com');
|
|
35
|
+
context.query.setApiBasePath('/api/v1');
|
|
36
|
+
result = await context.query.perform({ id: 'test-id', filter: 'active', search: 'query' });
|
|
37
|
+
});
|
|
38
|
+
afterEach(() => {
|
|
39
|
+
fetchHelper.restore();
|
|
40
|
+
});
|
|
41
|
+
it('should return successful result', () => {
|
|
42
|
+
expect(result.isSuccess).to.be.true;
|
|
43
|
+
});
|
|
44
|
+
it('should return correct data', () => {
|
|
45
|
+
expect(result.data).to.equal('test-result');
|
|
46
|
+
});
|
|
47
|
+
it('should include route parameter in path', () => {
|
|
48
|
+
const call = fetchStub.getCall(0);
|
|
49
|
+
call.args[0].href.should.include('/test-id');
|
|
50
|
+
});
|
|
51
|
+
it('should include unused filter parameter in query string', () => {
|
|
52
|
+
const call = fetchStub.getCall(0);
|
|
53
|
+
call.args[0].href.should.include('filter=active');
|
|
54
|
+
});
|
|
55
|
+
it('should include unused search parameter in query string', () => {
|
|
56
|
+
const call = fetchStub.getCall(0);
|
|
57
|
+
call.args[0].href.should.include('search=query');
|
|
58
|
+
});
|
|
59
|
+
}));
|
|
60
|
+
//# sourceMappingURL=with_route_parameters_and_unused_parameters.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"with_route_parameters_and_unused_parameters.js","sourceRoot":"","sources":["../../../../../queries/for_QueryFor/when_performing/with_route_parameters_and_unused_parameters.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"with_sorting.d.ts","sourceRoot":"","sources":["../../../../../queries/for_QueryFor/when_performing/with_sorting.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { a_query_for } from '../given/a_query_for';
|
|
2
|
+
import { given } from '../../../given';
|
|
3
|
+
import * as sinon from 'sinon';
|
|
4
|
+
import { createFetchHelper } from '../../../helpers/fetchHelper';
|
|
5
|
+
import { Sorting } from '../../Sorting';
|
|
6
|
+
import { SortDirection } from '../../SortDirection';
|
|
7
|
+
describe('with sorting', given(a_query_for, context => {
|
|
8
|
+
let result;
|
|
9
|
+
let fetchStub;
|
|
10
|
+
let fetchHelper;
|
|
11
|
+
const mockResponse = {
|
|
12
|
+
data: 'test-result',
|
|
13
|
+
isSuccess: true,
|
|
14
|
+
isAuthorized: true,
|
|
15
|
+
isValid: true,
|
|
16
|
+
hasExceptions: false,
|
|
17
|
+
validationResults: [],
|
|
18
|
+
exceptionMessages: [],
|
|
19
|
+
exceptionStackTrace: '',
|
|
20
|
+
paging: {
|
|
21
|
+
totalItems: 0,
|
|
22
|
+
totalPages: 0,
|
|
23
|
+
page: 0,
|
|
24
|
+
size: 0
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
describe('and ascending direction', () => {
|
|
28
|
+
beforeEach(async () => {
|
|
29
|
+
fetchHelper = createFetchHelper();
|
|
30
|
+
fetchStub = fetchHelper.stubFetch();
|
|
31
|
+
fetchStub.resolves({
|
|
32
|
+
json: sinon.stub().resolves(mockResponse),
|
|
33
|
+
ok: true,
|
|
34
|
+
status: 200
|
|
35
|
+
});
|
|
36
|
+
context.query.setOrigin('https://api.example.com');
|
|
37
|
+
context.query.sorting = new Sorting('name', SortDirection.ascending);
|
|
38
|
+
result = await context.query.perform({ id: 'test-id' });
|
|
39
|
+
});
|
|
40
|
+
afterEach(() => {
|
|
41
|
+
fetchHelper.restore();
|
|
42
|
+
});
|
|
43
|
+
it('should call fetch with URL including sorting parameters', () => {
|
|
44
|
+
fetchStub.should.have.been.calledOnce;
|
|
45
|
+
const call = fetchStub.getCall(0);
|
|
46
|
+
const url = call.args[0].href;
|
|
47
|
+
url.should.include('sortBy=name');
|
|
48
|
+
url.should.include('sortDirection=asc');
|
|
49
|
+
});
|
|
50
|
+
it('should return successful result', () => {
|
|
51
|
+
result.isSuccess.should.be.true;
|
|
52
|
+
});
|
|
53
|
+
});
|
|
54
|
+
describe('and descending direction', () => {
|
|
55
|
+
beforeEach(async () => {
|
|
56
|
+
fetchHelper = createFetchHelper();
|
|
57
|
+
fetchStub = fetchHelper.stubFetch();
|
|
58
|
+
fetchStub.resolves({
|
|
59
|
+
json: sinon.stub().resolves(mockResponse),
|
|
60
|
+
ok: true,
|
|
61
|
+
status: 200
|
|
62
|
+
});
|
|
63
|
+
context.query.setOrigin('https://api.example.com');
|
|
64
|
+
context.query.sorting = new Sorting('name', SortDirection.descending);
|
|
65
|
+
result = await context.query.perform({ id: 'test-id' });
|
|
66
|
+
});
|
|
67
|
+
afterEach(() => {
|
|
68
|
+
fetchHelper.restore();
|
|
69
|
+
});
|
|
70
|
+
it('should call fetch with URL including sorting parameters', () => {
|
|
71
|
+
fetchStub.should.have.been.calledOnce;
|
|
72
|
+
const call = fetchStub.getCall(0);
|
|
73
|
+
const url = call.args[0].href;
|
|
74
|
+
url.should.include('sortBy=name');
|
|
75
|
+
url.should.include('sortDirection=desc');
|
|
76
|
+
});
|
|
77
|
+
it('should return successful result', () => {
|
|
78
|
+
result.isSuccess.should.be.true;
|
|
79
|
+
});
|
|
80
|
+
});
|
|
81
|
+
}));
|
|
82
|
+
//# sourceMappingURL=with_sorting.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"with_sorting.js","sourceRoot":"","sources":["../../../../../queries/for_QueryFor/when_performing/with_sorting.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"with_valid_arguments.d.ts","sourceRoot":"","sources":["../../../../../queries/for_QueryFor/when_performing/with_valid_arguments.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { a_query_for } from '../given/a_query_for';
|
|
2
|
+
import { given } from '../../../given';
|
|
3
|
+
import * as sinon from 'sinon';
|
|
4
|
+
import { createFetchHelper } from '../../../helpers/fetchHelper';
|
|
5
|
+
describe('with valid arguments', given(a_query_for, context => {
|
|
6
|
+
let result;
|
|
7
|
+
let fetchStub;
|
|
8
|
+
let fetchHelper;
|
|
9
|
+
const mockResponse = {
|
|
10
|
+
data: 'test-result',
|
|
11
|
+
isSuccess: true,
|
|
12
|
+
isAuthorized: true,
|
|
13
|
+
isValid: true,
|
|
14
|
+
hasExceptions: false,
|
|
15
|
+
validationResults: [],
|
|
16
|
+
exceptionMessages: [],
|
|
17
|
+
exceptionStackTrace: '',
|
|
18
|
+
paging: {
|
|
19
|
+
totalItems: 0,
|
|
20
|
+
totalPages: 0,
|
|
21
|
+
page: 0,
|
|
22
|
+
size: 0
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
beforeEach(async () => {
|
|
26
|
+
fetchHelper = createFetchHelper();
|
|
27
|
+
fetchStub = fetchHelper.stubFetch();
|
|
28
|
+
fetchStub.resolves({
|
|
29
|
+
json: sinon.stub().resolves(mockResponse),
|
|
30
|
+
ok: true,
|
|
31
|
+
status: 200
|
|
32
|
+
});
|
|
33
|
+
context.query.setOrigin('https://api.example.com');
|
|
34
|
+
context.query.setApiBasePath('/api/v1');
|
|
35
|
+
context.query.setMicroservice('test-service');
|
|
36
|
+
result = await context.query.perform({ id: 'test-id' });
|
|
37
|
+
});
|
|
38
|
+
afterEach(() => {
|
|
39
|
+
fetchHelper.restore();
|
|
40
|
+
});
|
|
41
|
+
it('should return successful result', () => {
|
|
42
|
+
result.isSuccess.should.be.true;
|
|
43
|
+
});
|
|
44
|
+
it('should return correct data', () => {
|
|
45
|
+
result.data.should.equal('test-result');
|
|
46
|
+
});
|
|
47
|
+
it('should have data', () => {
|
|
48
|
+
result.hasData.should.be.true;
|
|
49
|
+
});
|
|
50
|
+
it('should call fetch with correct URL', () => {
|
|
51
|
+
fetchStub.should.have.been.calledOnce;
|
|
52
|
+
const call = fetchStub.getCall(0);
|
|
53
|
+
call.args[0].href.should.equal('https://api.example.com/api/v1/api/test/test-id');
|
|
54
|
+
});
|
|
55
|
+
it('should call fetch with correct headers', () => {
|
|
56
|
+
const call = fetchStub.getCall(0);
|
|
57
|
+
const options = call.args[1];
|
|
58
|
+
options.headers['Accept'].should.equal('application/json');
|
|
59
|
+
options.headers['Content-Type'].should.equal('application/json');
|
|
60
|
+
options.headers['x-cratis-microservice'].should.equal('test-service');
|
|
61
|
+
});
|
|
62
|
+
it('should call fetch with GET method', () => {
|
|
63
|
+
const call = fetchStub.getCall(0);
|
|
64
|
+
const options = call.args[1];
|
|
65
|
+
options.method.should.equal('GET');
|
|
66
|
+
});
|
|
67
|
+
it('should set abort controller signal', () => {
|
|
68
|
+
const call = fetchStub.getCall(0);
|
|
69
|
+
const options = call.args[1];
|
|
70
|
+
options.signal.should.not.be.undefined;
|
|
71
|
+
});
|
|
72
|
+
}));
|
|
73
|
+
//# sourceMappingURL=with_valid_arguments.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"with_valid_arguments.js","sourceRoot":"","sources":["../../../../../queries/for_QueryFor/when_performing/with_valid_arguments.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"when_setting_api_base_path.d.ts","sourceRoot":"","sources":["../../../../queries/for_QueryFor/when_setting_api_base_path.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { a_query_for } from './given/a_query_for';
|
|
2
|
+
import { given } from '../../given';
|
|
3
|
+
describe('when setting api base path', given(a_query_for, context => {
|
|
4
|
+
const apiBasePath = '/api/v1';
|
|
5
|
+
beforeEach(() => {
|
|
6
|
+
context.query.setApiBasePath(apiBasePath);
|
|
7
|
+
});
|
|
8
|
+
it('should set the api base path', () => {
|
|
9
|
+
(context.query._apiBasePath).should.equal(apiBasePath);
|
|
10
|
+
});
|
|
11
|
+
}));
|
|
12
|
+
//# sourceMappingURL=when_setting_api_base_path.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"when_setting_api_base_path.js","sourceRoot":"","sources":["../../../../queries/for_QueryFor/when_setting_api_base_path.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEpC,QAAQ,CAAC,4BAA4B,EAAE,KAAK,CAAC,WAAW,EAAE,OAAO,CAAC,EAAE;IAChE,MAAM,WAAW,GAAG,SAAS,CAAC;IAE9B,UAAU,CAAC,GAAG,EAAE;QACZ,OAAO,CAAC,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,CAAC;IAC9C,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,8BAA8B,EAAE,GAAG,EAAE;QAGpC,CAAE,OAAO,CAAC,KAAa,CAAC,YAAY,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC;IACpE,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"when_setting_microservice.d.ts","sourceRoot":"","sources":["../../../../queries/for_QueryFor/when_setting_microservice.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { a_query_for } from './given/a_query_for';
|
|
2
|
+
import { given } from '../../given';
|
|
3
|
+
describe('when setting microservice', given(a_query_for, context => {
|
|
4
|
+
const microservice = 'my-microservice';
|
|
5
|
+
beforeEach(() => {
|
|
6
|
+
context.query.setMicroservice(microservice);
|
|
7
|
+
});
|
|
8
|
+
it('should set the microservice', () => {
|
|
9
|
+
(context.query._microservice).should.equal(microservice);
|
|
10
|
+
});
|
|
11
|
+
}));
|
|
12
|
+
//# sourceMappingURL=when_setting_microservice.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"when_setting_microservice.js","sourceRoot":"","sources":["../../../../queries/for_QueryFor/when_setting_microservice.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAClD,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEpC,QAAQ,CAAC,2BAA2B,EAAE,KAAK,CAAC,WAAW,EAAE,OAAO,CAAC,EAAE;IAC/D,MAAM,YAAY,GAAG,iBAAiB,CAAC;IAEvC,UAAU,CAAC,GAAG,EAAE;QACZ,OAAO,CAAC,KAAK,CAAC,eAAe,CAAC,YAAY,CAAC,CAAC;IAChD,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,6BAA6B,EAAE,GAAG,EAAE;QAGnC,CAAE,OAAO,CAAC,KAAa,CAAC,aAAa,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC;IACtE,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC,CAAC"}
|