@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
package/dist/esm/for_UrlHelpers/when_building_query_params/with_additional_parameters.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"with_additional_parameters.d.ts","sourceRoot":"","sources":["../../../../for_UrlHelpers/when_building_query_params/with_additional_parameters.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { describe, it, beforeEach } from 'vitest';
|
|
2
|
+
import { UrlHelpers } from '../../UrlHelpers';
|
|
3
|
+
describe('when building query params with additional parameters', () => {
|
|
4
|
+
let unusedParameters;
|
|
5
|
+
let additionalParams;
|
|
6
|
+
let result;
|
|
7
|
+
beforeEach(() => {
|
|
8
|
+
unusedParameters = { filter: 'active' };
|
|
9
|
+
additionalParams = { page: 1, pageSize: 25 };
|
|
10
|
+
result = UrlHelpers.buildQueryParams(unusedParameters, additionalParams);
|
|
11
|
+
});
|
|
12
|
+
it('should contain filter parameter', () => result.get('filter').should.equal('active'));
|
|
13
|
+
it('should contain page parameter', () => result.get('page').should.equal('1'));
|
|
14
|
+
it('should contain pageSize parameter', () => result.get('pageSize').should.equal('25'));
|
|
15
|
+
it('should have three parameters', () => Array.from(result.keys()).length.should.equal(3));
|
|
16
|
+
});
|
|
17
|
+
//# sourceMappingURL=with_additional_parameters.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"with_additional_parameters.js","sourceRoot":"","sources":["../../../../for_UrlHelpers/when_building_query_params/with_additional_parameters.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE9C,QAAQ,CAAC,uDAAuD,EAAE,GAAG,EAAE;IACnE,IAAI,gBAAwB,CAAC;IAC7B,IAAI,gBAAiD,CAAC;IACtD,IAAI,MAAuB,CAAC;IAE5B,UAAU,CAAC,GAAG,EAAE;QACZ,gBAAgB,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC;QACxC,gBAAgB,GAAG,EAAE,IAAI,EAAE,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC;QAE7C,MAAM,GAAG,UAAU,CAAC,gBAAgB,CAAC,gBAAgB,EAAE,gBAAgB,CAAC,CAAC;IAC7E,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,iCAAiC,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,QAAQ,CAAE,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC;IAC1F,EAAE,CAAC,+BAA+B,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,MAAM,CAAE,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC;IACjF,EAAE,CAAC,mCAAmC,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,UAAU,CAAE,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC;IAC1F,EAAE,CAAC,8BAA8B,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;AAC/F,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"with_empty_parameters.d.ts","sourceRoot":"","sources":["../../../../for_UrlHelpers/when_building_query_params/with_empty_parameters.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { describe, it, beforeEach } from 'vitest';
|
|
2
|
+
import { UrlHelpers } from '../../UrlHelpers';
|
|
3
|
+
describe('when building query params with empty parameters', () => {
|
|
4
|
+
let result;
|
|
5
|
+
beforeEach(() => {
|
|
6
|
+
result = UrlHelpers.buildQueryParams({});
|
|
7
|
+
});
|
|
8
|
+
it('should return empty search params', () => result.toString().should.equal(''));
|
|
9
|
+
it('should have no parameters', () => Array.from(result.keys()).length.should.equal(0));
|
|
10
|
+
});
|
|
11
|
+
//# sourceMappingURL=with_empty_parameters.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"with_empty_parameters.js","sourceRoot":"","sources":["../../../../for_UrlHelpers/when_building_query_params/with_empty_parameters.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE9C,QAAQ,CAAC,kDAAkD,EAAE,GAAG,EAAE;IAC9D,IAAI,MAAuB,CAAC;IAE5B,UAAU,CAAC,GAAG,EAAE;QACZ,MAAM,GAAG,UAAU,CAAC,gBAAgB,CAAC,EAAE,CAAC,CAAC;IAC7C,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,mCAAmC,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,QAAQ,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,CAAC;IAClF,EAAE,CAAC,2BAA2B,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;AAC5F,CAAC,CAAC,CAAC"}
|
package/dist/esm/for_UrlHelpers/when_building_query_params/with_null_and_undefined_values.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"with_null_and_undefined_values.d.ts","sourceRoot":"","sources":["../../../../for_UrlHelpers/when_building_query_params/with_null_and_undefined_values.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { describe, it, beforeEach } from 'vitest';
|
|
2
|
+
import { UrlHelpers } from '../../UrlHelpers';
|
|
3
|
+
describe('when building query params with null and undefined values', () => {
|
|
4
|
+
let unusedParameters;
|
|
5
|
+
let result;
|
|
6
|
+
beforeEach(() => {
|
|
7
|
+
unusedParameters = { filter: 'active', nullValue: null, undefinedValue: undefined, search: 'test' };
|
|
8
|
+
result = UrlHelpers.buildQueryParams(unusedParameters);
|
|
9
|
+
});
|
|
10
|
+
it('should contain filter parameter', () => result.get('filter').should.equal('active'));
|
|
11
|
+
it('should contain search parameter', () => result.get('search').should.equal('test'));
|
|
12
|
+
it('should not contain null value', () => (result.get('nullValue') === null).should.be.true);
|
|
13
|
+
it('should not contain undefined value', () => (result.get('undefinedValue') === null).should.be.true);
|
|
14
|
+
it('should have two parameters', () => Array.from(result.keys()).length.should.equal(2));
|
|
15
|
+
});
|
|
16
|
+
//# sourceMappingURL=with_null_and_undefined_values.js.map
|
package/dist/esm/for_UrlHelpers/when_building_query_params/with_null_and_undefined_values.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"with_null_and_undefined_values.js","sourceRoot":"","sources":["../../../../for_UrlHelpers/when_building_query_params/with_null_and_undefined_values.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE9C,QAAQ,CAAC,2DAA2D,EAAE,GAAG,EAAE;IACvE,IAAI,gBAAwB,CAAC;IAC7B,IAAI,MAAuB,CAAC;IAE5B,UAAU,CAAC,GAAG,EAAE;QACZ,gBAAgB,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,IAAI,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;QAEpG,MAAM,GAAG,UAAU,CAAC,gBAAgB,CAAC,gBAAgB,CAAC,CAAC;IAC3D,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,iCAAiC,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,QAAQ,CAAE,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC;IAC1F,EAAE,CAAC,iCAAiC,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,QAAQ,CAAE,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC;IACxF,EAAE,CAAC,+BAA+B,EAAE,GAAG,EAAE,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,WAAW,CAAC,KAAK,IAAI,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC;IAC7F,EAAE,CAAC,oCAAoC,EAAE,GAAG,EAAE,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC;IACvG,EAAE,CAAC,4BAA4B,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;AAC7F,CAAC,CAAC,CAAC"}
|
package/dist/esm/for_UrlHelpers/when_building_query_params/with_unused_parameters_only.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"with_unused_parameters_only.d.ts","sourceRoot":"","sources":["../../../../for_UrlHelpers/when_building_query_params/with_unused_parameters_only.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { describe, it, beforeEach } from 'vitest';
|
|
2
|
+
import { UrlHelpers } from '../../UrlHelpers';
|
|
3
|
+
describe('when building query params with unused parameters only', () => {
|
|
4
|
+
let unusedParameters;
|
|
5
|
+
let result;
|
|
6
|
+
beforeEach(() => {
|
|
7
|
+
unusedParameters = { filter: 'active', search: 'test', limit: 10 };
|
|
8
|
+
result = UrlHelpers.buildQueryParams(unusedParameters);
|
|
9
|
+
});
|
|
10
|
+
it('should contain filter parameter', () => result.get('filter').should.equal('active'));
|
|
11
|
+
it('should contain search parameter', () => result.get('search').should.equal('test'));
|
|
12
|
+
it('should contain limit parameter', () => result.get('limit').should.equal('10'));
|
|
13
|
+
it('should have three parameters', () => Array.from(result.keys()).length.should.equal(3));
|
|
14
|
+
});
|
|
15
|
+
//# sourceMappingURL=with_unused_parameters_only.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"with_unused_parameters_only.js","sourceRoot":"","sources":["../../../../for_UrlHelpers/when_building_query_params/with_unused_parameters_only.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE9C,QAAQ,CAAC,wDAAwD,EAAE,GAAG,EAAE;IACpE,IAAI,gBAAwB,CAAC;IAC7B,IAAI,MAAuB,CAAC;IAE5B,UAAU,CAAC,GAAG,EAAE;QACZ,gBAAgB,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC;QAEnE,MAAM,GAAG,UAAU,CAAC,gBAAgB,CAAC,gBAAgB,CAAC,CAAC;IAC3D,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,iCAAiC,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,QAAQ,CAAE,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC;IAC1F,EAAE,CAAC,iCAAiC,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,QAAQ,CAAE,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC;IACxF,EAAE,CAAC,gCAAgC,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,GAAG,CAAC,OAAO,CAAE,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC;IACpF,EAAE,CAAC,8BAA8B,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;AAC/F,CAAC,CAAC,CAAC"}
|
package/dist/esm/for_UrlHelpers/when_creating_url_from/with_base_path_ending_with_slash.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"with_base_path_ending_with_slash.d.ts","sourceRoot":"","sources":["../../../../for_UrlHelpers/when_creating_url_from/with_base_path_ending_with_slash.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { UrlHelpers } from '../../UrlHelpers';
|
|
2
|
+
describe("with_base_path_ending_with_slash", () => {
|
|
3
|
+
let origin;
|
|
4
|
+
let apiBasePath;
|
|
5
|
+
let route;
|
|
6
|
+
let result;
|
|
7
|
+
beforeEach(() => {
|
|
8
|
+
origin = 'https://example.com';
|
|
9
|
+
apiBasePath = '/api/v1/';
|
|
10
|
+
route = 'users/123';
|
|
11
|
+
result = UrlHelpers.createUrlFrom(origin, apiBasePath, route);
|
|
12
|
+
});
|
|
13
|
+
it("should_create_correct_url", () => {
|
|
14
|
+
result.href.should.equal('https://example.com/api/v1/users/123');
|
|
15
|
+
});
|
|
16
|
+
it("should_have_correct_origin", () => {
|
|
17
|
+
result.origin.should.equal('https://example.com');
|
|
18
|
+
});
|
|
19
|
+
it("should_have_correct_pathname", () => {
|
|
20
|
+
result.pathname.should.equal('/api/v1/users/123');
|
|
21
|
+
});
|
|
22
|
+
});
|
|
23
|
+
//# sourceMappingURL=with_base_path_ending_with_slash.js.map
|
package/dist/esm/for_UrlHelpers/when_creating_url_from/with_base_path_ending_with_slash.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"with_base_path_ending_with_slash.js","sourceRoot":"","sources":["../../../../for_UrlHelpers/when_creating_url_from/with_base_path_ending_with_slash.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAG9C,QAAQ,CAAC,kCAAkC,EAAE,GAAG,EAAE;IAC9C,IAAI,MAAc,CAAC;IACnB,IAAI,WAAmB,CAAC;IACxB,IAAI,KAAa,CAAC;IAClB,IAAI,MAAW,CAAC;IAEhB,UAAU,CAAC,GAAG,EAAE;QACZ,MAAM,GAAG,qBAAqB,CAAC;QAC/B,WAAW,GAAG,UAAU,CAAC;QACzB,KAAK,GAAG,WAAW,CAAC;QAEpB,MAAM,GAAG,UAAU,CAAC,aAAa,CAAC,MAAM,EAAE,WAAW,EAAE,KAAK,CAAC,CAAC;IAClE,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,2BAA2B,EAAE,GAAG,EAAE;QACjC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,sCAAsC,CAAC,CAAC;IACrE,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,4BAA4B,EAAE,GAAG,EAAE;QAClC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAAC;IACtD,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,8BAA8B,EAAE,GAAG,EAAE;QACpC,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC;IACtD,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"with_empty_origin.d.ts","sourceRoot":"","sources":["../../../../for_UrlHelpers/when_creating_url_from/with_empty_origin.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { UrlHelpers } from '../../UrlHelpers';
|
|
2
|
+
describe("with_empty_origin", () => {
|
|
3
|
+
let origin;
|
|
4
|
+
let apiBasePath;
|
|
5
|
+
let route;
|
|
6
|
+
let result;
|
|
7
|
+
let originalDocument;
|
|
8
|
+
beforeEach(() => {
|
|
9
|
+
originalDocument = global.document;
|
|
10
|
+
global.document = {
|
|
11
|
+
location: {
|
|
12
|
+
origin: 'https://mocked-origin.com'
|
|
13
|
+
}
|
|
14
|
+
};
|
|
15
|
+
origin = '';
|
|
16
|
+
apiBasePath = '/api/v1';
|
|
17
|
+
route = '/users/123';
|
|
18
|
+
result = UrlHelpers.createUrlFrom(origin, apiBasePath, route);
|
|
19
|
+
});
|
|
20
|
+
afterEach(() => {
|
|
21
|
+
if (originalDocument) {
|
|
22
|
+
global.document = originalDocument;
|
|
23
|
+
}
|
|
24
|
+
else {
|
|
25
|
+
delete global.document;
|
|
26
|
+
}
|
|
27
|
+
});
|
|
28
|
+
it("should_use_document_location_origin", () => {
|
|
29
|
+
result.origin.should.equal('https://mocked-origin.com');
|
|
30
|
+
});
|
|
31
|
+
it("should_create_correct_url_with_document_origin", () => {
|
|
32
|
+
result.href.should.equal('https://mocked-origin.com/users/123');
|
|
33
|
+
});
|
|
34
|
+
});
|
|
35
|
+
//# sourceMappingURL=with_empty_origin.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"with_empty_origin.js","sourceRoot":"","sources":["../../../../for_UrlHelpers/when_creating_url_from/with_empty_origin.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAG9C,QAAQ,CAAC,mBAAmB,EAAE,GAAG,EAAE;IAC/B,IAAI,MAAc,CAAC;IACnB,IAAI,WAAmB,CAAC;IACxB,IAAI,KAAa,CAAC;IAClB,IAAI,MAAW,CAAC;IAChB,IAAI,gBAAsC,CAAC;IAE3C,UAAU,CAAC,GAAG,EAAE;QAEZ,gBAAgB,GAAG,MAAM,CAAC,QAAQ,CAAC;QACnC,MAAM,CAAC,QAAQ,GAAG;YACd,QAAQ,EAAE;gBACN,MAAM,EAAE,2BAA2B;aACtC;SACmB,CAAC;QAEzB,MAAM,GAAG,EAAE,CAAC;QACZ,WAAW,GAAG,SAAS,CAAC;QACxB,KAAK,GAAG,YAAY,CAAC;QAErB,MAAM,GAAG,UAAU,CAAC,aAAa,CAAC,MAAM,EAAE,WAAW,EAAE,KAAK,CAAC,CAAC;IAClE,CAAC,CAAC,CAAC;IAEH,SAAS,CAAC,GAAG,EAAE;QACX,IAAI,gBAAgB,EAAE,CAAC;YACnB,MAAM,CAAC,QAAQ,GAAG,gBAAgB,CAAC;QACvC,CAAC;aAAM,CAAC;YACJ,OAAQ,MAAkC,CAAC,QAAQ,CAAC;QACxD,CAAC;IACL,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,qCAAqC,EAAE,GAAG,EAAE;QAC3C,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,2BAA2B,CAAC,CAAC;IAC5D,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,gDAAgD,EAAE,GAAG,EAAE;QACtD,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,qCAAqC,CAAC,CAAC;IACpE,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"with_null_or_undefined_origin.d.ts","sourceRoot":"","sources":["../../../../for_UrlHelpers/when_creating_url_from/with_null_or_undefined_origin.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { UrlHelpers } from '../../UrlHelpers';
|
|
2
|
+
describe("with_null_or_undefined_origin", () => {
|
|
3
|
+
let apiBasePath;
|
|
4
|
+
let route;
|
|
5
|
+
let result;
|
|
6
|
+
let originalDocument;
|
|
7
|
+
beforeEach(() => {
|
|
8
|
+
originalDocument = global.document;
|
|
9
|
+
global.document = {
|
|
10
|
+
location: {
|
|
11
|
+
origin: 'https://fallback-origin.com'
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
apiBasePath = '/api/v1';
|
|
15
|
+
route = '/users/123';
|
|
16
|
+
});
|
|
17
|
+
afterEach(() => {
|
|
18
|
+
if (originalDocument) {
|
|
19
|
+
global.document = originalDocument;
|
|
20
|
+
}
|
|
21
|
+
else {
|
|
22
|
+
delete global.document;
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
it("should_use_document_location_origin_when_null", () => {
|
|
26
|
+
result = UrlHelpers.createUrlFrom(null, apiBasePath, route);
|
|
27
|
+
result.origin.should.equal('https://fallback-origin.com');
|
|
28
|
+
});
|
|
29
|
+
it("should_use_document_location_origin_when_undefined", () => {
|
|
30
|
+
result = UrlHelpers.createUrlFrom(undefined, apiBasePath, route);
|
|
31
|
+
result.origin.should.equal('https://fallback-origin.com');
|
|
32
|
+
});
|
|
33
|
+
it("should_create_correct_url_with_document_origin_when_null", () => {
|
|
34
|
+
result = UrlHelpers.createUrlFrom(null, apiBasePath, route);
|
|
35
|
+
result.href.should.equal('https://fallback-origin.com/users/123');
|
|
36
|
+
});
|
|
37
|
+
it("should_create_correct_url_with_document_origin_when_undefined", () => {
|
|
38
|
+
result = UrlHelpers.createUrlFrom(undefined, apiBasePath, route);
|
|
39
|
+
result.href.should.equal('https://fallback-origin.com/users/123');
|
|
40
|
+
});
|
|
41
|
+
});
|
|
42
|
+
//# sourceMappingURL=with_null_or_undefined_origin.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"with_null_or_undefined_origin.js","sourceRoot":"","sources":["../../../../for_UrlHelpers/when_creating_url_from/with_null_or_undefined_origin.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAG9C,QAAQ,CAAC,+BAA+B,EAAE,GAAG,EAAE;IAC3C,IAAI,WAAmB,CAAC;IACxB,IAAI,KAAa,CAAC;IAClB,IAAI,MAAW,CAAC;IAChB,IAAI,gBAAsC,CAAC;IAE3C,UAAU,CAAC,GAAG,EAAE;QAEZ,gBAAgB,GAAG,MAAM,CAAC,QAAQ,CAAC;QACnC,MAAM,CAAC,QAAQ,GAAG;YACd,QAAQ,EAAE;gBACN,MAAM,EAAE,6BAA6B;aACxC;SACmB,CAAC;QAEzB,WAAW,GAAG,SAAS,CAAC;QACxB,KAAK,GAAG,YAAY,CAAC;IACzB,CAAC,CAAC,CAAC;IAEH,SAAS,CAAC,GAAG,EAAE;QACX,IAAI,gBAAgB,EAAE,CAAC;YACnB,MAAM,CAAC,QAAQ,GAAG,gBAAgB,CAAC;QACvC,CAAC;aAAM,CAAC;YACJ,OAAQ,MAAkC,CAAC,QAAQ,CAAC;QACxD,CAAC;IACL,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,+CAA+C,EAAE,GAAG,EAAE;QACrD,MAAM,GAAG,UAAU,CAAC,aAAa,CAAC,IAAyB,EAAE,WAAW,EAAE,KAAK,CAAC,CAAC;QACjF,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,6BAA6B,CAAC,CAAC;IAC9D,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,oDAAoD,EAAE,GAAG,EAAE;QAC1D,MAAM,GAAG,UAAU,CAAC,aAAa,CAAC,SAA8B,EAAE,WAAW,EAAE,KAAK,CAAC,CAAC;QACtF,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,6BAA6B,CAAC,CAAC;IAC9D,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,0DAA0D,EAAE,GAAG,EAAE;QAChE,MAAM,GAAG,UAAU,CAAC,aAAa,CAAC,IAAyB,EAAE,WAAW,EAAE,KAAK,CAAC,CAAC;QACjF,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,uCAAuC,CAAC,CAAC;IACtE,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,+DAA+D,EAAE,GAAG,EAAE;QACrE,MAAM,GAAG,UAAU,CAAC,aAAa,CAAC,SAA8B,EAAE,WAAW,EAAE,KAAK,CAAC,CAAC;QACtF,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,uCAAuC,CAAC,CAAC;IACtE,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"with_relative_route.d.ts","sourceRoot":"","sources":["../../../../for_UrlHelpers/when_creating_url_from/with_relative_route.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { UrlHelpers } from '../../UrlHelpers';
|
|
2
|
+
describe("with_relative_route", () => {
|
|
3
|
+
let origin;
|
|
4
|
+
let apiBasePath;
|
|
5
|
+
let route;
|
|
6
|
+
let result;
|
|
7
|
+
beforeEach(() => {
|
|
8
|
+
origin = 'https://example.com';
|
|
9
|
+
apiBasePath = '/api/v1';
|
|
10
|
+
route = 'users/123';
|
|
11
|
+
result = UrlHelpers.createUrlFrom(origin, apiBasePath, route);
|
|
12
|
+
});
|
|
13
|
+
it("should_create_correct_url_with_relative_route", () => {
|
|
14
|
+
result.href.should.equal('https://example.com/api/users/123');
|
|
15
|
+
});
|
|
16
|
+
it("should_have_correct_origin", () => {
|
|
17
|
+
result.origin.should.equal('https://example.com');
|
|
18
|
+
});
|
|
19
|
+
it("should_have_correct_pathname", () => {
|
|
20
|
+
result.pathname.should.equal('/api/users/123');
|
|
21
|
+
});
|
|
22
|
+
});
|
|
23
|
+
//# sourceMappingURL=with_relative_route.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"with_relative_route.js","sourceRoot":"","sources":["../../../../for_UrlHelpers/when_creating_url_from/with_relative_route.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAG9C,QAAQ,CAAC,qBAAqB,EAAE,GAAG,EAAE;IACjC,IAAI,MAAc,CAAC;IACnB,IAAI,WAAmB,CAAC;IACxB,IAAI,KAAa,CAAC;IAClB,IAAI,MAAW,CAAC;IAEhB,UAAU,CAAC,GAAG,EAAE;QACZ,MAAM,GAAG,qBAAqB,CAAC;QAC/B,WAAW,GAAG,SAAS,CAAC;QACxB,KAAK,GAAG,WAAW,CAAC;QAEpB,MAAM,GAAG,UAAU,CAAC,aAAa,CAAC,MAAM,EAAE,WAAW,EAAE,KAAK,CAAC,CAAC;IAClE,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,+CAA+C,EAAE,GAAG,EAAE;QACrD,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,mCAAmC,CAAC,CAAC;IAClE,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,4BAA4B,EAAE,GAAG,EAAE;QAClC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAAC;IACtD,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,8BAA8B,EAAE,GAAG,EAAE;QACpC,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC;IACnD,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"with_valid_parameters.d.ts","sourceRoot":"","sources":["../../../../for_UrlHelpers/when_creating_url_from/with_valid_parameters.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { UrlHelpers } from '../../UrlHelpers';
|
|
2
|
+
describe("with_valid_parameters", () => {
|
|
3
|
+
let origin;
|
|
4
|
+
let apiBasePath;
|
|
5
|
+
let route;
|
|
6
|
+
let result;
|
|
7
|
+
beforeEach(() => {
|
|
8
|
+
origin = 'https://example.com';
|
|
9
|
+
apiBasePath = '/api/v1';
|
|
10
|
+
route = '/users/123';
|
|
11
|
+
result = UrlHelpers.createUrlFrom(origin, apiBasePath, route);
|
|
12
|
+
});
|
|
13
|
+
it("should_create_correct_url", () => {
|
|
14
|
+
result.href.should.equal('https://example.com/users/123');
|
|
15
|
+
});
|
|
16
|
+
it("should_have_correct_origin", () => {
|
|
17
|
+
result.origin.should.equal('https://example.com');
|
|
18
|
+
});
|
|
19
|
+
it("should_have_correct_pathname", () => {
|
|
20
|
+
result.pathname.should.equal('/users/123');
|
|
21
|
+
});
|
|
22
|
+
});
|
|
23
|
+
//# sourceMappingURL=with_valid_parameters.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"with_valid_parameters.js","sourceRoot":"","sources":["../../../../for_UrlHelpers/when_creating_url_from/with_valid_parameters.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAG9C,QAAQ,CAAC,uBAAuB,EAAE,GAAG,EAAE;IACnC,IAAI,MAAc,CAAC;IACnB,IAAI,WAAmB,CAAC;IACxB,IAAI,KAAa,CAAC;IAClB,IAAI,MAAW,CAAC;IAEhB,UAAU,CAAC,GAAG,EAAE;QACZ,MAAM,GAAG,qBAAqB,CAAC;QAC/B,WAAW,GAAG,SAAS,CAAC;QACxB,KAAK,GAAG,YAAY,CAAC;QAErB,MAAM,GAAG,UAAU,CAAC,aAAa,CAAC,MAAM,EAAE,WAAW,EAAE,KAAK,CAAC,CAAC;IAClE,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,2BAA2B,EAAE,GAAG,EAAE;QACjC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,+BAA+B,CAAC,CAAC;IAC9D,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,4BAA4B,EAAE,GAAG,EAAE;QAClC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAAC;IACtD,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,8BAA8B,EAAE,GAAG,EAAE;QACpC,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC;IAC/C,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"without_document_object.d.ts","sourceRoot":"","sources":["../../../../for_UrlHelpers/when_creating_url_from/without_document_object.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { UrlHelpers } from '../../UrlHelpers';
|
|
2
|
+
describe("without_document_object", () => {
|
|
3
|
+
let origin;
|
|
4
|
+
let apiBasePath;
|
|
5
|
+
let route;
|
|
6
|
+
let originalDocument;
|
|
7
|
+
beforeEach(() => {
|
|
8
|
+
originalDocument = global.document;
|
|
9
|
+
global.document = undefined;
|
|
10
|
+
origin = '';
|
|
11
|
+
apiBasePath = '/api/v1';
|
|
12
|
+
route = '/users/123';
|
|
13
|
+
});
|
|
14
|
+
afterEach(() => {
|
|
15
|
+
if (originalDocument) {
|
|
16
|
+
global.document = originalDocument;
|
|
17
|
+
}
|
|
18
|
+
else {
|
|
19
|
+
delete global.document;
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
it("should_throw_invalid_url_error", () => {
|
|
23
|
+
(() => UrlHelpers.createUrlFrom(origin, apiBasePath, route)).should.throw('Invalid URL');
|
|
24
|
+
});
|
|
25
|
+
});
|
|
26
|
+
//# sourceMappingURL=without_document_object.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"without_document_object.js","sourceRoot":"","sources":["../../../../for_UrlHelpers/when_creating_url_from/without_document_object.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAG9C,QAAQ,CAAC,yBAAyB,EAAE,GAAG,EAAE;IACrC,IAAI,MAAc,CAAC;IACnB,IAAI,WAAmB,CAAC;IACxB,IAAI,KAAa,CAAC;IAClB,IAAI,gBAAsC,CAAC;IAE3C,UAAU,CAAC,GAAG,EAAE;QAEZ,gBAAgB,GAAG,MAAM,CAAC,QAAQ,CAAC;QAClC,MAAkC,CAAC,QAAQ,GAAG,SAAS,CAAC;QAEzD,MAAM,GAAG,EAAE,CAAC;QACZ,WAAW,GAAG,SAAS,CAAC;QACxB,KAAK,GAAG,YAAY,CAAC;IACzB,CAAC,CAAC,CAAC;IAEH,SAAS,CAAC,GAAG,EAAE;QACX,IAAI,gBAAgB,EAAE,CAAC;YACnB,MAAM,CAAC,QAAQ,GAAG,gBAAgB,CAAC;QACvC,CAAC;aAAM,CAAC;YACJ,OAAQ,MAAkC,CAAC,QAAQ,CAAC;QACxD,CAAC;IACL,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,gCAAgC,EAAE,GAAG,EAAE;QACtC,CAAC,GAAG,EAAE,CAAC,UAAU,CAAC,aAAa,CAAC,MAAM,EAAE,WAAW,EAAE,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC;IAC7F,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"with_all_parameters_used_in_route.d.ts","sourceRoot":"","sources":["../../../../for_UrlHelpers/when_replacing_route_parameters/with_all_parameters_used_in_route.ts"],"names":[],"mappings":""}
|
package/dist/esm/for_UrlHelpers/when_replacing_route_parameters/with_all_parameters_used_in_route.js
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { describe, it, beforeEach } from 'vitest';
|
|
2
|
+
import { UrlHelpers } from '../../UrlHelpers';
|
|
3
|
+
describe('when replacing route parameters with all parameters used in route', () => {
|
|
4
|
+
let route;
|
|
5
|
+
let parameters;
|
|
6
|
+
let result;
|
|
7
|
+
beforeEach(() => {
|
|
8
|
+
route = '/api/items/{id}/details/{type}';
|
|
9
|
+
parameters = { id: '123', type: 'full' };
|
|
10
|
+
result = UrlHelpers.replaceRouteParameters(route, parameters);
|
|
11
|
+
});
|
|
12
|
+
it('should replace all route parameters', () => result.route.should.equal('/api/items/123/details/full'));
|
|
13
|
+
it('should have empty unused parameters', () => Object.keys(result.unusedParameters).length.should.equal(0));
|
|
14
|
+
});
|
|
15
|
+
//# sourceMappingURL=with_all_parameters_used_in_route.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"with_all_parameters_used_in_route.js","sourceRoot":"","sources":["../../../../for_UrlHelpers/when_replacing_route_parameters/with_all_parameters_used_in_route.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE9C,QAAQ,CAAC,mEAAmE,EAAE,GAAG,EAAE;IAC/E,IAAI,KAAa,CAAC;IAClB,IAAI,UAAkB,CAAC;IACvB,IAAI,MAAmD,CAAC;IAExD,UAAU,CAAC,GAAG,EAAE;QACZ,KAAK,GAAG,gCAAgC,CAAC;QACzC,UAAU,GAAG,EAAE,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;QAEzC,MAAM,GAAG,UAAU,CAAC,sBAAsB,CAAC,KAAK,EAAE,UAAU,CAAC,CAAC;IAClE,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,qCAAqC,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,6BAA6B,CAAC,CAAC,CAAC;IAC1G,EAAE,CAAC,qCAAqC,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,gBAAgB,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;AACjH,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"with_no_parameters.d.ts","sourceRoot":"","sources":["../../../../for_UrlHelpers/when_replacing_route_parameters/with_no_parameters.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { describe, it, beforeEach } from 'vitest';
|
|
2
|
+
import { UrlHelpers } from '../../UrlHelpers';
|
|
3
|
+
describe('when replacing route parameters with no parameters', () => {
|
|
4
|
+
let route;
|
|
5
|
+
let result;
|
|
6
|
+
beforeEach(() => {
|
|
7
|
+
route = '/api/items/{id}';
|
|
8
|
+
result = UrlHelpers.replaceRouteParameters(route);
|
|
9
|
+
});
|
|
10
|
+
it('should return original route', () => result.route.should.equal('/api/items/{id}'));
|
|
11
|
+
it('should have empty unused parameters', () => Object.keys(result.unusedParameters).length.should.equal(0));
|
|
12
|
+
});
|
|
13
|
+
//# sourceMappingURL=with_no_parameters.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"with_no_parameters.js","sourceRoot":"","sources":["../../../../for_UrlHelpers/when_replacing_route_parameters/with_no_parameters.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE9C,QAAQ,CAAC,oDAAoD,EAAE,GAAG,EAAE;IAChE,IAAI,KAAa,CAAC;IAClB,IAAI,MAAmD,CAAC;IAExD,UAAU,CAAC,GAAG,EAAE;QACZ,KAAK,GAAG,iBAAiB,CAAC;QAE1B,MAAM,GAAG,UAAU,CAAC,sBAAsB,CAAC,KAAK,CAAC,CAAC;IACtD,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,8BAA8B,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC;IACvF,EAAE,CAAC,qCAAqC,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,gBAAgB,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;AACjH,CAAC,CAAC,CAAC"}
|
package/dist/esm/for_UrlHelpers/when_replacing_route_parameters/with_unused_parameters.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"with_unused_parameters.d.ts","sourceRoot":"","sources":["../../../../for_UrlHelpers/when_replacing_route_parameters/with_unused_parameters.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { describe, it, beforeEach } from 'vitest';
|
|
2
|
+
import { UrlHelpers } from '../../UrlHelpers';
|
|
3
|
+
describe('when replacing route parameters with unused parameters', () => {
|
|
4
|
+
let route;
|
|
5
|
+
let parameters;
|
|
6
|
+
let result;
|
|
7
|
+
beforeEach(() => {
|
|
8
|
+
route = '/api/items/{id}';
|
|
9
|
+
parameters = { id: '123', filter: 'active', search: 'test' };
|
|
10
|
+
result = UrlHelpers.replaceRouteParameters(route, parameters);
|
|
11
|
+
});
|
|
12
|
+
it('should replace route parameter', () => result.route.should.equal('/api/items/123'));
|
|
13
|
+
it('should have unused parameters', () => Object.keys(result.unusedParameters).length.should.equal(2));
|
|
14
|
+
it('should contain filter in unused parameters', () => result.unusedParameters.should.have.property('filter', 'active'));
|
|
15
|
+
it('should contain search in unused parameters', () => result.unusedParameters.should.have.property('search', 'test'));
|
|
16
|
+
});
|
|
17
|
+
//# sourceMappingURL=with_unused_parameters.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"with_unused_parameters.js","sourceRoot":"","sources":["../../../../for_UrlHelpers/when_replacing_route_parameters/with_unused_parameters.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE9C,QAAQ,CAAC,wDAAwD,EAAE,GAAG,EAAE;IACpE,IAAI,KAAa,CAAC;IAClB,IAAI,UAAkB,CAAC;IACvB,IAAI,MAAmD,CAAC;IAExD,UAAU,CAAC,GAAG,EAAE;QACZ,KAAK,GAAG,iBAAiB,CAAC;QAC1B,UAAU,GAAG,EAAE,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,CAAC;QAE7D,MAAM,GAAG,UAAU,CAAC,sBAAsB,CAAC,KAAK,EAAE,UAAU,CAAC,CAAC;IAClE,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,gCAAgC,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC,CAAC;IACxF,EAAE,CAAC,+BAA+B,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,gBAAgB,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;IACvG,EAAE,CAAC,4CAA4C,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,gBAAgB,CAAC,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC,CAAC;IACzH,EAAE,CAAC,4CAA4C,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,gBAAgB,CAAC,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC;AAC3H,CAAC,CAAC,CAAC"}
|
package/dist/esm/for_UrlHelpers/when_replacing_route_parameters/with_url_encoded_values.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"with_url_encoded_values.d.ts","sourceRoot":"","sources":["../../../../for_UrlHelpers/when_replacing_route_parameters/with_url_encoded_values.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { describe, it, beforeEach } from 'vitest';
|
|
2
|
+
import { UrlHelpers } from '../../UrlHelpers';
|
|
3
|
+
describe('when replacing route parameters with url encoded values', () => {
|
|
4
|
+
let route;
|
|
5
|
+
let parameters;
|
|
6
|
+
let result;
|
|
7
|
+
beforeEach(() => {
|
|
8
|
+
route = '/api/items/{id}';
|
|
9
|
+
parameters = { id: 'test value/with special&chars' };
|
|
10
|
+
result = UrlHelpers.replaceRouteParameters(route, parameters);
|
|
11
|
+
});
|
|
12
|
+
it('should replace and encode route parameter', () => result.route.should.equal('/api/items/test%20value%2Fwith%20special%26chars'));
|
|
13
|
+
});
|
|
14
|
+
//# sourceMappingURL=with_url_encoded_values.js.map
|
package/dist/esm/for_UrlHelpers/when_replacing_route_parameters/with_url_encoded_values.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"with_url_encoded_values.js","sourceRoot":"","sources":["../../../../for_UrlHelpers/when_replacing_route_parameters/with_url_encoded_values.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE9C,QAAQ,CAAC,yDAAyD,EAAE,GAAG,EAAE;IACrE,IAAI,KAAa,CAAC;IAClB,IAAI,UAAkB,CAAC;IACvB,IAAI,MAAmD,CAAC;IAExD,UAAU,CAAC,GAAG,EAAE;QACZ,KAAK,GAAG,iBAAiB,CAAC;QAC1B,UAAU,GAAG,EAAE,EAAE,EAAE,+BAA+B,EAAE,CAAC;QAErD,MAAM,GAAG,UAAU,CAAC,sBAAsB,CAAC,KAAK,EAAE,UAAU,CAAC,CAAC;IAClE,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,2CAA2C,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,kDAAkD,CAAC,CAAC,CAAC;AACzI,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetchHelper.d.ts","sourceRoot":"","sources":["../../../helpers/fetchHelper.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,wBAAgB,iBAAiB;8BASH,KAAK,CAAC,SAAS;;EAY5C;AAED,eAAe,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import sinon from 'sinon';
|
|
2
|
+
export function createFetchHelper() {
|
|
3
|
+
const originalFetch = globalThis.fetch;
|
|
4
|
+
let currentStub = null;
|
|
5
|
+
function stubFetch() {
|
|
6
|
+
currentStub = sinon.stub();
|
|
7
|
+
globalThis.fetch = currentStub;
|
|
8
|
+
currentStub.restore = () => restore();
|
|
9
|
+
return currentStub;
|
|
10
|
+
}
|
|
11
|
+
function restore() {
|
|
12
|
+
try {
|
|
13
|
+
globalThis.fetch = originalFetch;
|
|
14
|
+
}
|
|
15
|
+
finally {
|
|
16
|
+
currentStub = null;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
return { stubFetch, restore };
|
|
20
|
+
}
|
|
21
|
+
export default createFetchHelper;
|
|
22
|
+
//# sourceMappingURL=fetchHelper.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetchHelper.js","sourceRoot":"","sources":["../../../helpers/fetchHelper.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,UAAU,iBAAiB;IAC7B,MAAM,aAAa,GAAI,UAAkB,CAAC,KAAK,CAAC;IAChD,IAAI,WAAW,GAA2B,IAAI,CAAC;IAE/C,SAAS,SAAS;QACd,WAAW,GAAG,KAAK,CAAC,IAAI,EAAE,CAAC;QAC1B,UAAkB,CAAC,KAAK,GAAG,WAAsC,CAAC;QAElE,WAAmB,CAAC,OAAO,GAAG,GAAG,EAAE,CAAC,OAAO,EAAE,CAAC;QAC/C,OAAO,WAA8B,CAAC;IAC1C,CAAC;IAED,SAAS,OAAO;QACZ,IAAI,CAAC;YACA,UAAkB,CAAC,KAAK,GAAG,aAAa,CAAC;QAC9C,CAAC;gBAAS,CAAC;YACP,WAAW,GAAG,IAAI,CAAC;QACvB,CAAC;IACL,CAAC;IAED,OAAO,EAAE,SAAS,EAAE,OAAO,EAAW,CAAC;AAC3C,CAAC;AAED,eAAe,iBAAiB,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { Constructor } from '@cratis/fundamentals';
|
|
1
2
|
import { IIdentity } from './IIdentity';
|
|
2
3
|
export declare abstract class IIdentityProvider {
|
|
3
|
-
abstract getCurrent<TDetails = object>(): Promise<IIdentity<TDetails>>;
|
|
4
|
+
abstract getCurrent<TDetails extends object = object>(type?: Constructor<TDetails>): Promise<IIdentity<TDetails>>;
|
|
4
5
|
}
|
|
5
6
|
//# sourceMappingURL=IIdentityProvider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IIdentityProvider.d.ts","sourceRoot":"","sources":["../../../identity/IIdentityProvider.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAKxC,8BAAsB,iBAAiB;
|
|
1
|
+
{"version":3,"file":"IIdentityProvider.d.ts","sourceRoot":"","sources":["../../../identity/IIdentityProvider.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAKxC,8BAAsB,iBAAiB;IAQnC,QAAQ,CAAC,UAAU,CAAC,QAAQ,SAAS,MAAM,GAAG,MAAM,EAAE,IAAI,CAAC,EAAE,WAAW,CAAC,QAAQ,CAAC,GAAG,OAAO,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC;CACpH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IIdentityProvider.js","sources":["../../../identity/IIdentityProvider.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { IIdentity } from './IIdentity';\n\n/**\n * Defines the identity provider.\n */\nexport abstract class IIdentityProvider {\n\n /**\n * Gets the current identity by optionally specifying the details type.\n * @returns The current identity as {@link IIdentity}.\n */\n abstract getCurrent<TDetails = object>(): Promise<IIdentity<TDetails>>;\n}\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"IIdentityProvider.js","sources":["../../../identity/IIdentityProvider.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { Constructor } from '@cratis/fundamentals';\nimport { IIdentity } from './IIdentity';\n\n/**\n * Defines the identity provider.\n */\nexport abstract class IIdentityProvider {\n\n /**\n * Gets the current identity by optionally specifying the details type.\n * @param type Optional constructor for the details type to enable type-safe deserialization.\n * @returns The current identity as {@link IIdentity}.\n * @remarks The `extends object` constraint is required for compatibility with JsonSerializer.deserializeFromInstance().\n */\n abstract getCurrent<TDetails extends object = object>(type?: Constructor<TDetails>): Promise<IIdentity<TDetails>>;\n}\n"],"names":[],"mappings":"MASsB,iBAAiB,CAAA;AAStC;;;;"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Constructor } from '@cratis/fundamentals';
|
|
1
2
|
import { IIdentityProvider } from './IIdentityProvider';
|
|
2
3
|
import { IIdentity } from './IIdentity';
|
|
3
4
|
import { GetHttpHeaders } from 'GetHttpHeaders';
|
|
@@ -9,9 +10,9 @@ export declare class IdentityProvider extends IIdentityProvider {
|
|
|
9
10
|
static setHttpHeadersCallback(callback: GetHttpHeaders): void;
|
|
10
11
|
static setApiBasePath(apiBasePath: string): void;
|
|
11
12
|
static setOrigin(origin: string): void;
|
|
12
|
-
static getCurrent<TDetails = object>(): Promise<IIdentity<TDetails>>;
|
|
13
|
-
getCurrent<TDetails = object>(): Promise<IIdentity<TDetails>>;
|
|
14
|
-
static refresh<TDetails = object>(): Promise<IIdentity<TDetails>>;
|
|
13
|
+
static getCurrent<TDetails extends object = object>(type?: Constructor<TDetails>): Promise<IIdentity<TDetails>>;
|
|
14
|
+
getCurrent<TDetails extends object = object>(type?: Constructor<TDetails>): Promise<IIdentity<TDetails>>;
|
|
15
|
+
static refresh<TDetails extends object = object>(type?: Constructor<TDetails>): Promise<IIdentity<TDetails>>;
|
|
15
16
|
private static getCookie;
|
|
16
17
|
private static clearCookie;
|
|
17
18
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IdentityProvider.d.ts","sourceRoot":"","sources":["../../../identity/IdentityProvider.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAOhD,qBAAa,gBAAiB,SAAQ,iBAAiB;IAEnD,MAAM,CAAC,QAAQ,CAAC,UAAU,sBAAsB;IAChD,MAAM,CAAC,mBAAmB,EAAE,cAAc,GAAG,SAAS,CAAC;IACvD,MAAM,CAAC,WAAW,EAAE,MAAM,CAAM;IAChC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAM;IAM3B,MAAM,CAAC,sBAAsB,CAAC,QAAQ,EAAE,cAAc,GAAG,IAAI;IAQ7D,MAAM,CAAC,cAAc,CAAC,WAAW,EAAE,MAAM,GAAG,IAAI;IAQhD,MAAM,CAAC,SAAS,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI;
|
|
1
|
+
{"version":3,"file":"IdentityProvider.d.ts","sourceRoot":"","sources":["../../../identity/IdentityProvider.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAkB,MAAM,sBAAsB,CAAC;AACnE,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAOhD,qBAAa,gBAAiB,SAAQ,iBAAiB;IAEnD,MAAM,CAAC,QAAQ,CAAC,UAAU,sBAAsB;IAChD,MAAM,CAAC,mBAAmB,EAAE,cAAc,GAAG,SAAS,CAAC;IACvD,MAAM,CAAC,WAAW,EAAE,MAAM,CAAM;IAChC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAM;IAM3B,MAAM,CAAC,sBAAsB,CAAC,QAAQ,EAAE,cAAc,GAAG,IAAI;IAQ7D,MAAM,CAAC,cAAc,CAAC,WAAW,EAAE,MAAM,GAAG,IAAI;IAQhD,MAAM,CAAC,SAAS,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI;WAUzB,UAAU,CAAC,QAAQ,SAAS,MAAM,GAAG,MAAM,EAAE,IAAI,CAAC,EAAE,WAAW,CAAC,QAAQ,CAAC,GAAG,OAAO,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC;IAoB/G,UAAU,CAAC,QAAQ,SAAS,MAAM,GAAG,MAAM,EAAE,IAAI,CAAC,EAAE,WAAW,CAAC,QAAQ,CAAC,GAAG,OAAO,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC;WAIjG,OAAO,CAAC,QAAQ,SAAS,MAAM,GAAG,MAAM,EAAE,IAAI,CAAC,EAAE,WAAW,CAAC,QAAQ,CAAC,GAAG,OAAO,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC;IAsBlH,OAAO,CAAC,MAAM,CAAC,SAAS;IAWxB,OAAO,CAAC,MAAM,CAAC,WAAW;CAG7B"}
|