@cratis/arc 18.4.3 → 18.6.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.ts +4 -5
- 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_custom_http_headers.ts +4 -1
- package/commands/for_Command/when_executing/with_origin_and_api_base_path.ts +5 -2
- package/commands/for_Command/when_executing/with_route_parameters.ts +5 -2
- 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/helpers/fetchHelper.d.ts +7 -0
- package/dist/cjs/helpers/fetchHelper.d.ts.map +1 -0
- package/dist/cjs/identity/IIdentityProvider.d.ts +2 -1
- package/dist/cjs/identity/IIdentityProvider.d.ts.map +1 -1
- package/dist/cjs/identity/IIdentityProvider.js.map +1 -1
- package/dist/cjs/identity/IdentityProvider.d.ts +4 -3
- package/dist/cjs/identity/IdentityProvider.d.ts.map +1 -1
- package/dist/cjs/identity/IdentityProvider.js +12 -9
- package/dist/cjs/identity/IdentityProvider.js.map +1 -1
- 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/IObservableQueryConnection.d.ts +2 -0
- package/dist/cjs/queries/IObservableQueryConnection.d.ts.map +1 -1
- package/dist/cjs/queries/NullObservableQueryConnection.d.ts +2 -0
- package/dist/cjs/queries/NullObservableQueryConnection.d.ts.map +1 -1
- package/dist/cjs/queries/NullObservableQueryConnection.js +6 -0
- package/dist/cjs/queries/NullObservableQueryConnection.js.map +1 -1
- package/dist/cjs/queries/ObservableQueryConnection.d.ts +14 -1
- package/dist/cjs/queries/ObservableQueryConnection.d.ts.map +1 -1
- package/dist/cjs/queries/ObservableQueryConnection.js +73 -2
- package/dist/cjs/queries/ObservableQueryConnection.js.map +1 -1
- 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/WebSocketMessage.d.ts +11 -0
- package/dist/cjs/queries/WebSocketMessage.d.ts.map +1 -0
- package/dist/cjs/queries/WebSocketMessage.js +9 -0
- package/dist/cjs/queries/WebSocketMessage.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 +2 -0
- package/dist/cjs/queries/index.d.ts.map +1 -1
- package/dist/cjs/queries/index.js +7 -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/helpers/fetchHelper.d.ts +7 -0
- package/dist/esm/helpers/fetchHelper.d.ts.map +1 -0
- package/dist/esm/helpers/fetchHelper.js +22 -0
- package/dist/esm/helpers/fetchHelper.js.map +1 -0
- package/dist/esm/identity/IIdentityProvider.d.ts +2 -1
- package/dist/esm/identity/IIdentityProvider.d.ts.map +1 -1
- package/dist/esm/identity/IIdentityProvider.js.map +1 -1
- package/dist/esm/identity/IdentityProvider.d.ts +4 -3
- package/dist/esm/identity/IdentityProvider.d.ts.map +1 -1
- package/dist/esm/identity/IdentityProvider.js +12 -9
- package/dist/esm/identity/IdentityProvider.js.map +1 -1
- 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/IObservableQueryConnection.d.ts +2 -0
- package/dist/esm/queries/IObservableQueryConnection.d.ts.map +1 -1
- package/dist/esm/queries/NullObservableQueryConnection.d.ts +2 -0
- package/dist/esm/queries/NullObservableQueryConnection.d.ts.map +1 -1
- package/dist/esm/queries/NullObservableQueryConnection.js +6 -0
- package/dist/esm/queries/NullObservableQueryConnection.js.map +1 -1
- package/dist/esm/queries/ObservableQueryConnection.d.ts +14 -1
- package/dist/esm/queries/ObservableQueryConnection.d.ts.map +1 -1
- package/dist/esm/queries/ObservableQueryConnection.js +73 -2
- package/dist/esm/queries/ObservableQueryConnection.js.map +1 -1
- 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/WebSocketMessage.d.ts +11 -0
- package/dist/esm/queries/WebSocketMessage.d.ts.map +1 -0
- package/dist/esm/queries/WebSocketMessage.js +9 -0
- package/dist/esm/queries/WebSocketMessage.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 +2 -0
- package/dist/esm/queries/index.d.ts.map +1 -1
- package/dist/esm/queries/index.js +2 -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/helpers/fetchHelper.ts +30 -0
- package/identity/IIdentityProvider.ts +4 -1
- package/identity/IdentityProvider.ts +14 -9
- package/identity/for_IdentityProvider/given/an_identity_provider.ts +4 -5
- package/identity/for_IdentityProvider/when_getting_current/with_type_safe_details.ts +43 -0
- package/identity/for_IdentityProvider/when_refreshing/with_type_safe_details.ts +42 -0
- package/package.json +1 -1
- package/queries/IObservableQueryConnection.ts +10 -0
- package/queries/NullObservableQueryConnection.ts +10 -0
- package/queries/ObservableQueryConnection.ts +93 -2
- package/queries/QueryFor.ts +29 -0
- package/queries/QueryValidator.ts +19 -0
- package/queries/WebSocketMessage.ts +44 -0
- package/queries/for_ObservableQueryConnection/given/an_observable_query_connection.ts +27 -0
- package/queries/for_ObservableQueryConnection/when_constructing.ts +15 -0
- package/queries/for_ObservableQueryFor/when_performing/with_enumerable_query.ts +5 -2
- package/queries/for_ObservableQueryFor/when_performing/with_paging.ts +5 -6
- package/queries/for_ObservableQueryFor/when_performing/with_parameter_descriptor_values.ts +5 -2
- package/queries/for_ObservableQueryFor/when_performing/with_partial_parameter_descriptor_values.ts +5 -2
- package/queries/for_ObservableQueryFor/when_performing/with_route_parameters_and_unused_parameters.ts +5 -2
- package/queries/for_ObservableQueryFor/when_performing/with_sorting.ts +5 -2
- package/queries/for_ObservableQueryFor/when_performing/with_valid_arguments.ts +7 -2
- package/queries/for_QueryFor/given/a_query_with_validator.ts +54 -0
- package/queries/for_QueryFor/when_performing/with_abort_controller.ts +6 -3
- 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_enumerable_query.ts +5 -2
- package/queries/for_QueryFor/when_performing/with_fetch_error.ts +5 -2
- package/queries/for_QueryFor/when_performing/with_json_parse_error.ts +6 -3
- package/queries/for_QueryFor/when_performing/with_paging.ts +5 -2
- package/queries/for_QueryFor/when_performing/with_parameter_descriptor_values.ts +5 -2
- package/queries/for_QueryFor/when_performing/with_partial_parameter_descriptor_values.ts +5 -2
- package/queries/for_QueryFor/when_performing/with_query_without_required_parameters.ts +5 -6
- package/queries/for_QueryFor/when_performing/with_route_parameters_and_unused_parameters.ts +5 -2
- package/queries/for_QueryFor/when_performing/with_sorting.ts +8 -4
- package/queries/for_QueryFor/when_performing/with_valid_arguments.ts +6 -3
- 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/for_WebSocketMessage/when_creating_messages.ts +67 -0
- package/queries/index.ts +3 -1
- 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,29 @@
|
|
|
1
|
+
// Copyright (c) Cratis. All rights reserved.
|
|
2
|
+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
3
|
+
|
|
4
|
+
import { MaxLengthRule } from '../../LengthRules';
|
|
5
|
+
|
|
6
|
+
interface TestType {
|
|
7
|
+
value: string;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
describe("when validating with string longer than maximum", () => {
|
|
11
|
+
let rule: MaxLengthRule<TestType>;
|
|
12
|
+
let instance: TestType;
|
|
13
|
+
let results: ReturnType<typeof rule.validate>;
|
|
14
|
+
|
|
15
|
+
beforeEach(() => {
|
|
16
|
+
rule = new MaxLengthRule<TestType>(t => t.value, 5);
|
|
17
|
+
instance = { value: 'abcdefg' };
|
|
18
|
+
|
|
19
|
+
results = rule.validate(instance, 'value');
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
it("should_return_one_validation_error", () => {
|
|
23
|
+
results.should.have.lengthOf(1);
|
|
24
|
+
});
|
|
25
|
+
|
|
26
|
+
it("should_include_maximum_length_in_message", () => {
|
|
27
|
+
results[0].message.should.include('5');
|
|
28
|
+
});
|
|
29
|
+
});
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// Copyright (c) Cratis. All rights reserved.
|
|
2
|
+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
3
|
+
|
|
4
|
+
import { MinLengthRule } from '../../LengthRules';
|
|
5
|
+
|
|
6
|
+
interface TestType {
|
|
7
|
+
value: string;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
describe("when validating with string equal to minimum", () => {
|
|
11
|
+
let rule: MinLengthRule<TestType>;
|
|
12
|
+
let instance: TestType;
|
|
13
|
+
let results: ReturnType<typeof rule.validate>;
|
|
14
|
+
|
|
15
|
+
beforeEach(() => {
|
|
16
|
+
rule = new MinLengthRule<TestType>(t => t.value, 5);
|
|
17
|
+
instance = { value: 'abcde' };
|
|
18
|
+
|
|
19
|
+
results = rule.validate(instance, 'value');
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
it("should_return_no_validation_errors", () => {
|
|
23
|
+
results.should.be.empty;
|
|
24
|
+
});
|
|
25
|
+
});
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// Copyright (c) Cratis. All rights reserved.
|
|
2
|
+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
3
|
+
|
|
4
|
+
import { MinLengthRule } from '../../LengthRules';
|
|
5
|
+
|
|
6
|
+
interface TestType {
|
|
7
|
+
value: string;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
describe("when validating with string longer than minimum", () => {
|
|
11
|
+
let rule: MinLengthRule<TestType>;
|
|
12
|
+
let instance: TestType;
|
|
13
|
+
let results: ReturnType<typeof rule.validate>;
|
|
14
|
+
|
|
15
|
+
beforeEach(() => {
|
|
16
|
+
rule = new MinLengthRule<TestType>(t => t.value, 5);
|
|
17
|
+
instance = { value: 'abcdefg' };
|
|
18
|
+
|
|
19
|
+
results = rule.validate(instance, 'value');
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
it("should_return_no_validation_errors", () => {
|
|
23
|
+
results.should.be.empty;
|
|
24
|
+
});
|
|
25
|
+
});
|
package/validation/rules/for_MinLengthRule/when_validating/with_string_shorter_than_minimum.ts
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
// Copyright (c) Cratis. All rights reserved.
|
|
2
|
+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
3
|
+
|
|
4
|
+
import { MinLengthRule } from '../../LengthRules';
|
|
5
|
+
|
|
6
|
+
interface TestType {
|
|
7
|
+
value: string;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
describe("when validating with string shorter than minimum", () => {
|
|
11
|
+
let rule: MinLengthRule<TestType>;
|
|
12
|
+
let instance: TestType;
|
|
13
|
+
let results: ReturnType<typeof rule.validate>;
|
|
14
|
+
|
|
15
|
+
beforeEach(() => {
|
|
16
|
+
rule = new MinLengthRule<TestType>(t => t.value, 5);
|
|
17
|
+
instance = { value: 'abc' };
|
|
18
|
+
|
|
19
|
+
results = rule.validate(instance, 'value');
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
it("should_return_one_validation_error", () => {
|
|
23
|
+
results.should.have.lengthOf(1);
|
|
24
|
+
});
|
|
25
|
+
|
|
26
|
+
it("should_include_minimum_length_in_message", () => {
|
|
27
|
+
results[0].message.should.include('5');
|
|
28
|
+
});
|
|
29
|
+
});
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
// Copyright (c) Cratis. All rights reserved.
|
|
2
|
+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
3
|
+
|
|
4
|
+
import { NotEmptyRule } from '../NotEmptyRule';
|
|
5
|
+
|
|
6
|
+
interface TestType {
|
|
7
|
+
value: string | null;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
describe("when setting custom message", () => {
|
|
11
|
+
let rule: NotEmptyRule<TestType>;
|
|
12
|
+
let instance: TestType;
|
|
13
|
+
let customMessage: string;
|
|
14
|
+
let results: ReturnType<typeof rule.validate>;
|
|
15
|
+
|
|
16
|
+
beforeEach(() => {
|
|
17
|
+
customMessage = 'This field is required';
|
|
18
|
+
rule = new NotEmptyRule<TestType>(t => t.value).withMessage(customMessage);
|
|
19
|
+
instance = { value: null };
|
|
20
|
+
|
|
21
|
+
results = rule.validate(instance, 'value');
|
|
22
|
+
});
|
|
23
|
+
|
|
24
|
+
it("should_use_custom_message", () => {
|
|
25
|
+
results[0].message.should.equal(customMessage);
|
|
26
|
+
});
|
|
27
|
+
});
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// Copyright (c) Cratis. All rights reserved.
|
|
2
|
+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
3
|
+
|
|
4
|
+
import { NotEmptyRule } from '../../NotEmptyRule';
|
|
5
|
+
|
|
6
|
+
interface TestType {
|
|
7
|
+
value: string[];
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
describe("when validating with empty array", () => {
|
|
11
|
+
let rule: NotEmptyRule<TestType>;
|
|
12
|
+
let instance: TestType;
|
|
13
|
+
let results: ReturnType<typeof rule.validate>;
|
|
14
|
+
|
|
15
|
+
beforeEach(() => {
|
|
16
|
+
rule = new NotEmptyRule<TestType>(t => t.value);
|
|
17
|
+
instance = { value: [] };
|
|
18
|
+
|
|
19
|
+
results = rule.validate(instance, 'value');
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
it("should_return_one_validation_error", () => {
|
|
23
|
+
results.should.have.lengthOf(1);
|
|
24
|
+
});
|
|
25
|
+
});
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// Copyright (c) Cratis. All rights reserved.
|
|
2
|
+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
3
|
+
|
|
4
|
+
import { NotEmptyRule } from '../../NotEmptyRule';
|
|
5
|
+
|
|
6
|
+
interface TestType {
|
|
7
|
+
value: string;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
describe("when validating with empty string", () => {
|
|
11
|
+
let rule: NotEmptyRule<TestType>;
|
|
12
|
+
let instance: TestType;
|
|
13
|
+
let results: ReturnType<typeof rule.validate>;
|
|
14
|
+
|
|
15
|
+
beforeEach(() => {
|
|
16
|
+
rule = new NotEmptyRule<TestType>(t => t.value);
|
|
17
|
+
instance = { value: '' };
|
|
18
|
+
|
|
19
|
+
results = rule.validate(instance, 'value');
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
it("should_return_one_validation_error", () => {
|
|
23
|
+
results.should.have.lengthOf(1);
|
|
24
|
+
});
|
|
25
|
+
});
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// Copyright (c) Cratis. All rights reserved.
|
|
2
|
+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
3
|
+
|
|
4
|
+
import { NotEmptyRule } from '../../NotEmptyRule';
|
|
5
|
+
|
|
6
|
+
interface TestType {
|
|
7
|
+
value: string[];
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
describe("when validating with non empty array", () => {
|
|
11
|
+
let rule: NotEmptyRule<TestType>;
|
|
12
|
+
let instance: TestType;
|
|
13
|
+
let results: ReturnType<typeof rule.validate>;
|
|
14
|
+
|
|
15
|
+
beforeEach(() => {
|
|
16
|
+
rule = new NotEmptyRule<TestType>(t => t.value);
|
|
17
|
+
instance = { value: ['item'] };
|
|
18
|
+
|
|
19
|
+
results = rule.validate(instance, 'value');
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
it("should_return_no_validation_errors", () => {
|
|
23
|
+
results.should.be.empty;
|
|
24
|
+
});
|
|
25
|
+
});
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
// Copyright (c) Cratis. All rights reserved.
|
|
2
|
+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
3
|
+
|
|
4
|
+
import { NotEmptyRule } from '../../NotEmptyRule';
|
|
5
|
+
import { ValidationResultSeverity } from '../../../ValidationResultSeverity';
|
|
6
|
+
|
|
7
|
+
interface TestType {
|
|
8
|
+
value: string | null;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
describe("when validating with null value", () => {
|
|
12
|
+
let rule: NotEmptyRule<TestType>;
|
|
13
|
+
let instance: TestType;
|
|
14
|
+
let results: ReturnType<typeof rule.validate>;
|
|
15
|
+
|
|
16
|
+
beforeEach(() => {
|
|
17
|
+
rule = new NotEmptyRule<TestType>(t => t.value);
|
|
18
|
+
instance = { value: null };
|
|
19
|
+
|
|
20
|
+
results = rule.validate(instance, 'value');
|
|
21
|
+
});
|
|
22
|
+
|
|
23
|
+
it("should_return_one_validation_error", () => {
|
|
24
|
+
results.should.have.lengthOf(1);
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
it("should_have_error_severity", () => {
|
|
28
|
+
results[0].severity.should.equal(ValidationResultSeverity.Error);
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
it("should_have_property_name_in_message", () => {
|
|
32
|
+
results[0].message.should.include('value');
|
|
33
|
+
});
|
|
34
|
+
|
|
35
|
+
it("should_include_property_in_members", () => {
|
|
36
|
+
results[0].members.should.include('value');
|
|
37
|
+
});
|
|
38
|
+
});
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
// Copyright (c) Cratis. All rights reserved.
|
|
2
|
+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
3
|
+
|
|
4
|
+
import { NotEmptyRule } from '../../NotEmptyRule';
|
|
5
|
+
import { ValidationResultSeverity } from '../../../ValidationResultSeverity';
|
|
6
|
+
|
|
7
|
+
interface TestType {
|
|
8
|
+
value: string | undefined;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
describe("when validating with undefined value", () => {
|
|
12
|
+
let rule: NotEmptyRule<TestType>;
|
|
13
|
+
let instance: TestType;
|
|
14
|
+
let results: ReturnType<typeof rule.validate>;
|
|
15
|
+
|
|
16
|
+
beforeEach(() => {
|
|
17
|
+
rule = new NotEmptyRule<TestType>(t => t.value);
|
|
18
|
+
instance = { value: undefined };
|
|
19
|
+
|
|
20
|
+
results = rule.validate(instance, 'value');
|
|
21
|
+
});
|
|
22
|
+
|
|
23
|
+
it("should_return_one_validation_error", () => {
|
|
24
|
+
results.should.have.lengthOf(1);
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
it("should_have_error_severity", () => {
|
|
28
|
+
results[0].severity.should.equal(ValidationResultSeverity.Error);
|
|
29
|
+
});
|
|
30
|
+
});
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// Copyright (c) Cratis. All rights reserved.
|
|
2
|
+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
3
|
+
|
|
4
|
+
import { NotEmptyRule } from '../../NotEmptyRule';
|
|
5
|
+
|
|
6
|
+
interface TestType {
|
|
7
|
+
value: string;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
describe("when validating with valid string", () => {
|
|
11
|
+
let rule: NotEmptyRule<TestType>;
|
|
12
|
+
let instance: TestType;
|
|
13
|
+
let results: ReturnType<typeof rule.validate>;
|
|
14
|
+
|
|
15
|
+
beforeEach(() => {
|
|
16
|
+
rule = new NotEmptyRule<TestType>(t => t.value);
|
|
17
|
+
instance = { value: 'test' };
|
|
18
|
+
|
|
19
|
+
results = rule.validate(instance, 'value');
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
it("should_return_no_validation_errors", () => {
|
|
23
|
+
results.should.be.empty;
|
|
24
|
+
});
|
|
25
|
+
});
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// Copyright (c) Cratis. All rights reserved.
|
|
2
|
+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
3
|
+
|
|
4
|
+
import { NotEmptyRule } from '../../NotEmptyRule';
|
|
5
|
+
|
|
6
|
+
interface TestType {
|
|
7
|
+
value: string;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
describe("when validating with whitespace string", () => {
|
|
11
|
+
let rule: NotEmptyRule<TestType>;
|
|
12
|
+
let instance: TestType;
|
|
13
|
+
let results: ReturnType<typeof rule.validate>;
|
|
14
|
+
|
|
15
|
+
beforeEach(() => {
|
|
16
|
+
rule = new NotEmptyRule<TestType>(t => t.value);
|
|
17
|
+
instance = { value: ' ' };
|
|
18
|
+
|
|
19
|
+
results = rule.validate(instance, 'value');
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
it("should_return_one_validation_error", () => {
|
|
23
|
+
results.should.have.lengthOf(1);
|
|
24
|
+
});
|
|
25
|
+
});
|