@cratis/arc 22.25.0 → 22.26.1
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/Globals.ts +5 -5
- package/ICanBeConfigured.ts +1 -1
- package/commands/Command.ts +10 -10
- package/commands/CommandResult.ts +2 -2
- package/commands/CommandResults.ts +4 -4
- package/commands/CommandValidator.ts +2 -2
- package/commands/ICommand.ts +4 -4
- package/commands/ICommandResult.ts +1 -1
- package/commands/for_Command/CommandWithRouteParams.ts +2 -2
- package/commands/for_Command/SomeCommand.ts +2 -2
- package/commands/for_Command/given/a_command.ts +2 -2
- package/commands/for_Command/given/a_command_with_validator.ts +5 -5
- package/commands/for_Command/when_clearing_the_command.ts +1 -1
- package/commands/for_Command/when_constructing_command.ts +4 -4
- package/commands/for_Command/when_constructing_command_with_globals_api_base_path.ts +4 -4
- package/commands/for_Command/when_constructing_command_with_globals_origin.ts +4 -4
- package/commands/for_Command/when_executing/and_command_route_not_found.ts +3 -3
- package/commands/for_Command/when_executing/and_fetch_throws_exception.ts +3 -3
- package/commands/for_Command/when_executing/with_allowed_severity_warning.ts +3 -3
- package/commands/for_Command/when_executing/with_client_validation_failing.ts +5 -5
- package/commands/for_Command/when_executing/with_client_validation_failure_and_custom_message.ts +3 -3
- package/commands/for_Command/when_executing/with_client_validation_passing.ts +5 -5
- package/commands/for_Command/when_executing/with_command_properties.ts +2 -2
- package/commands/for_Command/when_executing/with_custom_http_headers.ts +3 -3
- package/commands/for_Command/when_executing/with_declared_blocking_severity.ts +5 -5
- package/commands/for_Command/when_executing/with_empty_required_string_property.ts +3 -3
- package/commands/for_Command/when_executing/with_microservice_header.ts +3 -3
- package/commands/for_Command/when_executing/with_missing_required_property.ts +3 -3
- package/commands/for_Command/when_executing/with_null_required_property.ts +3 -3
- package/commands/for_Command/when_executing/with_origin_and_api_base_path.ts +3 -3
- package/commands/for_Command/when_executing/with_route_parameters.ts +3 -3
- package/commands/for_Command/when_executing/with_successful_response.ts +3 -3
- package/commands/for_Command/when_property_changed_value_that_is_different_from_initial_value.ts +1 -1
- package/commands/for_Command/when_property_changed_value_that_is_same_as_initial_value.ts +1 -1
- package/commands/for_Command/when_property_changes_and_initial_value_is_undefined.ts +1 -1
- package/commands/for_Command/when_property_changes_and_there_is_a_callback.ts +1 -1
- package/commands/for_Command/when_property_has_changed_and_we_revert.ts +1 -1
- package/commands/for_Command/when_setting_initial_values_after_property_changed.ts +1 -1
- package/commands/for_Command/when_validating/and_fetch_throws_exception.ts +3 -3
- package/commands/for_Command/when_validating/and_validation_endpoint_not_found.ts +3 -3
- package/commands/for_Command/when_validating/does_not_update_initial_values.ts +2 -2
- package/commands/for_Command/when_validating/with_client_validation_failure.ts +3 -3
- package/commands/for_Command/when_validating/with_client_validation_passing.ts +6 -6
- package/commands/for_Command/when_validating/with_empty_required_string_property.ts +3 -3
- package/commands/for_Command/when_validating/with_null_required_property.ts +3 -3
- package/commands/for_Command/when_validating/with_required_property_missing.ts +3 -3
- package/commands/for_Command/when_validating/with_route_parameters.ts +3 -3
- package/commands/for_Command/when_validating/with_successful_response.ts +3 -3
- package/commands/for_Command/when_validating/with_validation_errors.ts +3 -3
- package/commands/for_Command/when_validating_client_side/with_client_validation_failure.ts +3 -3
- package/commands/for_Command/when_validating_client_side/with_client_validation_passing.ts +6 -6
- package/commands/for_Command/when_validating_client_side/with_required_property_missing.ts +3 -3
- package/commands/for_CommandResult/when_chaining_callbacks/and_result_has_exceptions.ts +1 -1
- package/commands/for_CommandResult/when_chaining_callbacks/and_result_is_invalid.ts +3 -3
- package/commands/for_CommandResult/when_chaining_callbacks/and_result_is_successful.ts +1 -1
- package/commands/for_CommandResult/when_chaining_callbacks/and_result_is_unauthorized.ts +1 -1
- package/commands/for_CommandResult/when_constructing_from_a_server_result_with_a_constraint_violation.ts +3 -3
- package/commands/for_CommandResult/when_constructing_from_a_server_result_with_reasons.ts +3 -3
- package/commands/for_CommandResult/when_constructing_with_primitive_response.ts +1 -1
- package/commands/for_CommandResult/when_creating_a_validation_failed_result.ts +4 -4
- package/commands/index.ts +7 -7
- package/dist/cjs/EventSourceFactory.d.ts +2 -0
- package/dist/cjs/EventSourceFactory.d.ts.map +1 -0
- package/dist/cjs/GetHttpHeaders.d.ts +2 -0
- package/dist/cjs/GetHttpHeaders.d.ts.map +1 -0
- package/dist/cjs/Globals.d.ts +27 -0
- package/dist/cjs/Globals.d.ts.map +1 -0
- package/dist/cjs/Globals.js.map +1 -1
- package/dist/cjs/ICanBeConfigured.d.ts +8 -0
- package/dist/cjs/ICanBeConfigured.d.ts.map +1 -0
- package/dist/cjs/UrlHelpers.d.ts +9 -0
- package/dist/cjs/UrlHelpers.d.ts.map +1 -0
- package/dist/cjs/commands/Command.d.ts +46 -0
- package/dist/cjs/commands/Command.d.ts.map +1 -0
- package/dist/cjs/commands/Command.js.map +1 -1
- package/dist/cjs/commands/CommandResult.d.ts +51 -0
- package/dist/cjs/commands/CommandResult.d.ts.map +1 -0
- package/dist/cjs/commands/CommandResult.js.map +1 -1
- package/dist/cjs/commands/CommandResults.d.ts +23 -0
- package/dist/cjs/commands/CommandResults.d.ts.map +1 -0
- package/dist/cjs/commands/CommandResults.js.map +1 -1
- package/dist/cjs/commands/CommandValidator.d.ts +6 -0
- package/dist/cjs/commands/CommandValidator.d.ts.map +1 -0
- package/dist/cjs/commands/CommandValidator.js.map +1 -1
- package/dist/cjs/commands/ICommand.d.ts +21 -0
- package/dist/cjs/commands/ICommand.d.ts.map +1 -0
- package/dist/cjs/commands/ICommandResult.d.ts +15 -0
- package/dist/cjs/commands/ICommandResult.d.ts.map +1 -0
- package/dist/cjs/commands/index.d.ts +8 -0
- package/dist/cjs/commands/index.d.ts.map +1 -0
- package/dist/cjs/commands/index.js.map +1 -1
- package/dist/cjs/deepEqual.d.ts +2 -0
- package/dist/cjs/deepEqual.d.ts.map +1 -0
- package/dist/cjs/given.d.ts +5 -0
- package/dist/cjs/given.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/IIdentity.d.ts +10 -0
- package/dist/cjs/identity/IIdentity.d.ts.map +1 -0
- package/dist/cjs/identity/IIdentityProvider.d.ts +6 -0
- package/dist/cjs/identity/IIdentityProvider.d.ts.map +1 -0
- package/dist/cjs/identity/IIdentityProvider.js.map +1 -1
- package/dist/cjs/identity/IdentityProvider.d.ts +20 -0
- package/dist/cjs/identity/IdentityProvider.d.ts.map +1 -0
- package/dist/cjs/identity/IdentityProvider.js.map +1 -1
- package/dist/cjs/identity/IdentityProviderResult.d.ts +7 -0
- package/dist/cjs/identity/IdentityProviderResult.d.ts.map +1 -0
- package/dist/cjs/identity/deserializeIdentityDetails.d.ts +3 -0
- package/dist/cjs/identity/deserializeIdentityDetails.d.ts.map +1 -0
- package/dist/cjs/identity/index.d.ts +6 -0
- package/dist/cjs/identity/index.d.ts.map +1 -0
- package/dist/cjs/identity/index.js.map +1 -1
- package/dist/cjs/index.d.ts +15 -0
- package/dist/cjs/index.d.ts.map +1 -0
- package/dist/cjs/joinPaths.d.ts +2 -0
- package/dist/cjs/joinPaths.d.ts.map +1 -0
- package/dist/cjs/messaging/IMessenger.d.ts +10 -0
- package/dist/cjs/messaging/IMessenger.d.ts.map +1 -0
- package/dist/cjs/messaging/Message.d.ts +7 -0
- package/dist/cjs/messaging/Message.d.ts.map +1 -0
- package/dist/cjs/messaging/Messenger.d.ts +20 -0
- package/dist/cjs/messaging/Messenger.d.ts.map +1 -0
- package/dist/cjs/messaging/Messenger.js.map +1 -1
- package/dist/cjs/messaging/index.d.ts +4 -0
- package/dist/cjs/messaging/index.d.ts.map +1 -0
- package/dist/cjs/messaging/index.js.map +1 -1
- package/dist/cjs/queries/ChangeSet.d.ts +6 -0
- package/dist/cjs/queries/ChangeSet.d.ts.map +1 -0
- package/dist/cjs/queries/HubConnectionKeepAlive.d.ts +14 -0
- package/dist/cjs/queries/HubConnectionKeepAlive.d.ts.map +1 -0
- package/dist/cjs/queries/IChangeStreamFor.d.ts +4 -0
- package/dist/cjs/queries/IChangeStreamFor.d.ts.map +1 -0
- package/dist/cjs/queries/IObservableQueryConnection.d.ts +8 -0
- package/dist/cjs/queries/IObservableQueryConnection.d.ts.map +1 -0
- package/dist/cjs/queries/IObservableQueryDiagnostics.d.ts +9 -0
- package/dist/cjs/queries/IObservableQueryDiagnostics.d.ts.map +1 -0
- package/dist/cjs/queries/IObservableQueryFor.d.ts +14 -0
- package/dist/cjs/queries/IObservableQueryFor.d.ts.map +1 -0
- package/dist/cjs/queries/IObservableQueryHubConnection.d.ts +12 -0
- package/dist/cjs/queries/IObservableQueryHubConnection.d.ts.map +1 -0
- package/dist/cjs/queries/IQuery.d.ts +12 -0
- package/dist/cjs/queries/IQuery.d.ts.map +1 -0
- package/dist/cjs/queries/IQueryFor.d.ts +13 -0
- package/dist/cjs/queries/IQueryFor.d.ts.map +1 -0
- package/dist/cjs/queries/IQueryProvider.d.ts +6 -0
- package/dist/cjs/queries/IQueryProvider.d.ts.map +1 -0
- package/dist/cjs/queries/IQueryProvider.js.map +1 -1
- package/dist/cjs/queries/IQueryResult.d.ts +18 -0
- package/dist/cjs/queries/IQueryResult.d.ts.map +1 -0
- package/dist/cjs/queries/IReconnectPolicy.d.ts +8 -0
- package/dist/cjs/queries/IReconnectPolicy.d.ts.map +1 -0
- package/dist/cjs/queries/NullObservableQueryConnection.d.ts +13 -0
- package/dist/cjs/queries/NullObservableQueryConnection.d.ts.map +1 -0
- package/dist/cjs/queries/NullObservableQueryConnection.js.map +1 -1
- package/dist/cjs/queries/ObservableQueryConnection.d.ts +31 -0
- package/dist/cjs/queries/ObservableQueryConnection.d.ts.map +1 -0
- package/dist/cjs/queries/ObservableQueryConnection.js.map +1 -1
- package/dist/cjs/queries/ObservableQueryConnectionFactory.d.ts +13 -0
- package/dist/cjs/queries/ObservableQueryConnectionFactory.d.ts.map +1 -0
- package/dist/cjs/queries/ObservableQueryConnectionFactory.js.map +1 -1
- package/dist/cjs/queries/ObservableQueryConnectionPool.d.ts +9 -0
- package/dist/cjs/queries/ObservableQueryConnectionPool.d.ts.map +1 -0
- package/dist/cjs/queries/ObservableQueryConnectionPool.js.map +1 -1
- package/dist/cjs/queries/ObservableQueryDiagnostics.d.ts +21 -0
- package/dist/cjs/queries/ObservableQueryDiagnostics.d.ts.map +1 -0
- package/dist/cjs/queries/ObservableQueryDiagnostics.js.map +1 -1
- package/dist/cjs/queries/ObservableQueryDiagnosticsSnapshot.d.ts +48 -0
- package/dist/cjs/queries/ObservableQueryDiagnosticsSnapshot.d.ts.map +1 -0
- package/dist/cjs/queries/ObservableQueryFor.d.ts +42 -0
- package/dist/cjs/queries/ObservableQueryFor.d.ts.map +1 -0
- package/dist/cjs/queries/ObservableQueryFor.js.map +1 -1
- package/dist/cjs/queries/ObservableQueryMultiplexer.d.ts +33 -0
- package/dist/cjs/queries/ObservableQueryMultiplexer.d.ts.map +1 -0
- package/dist/cjs/queries/ObservableQueryMultiplexer.js.map +1 -1
- package/dist/cjs/queries/ObservableQuerySubscription.d.ts +7 -0
- package/dist/cjs/queries/ObservableQuerySubscription.d.ts.map +1 -0
- package/dist/cjs/queries/ObservableQuerySubscription.js.map +1 -1
- package/dist/cjs/queries/Paging.d.ts +8 -0
- package/dist/cjs/queries/Paging.d.ts.map +1 -0
- package/dist/cjs/queries/PagingInfo.d.ts +9 -0
- package/dist/cjs/queries/PagingInfo.d.ts.map +1 -0
- package/dist/cjs/queries/QueryFor.d.ts +37 -0
- package/dist/cjs/queries/QueryFor.d.ts.map +1 -0
- package/dist/cjs/queries/QueryFor.js.map +1 -1
- package/dist/cjs/queries/QueryHttpMethod.d.ts +6 -0
- package/dist/cjs/queries/QueryHttpMethod.d.ts.map +1 -0
- package/dist/cjs/queries/QueryHttpMethodResolver.d.ts +14 -0
- package/dist/cjs/queries/QueryHttpMethodResolver.d.ts.map +1 -0
- package/dist/cjs/queries/QueryHttpMethodResolver.js.map +1 -1
- package/dist/cjs/queries/QueryHttpRequest.d.ts +21 -0
- package/dist/cjs/queries/QueryHttpRequest.d.ts.map +1 -0
- package/dist/cjs/queries/QueryHttpRequest.js.map +1 -1
- package/dist/cjs/queries/QueryInstanceCache.d.ts +40 -0
- package/dist/cjs/queries/QueryInstanceCache.d.ts.map +1 -0
- package/dist/cjs/queries/QueryInstanceCache.js.map +1 -1
- package/dist/cjs/queries/QueryProvider.d.ts +13 -0
- package/dist/cjs/queries/QueryProvider.d.ts.map +1 -0
- package/dist/cjs/queries/QueryProvider.js.map +1 -1
- package/dist/cjs/queries/QueryResult.d.ts +62 -0
- package/dist/cjs/queries/QueryResult.d.ts.map +1 -0
- package/dist/cjs/queries/QueryResult.js.map +1 -1
- package/dist/cjs/queries/QueryResultWithState.d.ts +24 -0
- package/dist/cjs/queries/QueryResultWithState.d.ts.map +1 -0
- package/dist/cjs/queries/QueryResultWithState.js.map +1 -1
- package/dist/cjs/queries/QueryTransportMethod.d.ts +5 -0
- package/dist/cjs/queries/QueryTransportMethod.d.ts.map +1 -0
- 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.map +1 -1
- package/dist/cjs/queries/ReconnectPolicy.d.ts +15 -0
- package/dist/cjs/queries/ReconnectPolicy.d.ts.map +1 -0
- package/dist/cjs/queries/ReconnectPolicy.js.map +1 -1
- package/dist/cjs/queries/ServerSentEventHubConnection.d.ts +49 -0
- package/dist/cjs/queries/ServerSentEventHubConnection.d.ts.map +1 -0
- package/dist/cjs/queries/ServerSentEventHubConnection.js.map +1 -1
- package/dist/cjs/queries/ServerSentEventQueryConnection.d.ts +16 -0
- package/dist/cjs/queries/ServerSentEventQueryConnection.d.ts.map +1 -0
- package/dist/cjs/queries/ServerSentEventQueryConnection.js.map +1 -1
- package/dist/cjs/queries/SortDirection.d.ts +6 -0
- package/dist/cjs/queries/SortDirection.d.ts.map +1 -0
- package/dist/cjs/queries/Sorting.d.ts +9 -0
- package/dist/cjs/queries/Sorting.d.ts.map +1 -0
- package/dist/cjs/queries/Sorting.js.map +1 -1
- package/dist/cjs/queries/SortingActions.d.ts +10 -0
- package/dist/cjs/queries/SortingActions.d.ts.map +1 -0
- package/dist/cjs/queries/SortingActions.js.map +1 -1
- package/dist/cjs/queries/SortingActionsForObservableQuery.d.ts +10 -0
- package/dist/cjs/queries/SortingActionsForObservableQuery.d.ts.map +1 -0
- package/dist/cjs/queries/SortingActionsForObservableQuery.js.map +1 -1
- package/dist/cjs/queries/SortingActionsForQuery.d.ts +10 -0
- package/dist/cjs/queries/SortingActionsForQuery.d.ts.map +1 -0
- package/dist/cjs/queries/SortingActionsForQuery.js.map +1 -1
- package/dist/cjs/queries/ValidateRequestArguments.d.ts +2 -0
- package/dist/cjs/queries/ValidateRequestArguments.d.ts.map +1 -0
- package/dist/cjs/queries/WebSocketHubConnection.d.ts +70 -0
- package/dist/cjs/queries/WebSocketHubConnection.d.ts.map +1 -0
- package/dist/cjs/queries/WebSocketHubConnection.js.map +1 -1
- package/dist/cjs/queries/WebSocketMessage.d.ts +11 -0
- package/dist/cjs/queries/WebSocketMessage.d.ts.map +1 -0
- package/dist/cjs/queries/deserializeQueryModel.d.ts +5 -0
- package/dist/cjs/queries/deserializeQueryModel.d.ts.map +1 -0
- package/dist/cjs/queries/index.d.ts +44 -0
- package/dist/cjs/queries/index.d.ts.map +1 -0
- package/dist/cjs/queries/index.js.map +1 -1
- package/dist/cjs/queries/isAbortError.d.ts +2 -0
- package/dist/cjs/queries/isAbortError.d.ts.map +1 -0
- package/dist/cjs/queries/reconcileQueryData.d.ts +2 -0
- package/dist/cjs/queries/reconcileQueryData.d.ts.map +1 -0
- package/dist/cjs/queries/reconcileQueryData.js.map +1 -1
- package/dist/cjs/reflection/IHaveParameters.d.ts +5 -0
- package/dist/cjs/reflection/IHaveParameters.d.ts.map +1 -0
- package/dist/cjs/reflection/ParameterDescriptor.d.ts +8 -0
- package/dist/cjs/reflection/ParameterDescriptor.d.ts.map +1 -0
- package/dist/cjs/reflection/ParametersHelper.d.ts +5 -0
- package/dist/cjs/reflection/ParametersHelper.d.ts.map +1 -0
- package/dist/cjs/reflection/ParametersHelper.js.map +1 -1
- package/dist/cjs/reflection/PropertyDescriptor.d.ts +8 -0
- package/dist/cjs/reflection/PropertyDescriptor.d.ts.map +1 -0
- package/dist/cjs/reflection/index.d.ts +5 -0
- package/dist/cjs/reflection/index.d.ts.map +1 -0
- package/dist/cjs/reflection/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.map +1 -1
- 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.map +1 -1
- 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.map +1 -1
- package/dist/cjs/validation/RuleBuilderExtensions.d.ts +32 -0
- package/dist/cjs/validation/RuleBuilderExtensions.d.ts.map +1 -0
- package/dist/cjs/validation/RuleBuilderExtensions.js.map +1 -1
- package/dist/cjs/validation/ValidationResult.d.ts +12 -0
- package/dist/cjs/validation/ValidationResult.d.ts.map +1 -0
- package/dist/cjs/validation/ValidationResult.js.map +1 -1
- package/dist/cjs/validation/ValidationResultReason.d.ts +10 -0
- package/dist/cjs/validation/ValidationResultReason.d.ts.map +1 -0
- package/dist/cjs/validation/ValidationResultSeverity.d.ts +7 -0
- package/dist/cjs/validation/ValidationResultSeverity.d.ts.map +1 -0
- package/dist/cjs/validation/Validator.d.ts +11 -0
- package/dist/cjs/validation/Validator.d.ts.map +1 -0
- package/dist/cjs/validation/Validator.js.map +1 -1
- package/dist/cjs/validation/index.d.ts +15 -0
- package/dist/cjs/validation/index.d.ts.map +1 -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.map +1 -1
- 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.map +1 -1
- 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.map +1 -1
- 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.map +1 -1
- package/dist/cjs/validation/rules/PhoneRule.d.ts +7 -0
- package/dist/cjs/validation/rules/PhoneRule.d.ts.map +1 -0
- package/dist/cjs/validation/rules/PhoneRule.js.map +1 -1
- 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.map +1 -1
- package/dist/cjs/validation/rules/UrlRule.d.ts +7 -0
- package/dist/cjs/validation/rules/UrlRule.d.ts.map +1 -0
- package/dist/cjs/validation/rules/UrlRule.js.map +1 -1
- package/dist/esm/Globals.d.ts +5 -5
- package/dist/esm/Globals.d.ts.map +1 -1
- package/dist/esm/Globals.js.map +1 -1
- package/dist/esm/ICanBeConfigured.d.ts +1 -1
- package/dist/esm/ICanBeConfigured.d.ts.map +1 -1
- package/dist/esm/commands/Command.d.ts +6 -6
- package/dist/esm/commands/Command.d.ts.map +1 -1
- package/dist/esm/commands/Command.js.map +1 -1
- package/dist/esm/commands/CommandResult.d.ts +2 -2
- package/dist/esm/commands/CommandResult.d.ts.map +1 -1
- package/dist/esm/commands/CommandResult.js.map +1 -1
- package/dist/esm/commands/CommandResults.d.ts +4 -4
- package/dist/esm/commands/CommandResults.d.ts.map +1 -1
- package/dist/esm/commands/CommandResults.js.map +1 -1
- package/dist/esm/commands/CommandValidator.d.ts +2 -2
- package/dist/esm/commands/CommandValidator.d.ts.map +1 -1
- package/dist/esm/commands/CommandValidator.js.map +1 -1
- package/dist/esm/commands/ICommand.d.ts +4 -4
- package/dist/esm/commands/ICommand.d.ts.map +1 -1
- package/dist/esm/commands/ICommandResult.d.ts +1 -1
- package/dist/esm/commands/ICommandResult.d.ts.map +1 -1
- package/dist/esm/commands/for_Command/CommandWithRouteParams.d.ts +2 -2
- package/dist/esm/commands/for_Command/CommandWithRouteParams.d.ts.map +1 -1
- package/dist/esm/commands/for_Command/CommandWithRouteParams.js +2 -2
- package/dist/esm/commands/for_Command/CommandWithRouteParams.js.map +1 -1
- package/dist/esm/commands/for_Command/SomeCommand.d.ts +2 -2
- package/dist/esm/commands/for_Command/SomeCommand.d.ts.map +1 -1
- package/dist/esm/commands/for_Command/SomeCommand.js +2 -2
- package/dist/esm/commands/for_Command/SomeCommand.js.map +1 -1
- package/dist/esm/commands/for_Command/given/a_command.d.ts +1 -1
- package/dist/esm/commands/for_Command/given/a_command.d.ts.map +1 -1
- package/dist/esm/commands/for_Command/given/a_command.js +2 -2
- package/dist/esm/commands/for_Command/given/a_command.js.map +1 -1
- package/dist/esm/commands/for_Command/given/a_command_with_validator.d.ts +4 -4
- package/dist/esm/commands/for_Command/given/a_command_with_validator.d.ts.map +1 -1
- package/dist/esm/commands/for_Command/given/a_command_with_validator.js +4 -4
- package/dist/esm/commands/for_Command/given/a_command_with_validator.js.map +1 -1
- package/dist/esm/commands/for_Command/when_clearing_the_command.js +1 -1
- package/dist/esm/commands/for_Command/when_clearing_the_command.js.map +1 -1
- package/dist/esm/commands/for_Command/when_constructing_command.js +4 -4
- package/dist/esm/commands/for_Command/when_constructing_command.js.map +1 -1
- package/dist/esm/commands/for_Command/when_constructing_command_with_globals_api_base_path.js +4 -4
- package/dist/esm/commands/for_Command/when_constructing_command_with_globals_api_base_path.js.map +1 -1
- package/dist/esm/commands/for_Command/when_constructing_command_with_globals_origin.js +4 -4
- package/dist/esm/commands/for_Command/when_constructing_command_with_globals_origin.js.map +1 -1
- package/dist/esm/commands/for_Command/when_executing/and_command_route_not_found.js +2 -2
- package/dist/esm/commands/for_Command/when_executing/and_command_route_not_found.js.map +1 -1
- package/dist/esm/commands/for_Command/when_executing/and_fetch_throws_exception.js +2 -2
- package/dist/esm/commands/for_Command/when_executing/and_fetch_throws_exception.js.map +1 -1
- package/dist/esm/commands/for_Command/when_executing/with_allowed_severity_warning.js +3 -3
- package/dist/esm/commands/for_Command/when_executing/with_allowed_severity_warning.js.map +1 -1
- package/dist/esm/commands/for_Command/when_executing/with_client_validation_failing.d.ts +1 -1
- package/dist/esm/commands/for_Command/when_executing/with_client_validation_failing.d.ts.map +1 -1
- package/dist/esm/commands/for_Command/when_executing/with_client_validation_failing.js +3 -3
- package/dist/esm/commands/for_Command/when_executing/with_client_validation_failing.js.map +1 -1
- package/dist/esm/commands/for_Command/when_executing/with_client_validation_failure_and_custom_message.js +2 -2
- package/dist/esm/commands/for_Command/when_executing/with_client_validation_failure_and_custom_message.js.map +1 -1
- package/dist/esm/commands/for_Command/when_executing/with_client_validation_passing.d.ts +1 -1
- package/dist/esm/commands/for_Command/when_executing/with_client_validation_passing.d.ts.map +1 -1
- package/dist/esm/commands/for_Command/when_executing/with_client_validation_passing.js +4 -4
- package/dist/esm/commands/for_Command/when_executing/with_client_validation_passing.js.map +1 -1
- package/dist/esm/commands/for_Command/when_executing/with_command_properties.js +2 -2
- package/dist/esm/commands/for_Command/when_executing/with_command_properties.js.map +1 -1
- package/dist/esm/commands/for_Command/when_executing/with_custom_http_headers.js +3 -3
- package/dist/esm/commands/for_Command/when_executing/with_custom_http_headers.js.map +1 -1
- package/dist/esm/commands/for_Command/when_executing/with_declared_blocking_severity.js +4 -4
- package/dist/esm/commands/for_Command/when_executing/with_declared_blocking_severity.js.map +1 -1
- package/dist/esm/commands/for_Command/when_executing/with_empty_required_string_property.js +2 -2
- package/dist/esm/commands/for_Command/when_executing/with_empty_required_string_property.js.map +1 -1
- package/dist/esm/commands/for_Command/when_executing/with_microservice_header.js +3 -3
- package/dist/esm/commands/for_Command/when_executing/with_microservice_header.js.map +1 -1
- package/dist/esm/commands/for_Command/when_executing/with_missing_required_property.js +2 -2
- package/dist/esm/commands/for_Command/when_executing/with_missing_required_property.js.map +1 -1
- package/dist/esm/commands/for_Command/when_executing/with_null_required_property.js +2 -2
- package/dist/esm/commands/for_Command/when_executing/with_null_required_property.js.map +1 -1
- package/dist/esm/commands/for_Command/when_executing/with_origin_and_api_base_path.js +3 -3
- package/dist/esm/commands/for_Command/when_executing/with_origin_and_api_base_path.js.map +1 -1
- package/dist/esm/commands/for_Command/when_executing/with_route_parameters.js +3 -3
- package/dist/esm/commands/for_Command/when_executing/with_route_parameters.js.map +1 -1
- package/dist/esm/commands/for_Command/when_executing/with_successful_response.js +2 -2
- package/dist/esm/commands/for_Command/when_executing/with_successful_response.js.map +1 -1
- package/dist/esm/commands/for_Command/when_property_changed_value_that_is_different_from_initial_value.js +1 -1
- package/dist/esm/commands/for_Command/when_property_changed_value_that_is_different_from_initial_value.js.map +1 -1
- package/dist/esm/commands/for_Command/when_property_changed_value_that_is_same_as_initial_value.js +1 -1
- package/dist/esm/commands/for_Command/when_property_changed_value_that_is_same_as_initial_value.js.map +1 -1
- package/dist/esm/commands/for_Command/when_property_changes_and_initial_value_is_undefined.js +1 -1
- package/dist/esm/commands/for_Command/when_property_changes_and_initial_value_is_undefined.js.map +1 -1
- package/dist/esm/commands/for_Command/when_property_changes_and_there_is_a_callback.js +1 -1
- package/dist/esm/commands/for_Command/when_property_changes_and_there_is_a_callback.js.map +1 -1
- package/dist/esm/commands/for_Command/when_property_has_changed_and_we_revert.js +1 -1
- package/dist/esm/commands/for_Command/when_property_has_changed_and_we_revert.js.map +1 -1
- package/dist/esm/commands/for_Command/when_setting_initial_values_after_property_changed.js +1 -1
- package/dist/esm/commands/for_Command/when_setting_initial_values_after_property_changed.js.map +1 -1
- package/dist/esm/commands/for_Command/when_validating/and_fetch_throws_exception.js +2 -2
- package/dist/esm/commands/for_Command/when_validating/and_fetch_throws_exception.js.map +1 -1
- package/dist/esm/commands/for_Command/when_validating/and_validation_endpoint_not_found.js +2 -2
- package/dist/esm/commands/for_Command/when_validating/and_validation_endpoint_not_found.js.map +1 -1
- package/dist/esm/commands/for_Command/when_validating/does_not_update_initial_values.js +2 -2
- package/dist/esm/commands/for_Command/when_validating/does_not_update_initial_values.js.map +1 -1
- package/dist/esm/commands/for_Command/when_validating/with_client_validation_failure.js +2 -2
- package/dist/esm/commands/for_Command/when_validating/with_client_validation_failure.js.map +1 -1
- package/dist/esm/commands/for_Command/when_validating/with_client_validation_passing.d.ts +1 -1
- package/dist/esm/commands/for_Command/when_validating/with_client_validation_passing.d.ts.map +1 -1
- package/dist/esm/commands/for_Command/when_validating/with_client_validation_passing.js +4 -4
- package/dist/esm/commands/for_Command/when_validating/with_client_validation_passing.js.map +1 -1
- package/dist/esm/commands/for_Command/when_validating/with_empty_required_string_property.js +2 -2
- package/dist/esm/commands/for_Command/when_validating/with_empty_required_string_property.js.map +1 -1
- package/dist/esm/commands/for_Command/when_validating/with_null_required_property.js +2 -2
- package/dist/esm/commands/for_Command/when_validating/with_null_required_property.js.map +1 -1
- package/dist/esm/commands/for_Command/when_validating/with_required_property_missing.js +2 -2
- package/dist/esm/commands/for_Command/when_validating/with_required_property_missing.js.map +1 -1
- package/dist/esm/commands/for_Command/when_validating/with_route_parameters.js +3 -3
- package/dist/esm/commands/for_Command/when_validating/with_route_parameters.js.map +1 -1
- package/dist/esm/commands/for_Command/when_validating/with_successful_response.js +2 -2
- package/dist/esm/commands/for_Command/when_validating/with_successful_response.js.map +1 -1
- package/dist/esm/commands/for_Command/when_validating/with_validation_errors.js +2 -2
- package/dist/esm/commands/for_Command/when_validating/with_validation_errors.js.map +1 -1
- package/dist/esm/commands/for_Command/when_validating_client_side/with_client_validation_failure.js +2 -2
- package/dist/esm/commands/for_Command/when_validating_client_side/with_client_validation_failure.js.map +1 -1
- package/dist/esm/commands/for_Command/when_validating_client_side/with_client_validation_passing.d.ts +1 -1
- package/dist/esm/commands/for_Command/when_validating_client_side/with_client_validation_passing.d.ts.map +1 -1
- package/dist/esm/commands/for_Command/when_validating_client_side/with_client_validation_passing.js +4 -4
- package/dist/esm/commands/for_Command/when_validating_client_side/with_client_validation_passing.js.map +1 -1
- package/dist/esm/commands/for_Command/when_validating_client_side/with_required_property_missing.js +2 -2
- package/dist/esm/commands/for_Command/when_validating_client_side/with_required_property_missing.js.map +1 -1
- package/dist/esm/commands/for_CommandResult/when_chaining_callbacks/and_result_has_exceptions.js +1 -1
- package/dist/esm/commands/for_CommandResult/when_chaining_callbacks/and_result_has_exceptions.js.map +1 -1
- package/dist/esm/commands/for_CommandResult/when_chaining_callbacks/and_result_is_invalid.js +3 -3
- package/dist/esm/commands/for_CommandResult/when_chaining_callbacks/and_result_is_invalid.js.map +1 -1
- package/dist/esm/commands/for_CommandResult/when_chaining_callbacks/and_result_is_successful.js +1 -1
- package/dist/esm/commands/for_CommandResult/when_chaining_callbacks/and_result_is_successful.js.map +1 -1
- package/dist/esm/commands/for_CommandResult/when_chaining_callbacks/and_result_is_unauthorized.js +1 -1
- package/dist/esm/commands/for_CommandResult/when_chaining_callbacks/and_result_is_unauthorized.js.map +1 -1
- package/dist/esm/commands/for_CommandResult/when_constructing_from_a_server_result_with_a_constraint_violation.js +3 -3
- package/dist/esm/commands/for_CommandResult/when_constructing_from_a_server_result_with_a_constraint_violation.js.map +1 -1
- package/dist/esm/commands/for_CommandResult/when_constructing_from_a_server_result_with_reasons.js +3 -3
- package/dist/esm/commands/for_CommandResult/when_constructing_from_a_server_result_with_reasons.js.map +1 -1
- package/dist/esm/commands/for_CommandResult/when_constructing_with_primitive_response.js +1 -1
- package/dist/esm/commands/for_CommandResult/when_constructing_with_primitive_response.js.map +1 -1
- package/dist/esm/commands/for_CommandResult/when_creating_a_validation_failed_result.js +4 -4
- package/dist/esm/commands/for_CommandResult/when_creating_a_validation_failed_result.js.map +1 -1
- package/dist/esm/commands/index.d.ts +7 -7
- package/dist/esm/commands/index.d.ts.map +1 -1
- package/dist/esm/commands/index.js.map +1 -1
- package/dist/esm/for_UrlHelpers/when_building_query_params/with_additional_parameters.js +1 -1
- package/dist/esm/for_UrlHelpers/when_building_query_params/with_additional_parameters.js.map +1 -1
- package/dist/esm/for_UrlHelpers/when_building_query_params/with_array_values.js +1 -1
- package/dist/esm/for_UrlHelpers/when_building_query_params/with_array_values.js.map +1 -1
- package/dist/esm/for_UrlHelpers/when_building_query_params/with_date_values.js +1 -1
- package/dist/esm/for_UrlHelpers/when_building_query_params/with_date_values.js.map +1 -1
- package/dist/esm/for_UrlHelpers/when_building_query_params/with_empty_parameters.js +1 -1
- package/dist/esm/for_UrlHelpers/when_building_query_params/with_empty_parameters.js.map +1 -1
- package/dist/esm/for_UrlHelpers/when_building_query_params/with_mixed_array_and_scalar_values.js +1 -1
- package/dist/esm/for_UrlHelpers/when_building_query_params/with_mixed_array_and_scalar_values.js.map +1 -1
- package/dist/esm/for_UrlHelpers/when_building_query_params/with_null_and_undefined_values.js +1 -1
- package/dist/esm/for_UrlHelpers/when_building_query_params/with_null_and_undefined_values.js.map +1 -1
- package/dist/esm/for_UrlHelpers/when_building_query_params/with_unused_parameters_only.js +1 -1
- package/dist/esm/for_UrlHelpers/when_building_query_params/with_unused_parameters_only.js.map +1 -1
- package/dist/esm/for_UrlHelpers/when_creating_url_from/with_base_path_ending_with_slash.js +1 -1
- package/dist/esm/for_UrlHelpers/when_creating_url_from/with_base_path_ending_with_slash.js.map +1 -1
- package/dist/esm/for_UrlHelpers/when_creating_url_from/with_empty_origin.js +1 -1
- package/dist/esm/for_UrlHelpers/when_creating_url_from/with_empty_origin.js.map +1 -1
- package/dist/esm/for_UrlHelpers/when_creating_url_from/with_null_or_undefined_origin.js +1 -1
- package/dist/esm/for_UrlHelpers/when_creating_url_from/with_null_or_undefined_origin.js.map +1 -1
- package/dist/esm/for_UrlHelpers/when_creating_url_from/with_relative_route.js +1 -1
- package/dist/esm/for_UrlHelpers/when_creating_url_from/with_relative_route.js.map +1 -1
- package/dist/esm/for_UrlHelpers/when_creating_url_from/with_valid_parameters.js +1 -1
- package/dist/esm/for_UrlHelpers/when_creating_url_from/with_valid_parameters.js.map +1 -1
- package/dist/esm/for_UrlHelpers/when_creating_url_from/without_document_object.js +1 -1
- package/dist/esm/for_UrlHelpers/when_creating_url_from/without_document_object.js.map +1 -1
- package/dist/esm/for_UrlHelpers/when_replacing_route_parameters/with_all_parameters_used_in_route.js +1 -1
- package/dist/esm/for_UrlHelpers/when_replacing_route_parameters/with_all_parameters_used_in_route.js.map +1 -1
- package/dist/esm/for_UrlHelpers/when_replacing_route_parameters/with_array_parameters.js +1 -1
- package/dist/esm/for_UrlHelpers/when_replacing_route_parameters/with_array_parameters.js.map +1 -1
- package/dist/esm/for_UrlHelpers/when_replacing_route_parameters/with_no_parameters.js +1 -1
- package/dist/esm/for_UrlHelpers/when_replacing_route_parameters/with_no_parameters.js.map +1 -1
- package/dist/esm/for_UrlHelpers/when_replacing_route_parameters/with_unused_parameters.js +1 -1
- package/dist/esm/for_UrlHelpers/when_replacing_route_parameters/with_unused_parameters.js.map +1 -1
- package/dist/esm/for_UrlHelpers/when_replacing_route_parameters/with_url_encoded_values.js +1 -1
- package/dist/esm/for_UrlHelpers/when_replacing_route_parameters/with_url_encoded_values.js.map +1 -1
- package/dist/esm/identity/IIdentityProvider.d.ts +1 -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 +3 -3
- package/dist/esm/identity/IdentityProvider.d.ts.map +1 -1
- package/dist/esm/identity/IdentityProvider.js.map +1 -1
- package/dist/esm/identity/for_IdentityProvider/given/an_identity_provider.js +2 -2
- package/dist/esm/identity/for_IdentityProvider/given/an_identity_provider.js.map +1 -1
- package/dist/esm/identity/for_IdentityProvider/when_getting_current/with_a_details_type_that_declares_no_fields.js +3 -3
- package/dist/esm/identity/for_IdentityProvider/when_getting_current/with_a_details_type_that_declares_no_fields.js.map +1 -1
- package/dist/esm/identity/for_IdentityProvider/when_getting_current/with_roles.js +3 -3
- package/dist/esm/identity/for_IdentityProvider/when_getting_current/with_roles.js.map +1 -1
- package/dist/esm/identity/for_IdentityProvider/when_getting_current/with_type_safe_details.js +3 -3
- package/dist/esm/identity/for_IdentityProvider/when_getting_current/with_type_safe_details.js.map +1 -1
- package/dist/esm/identity/for_IdentityProvider/when_getting_current/without_roles.js +3 -3
- package/dist/esm/identity/for_IdentityProvider/when_getting_current/without_roles.js.map +1 -1
- package/dist/esm/identity/for_IdentityProvider/when_refreshing/with_api_base_path_set.js +3 -3
- package/dist/esm/identity/for_IdentityProvider/when_refreshing/with_api_base_path_set.js.map +1 -1
- package/dist/esm/identity/for_IdentityProvider/when_refreshing/with_globals_api_base_path.js +4 -4
- package/dist/esm/identity/for_IdentityProvider/when_refreshing/with_globals_api_base_path.js.map +1 -1
- package/dist/esm/identity/for_IdentityProvider/when_refreshing/with_origin_set.js +3 -3
- package/dist/esm/identity/for_IdentityProvider/when_refreshing/with_origin_set.js.map +1 -1
- package/dist/esm/identity/for_IdentityProvider/when_refreshing/with_type_safe_details.js +3 -3
- package/dist/esm/identity/for_IdentityProvider/when_refreshing/with_type_safe_details.js.map +1 -1
- package/dist/esm/identity/for_IdentityProvider/when_refreshing/with_unauthorized_response.js +3 -3
- package/dist/esm/identity/for_IdentityProvider/when_refreshing/with_unauthorized_response.js.map +1 -1
- package/dist/esm/identity/for_IdentityProvider/when_refreshing/without_api_base_path.js +4 -4
- package/dist/esm/identity/for_IdentityProvider/when_refreshing/without_api_base_path.js.map +1 -1
- package/dist/esm/identity/for_IdentityProvider/when_setting_api_base_path.js +3 -3
- package/dist/esm/identity/for_IdentityProvider/when_setting_api_base_path.js.map +1 -1
- package/dist/esm/identity/for_IdentityProvider/when_setting_origin.js +3 -3
- package/dist/esm/identity/for_IdentityProvider/when_setting_origin.js.map +1 -1
- package/dist/esm/identity/index.d.ts +5 -5
- package/dist/esm/identity/index.d.ts.map +1 -1
- package/dist/esm/identity/index.js.map +1 -1
- package/dist/esm/index.d.ts +12 -12
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/messaging/Messenger.d.ts +1 -1
- package/dist/esm/messaging/Messenger.d.ts.map +1 -1
- package/dist/esm/messaging/Messenger.js.map +1 -1
- package/dist/esm/messaging/for_Messenger/when_scoping_messages.js +1 -1
- package/dist/esm/messaging/for_Messenger/when_scoping_messages.js.map +1 -1
- package/dist/esm/messaging/index.d.ts +3 -3
- package/dist/esm/messaging/index.d.ts.map +1 -1
- package/dist/esm/messaging/index.js.map +1 -1
- package/dist/esm/queries/IChangeStreamFor.d.ts +1 -1
- package/dist/esm/queries/IChangeStreamFor.d.ts.map +1 -1
- package/dist/esm/queries/IObservableQueryConnection.d.ts +1 -1
- package/dist/esm/queries/IObservableQueryConnection.d.ts.map +1 -1
- package/dist/esm/queries/IObservableQueryDiagnostics.d.ts +1 -1
- package/dist/esm/queries/IObservableQueryDiagnostics.d.ts.map +1 -1
- package/dist/esm/queries/IObservableQueryFor.d.ts +4 -4
- package/dist/esm/queries/IObservableQueryFor.d.ts.map +1 -1
- package/dist/esm/queries/IObservableQueryHubConnection.d.ts +2 -2
- package/dist/esm/queries/IObservableQueryHubConnection.d.ts.map +1 -1
- package/dist/esm/queries/IQuery.d.ts +4 -4
- package/dist/esm/queries/IQuery.d.ts.map +1 -1
- package/dist/esm/queries/IQueryFor.d.ts +3 -3
- package/dist/esm/queries/IQueryFor.d.ts.map +1 -1
- package/dist/esm/queries/IQueryProvider.d.ts +1 -1
- package/dist/esm/queries/IQueryProvider.d.ts.map +1 -1
- package/dist/esm/queries/IQueryProvider.js.map +1 -1
- package/dist/esm/queries/IQueryResult.d.ts +3 -3
- package/dist/esm/queries/IQueryResult.d.ts.map +1 -1
- package/dist/esm/queries/NullObservableQueryConnection.d.ts +3 -3
- package/dist/esm/queries/NullObservableQueryConnection.d.ts.map +1 -1
- package/dist/esm/queries/NullObservableQueryConnection.js.map +1 -1
- package/dist/esm/queries/ObservableQueryConnection.d.ts +3 -3
- package/dist/esm/queries/ObservableQueryConnection.d.ts.map +1 -1
- package/dist/esm/queries/ObservableQueryConnection.js.map +1 -1
- package/dist/esm/queries/ObservableQueryConnectionFactory.d.ts +1 -1
- package/dist/esm/queries/ObservableQueryConnectionFactory.d.ts.map +1 -1
- package/dist/esm/queries/ObservableQueryConnectionFactory.js.map +1 -1
- package/dist/esm/queries/ObservableQueryConnectionPool.d.ts +2 -2
- package/dist/esm/queries/ObservableQueryConnectionPool.d.ts.map +1 -1
- package/dist/esm/queries/ObservableQueryConnectionPool.js.map +1 -1
- package/dist/esm/queries/ObservableQueryDiagnostics.d.ts +4 -4
- package/dist/esm/queries/ObservableQueryDiagnostics.d.ts.map +1 -1
- package/dist/esm/queries/ObservableQueryDiagnostics.js.map +1 -1
- package/dist/esm/queries/ObservableQueryFor.d.ts +9 -9
- package/dist/esm/queries/ObservableQueryFor.d.ts.map +1 -1
- package/dist/esm/queries/ObservableQueryFor.js.map +1 -1
- package/dist/esm/queries/ObservableQueryMultiplexer.d.ts +4 -4
- package/dist/esm/queries/ObservableQueryMultiplexer.d.ts.map +1 -1
- package/dist/esm/queries/ObservableQueryMultiplexer.js.map +1 -1
- package/dist/esm/queries/ObservableQuerySubscription.d.ts +1 -1
- package/dist/esm/queries/ObservableQuerySubscription.d.ts.map +1 -1
- package/dist/esm/queries/ObservableQuerySubscription.js.map +1 -1
- package/dist/esm/queries/QueryFor.d.ts +8 -8
- package/dist/esm/queries/QueryFor.d.ts.map +1 -1
- package/dist/esm/queries/QueryFor.js.map +1 -1
- package/dist/esm/queries/QueryHttpMethodResolver.d.ts +1 -1
- package/dist/esm/queries/QueryHttpMethodResolver.d.ts.map +1 -1
- package/dist/esm/queries/QueryHttpMethodResolver.js.map +1 -1
- package/dist/esm/queries/QueryHttpRequest.d.ts +3 -3
- package/dist/esm/queries/QueryHttpRequest.d.ts.map +1 -1
- package/dist/esm/queries/QueryHttpRequest.js.map +1 -1
- package/dist/esm/queries/QueryInstanceCache.d.ts +2 -2
- package/dist/esm/queries/QueryInstanceCache.d.ts.map +1 -1
- package/dist/esm/queries/QueryInstanceCache.js.map +1 -1
- package/dist/esm/queries/QueryProvider.d.ts +3 -3
- package/dist/esm/queries/QueryProvider.d.ts.map +1 -1
- package/dist/esm/queries/QueryProvider.js.map +1 -1
- package/dist/esm/queries/QueryResult.d.ts +4 -4
- package/dist/esm/queries/QueryResult.d.ts.map +1 -1
- package/dist/esm/queries/QueryResult.js.map +1 -1
- package/dist/esm/queries/QueryResultWithState.d.ts +4 -4
- package/dist/esm/queries/QueryResultWithState.d.ts.map +1 -1
- package/dist/esm/queries/QueryResultWithState.js.map +1 -1
- package/dist/esm/queries/QueryValidator.d.ts +2 -2
- package/dist/esm/queries/QueryValidator.d.ts.map +1 -1
- package/dist/esm/queries/QueryValidator.js.map +1 -1
- package/dist/esm/queries/ReconnectPolicy.d.ts +1 -1
- package/dist/esm/queries/ReconnectPolicy.d.ts.map +1 -1
- package/dist/esm/queries/ReconnectPolicy.js.map +1 -1
- package/dist/esm/queries/ServerSentEventHubConnection.d.ts +4 -4
- package/dist/esm/queries/ServerSentEventHubConnection.d.ts.map +1 -1
- package/dist/esm/queries/ServerSentEventHubConnection.js.map +1 -1
- package/dist/esm/queries/ServerSentEventQueryConnection.d.ts +2 -2
- package/dist/esm/queries/ServerSentEventQueryConnection.d.ts.map +1 -1
- package/dist/esm/queries/ServerSentEventQueryConnection.js.map +1 -1
- package/dist/esm/queries/Sorting.d.ts +1 -1
- package/dist/esm/queries/Sorting.d.ts.map +1 -1
- package/dist/esm/queries/Sorting.js.map +1 -1
- package/dist/esm/queries/SortingActions.d.ts +1 -1
- package/dist/esm/queries/SortingActions.d.ts.map +1 -1
- package/dist/esm/queries/SortingActions.js.map +1 -1
- package/dist/esm/queries/SortingActionsForObservableQuery.d.ts +2 -2
- package/dist/esm/queries/SortingActionsForObservableQuery.d.ts.map +1 -1
- package/dist/esm/queries/SortingActionsForObservableQuery.js.map +1 -1
- package/dist/esm/queries/SortingActionsForQuery.d.ts +2 -2
- package/dist/esm/queries/SortingActionsForQuery.d.ts.map +1 -1
- package/dist/esm/queries/SortingActionsForQuery.js.map +1 -1
- package/dist/esm/queries/WebSocketHubConnection.d.ts +2 -2
- package/dist/esm/queries/WebSocketHubConnection.d.ts.map +1 -1
- package/dist/esm/queries/WebSocketHubConnection.js.map +1 -1
- package/dist/esm/queries/for_HubConnectionKeepAlive/behavior.js +1 -1
- package/dist/esm/queries/for_HubConnectionKeepAlive/behavior.js.map +1 -1
- package/dist/esm/queries/for_HubConnectionKeepAlive/when_reconfiguring/while_running.js +1 -1
- package/dist/esm/queries/for_HubConnectionKeepAlive/when_reconfiguring/while_running.js.map +1 -1
- package/dist/esm/queries/for_HubConnectionKeepAlive/when_reconfiguring/while_stopped.js +1 -1
- package/dist/esm/queries/for_HubConnectionKeepAlive/when_reconfiguring/while_stopped.js.map +1 -1
- package/dist/esm/queries/for_HubConnectionKeepAlive/when_started_with_custom_idle_threshold/respects_threshold.js +1 -1
- package/dist/esm/queries/for_HubConnectionKeepAlive/when_started_with_custom_idle_threshold/respects_threshold.js.map +1 -1
- package/dist/esm/queries/for_ObservableQueryConnection/given/an_observable_query_connection.d.ts +1 -1
- package/dist/esm/queries/for_ObservableQueryConnection/given/an_observable_query_connection.d.ts.map +1 -1
- package/dist/esm/queries/for_ObservableQueryConnection/given/an_observable_query_connection.js +1 -1
- package/dist/esm/queries/for_ObservableQueryConnection/given/an_observable_query_connection.js.map +1 -1
- package/dist/esm/queries/for_ObservableQueryConnection/given/an_observable_query_connection_with_a_reconnect_policy.d.ts +2 -2
- package/dist/esm/queries/for_ObservableQueryConnection/given/an_observable_query_connection_with_a_reconnect_policy.d.ts.map +1 -1
- package/dist/esm/queries/for_ObservableQueryConnection/given/an_observable_query_connection_with_a_reconnect_policy.js +1 -1
- package/dist/esm/queries/for_ObservableQueryConnection/given/an_observable_query_connection_with_a_reconnect_policy.js.map +1 -1
- package/dist/esm/queries/for_ObservableQueryConnection/given/an_observable_query_connection_with_websocket.d.ts +1 -1
- package/dist/esm/queries/for_ObservableQueryConnection/given/an_observable_query_connection_with_websocket.d.ts.map +1 -1
- package/dist/esm/queries/for_ObservableQueryConnection/given/an_observable_query_connection_with_websocket.js +1 -1
- package/dist/esm/queries/for_ObservableQueryConnection/given/an_observable_query_connection_with_websocket.js.map +1 -1
- package/dist/esm/queries/for_ObservableQueryConnection/when_constructing.js +2 -2
- package/dist/esm/queries/for_ObservableQueryConnection/when_constructing.js.map +1 -1
- package/dist/esm/queries/for_ObservableQueryConnection/when_receiving_data_message_with_type.js +3 -3
- package/dist/esm/queries/for_ObservableQueryConnection/when_receiving_data_message_with_type.js.map +1 -1
- package/dist/esm/queries/for_ObservableQueryConnection/when_receiving_legacy_data_message.js +2 -2
- package/dist/esm/queries/for_ObservableQueryConnection/when_receiving_legacy_data_message.js.map +1 -1
- package/dist/esm/queries/for_ObservableQueryConnection/when_receiving_unauthorized/terminates_without_reconnecting.js +3 -3
- package/dist/esm/queries/for_ObservableQueryConnection/when_receiving_unauthorized/terminates_without_reconnecting.js.map +1 -1
- package/dist/esm/queries/for_ObservableQueryConnectionFactory/given/a_descriptor.d.ts +2 -2
- package/dist/esm/queries/for_ObservableQueryConnectionFactory/given/a_descriptor.d.ts.map +1 -1
- package/dist/esm/queries/for_ObservableQueryConnectionFactory/given/a_descriptor.js +1 -1
- package/dist/esm/queries/for_ObservableQueryConnectionFactory/given/a_descriptor.js.map +1 -1
- package/dist/esm/queries/for_ObservableQueryConnectionFactory/when_creating/with_direct_mode_and_sse_transport.js +6 -6
- package/dist/esm/queries/for_ObservableQueryConnectionFactory/when_creating/with_direct_mode_and_sse_transport.js.map +1 -1
- package/dist/esm/queries/for_ObservableQueryConnectionFactory/when_creating/with_direct_mode_and_websocket_transport.js +6 -6
- package/dist/esm/queries/for_ObservableQueryConnectionFactory/when_creating/with_direct_mode_and_websocket_transport.js.map +1 -1
- package/dist/esm/queries/for_ObservableQueryConnectionFactory/when_creating/with_hub_mode_and_sse_transport.js +7 -7
- package/dist/esm/queries/for_ObservableQueryConnectionFactory/when_creating/with_hub_mode_and_sse_transport.js.map +1 -1
- package/dist/esm/queries/for_ObservableQueryConnectionFactory/when_creating/with_hub_mode_and_sse_transport_and_connection_count_exceeding_safe_limit.js +6 -6
- package/dist/esm/queries/for_ObservableQueryConnectionFactory/when_creating/with_hub_mode_and_sse_transport_and_connection_count_exceeding_safe_limit.js.map +1 -1
- package/dist/esm/queries/for_ObservableQueryConnectionFactory/when_creating/with_hub_mode_and_sse_transport_and_connection_count_within_safe_limit.js +6 -6
- package/dist/esm/queries/for_ObservableQueryConnectionFactory/when_creating/with_hub_mode_and_sse_transport_and_connection_count_within_safe_limit.js.map +1 -1
- package/dist/esm/queries/for_ObservableQueryConnectionFactory/when_creating/with_hub_mode_and_websocket_transport.js +6 -6
- package/dist/esm/queries/for_ObservableQueryConnectionFactory/when_creating/with_hub_mode_and_websocket_transport.js.map +1 -1
- package/dist/esm/queries/for_ObservableQueryConnectionFactory/when_creating/with_hub_mode_and_websocket_transport_and_high_connection_count.js +6 -6
- package/dist/esm/queries/for_ObservableQueryConnectionFactory/when_creating/with_hub_mode_and_websocket_transport_and_high_connection_count.js.map +1 -1
- package/dist/esm/queries/for_ObservableQueryConnectionPool/when_acquiring/with_multiple_slots/and_least_loaded_slot_is_chosen.js +1 -1
- package/dist/esm/queries/for_ObservableQueryConnectionPool/when_acquiring/with_multiple_slots/and_least_loaded_slot_is_chosen.js.map +1 -1
- package/dist/esm/queries/for_ObservableQueryConnectionPool/when_acquiring/with_multiple_slots/and_size_is_zero.js +1 -1
- package/dist/esm/queries/for_ObservableQueryConnectionPool/when_acquiring/with_multiple_slots/and_size_is_zero.js.map +1 -1
- package/dist/esm/queries/for_ObservableQueryConnectionPool/when_acquiring/with_single_slot/and_one_subscriber.js +1 -1
- package/dist/esm/queries/for_ObservableQueryConnectionPool/when_acquiring/with_single_slot/and_one_subscriber.js.map +1 -1
- package/dist/esm/queries/for_ObservableQueryDiagnostics/when_tracking_owners.js +1 -1
- package/dist/esm/queries/for_ObservableQueryDiagnostics/when_tracking_owners.js.map +1 -1
- package/dist/esm/queries/for_ObservableQueryFor/given/TestQueries.d.ts +2 -2
- package/dist/esm/queries/for_ObservableQueryFor/given/TestQueries.d.ts.map +1 -1
- package/dist/esm/queries/for_ObservableQueryFor/given/TestQueries.js +2 -2
- package/dist/esm/queries/for_ObservableQueryFor/given/TestQueries.js.map +1 -1
- package/dist/esm/queries/for_ObservableQueryFor/given/an_observable_query_for.d.ts +1 -1
- package/dist/esm/queries/for_ObservableQueryFor/given/an_observable_query_for.d.ts.map +1 -1
- package/dist/esm/queries/for_ObservableQueryFor/given/an_observable_query_for.js +1 -1
- package/dist/esm/queries/for_ObservableQueryFor/given/an_observable_query_for.js.map +1 -1
- package/dist/esm/queries/for_ObservableQueryFor/given/an_observable_query_with_validator.d.ts +4 -4
- package/dist/esm/queries/for_ObservableQueryFor/given/an_observable_query_with_validator.d.ts.map +1 -1
- package/dist/esm/queries/for_ObservableQueryFor/given/an_observable_query_with_validator.js +3 -3
- package/dist/esm/queries/for_ObservableQueryFor/given/an_observable_query_with_validator.js.map +1 -1
- package/dist/esm/queries/for_ObservableQueryFor/when_constructing.js +5 -5
- package/dist/esm/queries/for_ObservableQueryFor/when_constructing.js.map +1 -1
- package/dist/esm/queries/for_ObservableQueryFor/when_constructing_enumerable.js +4 -4
- package/dist/esm/queries/for_ObservableQueryFor/when_constructing_enumerable.js.map +1 -1
- package/dist/esm/queries/for_ObservableQueryFor/when_constructing_with_globals_api_base_path.js +4 -4
- package/dist/esm/queries/for_ObservableQueryFor/when_constructing_with_globals_api_base_path.js.map +1 -1
- package/dist/esm/queries/for_ObservableQueryFor/when_constructing_with_globals_origin.js +4 -4
- package/dist/esm/queries/for_ObservableQueryFor/when_constructing_with_globals_origin.js.map +1 -1
- package/dist/esm/queries/for_ObservableQueryFor/when_disposing.js +2 -2
- package/dist/esm/queries/for_ObservableQueryFor/when_disposing.js.map +1 -1
- package/dist/esm/queries/for_ObservableQueryFor/when_performing/with_a_not_ready_result.js +3 -3
- package/dist/esm/queries/for_ObservableQueryFor/when_performing/with_a_not_ready_result.js.map +1 -1
- package/dist/esm/queries/for_ObservableQueryFor/when_performing/with_client_validation_failing.js +2 -2
- package/dist/esm/queries/for_ObservableQueryFor/when_performing/with_client_validation_failing.js.map +1 -1
- package/dist/esm/queries/for_ObservableQueryFor/when_performing/with_enumerable_query.js +3 -3
- package/dist/esm/queries/for_ObservableQueryFor/when_performing/with_enumerable_query.js.map +1 -1
- package/dist/esm/queries/for_ObservableQueryFor/when_performing/with_invalid_arguments.js +2 -2
- package/dist/esm/queries/for_ObservableQueryFor/when_performing/with_invalid_arguments.js.map +1 -1
- package/dist/esm/queries/for_ObservableQueryFor/when_performing/with_paging.js +4 -4
- package/dist/esm/queries/for_ObservableQueryFor/when_performing/with_paging.js.map +1 -1
- package/dist/esm/queries/for_ObservableQueryFor/when_performing/with_parameter_descriptor_values.js +3 -3
- package/dist/esm/queries/for_ObservableQueryFor/when_performing/with_parameter_descriptor_values.js.map +1 -1
- package/dist/esm/queries/for_ObservableQueryFor/when_performing/with_partial_parameter_descriptor_values.js +3 -3
- package/dist/esm/queries/for_ObservableQueryFor/when_performing/with_partial_parameter_descriptor_values.js.map +1 -1
- package/dist/esm/queries/for_ObservableQueryFor/when_performing/with_partially_missing_required_arguments.js +3 -3
- package/dist/esm/queries/for_ObservableQueryFor/when_performing/with_partially_missing_required_arguments.js.map +1 -1
- package/dist/esm/queries/for_ObservableQueryFor/when_performing/with_route_parameters_and_unused_parameters.js +3 -3
- package/dist/esm/queries/for_ObservableQueryFor/when_performing/with_route_parameters_and_unused_parameters.js.map +1 -1
- package/dist/esm/queries/for_ObservableQueryFor/when_performing/with_sorting.js +5 -5
- package/dist/esm/queries/for_ObservableQueryFor/when_performing/with_sorting.js.map +1 -1
- package/dist/esm/queries/for_ObservableQueryFor/when_performing/with_valid_arguments.js +3 -3
- package/dist/esm/queries/for_ObservableQueryFor/when_performing/with_valid_arguments.js.map +1 -1
- package/dist/esm/queries/for_ObservableQueryFor/when_receiving_a_result/and_the_model_has_a_calendar_collection.js +4 -4
- package/dist/esm/queries/for_ObservableQueryFor/when_receiving_a_result/and_the_model_has_a_calendar_collection.js.map +1 -1
- package/dist/esm/queries/for_ObservableQueryFor/when_receiving_a_result/and_the_model_type_is_a_primitive_collection.js +4 -4
- package/dist/esm/queries/for_ObservableQueryFor/when_receiving_a_result/and_the_model_type_is_a_primitive_collection.js.map +1 -1
- package/dist/esm/queries/for_ObservableQueryFor/when_setting_api_base_path.js +1 -1
- package/dist/esm/queries/for_ObservableQueryFor/when_setting_api_base_path.js.map +1 -1
- package/dist/esm/queries/for_ObservableQueryFor/when_setting_microservice.js +1 -1
- package/dist/esm/queries/for_ObservableQueryFor/when_setting_microservice.js.map +1 -1
- package/dist/esm/queries/for_ObservableQueryFor/when_setting_origin.js +1 -1
- package/dist/esm/queries/for_ObservableQueryFor/when_setting_origin.js.map +1 -1
- package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_client_validation_failing.js +2 -2
- package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_client_validation_failing.js.map +1 -1
- package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_client_validation_passing.js +2 -2
- package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_client_validation_passing.js.map +1 -1
- package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_direct_mode_and_sse_transport.js +4 -4
- package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_direct_mode_and_sse_transport.js.map +1 -1
- package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_direct_mode_disabled_and_sse_transport.js +7 -7
- package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_direct_mode_disabled_and_sse_transport.js.map +1 -1
- package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_direct_mode_enabled.js +3 -3
- package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_direct_mode_enabled.js.map +1 -1
- package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_enumerable_query.js +2 -2
- package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_enumerable_query.js.map +1 -1
- package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_hub_mode_and_multiple_required_route_parameters.js +6 -6
- package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_hub_mode_and_multiple_required_route_parameters.js.map +1 -1
- package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_hub_mode_and_sse_transport_and_null_or_undefined_args.js +6 -6
- package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_hub_mode_and_sse_transport_and_null_or_undefined_args.js.map +1 -1
- package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_hub_mode_and_sse_transport_and_route_and_query_args.js +6 -6
- package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_hub_mode_and_sse_transport_and_route_and_query_args.js.map +1 -1
- package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_hub_mode_and_stale_descriptor_backed_instance_property.js +6 -6
- package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_hub_mode_and_stale_descriptor_backed_instance_property.js.map +1 -1
- package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_invalid_arguments.js +2 -2
- package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_invalid_arguments.js.map +1 -1
- package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_paging.js +3 -3
- package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_paging.js.map +1 -1
- package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_partially_missing_required_arguments.js +2 -2
- package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_partially_missing_required_arguments.js.map +1 -1
- package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_route_and_query_args.js +3 -3
- package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_route_and_query_args.js.map +1 -1
- package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_sorting.js +4 -4
- package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_sorting.js.map +1 -1
- package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_valid_arguments.js +2 -2
- package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_valid_arguments.js.map +1 -1
- package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_web_socket_hub_payload_without_readiness.js +6 -6
- package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_web_socket_hub_payload_without_readiness.js.map +1 -1
- package/dist/esm/queries/for_ObservableQueryMultiplexer/when_getting_or_creating/with_a_changed_cache_key.js +1 -1
- package/dist/esm/queries/for_ObservableQueryMultiplexer/when_getting_or_creating/with_a_changed_cache_key.js.map +1 -1
- package/dist/esm/queries/for_ObservableQueryMultiplexer/when_getting_or_creating/with_a_new_cache_key.js +1 -1
- package/dist/esm/queries/for_ObservableQueryMultiplexer/when_getting_or_creating/with_a_new_cache_key.js.map +1 -1
- package/dist/esm/queries/for_ObservableQueryMultiplexer/when_getting_or_creating/with_an_explicit_size.js +1 -1
- package/dist/esm/queries/for_ObservableQueryMultiplexer/when_getting_or_creating/with_an_explicit_size.js.map +1 -1
- package/dist/esm/queries/for_ObservableQueryMultiplexer/when_getting_or_creating/with_the_same_cache_key.js +1 -1
- package/dist/esm/queries/for_ObservableQueryMultiplexer/when_getting_or_creating/with_the_same_cache_key.js.map +1 -1
- package/dist/esm/queries/for_QueryFor/given/TestQueries.d.ts +2 -2
- package/dist/esm/queries/for_QueryFor/given/TestQueries.d.ts.map +1 -1
- package/dist/esm/queries/for_QueryFor/given/TestQueries.js +2 -2
- package/dist/esm/queries/for_QueryFor/given/TestQueries.js.map +1 -1
- package/dist/esm/queries/for_QueryFor/given/a_query_for.d.ts +1 -1
- package/dist/esm/queries/for_QueryFor/given/a_query_for.d.ts.map +1 -1
- package/dist/esm/queries/for_QueryFor/given/a_query_for.js +1 -1
- package/dist/esm/queries/for_QueryFor/given/a_query_for.js.map +1 -1
- package/dist/esm/queries/for_QueryFor/given/a_query_with_validator.d.ts +4 -4
- package/dist/esm/queries/for_QueryFor/given/a_query_with_validator.d.ts.map +1 -1
- package/dist/esm/queries/for_QueryFor/given/a_query_with_validator.js +4 -4
- package/dist/esm/queries/for_QueryFor/given/a_query_with_validator.js.map +1 -1
- package/dist/esm/queries/for_QueryFor/when_constructing.js +5 -5
- package/dist/esm/queries/for_QueryFor/when_constructing.js.map +1 -1
- package/dist/esm/queries/for_QueryFor/when_constructing_enumerable.js +4 -4
- package/dist/esm/queries/for_QueryFor/when_constructing_enumerable.js.map +1 -1
- package/dist/esm/queries/for_QueryFor/when_constructing_with_globals_api_base_path.js +4 -4
- package/dist/esm/queries/for_QueryFor/when_constructing_with_globals_api_base_path.js.map +1 -1
- package/dist/esm/queries/for_QueryFor/when_constructing_with_globals_origin.js +4 -4
- package/dist/esm/queries/for_QueryFor/when_constructing_with_globals_origin.js.map +1 -1
- package/dist/esm/queries/for_QueryFor/when_performing/with_a_nullish_transport_rejection.js +3 -3
- package/dist/esm/queries/for_QueryFor/when_performing/with_a_nullish_transport_rejection.js.map +1 -1
- package/dist/esm/queries/for_QueryFor/when_performing/with_abort_controller.js +3 -3
- package/dist/esm/queries/for_QueryFor/when_performing/with_abort_controller.js.map +1 -1
- package/dist/esm/queries/for_QueryFor/when_performing/with_an_aborted_request.js +3 -3
- package/dist/esm/queries/for_QueryFor/when_performing/with_an_aborted_request.js.map +1 -1
- package/dist/esm/queries/for_QueryFor/when_performing/with_client_validation_failing.d.ts +1 -1
- package/dist/esm/queries/for_QueryFor/when_performing/with_client_validation_failing.d.ts.map +1 -1
- package/dist/esm/queries/for_QueryFor/when_performing/with_client_validation_failing.js +3 -3
- package/dist/esm/queries/for_QueryFor/when_performing/with_client_validation_failing.js.map +1 -1
- package/dist/esm/queries/for_QueryFor/when_performing/with_client_validation_failure_and_custom_message.js +2 -2
- package/dist/esm/queries/for_QueryFor/when_performing/with_client_validation_failure_and_custom_message.js.map +1 -1
- package/dist/esm/queries/for_QueryFor/when_performing/with_client_validation_passing.d.ts +1 -1
- package/dist/esm/queries/for_QueryFor/when_performing/with_client_validation_passing.d.ts.map +1 -1
- package/dist/esm/queries/for_QueryFor/when_performing/with_client_validation_passing.js +4 -4
- package/dist/esm/queries/for_QueryFor/when_performing/with_client_validation_passing.js.map +1 -1
- package/dist/esm/queries/for_QueryFor/when_performing/with_enumerable_parameter_descriptor_values.js +3 -3
- package/dist/esm/queries/for_QueryFor/when_performing/with_enumerable_parameter_descriptor_values.js.map +1 -1
- package/dist/esm/queries/for_QueryFor/when_performing/with_enumerable_query.js +3 -3
- package/dist/esm/queries/for_QueryFor/when_performing/with_enumerable_query.js.map +1 -1
- package/dist/esm/queries/for_QueryFor/when_performing/with_fetch_error.js +3 -3
- package/dist/esm/queries/for_QueryFor/when_performing/with_fetch_error.js.map +1 -1
- package/dist/esm/queries/for_QueryFor/when_performing/with_invalid_arguments.js +2 -2
- package/dist/esm/queries/for_QueryFor/when_performing/with_invalid_arguments.js.map +1 -1
- package/dist/esm/queries/for_QueryFor/when_performing/with_json_parse_error.js +3 -3
- package/dist/esm/queries/for_QueryFor/when_performing/with_json_parse_error.js.map +1 -1
- package/dist/esm/queries/for_QueryFor/when_performing/with_paging.js +4 -4
- package/dist/esm/queries/for_QueryFor/when_performing/with_paging.js.map +1 -1
- package/dist/esm/queries/for_QueryFor/when_performing/with_parameter_descriptor_values.js +3 -3
- package/dist/esm/queries/for_QueryFor/when_performing/with_parameter_descriptor_values.js.map +1 -1
- package/dist/esm/queries/for_QueryFor/when_performing/with_partial_parameter_descriptor_values.js +3 -3
- package/dist/esm/queries/for_QueryFor/when_performing/with_partial_parameter_descriptor_values.js.map +1 -1
- package/dist/esm/queries/for_QueryFor/when_performing/with_partially_missing_required_arguments.js +3 -3
- package/dist/esm/queries/for_QueryFor/when_performing/with_partially_missing_required_arguments.js.map +1 -1
- package/dist/esm/queries/for_QueryFor/when_performing/with_query_http_method.js +4 -4
- package/dist/esm/queries/for_QueryFor/when_performing/with_query_http_method.js.map +1 -1
- package/dist/esm/queries/for_QueryFor/when_performing/with_query_without_required_parameters.js +3 -3
- package/dist/esm/queries/for_QueryFor/when_performing/with_query_without_required_parameters.js.map +1 -1
- package/dist/esm/queries/for_QueryFor/when_performing/with_route_parameters_and_unused_parameters.js +3 -3
- package/dist/esm/queries/for_QueryFor/when_performing/with_route_parameters_and_unused_parameters.js.map +1 -1
- package/dist/esm/queries/for_QueryFor/when_performing/with_sorting.js +5 -5
- package/dist/esm/queries/for_QueryFor/when_performing/with_sorting.js.map +1 -1
- package/dist/esm/queries/for_QueryFor/when_performing/with_valid_arguments.js +3 -3
- package/dist/esm/queries/for_QueryFor/when_performing/with_valid_arguments.js.map +1 -1
- package/dist/esm/queries/for_QueryFor/when_setting_api_base_path.js +2 -2
- package/dist/esm/queries/for_QueryFor/when_setting_api_base_path.js.map +1 -1
- package/dist/esm/queries/for_QueryFor/when_setting_microservice.js +2 -2
- package/dist/esm/queries/for_QueryFor/when_setting_microservice.js.map +1 -1
- package/dist/esm/queries/for_QueryFor/when_setting_origin.js +2 -2
- package/dist/esm/queries/for_QueryFor/when_setting_origin.js.map +1 -1
- package/dist/esm/queries/for_QueryInstanceCache/when_acquiring/after_release.js +1 -1
- package/dist/esm/queries/for_QueryInstanceCache/when_acquiring/after_release.js.map +1 -1
- package/dist/esm/queries/for_QueryInstanceCache/when_building_key/with_arguments.js +1 -1
- package/dist/esm/queries/for_QueryInstanceCache/when_building_key/with_arguments.js.map +1 -1
- package/dist/esm/queries/for_QueryInstanceCache/when_building_key/with_empty_arguments_object.js +1 -1
- package/dist/esm/queries/for_QueryInstanceCache/when_building_key/with_empty_arguments_object.js.map +1 -1
- package/dist/esm/queries/for_QueryInstanceCache/when_building_key/with_same_arguments_different_order.js +1 -1
- package/dist/esm/queries/for_QueryInstanceCache/when_building_key/with_same_arguments_different_order.js.map +1 -1
- package/dist/esm/queries/for_QueryInstanceCache/when_building_key/without_arguments.js +1 -1
- package/dist/esm/queries/for_QueryInstanceCache/when_building_key/without_arguments.js.map +1 -1
- package/dist/esm/queries/for_QueryInstanceCache/when_deferring_dispose/with_cancellation_before_timeout.js +1 -1
- package/dist/esm/queries/for_QueryInstanceCache/when_deferring_dispose/with_cancellation_before_timeout.js.map +1 -1
- package/dist/esm/queries/for_QueryInstanceCache/when_deferring_dispose/without_cancellation.js +1 -1
- package/dist/esm/queries/for_QueryInstanceCache/when_deferring_dispose/without_cancellation.js.map +1 -1
- package/dist/esm/queries/for_QueryInstanceCache/when_disposing/an_empty_cache.js +1 -1
- package/dist/esm/queries/for_QueryInstanceCache/when_disposing/an_empty_cache.js.map +1 -1
- package/dist/esm/queries/for_QueryInstanceCache/when_disposing/with_active_subscriptions.js +1 -1
- package/dist/esm/queries/for_QueryInstanceCache/when_disposing/with_active_subscriptions.js.map +1 -1
- package/dist/esm/queries/for_QueryInstanceCache/when_disposing/with_pending_deferred_cleanup.js +1 -1
- package/dist/esm/queries/for_QueryInstanceCache/when_disposing/with_pending_deferred_cleanup.js.map +1 -1
- package/dist/esm/queries/for_QueryInstanceCache/when_getting_last_result/with_no_result_stored.js +1 -1
- package/dist/esm/queries/for_QueryInstanceCache/when_getting_last_result/with_no_result_stored.js.map +1 -1
- package/dist/esm/queries/for_QueryInstanceCache/when_getting_last_result/with_stored_result.js +2 -2
- package/dist/esm/queries/for_QueryInstanceCache/when_getting_last_result/with_stored_result.js.map +1 -1
- package/dist/esm/queries/for_QueryInstanceCache/when_getting_or_creating/with_existing_entry.js +1 -1
- package/dist/esm/queries/for_QueryInstanceCache/when_getting_or_creating/with_existing_entry.js.map +1 -1
- package/dist/esm/queries/for_QueryInstanceCache/when_getting_or_creating/with_new_entry.js +1 -1
- package/dist/esm/queries/for_QueryInstanceCache/when_getting_or_creating/with_new_entry.js.map +1 -1
- package/dist/esm/queries/for_QueryInstanceCache/when_releasing/a_key_that_does_not_exist.js +1 -1
- package/dist/esm/queries/for_QueryInstanceCache/when_releasing/a_key_that_does_not_exist.js.map +1 -1
- package/dist/esm/queries/for_QueryInstanceCache/when_releasing/one_of_two_subscribers.js +1 -1
- package/dist/esm/queries/for_QueryInstanceCache/when_releasing/one_of_two_subscribers.js.map +1 -1
- package/dist/esm/queries/for_QueryInstanceCache/when_releasing/the_only_subscriber.js +1 -1
- package/dist/esm/queries/for_QueryInstanceCache/when_releasing/the_only_subscriber.js.map +1 -1
- package/dist/esm/queries/for_QueryInstanceCache/when_releasing/with_retention_timeout/after_timeout_elapses.js +1 -1
- package/dist/esm/queries/for_QueryInstanceCache/when_releasing/with_retention_timeout/after_timeout_elapses.js.map +1 -1
- package/dist/esm/queries/for_QueryInstanceCache/when_releasing/with_retention_timeout/before_timeout_elapses.js +1 -1
- package/dist/esm/queries/for_QueryInstanceCache/when_releasing/with_retention_timeout/before_timeout_elapses.js.map +1 -1
- package/dist/esm/queries/for_QueryInstanceCache/when_setting_last_result/with_a_partially_changed_result.js +2 -2
- package/dist/esm/queries/for_QueryInstanceCache/when_setting_last_result/with_a_partially_changed_result.js.map +1 -1
- package/dist/esm/queries/for_QueryInstanceCache/when_setting_last_result/with_a_re_delivered_identical_result.js +2 -2
- package/dist/esm/queries/for_QueryInstanceCache/when_setting_last_result/with_a_re_delivered_identical_result.js.map +1 -1
- package/dist/esm/queries/for_QueryInstanceCache/when_setting_last_result/with_a_result.js +2 -2
- package/dist/esm/queries/for_QueryInstanceCache/when_setting_last_result/with_a_result.js.map +1 -1
- package/dist/esm/queries/for_QueryInstanceCache/when_setting_last_result/with_changed_data.js +2 -2
- package/dist/esm/queries/for_QueryInstanceCache/when_setting_last_result/with_changed_data.js.map +1 -1
- package/dist/esm/queries/for_QueryInstanceCache/when_setting_last_result/with_identical_data_as_previous_result.js +2 -2
- package/dist/esm/queries/for_QueryInstanceCache/when_setting_last_result/with_identical_data_as_previous_result.js.map +1 -1
- package/dist/esm/queries/for_QueryInstanceCache/when_setting_last_result/with_only_readiness_changed.js +3 -3
- package/dist/esm/queries/for_QueryInstanceCache/when_setting_last_result/with_only_readiness_changed.js.map +1 -1
- package/dist/esm/queries/for_QueryInstanceCache/when_setting_last_result/without_previous_result.js +2 -2
- package/dist/esm/queries/for_QueryInstanceCache/when_setting_last_result/without_previous_result.js.map +1 -1
- package/dist/esm/queries/for_QueryInstanceCache/when_tearing_down_all_subscriptions/with_active_subscriptions.js +1 -1
- package/dist/esm/queries/for_QueryInstanceCache/when_tearing_down_all_subscriptions/with_active_subscriptions.js.map +1 -1
- package/dist/esm/queries/for_QueryInstanceCache/when_tearing_down_all_subscriptions/with_no_subscriptions.js +1 -1
- package/dist/esm/queries/for_QueryInstanceCache/when_tearing_down_all_subscriptions/with_no_subscriptions.js.map +1 -1
- package/dist/esm/queries/for_QueryInstanceCache/when_tearing_down_all_subscriptions/with_pending_deferred_cleanup.js +1 -1
- package/dist/esm/queries/for_QueryInstanceCache/when_tearing_down_all_subscriptions/with_pending_deferred_cleanup.js.map +1 -1
- package/dist/esm/queries/for_QueryResult/when_asking_has_data/and_it_an_array_with_items.js +1 -1
- package/dist/esm/queries/for_QueryResult/when_asking_has_data/and_it_an_array_with_items.js.map +1 -1
- package/dist/esm/queries/for_QueryResult/when_asking_has_data/and_it_is_defined_instance.js +1 -1
- package/dist/esm/queries/for_QueryResult/when_asking_has_data/and_it_is_defined_instance.js.map +1 -1
- package/dist/esm/queries/for_QueryResult/when_asking_has_data/and_it_is_empty_array.js +1 -1
- package/dist/esm/queries/for_QueryResult/when_asking_has_data/and_it_is_empty_array.js.map +1 -1
- package/dist/esm/queries/for_QueryResult/when_asking_has_data/and_it_is_null_for_enumerable.js +1 -1
- package/dist/esm/queries/for_QueryResult/when_asking_has_data/and_it_is_null_for_enumerable.js.map +1 -1
- package/dist/esm/queries/for_QueryResult/when_asking_has_data/and_it_is_null_for_non_enumerable.js +1 -1
- package/dist/esm/queries/for_QueryResult/when_asking_has_data/and_it_is_null_for_non_enumerable.js.map +1 -1
- package/dist/esm/queries/for_QueryResult/when_asking_has_data/and_it_is_undefined.js +1 -1
- package/dist/esm/queries/for_QueryResult/when_asking_has_data/and_it_is_undefined.js.map +1 -1
- package/dist/esm/queries/for_QueryResult/when_constructing_from_a_server_result/with_readiness_false.js +1 -1
- package/dist/esm/queries/for_QueryResult/when_constructing_from_a_server_result/with_readiness_false.js.map +1 -1
- package/dist/esm/queries/for_QueryResult/when_constructing_from_a_server_result/without_readiness.js +1 -1
- package/dist/esm/queries/for_QueryResult/when_constructing_from_a_server_result/without_readiness.js.map +1 -1
- package/dist/esm/queries/for_QueryResult/when_constructing_from_a_server_result_with_a_constraint_violation.js +3 -3
- package/dist/esm/queries/for_QueryResult/when_constructing_from_a_server_result_with_a_constraint_violation.js.map +1 -1
- package/dist/esm/queries/for_QueryResult/when_creating_a_validation_failed_result.js +4 -4
- package/dist/esm/queries/for_QueryResult/when_creating_a_validation_failed_result.js.map +1 -1
- package/dist/esm/queries/for_QueryResult/when_data_is_single_item_for_enumerable/and_it_is_an_array.js +1 -1
- package/dist/esm/queries/for_QueryResult/when_data_is_single_item_for_enumerable/and_it_is_an_array.js.map +1 -1
- package/dist/esm/queries/for_QueryResultWithState/when_creating_empty/with_null_default_value.js +1 -1
- package/dist/esm/queries/for_QueryResultWithState/when_creating_empty/with_null_default_value.js.map +1 -1
- package/dist/esm/queries/for_QueryResultWithState/when_creating_empty/with_undefined_default_value.js +1 -1
- package/dist/esm/queries/for_QueryResultWithState/when_creating_empty/with_undefined_default_value.js.map +1 -1
- package/dist/esm/queries/for_QueryResultWithState/when_creating_from_query_result/with_null_data.js +2 -2
- package/dist/esm/queries/for_QueryResultWithState/when_creating_from_query_result/with_null_data.js.map +1 -1
- package/dist/esm/queries/for_QueryResultWithState/when_creating_from_query_result/with_readiness_false.js +2 -2
- package/dist/esm/queries/for_QueryResultWithState/when_creating_from_query_result/with_readiness_false.js.map +1 -1
- package/dist/esm/queries/for_QueryResultWithState/when_creating_from_query_result/with_undefined_data.js +2 -2
- package/dist/esm/queries/for_QueryResultWithState/when_creating_from_query_result/with_undefined_data.js.map +1 -1
- package/dist/esm/queries/for_QueryResultWithState/when_creating_from_query_result/without_readiness.js +2 -2
- package/dist/esm/queries/for_QueryResultWithState/when_creating_from_query_result/without_readiness.js.map +1 -1
- package/dist/esm/queries/for_QueryResultWithState/when_creating_initial/with_null_default_value.js +1 -1
- package/dist/esm/queries/for_QueryResultWithState/when_creating_initial/with_null_default_value.js.map +1 -1
- package/dist/esm/queries/for_QueryResultWithState/when_creating_initial/with_undefined_default_value.js +1 -1
- package/dist/esm/queries/for_QueryResultWithState/when_creating_initial/with_undefined_default_value.js.map +1 -1
- package/dist/esm/queries/for_QueryResultWithState/when_creating_initial/with_valid_default_value.js +1 -1
- package/dist/esm/queries/for_QueryResultWithState/when_creating_initial/with_valid_default_value.js.map +1 -1
- package/dist/esm/queries/for_ReconnectPolicy/when_canceling/with_pending_timer.js +1 -1
- package/dist/esm/queries/for_ReconnectPolicy/when_canceling/with_pending_timer.js.map +1 -1
- package/dist/esm/queries/for_ReconnectPolicy/when_cancelling/with_pending_timer.js +1 -1
- package/dist/esm/queries/for_ReconnectPolicy/when_cancelling/with_pending_timer.js.map +1 -1
- package/dist/esm/queries/for_ReconnectPolicy/when_resetting/after_scheduling.js +1 -1
- package/dist/esm/queries/for_ReconnectPolicy/when_resetting/after_scheduling.js.map +1 -1
- package/dist/esm/queries/for_ReconnectPolicy/when_scheduling/and_max_attempts_not_reached/delay_is_capped_at_max.js +1 -1
- package/dist/esm/queries/for_ReconnectPolicy/when_scheduling/and_max_attempts_not_reached/delay_is_capped_at_max.js.map +1 -1
- package/dist/esm/queries/for_ReconnectPolicy/when_scheduling/and_max_attempts_not_reached/first_attempt.js +1 -1
- package/dist/esm/queries/for_ReconnectPolicy/when_scheduling/and_max_attempts_not_reached/first_attempt.js.map +1 -1
- package/dist/esm/queries/for_ReconnectPolicy/when_scheduling/and_max_attempts_reached/abandons_reconnect.js +1 -1
- package/dist/esm/queries/for_ReconnectPolicy/when_scheduling/and_max_attempts_reached/abandons_reconnect.js.map +1 -1
- package/dist/esm/queries/for_ReconnectPolicy/when_scheduling/and_rescheduled_before_first_fires/cancels_previous_timer.js +1 -1
- package/dist/esm/queries/for_ReconnectPolicy/when_scheduling/and_rescheduled_before_first_fires/cancels_previous_timer.js.map +1 -1
- package/dist/esm/queries/for_ServerSentEventHubConnection/given/a_server_sent_event_hub_connection.d.ts +2 -2
- package/dist/esm/queries/for_ServerSentEventHubConnection/given/a_server_sent_event_hub_connection.d.ts.map +1 -1
- package/dist/esm/queries/for_ServerSentEventHubConnection/given/a_server_sent_event_hub_connection.js +1 -1
- package/dist/esm/queries/for_ServerSentEventHubConnection/given/a_server_sent_event_hub_connection.js.map +1 -1
- package/dist/esm/queries/for_ServerSentEventHubConnection/when_a_retired_event_source_fires/ignores_connected_and_error_callbacks.js +3 -3
- package/dist/esm/queries/for_ServerSentEventHubConnection/when_a_retired_event_source_fires/ignores_connected_and_error_callbacks.js.map +1 -1
- package/dist/esm/queries/for_ServerSentEventHubConnection/when_connect_timeout_fires/triggers_reconnect.js +3 -3
- package/dist/esm/queries/for_ServerSentEventHubConnection/when_connect_timeout_fires/triggers_reconnect.js.map +1 -1
- package/dist/esm/queries/for_ServerSentEventHubConnection/when_connection_changes_while_subscribe_is_in_flight/and_the_query_is_replaced.js +4 -4
- package/dist/esm/queries/for_ServerSentEventHubConnection/when_connection_changes_while_subscribe_is_in_flight/and_the_query_is_replaced.js.map +1 -1
- package/dist/esm/queries/for_ServerSentEventHubConnection/when_connection_changes_while_subscribe_is_in_flight/and_the_query_is_unsubscribed.js +4 -4
- package/dist/esm/queries/for_ServerSentEventHubConnection/when_connection_changes_while_subscribe_is_in_flight/and_the_query_is_unsubscribed.js.map +1 -1
- package/dist/esm/queries/for_ServerSentEventHubConnection/when_connection_changes_while_subscribe_is_in_flight/and_the_stale_request_is_rejected.js +4 -4
- package/dist/esm/queries/for_ServerSentEventHubConnection/when_connection_changes_while_subscribe_is_in_flight/and_the_stale_request_is_rejected.js.map +1 -1
- package/dist/esm/queries/for_ServerSentEventHubConnection/when_connection_changes_while_subscribe_is_in_flight/and_the_stale_request_returns_non_ok.js +4 -4
- package/dist/esm/queries/for_ServerSentEventHubConnection/when_connection_changes_while_subscribe_is_in_flight/and_the_stale_request_returns_non_ok.js.map +1 -1
- package/dist/esm/queries/for_ServerSentEventHubConnection/when_disposing/cleans_up_resources.js +3 -3
- package/dist/esm/queries/for_ServerSentEventHubConnection/when_disposing/cleans_up_resources.js.map +1 -1
- package/dist/esm/queries/for_ServerSentEventHubConnection/when_keep_alive_is_idle/triggers_reconnect.js +4 -4
- package/dist/esm/queries/for_ServerSentEventHubConnection/when_keep_alive_is_idle/triggers_reconnect.js.map +1 -1
- package/dist/esm/queries/for_ServerSentEventHubConnection/when_receiving_unauthorized/notifies_subscriber_and_removes_subscription.js +3 -3
- package/dist/esm/queries/for_ServerSentEventHubConnection/when_receiving_unauthorized/notifies_subscriber_and_removes_subscription.js.map +1 -1
- package/dist/esm/queries/for_ServerSentEventHubConnection/when_reconnecting/after_error.js +3 -3
- package/dist/esm/queries/for_ServerSentEventHubConnection/when_reconnecting/after_error.js.map +1 -1
- package/dist/esm/queries/for_ServerSentEventHubConnection/when_reconnecting/and_an_immediate_open_wins_the_backoff_race.js +2 -2
- package/dist/esm/queries/for_ServerSentEventHubConnection/when_reconnecting/and_an_immediate_open_wins_the_backoff_race.js.map +1 -1
- package/dist/esm/queries/for_ServerSentEventHubConnection/when_replacing_a_subscription/ignores_messages_from_the_retired_generation.js +3 -3
- package/dist/esm/queries/for_ServerSentEventHubConnection/when_replacing_a_subscription/ignores_messages_from_the_retired_generation.js.map +1 -1
- package/dist/esm/queries/for_ServerSentEventHubConnection/when_server_advertises_a_longer_keep_alive_interval/does_not_reconnect_at_the_assumed_threshold.js +4 -4
- package/dist/esm/queries/for_ServerSentEventHubConnection/when_server_advertises_a_longer_keep_alive_interval/does_not_reconnect_at_the_assumed_threshold.js.map +1 -1
- package/dist/esm/queries/for_ServerSentEventHubConnection/when_server_reports_keep_alive_disabled/never_reconnects_from_idle.js +4 -4
- package/dist/esm/queries/for_ServerSentEventHubConnection/when_server_reports_keep_alive_disabled/never_reconnects_from_idle.js.map +1 -1
- package/dist/esm/queries/for_ServerSentEventHubConnection/when_subscribing/and_subscribe_post_fails.js +3 -3
- package/dist/esm/queries/for_ServerSentEventHubConnection/when_subscribing/and_subscribe_post_fails.js.map +1 -1
- package/dist/esm/queries/for_ServerSentEventHubConnection/when_subscribing/queues_until_connected.js +3 -3
- package/dist/esm/queries/for_ServerSentEventHubConnection/when_subscribing/queues_until_connected.js.map +1 -1
- package/dist/esm/queries/for_ServerSentEventHubConnection/when_subscribing/sends_subscribe_post.js +3 -3
- package/dist/esm/queries/for_ServerSentEventHubConnection/when_subscribing/sends_subscribe_post.js.map +1 -1
- package/dist/esm/queries/for_ServerSentEventHubConnection/when_subscribing/uses_custom_event_source_factory.js +4 -4
- package/dist/esm/queries/for_ServerSentEventHubConnection/when_subscribing/uses_custom_event_source_factory.js.map +1 -1
- package/dist/esm/queries/for_ServerSentEventHubConnection/when_subscription_revisions_are_not_advertised/uses_legacy_protocol.js +3 -3
- package/dist/esm/queries/for_ServerSentEventHubConnection/when_subscription_revisions_are_not_advertised/uses_legacy_protocol.js.map +1 -1
- package/dist/esm/queries/for_ServerSentEventHubConnection/when_unsubscribing/nulls_event_source_handlers_before_closing.js +3 -3
- package/dist/esm/queries/for_ServerSentEventHubConnection/when_unsubscribing/nulls_event_source_handlers_before_closing.js.map +1 -1
- package/dist/esm/queries/for_ServerSentEventHubConnection/when_unsubscribing/the_only_query.js +3 -3
- package/dist/esm/queries/for_ServerSentEventHubConnection/when_unsubscribing/the_only_query.js.map +1 -1
- package/dist/esm/queries/for_ServerSentEventQueryConnection/when_connecting/with_custom_event_source_factory.js +2 -2
- package/dist/esm/queries/for_ServerSentEventQueryConnection/when_connecting/with_custom_event_source_factory.js.map +1 -1
- package/dist/esm/queries/for_ServerSentEventQueryConnection/when_connecting/with_query_arguments.js +1 -1
- package/dist/esm/queries/for_ServerSentEventQueryConnection/when_connecting/with_query_arguments.js.map +1 -1
- package/dist/esm/queries/for_ServerSentEventQueryConnection/when_connecting/without_event_source_available.js +1 -1
- package/dist/esm/queries/for_ServerSentEventQueryConnection/when_connecting/without_event_source_available.js.map +1 -1
- package/dist/esm/queries/for_ServerSentEventQueryConnection/when_disconnecting/after_connecting.js +1 -1
- package/dist/esm/queries/for_ServerSentEventQueryConnection/when_disconnecting/after_connecting.js.map +1 -1
- package/dist/esm/queries/for_ServerSentEventQueryConnection/when_disconnecting/before_message_arrives.js +1 -1
- package/dist/esm/queries/for_ServerSentEventQueryConnection/when_disconnecting/before_message_arrives.js.map +1 -1
- package/dist/esm/queries/for_ServerSentEventQueryConnection/when_receiving_unauthorized/terminates_without_reconnecting.js +1 -1
- package/dist/esm/queries/for_ServerSentEventQueryConnection/when_receiving_unauthorized/terminates_without_reconnecting.js.map +1 -1
- package/dist/esm/queries/for_ValidateRequestArguments/when_validating_arguments/with_empty_string_value.js +1 -1
- package/dist/esm/queries/for_ValidateRequestArguments/when_validating_arguments/with_empty_string_value.js.map +1 -1
- package/dist/esm/queries/for_ValidateRequestArguments/when_validating_arguments/with_missing_property.js +1 -1
- package/dist/esm/queries/for_ValidateRequestArguments/when_validating_arguments/with_missing_property.js.map +1 -1
- package/dist/esm/queries/for_ValidateRequestArguments/when_validating_arguments/with_no_required_arguments.js +1 -1
- package/dist/esm/queries/for_ValidateRequestArguments/when_validating_arguments/with_no_required_arguments.js.map +1 -1
- package/dist/esm/queries/for_ValidateRequestArguments/when_validating_arguments/with_null_value.js +1 -1
- package/dist/esm/queries/for_ValidateRequestArguments/when_validating_arguments/with_null_value.js.map +1 -1
- package/dist/esm/queries/for_ValidateRequestArguments/when_validating_arguments/with_numeric_zero_value.js +1 -1
- package/dist/esm/queries/for_ValidateRequestArguments/when_validating_arguments/with_numeric_zero_value.js.map +1 -1
- package/dist/esm/queries/for_ValidateRequestArguments/when_validating_arguments/with_undefined_value.js +1 -1
- package/dist/esm/queries/for_ValidateRequestArguments/when_validating_arguments/with_undefined_value.js.map +1 -1
- package/dist/esm/queries/for_ValidateRequestArguments/when_validating_arguments/with_valid_string_value.js +1 -1
- package/dist/esm/queries/for_ValidateRequestArguments/when_validating_arguments/with_valid_string_value.js.map +1 -1
- package/dist/esm/queries/for_ValidateRequestArguments/when_validating_arguments/without_arguments_object.js +1 -1
- package/dist/esm/queries/for_ValidateRequestArguments/when_validating_arguments/without_arguments_object.js.map +1 -1
- package/dist/esm/queries/for_WebSocketHubConnection/given/a_web_socket_hub_connection.d.ts +2 -2
- package/dist/esm/queries/for_WebSocketHubConnection/given/a_web_socket_hub_connection.d.ts.map +1 -1
- package/dist/esm/queries/for_WebSocketHubConnection/given/a_web_socket_hub_connection.js +1 -1
- package/dist/esm/queries/for_WebSocketHubConnection/given/a_web_socket_hub_connection.js.map +1 -1
- package/dist/esm/queries/for_WebSocketHubConnection/when_disposing/cleans_up_resources.js +2 -2
- package/dist/esm/queries/for_WebSocketHubConnection/when_disposing/cleans_up_resources.js.map +1 -1
- package/dist/esm/queries/for_WebSocketHubConnection/when_keep_alive_is_idle/sends_a_ping.js +4 -4
- package/dist/esm/queries/for_WebSocketHubConnection/when_keep_alive_is_idle/sends_a_ping.js.map +1 -1
- package/dist/esm/queries/for_WebSocketHubConnection/when_receiving_a_message/resets_keep_alive_timer.js +4 -4
- package/dist/esm/queries/for_WebSocketHubConnection/when_receiving_a_message/resets_keep_alive_timer.js.map +1 -1
- package/dist/esm/queries/for_WebSocketHubConnection/when_receiving_unauthorized/notifies_subscriber_and_removes_subscription.js +3 -3
- package/dist/esm/queries/for_WebSocketHubConnection/when_receiving_unauthorized/notifies_subscriber_and_removes_subscription.js.map +1 -1
- package/dist/esm/queries/for_WebSocketHubConnection/when_reconnecting/after_unexpected_close.js +2 -2
- package/dist/esm/queries/for_WebSocketHubConnection/when_reconnecting/after_unexpected_close.js.map +1 -1
- package/dist/esm/queries/for_WebSocketHubConnection/when_reconnecting/ignores_a_pending_reconnect_and_stale_socket_callbacks.js +3 -3
- package/dist/esm/queries/for_WebSocketHubConnection/when_reconnecting/ignores_a_pending_reconnect_and_stale_socket_callbacks.js.map +1 -1
- package/dist/esm/queries/for_WebSocketHubConnection/when_reconnecting/replaces_a_closing_socket_safely.js +2 -2
- package/dist/esm/queries/for_WebSocketHubConnection/when_reconnecting/replaces_a_closing_socket_safely.js.map +1 -1
- package/dist/esm/queries/for_WebSocketHubConnection/when_reconnecting/resubscribes_all_queries.js +3 -3
- package/dist/esm/queries/for_WebSocketHubConnection/when_reconnecting/resubscribes_all_queries.js.map +1 -1
- package/dist/esm/queries/for_WebSocketHubConnection/when_replacing_a_subscription/ignores_stale_result_unauthorized_and_error.js +3 -3
- package/dist/esm/queries/for_WebSocketHubConnection/when_replacing_a_subscription/ignores_stale_result_unauthorized_and_error.js.map +1 -1
- package/dist/esm/queries/for_WebSocketHubConnection/when_subscribing/to_a_query.js +3 -3
- package/dist/esm/queries/for_WebSocketHubConnection/when_subscribing/to_a_query.js.map +1 -1
- package/dist/esm/queries/for_WebSocketHubConnection/when_subscription_revisions_are_supported/upgrades_active_subscriptions_to_strict_mode.js +3 -3
- package/dist/esm/queries/for_WebSocketHubConnection/when_subscription_revisions_are_supported/upgrades_active_subscriptions_to_strict_mode.js.map +1 -1
- package/dist/esm/queries/for_WebSocketHubConnection/when_unsubscribing/nulls_socket_handlers_before_closing.js +2 -2
- package/dist/esm/queries/for_WebSocketHubConnection/when_unsubscribing/nulls_socket_handlers_before_closing.js.map +1 -1
- package/dist/esm/queries/for_WebSocketHubConnection/when_unsubscribing/the_only_query.js +3 -3
- package/dist/esm/queries/for_WebSocketHubConnection/when_unsubscribing/the_only_query.js.map +1 -1
- package/dist/esm/queries/for_WebSocketHubConnection/when_unsubscribing/with_revision_support_not_advertised.js +3 -3
- package/dist/esm/queries/for_WebSocketHubConnection/when_unsubscribing/with_revision_support_not_advertised.js.map +1 -1
- package/dist/esm/queries/for_WebSocketMessage/when_creating_messages.js +1 -1
- package/dist/esm/queries/for_WebSocketMessage/when_creating_messages.js.map +1 -1
- package/dist/esm/queries/for_buildQueryHttpRequest/when_building/with_get_method.js +4 -4
- package/dist/esm/queries/for_buildQueryHttpRequest/when_building/with_get_method.js.map +1 -1
- package/dist/esm/queries/for_buildQueryHttpRequest/when_building/with_query_method.js +4 -4
- package/dist/esm/queries/for_buildQueryHttpRequest/when_building/with_query_method.js.map +1 -1
- package/dist/esm/queries/for_buildQueryHttpRequest/when_building/with_query_method_and_paging_and_sorting.js +5 -5
- package/dist/esm/queries/for_buildQueryHttpRequest/when_building/with_query_method_and_paging_and_sorting.js.map +1 -1
- package/dist/esm/queries/for_deserializeQueryModel/when_deserializing_a_collection_of_models.js +1 -1
- package/dist/esm/queries/for_deserializeQueryModel/when_deserializing_a_collection_of_models.js.map +1 -1
- package/dist/esm/queries/for_deserializeQueryModel/when_deserializing_a_collection_of_numbers.js +1 -1
- package/dist/esm/queries/for_deserializeQueryModel/when_deserializing_a_collection_of_numbers.js.map +1 -1
- package/dist/esm/queries/for_deserializeQueryModel/when_deserializing_a_collection_of_strings.js +1 -1
- package/dist/esm/queries/for_deserializeQueryModel/when_deserializing_a_collection_of_strings.js.map +1 -1
- package/dist/esm/queries/for_deserializeQueryModel/when_deserializing_a_non_array_as_a_collection.js +1 -1
- package/dist/esm/queries/for_deserializeQueryModel/when_deserializing_a_non_array_as_a_collection.js.map +1 -1
- package/dist/esm/queries/for_deserializeQueryModel/when_deserializing_a_single_string.js +1 -1
- package/dist/esm/queries/for_deserializeQueryModel/when_deserializing_a_single_string.js.map +1 -1
- package/dist/esm/queries/for_executeQueryHttpRequest/options.d.ts +1 -1
- package/dist/esm/queries/for_executeQueryHttpRequest/options.d.ts.map +1 -1
- package/dist/esm/queries/for_executeQueryHttpRequest/options.js +2 -2
- package/dist/esm/queries/for_executeQueryHttpRequest/options.js.map +1 -1
- package/dist/esm/queries/for_executeQueryHttpRequest/when_performing/with_a_resolver.js +5 -5
- package/dist/esm/queries/for_executeQueryHttpRequest/when_performing/with_a_resolver.js.map +1 -1
- package/dist/esm/queries/for_executeQueryHttpRequest/when_performing/with_a_resolver_and_an_explicit_override.js +5 -5
- package/dist/esm/queries/for_executeQueryHttpRequest/when_performing/with_a_resolver_and_an_explicit_override.js.map +1 -1
- package/dist/esm/queries/for_executeQueryHttpRequest/when_performing/with_auto_after_query_was_found_unsupported.js +4 -4
- package/dist/esm/queries/for_executeQueryHttpRequest/when_performing/with_auto_after_query_was_found_unsupported.js.map +1 -1
- package/dist/esm/queries/for_executeQueryHttpRequest/when_performing/with_auto_and_a_network_failure.js +4 -4
- package/dist/esm/queries/for_executeQueryHttpRequest/when_performing/with_auto_and_a_network_failure.js.map +1 -1
- package/dist/esm/queries/for_executeQueryHttpRequest/when_performing/with_auto_and_an_aborted_request.js +4 -4
- package/dist/esm/queries/for_executeQueryHttpRequest/when_performing/with_auto_and_an_aborted_request.js.map +1 -1
- package/dist/esm/queries/for_executeQueryHttpRequest/when_performing/with_auto_and_an_application_error.js +4 -4
- package/dist/esm/queries/for_executeQueryHttpRequest/when_performing/with_auto_and_an_application_error.js.map +1 -1
- package/dist/esm/queries/for_executeQueryHttpRequest/when_performing/with_auto_and_multiple_backends.js +4 -4
- package/dist/esm/queries/for_executeQueryHttpRequest/when_performing/with_auto_and_multiple_backends.js.map +1 -1
- package/dist/esm/queries/for_executeQueryHttpRequest/when_performing/with_auto_and_query_supported.js +4 -4
- package/dist/esm/queries/for_executeQueryHttpRequest/when_performing/with_auto_and_query_supported.js.map +1 -1
- package/dist/esm/queries/for_executeQueryHttpRequest/when_performing/with_auto_and_query_unsupported.js +4 -4
- package/dist/esm/queries/for_executeQueryHttpRequest/when_performing/with_auto_and_query_unsupported.js.map +1 -1
- package/dist/esm/queries/for_executeQueryHttpRequest/when_performing/with_get_method.js +4 -4
- package/dist/esm/queries/for_executeQueryHttpRequest/when_performing/with_get_method.js.map +1 -1
- package/dist/esm/queries/for_executeQueryHttpRequest/when_performing/with_query_method_and_server_rejecting_the_verb.js +4 -4
- package/dist/esm/queries/for_executeQueryHttpRequest/when_performing/with_query_method_and_server_rejecting_the_verb.js.map +1 -1
- package/dist/esm/queries/for_lengthBasedQueryHttpMethod/when_resolving/with_a_long_url.js +2 -2
- package/dist/esm/queries/for_lengthBasedQueryHttpMethod/when_resolving/with_a_long_url.js.map +1 -1
- package/dist/esm/queries/for_lengthBasedQueryHttpMethod/when_resolving/with_a_long_url_and_a_custom_method.js +2 -2
- package/dist/esm/queries/for_lengthBasedQueryHttpMethod/when_resolving/with_a_long_url_and_a_custom_method.js.map +1 -1
- package/dist/esm/queries/for_lengthBasedQueryHttpMethod/when_resolving/with_a_short_url.js +2 -2
- package/dist/esm/queries/for_lengthBasedQueryHttpMethod/when_resolving/with_a_short_url.js.map +1 -1
- package/dist/esm/queries/for_reconcileQueryData/when_items_are_added_or_removed/reuses_the_surviving_items.js +1 -1
- package/dist/esm/queries/for_reconcileQueryData/when_items_are_added_or_removed/reuses_the_surviving_items.js.map +1 -1
- package/dist/esm/queries/for_reconcileQueryData/when_one_item_changed/only_the_changed_item_gets_a_new_reference.js +1 -1
- package/dist/esm/queries/for_reconcileQueryData/when_one_item_changed/only_the_changed_item_gets_a_new_reference.js.map +1 -1
- package/dist/esm/queries/for_reconcileQueryData/when_reconciling_an_unchanged_collection/preserves_all_references.js +1 -1
- package/dist/esm/queries/for_reconcileQueryData/when_reconciling_an_unchanged_collection/preserves_all_references.js.map +1 -1
- package/dist/esm/queries/for_reconcileQueryData/when_reconciling_non_collection_payloads/compares_by_value.js +1 -1
- package/dist/esm/queries/for_reconcileQueryData/when_reconciling_non_collection_payloads/compares_by_value.js.map +1 -1
- package/dist/esm/queries/index.d.ts +43 -43
- package/dist/esm/queries/index.d.ts.map +1 -1
- package/dist/esm/queries/index.js.map +1 -1
- package/dist/esm/queries/reconcileQueryData.js.map +1 -1
- package/dist/esm/reflection/IHaveParameters.d.ts +1 -1
- package/dist/esm/reflection/IHaveParameters.d.ts.map +1 -1
- package/dist/esm/reflection/ParametersHelper.d.ts +1 -1
- package/dist/esm/reflection/ParametersHelper.d.ts.map +1 -1
- package/dist/esm/reflection/ParametersHelper.js.map +1 -1
- package/dist/esm/reflection/index.d.ts +4 -4
- package/dist/esm/reflection/index.d.ts.map +1 -1
- package/dist/esm/reflection/index.js.map +1 -1
- package/dist/esm/tsconfig.tsbuildinfo +1 -1
- package/dist/esm/validation/IValidationRule.d.ts +1 -1
- package/dist/esm/validation/IValidationRule.d.ts.map +1 -1
- package/dist/esm/validation/PropertyRule.d.ts +2 -2
- package/dist/esm/validation/PropertyRule.d.ts.map +1 -1
- package/dist/esm/validation/PropertyRule.js.map +1 -1
- package/dist/esm/validation/PropertyValidator.d.ts +2 -2
- package/dist/esm/validation/PropertyValidator.d.ts.map +1 -1
- package/dist/esm/validation/PropertyValidator.js.map +1 -1
- package/dist/esm/validation/RuleBuilder.d.ts +2 -2
- package/dist/esm/validation/RuleBuilder.d.ts.map +1 -1
- package/dist/esm/validation/RuleBuilder.js.map +1 -1
- package/dist/esm/validation/RuleBuilderExtensions.d.ts +2 -2
- package/dist/esm/validation/RuleBuilderExtensions.d.ts.map +1 -1
- package/dist/esm/validation/RuleBuilderExtensions.js.map +1 -1
- package/dist/esm/validation/ValidationResult.d.ts +2 -2
- package/dist/esm/validation/ValidationResult.d.ts.map +1 -1
- package/dist/esm/validation/ValidationResult.js.map +1 -1
- package/dist/esm/validation/Validator.d.ts +2 -2
- package/dist/esm/validation/Validator.d.ts.map +1 -1
- package/dist/esm/validation/Validator.js.map +1 -1
- package/dist/esm/validation/for_Validator/when_defining_multiple_rules_for_same_property.d.ts +1 -1
- package/dist/esm/validation/for_Validator/when_defining_multiple_rules_for_same_property.d.ts.map +1 -1
- package/dist/esm/validation/for_Validator/when_defining_multiple_rules_for_same_property.js +2 -2
- package/dist/esm/validation/for_Validator/when_defining_multiple_rules_for_same_property.js.map +1 -1
- package/dist/esm/validation/for_Validator/when_using_custom_error_message.d.ts +1 -1
- package/dist/esm/validation/for_Validator/when_using_custom_error_message.d.ts.map +1 -1
- package/dist/esm/validation/for_Validator/when_using_custom_error_message.js +2 -2
- package/dist/esm/validation/for_Validator/when_using_custom_error_message.js.map +1 -1
- package/dist/esm/validation/for_Validator/when_validating/with_all_rules_passing.d.ts +1 -1
- package/dist/esm/validation/for_Validator/when_validating/with_all_rules_passing.d.ts.map +1 -1
- package/dist/esm/validation/for_Validator/when_validating/with_all_rules_passing.js +2 -2
- package/dist/esm/validation/for_Validator/when_validating/with_all_rules_passing.js.map +1 -1
- package/dist/esm/validation/for_Validator/when_validating/with_multiple_rules_failing.d.ts +1 -1
- package/dist/esm/validation/for_Validator/when_validating/with_multiple_rules_failing.d.ts.map +1 -1
- package/dist/esm/validation/for_Validator/when_validating/with_multiple_rules_failing.js +2 -2
- package/dist/esm/validation/for_Validator/when_validating/with_multiple_rules_failing.js.map +1 -1
- package/dist/esm/validation/for_Validator/when_validating/with_one_rule_failing.d.ts +1 -1
- package/dist/esm/validation/for_Validator/when_validating/with_one_rule_failing.d.ts.map +1 -1
- package/dist/esm/validation/for_Validator/when_validating/with_one_rule_failing.js +2 -2
- package/dist/esm/validation/for_Validator/when_validating/with_one_rule_failing.js.map +1 -1
- package/dist/esm/validation/index.d.ts +14 -14
- package/dist/esm/validation/index.d.ts.map +1 -1
- package/dist/esm/validation/index.js.map +1 -1
- package/dist/esm/validation/rules/ComparisonRules.d.ts +1 -1
- package/dist/esm/validation/rules/ComparisonRules.d.ts.map +1 -1
- package/dist/esm/validation/rules/ComparisonRules.js.map +1 -1
- package/dist/esm/validation/rules/EmailRule.d.ts +1 -1
- package/dist/esm/validation/rules/EmailRule.d.ts.map +1 -1
- package/dist/esm/validation/rules/EmailRule.js.map +1 -1
- package/dist/esm/validation/rules/LengthRules.d.ts +1 -1
- package/dist/esm/validation/rules/LengthRules.d.ts.map +1 -1
- package/dist/esm/validation/rules/LengthRules.js.map +1 -1
- package/dist/esm/validation/rules/NotEmptyRule.d.ts +1 -1
- package/dist/esm/validation/rules/NotEmptyRule.d.ts.map +1 -1
- package/dist/esm/validation/rules/NotEmptyRule.js.map +1 -1
- package/dist/esm/validation/rules/PhoneRule.d.ts +1 -1
- package/dist/esm/validation/rules/PhoneRule.d.ts.map +1 -1
- package/dist/esm/validation/rules/PhoneRule.js.map +1 -1
- package/dist/esm/validation/rules/RegexRule.d.ts +1 -1
- package/dist/esm/validation/rules/RegexRule.d.ts.map +1 -1
- package/dist/esm/validation/rules/RegexRule.js.map +1 -1
- package/dist/esm/validation/rules/UrlRule.d.ts +1 -1
- package/dist/esm/validation/rules/UrlRule.d.ts.map +1 -1
- package/dist/esm/validation/rules/UrlRule.js.map +1 -1
- package/dist/esm/validation/rules/for_EmailRule/when_validating/with_empty_string.js +1 -1
- package/dist/esm/validation/rules/for_EmailRule/when_validating/with_empty_string.js.map +1 -1
- package/dist/esm/validation/rules/for_EmailRule/when_validating/with_invalid_email.js +1 -1
- package/dist/esm/validation/rules/for_EmailRule/when_validating/with_invalid_email.js.map +1 -1
- package/dist/esm/validation/rules/for_EmailRule/when_validating/with_valid_email.js +1 -1
- package/dist/esm/validation/rules/for_EmailRule/when_validating/with_valid_email.js.map +1 -1
- package/dist/esm/validation/rules/for_GreaterThanOrEqualRule/when_validating/with_value_equal_to_threshold.js +1 -1
- package/dist/esm/validation/rules/for_GreaterThanOrEqualRule/when_validating/with_value_equal_to_threshold.js.map +1 -1
- package/dist/esm/validation/rules/for_GreaterThanRule/when_validating/with_value_equal_to_threshold.js +1 -1
- package/dist/esm/validation/rules/for_GreaterThanRule/when_validating/with_value_equal_to_threshold.js.map +1 -1
- package/dist/esm/validation/rules/for_GreaterThanRule/when_validating/with_value_greater_than_threshold.js +1 -1
- package/dist/esm/validation/rules/for_GreaterThanRule/when_validating/with_value_greater_than_threshold.js.map +1 -1
- package/dist/esm/validation/rules/for_GreaterThanRule/when_validating/with_value_less_than_threshold.js +1 -1
- package/dist/esm/validation/rules/for_GreaterThanRule/when_validating/with_value_less_than_threshold.js.map +1 -1
- package/dist/esm/validation/rules/for_LengthRule/when_validating/with_string_longer_than_maximum.js +1 -1
- package/dist/esm/validation/rules/for_LengthRule/when_validating/with_string_longer_than_maximum.js.map +1 -1
- package/dist/esm/validation/rules/for_LengthRule/when_validating/with_string_shorter_than_minimum.js +1 -1
- package/dist/esm/validation/rules/for_LengthRule/when_validating/with_string_shorter_than_minimum.js.map +1 -1
- package/dist/esm/validation/rules/for_LengthRule/when_validating/with_string_within_range.js +1 -1
- package/dist/esm/validation/rules/for_LengthRule/when_validating/with_string_within_range.js.map +1 -1
- package/dist/esm/validation/rules/for_LessThanRule/when_validating/with_value_less_than_threshold.js +1 -1
- package/dist/esm/validation/rules/for_LessThanRule/when_validating/with_value_less_than_threshold.js.map +1 -1
- package/dist/esm/validation/rules/for_MaxLengthRule/when_validating/with_string_equal_to_maximum.js +1 -1
- package/dist/esm/validation/rules/for_MaxLengthRule/when_validating/with_string_equal_to_maximum.js.map +1 -1
- package/dist/esm/validation/rules/for_MaxLengthRule/when_validating/with_string_longer_than_maximum.js +1 -1
- package/dist/esm/validation/rules/for_MaxLengthRule/when_validating/with_string_longer_than_maximum.js.map +1 -1
- package/dist/esm/validation/rules/for_MinLengthRule/when_validating/with_string_equal_to_minimum.js +1 -1
- package/dist/esm/validation/rules/for_MinLengthRule/when_validating/with_string_equal_to_minimum.js.map +1 -1
- package/dist/esm/validation/rules/for_MinLengthRule/when_validating/with_string_longer_than_minimum.js +1 -1
- package/dist/esm/validation/rules/for_MinLengthRule/when_validating/with_string_longer_than_minimum.js.map +1 -1
- package/dist/esm/validation/rules/for_MinLengthRule/when_validating/with_string_shorter_than_minimum.js +1 -1
- package/dist/esm/validation/rules/for_MinLengthRule/when_validating/with_string_shorter_than_minimum.js.map +1 -1
- package/dist/esm/validation/rules/for_NotEmptyRule/when_setting_custom_message.js +1 -1
- package/dist/esm/validation/rules/for_NotEmptyRule/when_setting_custom_message.js.map +1 -1
- package/dist/esm/validation/rules/for_NotEmptyRule/when_validating/with_empty_array.js +1 -1
- package/dist/esm/validation/rules/for_NotEmptyRule/when_validating/with_empty_array.js.map +1 -1
- package/dist/esm/validation/rules/for_NotEmptyRule/when_validating/with_empty_string.js +1 -1
- package/dist/esm/validation/rules/for_NotEmptyRule/when_validating/with_empty_string.js.map +1 -1
- package/dist/esm/validation/rules/for_NotEmptyRule/when_validating/with_non_empty_array.js +1 -1
- package/dist/esm/validation/rules/for_NotEmptyRule/when_validating/with_non_empty_array.js.map +1 -1
- package/dist/esm/validation/rules/for_NotEmptyRule/when_validating/with_null_value.js +2 -2
- package/dist/esm/validation/rules/for_NotEmptyRule/when_validating/with_null_value.js.map +1 -1
- package/dist/esm/validation/rules/for_NotEmptyRule/when_validating/with_undefined_value.js +2 -2
- package/dist/esm/validation/rules/for_NotEmptyRule/when_validating/with_undefined_value.js.map +1 -1
- package/dist/esm/validation/rules/for_NotEmptyRule/when_validating/with_valid_string.js +1 -1
- package/dist/esm/validation/rules/for_NotEmptyRule/when_validating/with_valid_string.js.map +1 -1
- package/dist/esm/validation/rules/for_NotEmptyRule/when_validating/with_whitespace_string.js +1 -1
- package/dist/esm/validation/rules/for_NotEmptyRule/when_validating/with_whitespace_string.js.map +1 -1
- package/for_UrlHelpers/when_building_query_params/with_additional_parameters.ts +1 -1
- package/for_UrlHelpers/when_building_query_params/with_array_values.ts +1 -1
- package/for_UrlHelpers/when_building_query_params/with_date_values.ts +1 -1
- package/for_UrlHelpers/when_building_query_params/with_empty_parameters.ts +1 -1
- package/for_UrlHelpers/when_building_query_params/with_mixed_array_and_scalar_values.ts +1 -1
- package/for_UrlHelpers/when_building_query_params/with_null_and_undefined_values.ts +1 -1
- package/for_UrlHelpers/when_building_query_params/with_unused_parameters_only.ts +1 -1
- package/for_UrlHelpers/when_creating_url_from/with_base_path_ending_with_slash.ts +1 -1
- package/for_UrlHelpers/when_creating_url_from/with_empty_origin.ts +1 -1
- package/for_UrlHelpers/when_creating_url_from/with_null_or_undefined_origin.ts +1 -1
- package/for_UrlHelpers/when_creating_url_from/with_relative_route.ts +1 -1
- package/for_UrlHelpers/when_creating_url_from/with_valid_parameters.ts +1 -1
- package/for_UrlHelpers/when_creating_url_from/without_document_object.ts +1 -1
- package/for_UrlHelpers/when_replacing_route_parameters/with_all_parameters_used_in_route.ts +1 -1
- package/for_UrlHelpers/when_replacing_route_parameters/with_array_parameters.ts +1 -1
- package/for_UrlHelpers/when_replacing_route_parameters/with_no_parameters.ts +1 -1
- package/for_UrlHelpers/when_replacing_route_parameters/with_unused_parameters.ts +1 -1
- package/for_UrlHelpers/when_replacing_route_parameters/with_url_encoded_values.ts +1 -1
- package/identity/IIdentityProvider.ts +1 -1
- package/identity/IdentityProvider.ts +8 -8
- package/identity/for_IdentityProvider/given/an_identity_provider.ts +2 -2
- package/identity/for_IdentityProvider/when_getting_current/with_a_details_type_that_declares_no_fields.ts +3 -3
- package/identity/for_IdentityProvider/when_getting_current/with_roles.ts +3 -3
- package/identity/for_IdentityProvider/when_getting_current/with_type_safe_details.ts +3 -3
- package/identity/for_IdentityProvider/when_getting_current/without_roles.ts +3 -3
- package/identity/for_IdentityProvider/when_refreshing/with_api_base_path_set.ts +3 -3
- package/identity/for_IdentityProvider/when_refreshing/with_globals_api_base_path.ts +4 -4
- package/identity/for_IdentityProvider/when_refreshing/with_origin_set.ts +3 -3
- package/identity/for_IdentityProvider/when_refreshing/with_type_safe_details.ts +3 -3
- package/identity/for_IdentityProvider/when_refreshing/with_unauthorized_response.ts +4 -4
- package/identity/for_IdentityProvider/when_refreshing/without_api_base_path.ts +4 -4
- package/identity/for_IdentityProvider/when_setting_api_base_path.ts +3 -3
- package/identity/for_IdentityProvider/when_setting_origin.ts +3 -3
- package/identity/index.ts +5 -5
- package/index.ts +12 -12
- package/messaging/Messenger.ts +2 -2
- package/messaging/for_Messenger/when_scoping_messages.ts +1 -1
- package/messaging/index.ts +3 -3
- package/package.json +58 -22
- package/queries/IChangeStreamFor.ts +1 -1
- package/queries/IObservableQueryConnection.ts +1 -1
- package/queries/IObservableQueryDiagnostics.ts +1 -1
- package/queries/IObservableQueryFor.ts +4 -4
- package/queries/IObservableQueryHubConnection.ts +2 -2
- package/queries/IQuery.ts +4 -4
- package/queries/IQueryFor.ts +3 -3
- package/queries/IQueryProvider.ts +1 -1
- package/queries/IQueryResult.ts +3 -3
- package/queries/NullObservableQueryConnection.ts +3 -3
- package/queries/ObservableQueryConnection.ts +6 -6
- package/queries/ObservableQueryConnectionFactory.ts +10 -10
- package/queries/ObservableQueryConnectionPool.ts +2 -2
- package/queries/ObservableQueryDiagnostics.ts +4 -4
- package/queries/ObservableQueryFor.ts +19 -19
- package/queries/ObservableQueryMultiplexer.ts +6 -6
- package/queries/ObservableQuerySubscription.ts +1 -1
- package/queries/QueryFor.ts +13 -13
- package/queries/QueryHttpMethodResolver.ts +1 -1
- package/queries/QueryHttpRequest.ts +8 -8
- package/queries/QueryInstanceCache.ts +3 -3
- package/queries/QueryProvider.ts +3 -3
- package/queries/QueryResult.ts +5 -5
- package/queries/QueryResultWithState.ts +4 -4
- package/queries/QueryValidator.ts +2 -2
- package/queries/ReconnectPolicy.ts +1 -1
- package/queries/ServerSentEventHubConnection.ts +8 -8
- package/queries/ServerSentEventQueryConnection.ts +4 -4
- package/queries/Sorting.ts +1 -1
- package/queries/SortingActions.ts +2 -2
- package/queries/SortingActionsForObservableQuery.ts +3 -3
- package/queries/SortingActionsForQuery.ts +3 -3
- package/queries/WebSocketHubConnection.ts +6 -6
- package/queries/for_HubConnectionKeepAlive/behavior.ts +1 -1
- package/queries/for_HubConnectionKeepAlive/when_reconfiguring/while_running.ts +1 -1
- package/queries/for_HubConnectionKeepAlive/when_reconfiguring/while_stopped.ts +1 -1
- package/queries/for_HubConnectionKeepAlive/when_started_with_custom_idle_threshold/respects_threshold.ts +1 -1
- package/queries/for_ObservableQueryConnection/given/an_observable_query_connection.ts +1 -1
- package/queries/for_ObservableQueryConnection/given/an_observable_query_connection_with_a_reconnect_policy.ts +2 -2
- package/queries/for_ObservableQueryConnection/given/an_observable_query_connection_with_websocket.ts +1 -1
- package/queries/for_ObservableQueryConnection/when_constructing.ts +2 -2
- package/queries/for_ObservableQueryConnection/when_receiving_data_message_with_type.ts +4 -4
- package/queries/for_ObservableQueryConnection/when_receiving_legacy_data_message.ts +3 -3
- package/queries/for_ObservableQueryConnection/when_receiving_unauthorized/terminates_without_reconnecting.ts +4 -4
- package/queries/for_ObservableQueryConnectionFactory/given/a_descriptor.ts +3 -3
- package/queries/for_ObservableQueryConnectionFactory/when_creating/with_direct_mode_and_sse_transport.ts +7 -7
- package/queries/for_ObservableQueryConnectionFactory/when_creating/with_direct_mode_and_websocket_transport.ts +7 -7
- package/queries/for_ObservableQueryConnectionFactory/when_creating/with_hub_mode_and_sse_transport.ts +8 -8
- package/queries/for_ObservableQueryConnectionFactory/when_creating/with_hub_mode_and_sse_transport_and_connection_count_exceeding_safe_limit.ts +7 -7
- package/queries/for_ObservableQueryConnectionFactory/when_creating/with_hub_mode_and_sse_transport_and_connection_count_within_safe_limit.ts +7 -7
- package/queries/for_ObservableQueryConnectionFactory/when_creating/with_hub_mode_and_websocket_transport.ts +7 -7
- package/queries/for_ObservableQueryConnectionFactory/when_creating/with_hub_mode_and_websocket_transport_and_high_connection_count.ts +7 -7
- package/queries/for_ObservableQueryConnectionPool/when_acquiring/with_multiple_slots/and_least_loaded_slot_is_chosen.ts +3 -3
- package/queries/for_ObservableQueryConnectionPool/when_acquiring/with_multiple_slots/and_size_is_zero.ts +3 -3
- package/queries/for_ObservableQueryConnectionPool/when_acquiring/with_single_slot/and_one_subscriber.ts +3 -3
- package/queries/for_ObservableQueryDiagnostics/when_tracking_owners.ts +1 -1
- package/queries/for_ObservableQueryFor/given/TestQueries.ts +2 -2
- package/queries/for_ObservableQueryFor/given/an_observable_query_for.ts +1 -1
- package/queries/for_ObservableQueryFor/given/an_observable_query_with_validator.ts +4 -4
- package/queries/for_ObservableQueryFor/when_constructing.ts +5 -5
- package/queries/for_ObservableQueryFor/when_constructing_enumerable.ts +4 -4
- package/queries/for_ObservableQueryFor/when_constructing_with_globals_api_base_path.ts +4 -4
- package/queries/for_ObservableQueryFor/when_constructing_with_globals_origin.ts +4 -4
- package/queries/for_ObservableQueryFor/when_disposing.ts +2 -2
- package/queries/for_ObservableQueryFor/when_performing/with_a_not_ready_result.ts +4 -4
- package/queries/for_ObservableQueryFor/when_performing/with_client_validation_failing.ts +3 -3
- package/queries/for_ObservableQueryFor/when_performing/with_enumerable_query.ts +4 -4
- package/queries/for_ObservableQueryFor/when_performing/with_invalid_arguments.ts +3 -3
- package/queries/for_ObservableQueryFor/when_performing/with_paging.ts +4 -4
- package/queries/for_ObservableQueryFor/when_performing/with_parameter_descriptor_values.ts +4 -4
- package/queries/for_ObservableQueryFor/when_performing/with_partial_parameter_descriptor_values.ts +4 -4
- package/queries/for_ObservableQueryFor/when_performing/with_partially_missing_required_arguments.ts +4 -4
- package/queries/for_ObservableQueryFor/when_performing/with_route_parameters_and_unused_parameters.ts +4 -4
- package/queries/for_ObservableQueryFor/when_performing/with_sorting.ts +5 -5
- package/queries/for_ObservableQueryFor/when_performing/with_valid_arguments.ts +4 -4
- package/queries/for_ObservableQueryFor/when_receiving_a_result/and_the_model_has_a_calendar_collection.ts +8 -8
- package/queries/for_ObservableQueryFor/when_receiving_a_result/and_the_model_type_is_a_primitive_collection.ts +7 -7
- package/queries/for_ObservableQueryFor/when_setting_api_base_path.ts +1 -1
- package/queries/for_ObservableQueryFor/when_setting_microservice.ts +1 -1
- package/queries/for_ObservableQueryFor/when_setting_origin.ts +1 -1
- package/queries/for_ObservableQueryFor/when_subscribing/with_client_validation_failing.ts +3 -3
- package/queries/for_ObservableQueryFor/when_subscribing/with_client_validation_passing.ts +3 -3
- package/queries/for_ObservableQueryFor/when_subscribing/with_direct_mode_and_sse_transport.ts +5 -5
- package/queries/for_ObservableQueryFor/when_subscribing/with_direct_mode_disabled_and_sse_transport.ts +8 -8
- package/queries/for_ObservableQueryFor/when_subscribing/with_direct_mode_enabled.ts +4 -4
- package/queries/for_ObservableQueryFor/when_subscribing/with_enumerable_query.ts +3 -3
- package/queries/for_ObservableQueryFor/when_subscribing/with_hub_mode_and_multiple_required_route_parameters.ts +7 -7
- package/queries/for_ObservableQueryFor/when_subscribing/with_hub_mode_and_sse_transport_and_null_or_undefined_args.ts +7 -7
- package/queries/for_ObservableQueryFor/when_subscribing/with_hub_mode_and_sse_transport_and_route_and_query_args.ts +7 -7
- package/queries/for_ObservableQueryFor/when_subscribing/with_hub_mode_and_stale_descriptor_backed_instance_property.ts +7 -7
- package/queries/for_ObservableQueryFor/when_subscribing/with_invalid_arguments.ts +3 -3
- package/queries/for_ObservableQueryFor/when_subscribing/with_paging.ts +4 -4
- package/queries/for_ObservableQueryFor/when_subscribing/with_partially_missing_required_arguments.ts +3 -3
- package/queries/for_ObservableQueryFor/when_subscribing/with_route_and_query_args.ts +4 -4
- package/queries/for_ObservableQueryFor/when_subscribing/with_sorting.ts +5 -5
- package/queries/for_ObservableQueryFor/when_subscribing/with_valid_arguments.ts +3 -3
- package/queries/for_ObservableQueryFor/when_subscribing/with_web_socket_hub_payload_without_readiness.ts +7 -7
- package/queries/for_ObservableQueryMultiplexer/when_getting_or_creating/with_a_changed_cache_key.ts +2 -2
- package/queries/for_ObservableQueryMultiplexer/when_getting_or_creating/with_a_new_cache_key.ts +2 -2
- package/queries/for_ObservableQueryMultiplexer/when_getting_or_creating/with_an_explicit_size.ts +2 -2
- package/queries/for_ObservableQueryMultiplexer/when_getting_or_creating/with_the_same_cache_key.ts +2 -2
- package/queries/for_QueryFor/given/TestQueries.ts +2 -2
- package/queries/for_QueryFor/given/a_query_for.ts +1 -1
- package/queries/for_QueryFor/given/a_query_with_validator.ts +5 -5
- package/queries/for_QueryFor/when_constructing.ts +5 -5
- package/queries/for_QueryFor/when_constructing_enumerable.ts +4 -4
- package/queries/for_QueryFor/when_constructing_with_globals_api_base_path.ts +4 -4
- package/queries/for_QueryFor/when_constructing_with_globals_origin.ts +4 -4
- package/queries/for_QueryFor/when_performing/with_a_nullish_transport_rejection.ts +4 -4
- package/queries/for_QueryFor/when_performing/with_abort_controller.ts +4 -4
- package/queries/for_QueryFor/when_performing/with_an_aborted_request.ts +3 -3
- package/queries/for_QueryFor/when_performing/with_client_validation_failing.ts +5 -5
- package/queries/for_QueryFor/when_performing/with_client_validation_failure_and_custom_message.ts +3 -3
- package/queries/for_QueryFor/when_performing/with_client_validation_passing.ts +5 -5
- package/queries/for_QueryFor/when_performing/with_enumerable_parameter_descriptor_values.ts +4 -4
- package/queries/for_QueryFor/when_performing/with_enumerable_query.ts +4 -4
- package/queries/for_QueryFor/when_performing/with_fetch_error.ts +4 -4
- package/queries/for_QueryFor/when_performing/with_invalid_arguments.ts +3 -3
- package/queries/for_QueryFor/when_performing/with_json_parse_error.ts +4 -4
- package/queries/for_QueryFor/when_performing/with_paging.ts +5 -5
- package/queries/for_QueryFor/when_performing/with_parameter_descriptor_values.ts +4 -4
- package/queries/for_QueryFor/when_performing/with_partial_parameter_descriptor_values.ts +4 -4
- package/queries/for_QueryFor/when_performing/with_partially_missing_required_arguments.ts +4 -4
- package/queries/for_QueryFor/when_performing/with_query_http_method.ts +5 -5
- package/queries/for_QueryFor/when_performing/with_query_without_required_parameters.ts +4 -4
- package/queries/for_QueryFor/when_performing/with_route_parameters_and_unused_parameters.ts +4 -4
- package/queries/for_QueryFor/when_performing/with_sorting.ts +6 -6
- package/queries/for_QueryFor/when_performing/with_valid_arguments.ts +4 -4
- package/queries/for_QueryFor/when_setting_api_base_path.ts +2 -2
- package/queries/for_QueryFor/when_setting_microservice.ts +2 -2
- package/queries/for_QueryFor/when_setting_origin.ts +2 -2
- package/queries/for_QueryInstanceCache/when_acquiring/after_release.ts +1 -1
- package/queries/for_QueryInstanceCache/when_building_key/with_arguments.ts +1 -1
- package/queries/for_QueryInstanceCache/when_building_key/with_empty_arguments_object.ts +1 -1
- package/queries/for_QueryInstanceCache/when_building_key/with_same_arguments_different_order.ts +1 -1
- package/queries/for_QueryInstanceCache/when_building_key/without_arguments.ts +1 -1
- package/queries/for_QueryInstanceCache/when_deferring_dispose/with_cancellation_before_timeout.ts +1 -1
- package/queries/for_QueryInstanceCache/when_deferring_dispose/without_cancellation.ts +1 -1
- package/queries/for_QueryInstanceCache/when_disposing/an_empty_cache.ts +1 -1
- package/queries/for_QueryInstanceCache/when_disposing/with_active_subscriptions.ts +1 -1
- package/queries/for_QueryInstanceCache/when_disposing/with_pending_deferred_cleanup.ts +1 -1
- package/queries/for_QueryInstanceCache/when_getting_last_result/with_no_result_stored.ts +1 -1
- package/queries/for_QueryInstanceCache/when_getting_last_result/with_stored_result.ts +2 -2
- package/queries/for_QueryInstanceCache/when_getting_or_creating/with_existing_entry.ts +1 -1
- package/queries/for_QueryInstanceCache/when_getting_or_creating/with_new_entry.ts +1 -1
- package/queries/for_QueryInstanceCache/when_releasing/a_key_that_does_not_exist.ts +1 -1
- package/queries/for_QueryInstanceCache/when_releasing/one_of_two_subscribers.ts +1 -1
- package/queries/for_QueryInstanceCache/when_releasing/the_only_subscriber.ts +1 -1
- package/queries/for_QueryInstanceCache/when_releasing/with_retention_timeout/after_timeout_elapses.ts +1 -1
- package/queries/for_QueryInstanceCache/when_releasing/with_retention_timeout/before_timeout_elapses.ts +1 -1
- package/queries/for_QueryInstanceCache/when_setting_last_result/with_a_partially_changed_result.ts +2 -2
- package/queries/for_QueryInstanceCache/when_setting_last_result/with_a_re_delivered_identical_result.ts +2 -2
- package/queries/for_QueryInstanceCache/when_setting_last_result/with_a_result.ts +2 -2
- package/queries/for_QueryInstanceCache/when_setting_last_result/with_changed_data.ts +2 -2
- package/queries/for_QueryInstanceCache/when_setting_last_result/with_identical_data_as_previous_result.ts +2 -2
- package/queries/for_QueryInstanceCache/when_setting_last_result/with_only_readiness_changed.ts +3 -3
- package/queries/for_QueryInstanceCache/when_setting_last_result/without_previous_result.ts +2 -2
- package/queries/for_QueryInstanceCache/when_tearing_down_all_subscriptions/with_active_subscriptions.ts +1 -1
- package/queries/for_QueryInstanceCache/when_tearing_down_all_subscriptions/with_no_subscriptions.ts +1 -1
- package/queries/for_QueryInstanceCache/when_tearing_down_all_subscriptions/with_pending_deferred_cleanup.ts +1 -1
- package/queries/for_QueryResult/when_asking_has_data/and_it_an_array_with_items.ts +1 -1
- package/queries/for_QueryResult/when_asking_has_data/and_it_is_defined_instance.ts +1 -1
- package/queries/for_QueryResult/when_asking_has_data/and_it_is_empty_array.ts +1 -1
- package/queries/for_QueryResult/when_asking_has_data/and_it_is_null_for_enumerable.ts +1 -1
- package/queries/for_QueryResult/when_asking_has_data/and_it_is_null_for_non_enumerable.ts +1 -1
- package/queries/for_QueryResult/when_asking_has_data/and_it_is_undefined.ts +1 -1
- package/queries/for_QueryResult/when_constructing_from_a_server_result/with_readiness_false.ts +1 -1
- package/queries/for_QueryResult/when_constructing_from_a_server_result/without_readiness.ts +1 -1
- package/queries/for_QueryResult/when_constructing_from_a_server_result_with_a_constraint_violation.ts +3 -3
- package/queries/for_QueryResult/when_creating_a_validation_failed_result.ts +4 -4
- package/queries/for_QueryResult/when_data_is_single_item_for_enumerable/and_it_is_an_array.ts +1 -1
- package/queries/for_QueryResultWithState/when_creating_empty/with_null_default_value.ts +1 -1
- package/queries/for_QueryResultWithState/when_creating_empty/with_undefined_default_value.ts +1 -1
- package/queries/for_QueryResultWithState/when_creating_from_query_result/with_null_data.ts +2 -2
- package/queries/for_QueryResultWithState/when_creating_from_query_result/with_readiness_false.ts +2 -2
- package/queries/for_QueryResultWithState/when_creating_from_query_result/with_undefined_data.ts +2 -2
- package/queries/for_QueryResultWithState/when_creating_from_query_result/without_readiness.ts +3 -3
- package/queries/for_QueryResultWithState/when_creating_initial/with_null_default_value.ts +1 -1
- package/queries/for_QueryResultWithState/when_creating_initial/with_undefined_default_value.ts +1 -1
- package/queries/for_QueryResultWithState/when_creating_initial/with_valid_default_value.ts +1 -1
- package/queries/for_ReconnectPolicy/when_canceling/with_pending_timer.ts +1 -1
- package/queries/for_ReconnectPolicy/when_cancelling/with_pending_timer.ts +1 -1
- package/queries/for_ReconnectPolicy/when_resetting/after_scheduling.ts +1 -1
- package/queries/for_ReconnectPolicy/when_scheduling/and_max_attempts_not_reached/delay_is_capped_at_max.ts +1 -1
- package/queries/for_ReconnectPolicy/when_scheduling/and_max_attempts_not_reached/first_attempt.ts +1 -1
- package/queries/for_ReconnectPolicy/when_scheduling/and_max_attempts_reached/abandons_reconnect.ts +1 -1
- package/queries/for_ReconnectPolicy/when_scheduling/and_rescheduled_before_first_fires/cancels_previous_timer.ts +1 -1
- package/queries/for_ServerSentEventHubConnection/given/a_server_sent_event_hub_connection.ts +2 -2
- package/queries/for_ServerSentEventHubConnection/when_a_retired_event_source_fires/ignores_connected_and_error_callbacks.ts +3 -3
- package/queries/for_ServerSentEventHubConnection/when_connect_timeout_fires/triggers_reconnect.ts +3 -3
- package/queries/for_ServerSentEventHubConnection/when_connection_changes_while_subscribe_is_in_flight/and_the_query_is_replaced.ts +4 -4
- package/queries/for_ServerSentEventHubConnection/when_connection_changes_while_subscribe_is_in_flight/and_the_query_is_unsubscribed.ts +4 -4
- package/queries/for_ServerSentEventHubConnection/when_connection_changes_while_subscribe_is_in_flight/and_the_stale_request_is_rejected.ts +4 -4
- package/queries/for_ServerSentEventHubConnection/when_connection_changes_while_subscribe_is_in_flight/and_the_stale_request_returns_non_ok.ts +4 -4
- package/queries/for_ServerSentEventHubConnection/when_disposing/cleans_up_resources.ts +3 -3
- package/queries/for_ServerSentEventHubConnection/when_keep_alive_is_idle/triggers_reconnect.ts +4 -4
- package/queries/for_ServerSentEventHubConnection/when_receiving_unauthorized/notifies_subscriber_and_removes_subscription.ts +4 -4
- package/queries/for_ServerSentEventHubConnection/when_reconnecting/after_error.ts +4 -4
- package/queries/for_ServerSentEventHubConnection/when_reconnecting/and_an_immediate_open_wins_the_backoff_race.ts +3 -3
- package/queries/for_ServerSentEventHubConnection/when_replacing_a_subscription/ignores_messages_from_the_retired_generation.ts +3 -3
- package/queries/for_ServerSentEventHubConnection/when_server_advertises_a_longer_keep_alive_interval/does_not_reconnect_at_the_assumed_threshold.ts +4 -4
- package/queries/for_ServerSentEventHubConnection/when_server_reports_keep_alive_disabled/never_reconnects_from_idle.ts +4 -4
- package/queries/for_ServerSentEventHubConnection/when_subscribing/and_subscribe_post_fails.ts +3 -3
- package/queries/for_ServerSentEventHubConnection/when_subscribing/queues_until_connected.ts +3 -3
- package/queries/for_ServerSentEventHubConnection/when_subscribing/sends_subscribe_post.ts +3 -3
- package/queries/for_ServerSentEventHubConnection/when_subscribing/uses_custom_event_source_factory.ts +5 -5
- package/queries/for_ServerSentEventHubConnection/when_subscription_revisions_are_not_advertised/uses_legacy_protocol.ts +3 -3
- package/queries/for_ServerSentEventHubConnection/when_unsubscribing/nulls_event_source_handlers_before_closing.ts +3 -3
- package/queries/for_ServerSentEventHubConnection/when_unsubscribing/the_only_query.ts +3 -3
- package/queries/for_ServerSentEventQueryConnection/when_connecting/with_custom_event_source_factory.ts +4 -4
- package/queries/for_ServerSentEventQueryConnection/when_connecting/with_query_arguments.ts +2 -2
- package/queries/for_ServerSentEventQueryConnection/when_connecting/without_event_source_available.ts +2 -2
- package/queries/for_ServerSentEventQueryConnection/when_disconnecting/after_connecting.ts +2 -2
- package/queries/for_ServerSentEventQueryConnection/when_disconnecting/before_message_arrives.ts +1 -1
- package/queries/for_ServerSentEventQueryConnection/when_receiving_unauthorized/terminates_without_reconnecting.ts +2 -2
- package/queries/for_ValidateRequestArguments/when_validating_arguments/with_empty_string_value.ts +1 -1
- package/queries/for_ValidateRequestArguments/when_validating_arguments/with_missing_property.ts +1 -1
- package/queries/for_ValidateRequestArguments/when_validating_arguments/with_no_required_arguments.ts +1 -1
- package/queries/for_ValidateRequestArguments/when_validating_arguments/with_null_value.ts +1 -1
- package/queries/for_ValidateRequestArguments/when_validating_arguments/with_numeric_zero_value.ts +1 -1
- package/queries/for_ValidateRequestArguments/when_validating_arguments/with_undefined_value.ts +1 -1
- package/queries/for_ValidateRequestArguments/when_validating_arguments/with_valid_string_value.ts +1 -1
- package/queries/for_ValidateRequestArguments/when_validating_arguments/without_arguments_object.ts +1 -1
- package/queries/for_WebSocketHubConnection/given/a_web_socket_hub_connection.ts +3 -3
- package/queries/for_WebSocketHubConnection/when_disposing/cleans_up_resources.ts +2 -2
- package/queries/for_WebSocketHubConnection/when_keep_alive_is_idle/sends_a_ping.ts +4 -4
- package/queries/for_WebSocketHubConnection/when_receiving_a_message/resets_keep_alive_timer.ts +4 -4
- package/queries/for_WebSocketHubConnection/when_receiving_unauthorized/notifies_subscriber_and_removes_subscription.ts +4 -4
- package/queries/for_WebSocketHubConnection/when_reconnecting/after_unexpected_close.ts +3 -3
- package/queries/for_WebSocketHubConnection/when_reconnecting/ignores_a_pending_reconnect_and_stale_socket_callbacks.ts +4 -4
- package/queries/for_WebSocketHubConnection/when_reconnecting/replaces_a_closing_socket_safely.ts +2 -2
- package/queries/for_WebSocketHubConnection/when_reconnecting/resubscribes_all_queries.ts +4 -4
- package/queries/for_WebSocketHubConnection/when_replacing_a_subscription/ignores_stale_result_unauthorized_and_error.ts +3 -3
- package/queries/for_WebSocketHubConnection/when_subscribing/to_a_query.ts +3 -3
- package/queries/for_WebSocketHubConnection/when_subscription_revisions_are_supported/upgrades_active_subscriptions_to_strict_mode.ts +3 -3
- package/queries/for_WebSocketHubConnection/when_unsubscribing/nulls_socket_handlers_before_closing.ts +2 -2
- package/queries/for_WebSocketHubConnection/when_unsubscribing/the_only_query.ts +3 -3
- package/queries/for_WebSocketHubConnection/when_unsubscribing/with_revision_support_not_advertised.ts +3 -3
- package/queries/for_WebSocketMessage/when_creating_messages.ts +1 -1
- package/queries/for_buildQueryHttpRequest/when_building/with_get_method.ts +4 -4
- package/queries/for_buildQueryHttpRequest/when_building/with_query_method.ts +4 -4
- package/queries/for_buildQueryHttpRequest/when_building/with_query_method_and_paging_and_sorting.ts +5 -5
- package/queries/for_deserializeQueryModel/when_deserializing_a_collection_of_models.ts +1 -1
- package/queries/for_deserializeQueryModel/when_deserializing_a_collection_of_numbers.ts +1 -1
- package/queries/for_deserializeQueryModel/when_deserializing_a_collection_of_strings.ts +1 -1
- package/queries/for_deserializeQueryModel/when_deserializing_a_non_array_as_a_collection.ts +1 -1
- package/queries/for_deserializeQueryModel/when_deserializing_a_single_string.ts +1 -1
- package/queries/for_executeQueryHttpRequest/options.ts +3 -3
- package/queries/for_executeQueryHttpRequest/when_performing/with_a_resolver.ts +5 -5
- package/queries/for_executeQueryHttpRequest/when_performing/with_a_resolver_and_an_explicit_override.ts +5 -5
- package/queries/for_executeQueryHttpRequest/when_performing/with_auto_after_query_was_found_unsupported.ts +4 -4
- package/queries/for_executeQueryHttpRequest/when_performing/with_auto_and_a_network_failure.ts +4 -4
- package/queries/for_executeQueryHttpRequest/when_performing/with_auto_and_an_aborted_request.ts +4 -4
- package/queries/for_executeQueryHttpRequest/when_performing/with_auto_and_an_application_error.ts +4 -4
- package/queries/for_executeQueryHttpRequest/when_performing/with_auto_and_multiple_backends.ts +4 -4
- package/queries/for_executeQueryHttpRequest/when_performing/with_auto_and_query_supported.ts +4 -4
- package/queries/for_executeQueryHttpRequest/when_performing/with_auto_and_query_unsupported.ts +4 -4
- package/queries/for_executeQueryHttpRequest/when_performing/with_get_method.ts +4 -4
- package/queries/for_executeQueryHttpRequest/when_performing/with_query_method_and_server_rejecting_the_verb.ts +4 -4
- package/queries/for_lengthBasedQueryHttpMethod/when_resolving/with_a_long_url.ts +2 -2
- package/queries/for_lengthBasedQueryHttpMethod/when_resolving/with_a_long_url_and_a_custom_method.ts +2 -2
- package/queries/for_lengthBasedQueryHttpMethod/when_resolving/with_a_short_url.ts +2 -2
- package/queries/for_reconcileQueryData/when_items_are_added_or_removed/reuses_the_surviving_items.ts +1 -1
- package/queries/for_reconcileQueryData/when_one_item_changed/only_the_changed_item_gets_a_new_reference.ts +1 -1
- package/queries/for_reconcileQueryData/when_reconciling_an_unchanged_collection/preserves_all_references.ts +1 -1
- package/queries/for_reconcileQueryData/when_reconciling_non_collection_payloads/compares_by_value.ts +1 -1
- package/queries/index.ts +43 -43
- package/queries/reconcileQueryData.ts +1 -1
- package/reflection/IHaveParameters.ts +1 -1
- package/reflection/ParametersHelper.ts +1 -1
- package/reflection/index.ts +4 -4
- package/validation/IValidationRule.ts +1 -1
- package/validation/PropertyRule.ts +3 -3
- package/validation/PropertyValidator.ts +2 -2
- package/validation/RuleBuilder.ts +3 -3
- package/validation/RuleBuilderExtensions.ts +9 -9
- package/validation/ValidationResult.ts +2 -2
- package/validation/Validator.ts +3 -3
- package/validation/for_Validator/when_defining_multiple_rules_for_same_property.ts +2 -2
- package/validation/for_Validator/when_using_custom_error_message.ts +2 -2
- package/validation/for_Validator/when_validating/with_all_rules_passing.ts +2 -2
- package/validation/for_Validator/when_validating/with_multiple_rules_failing.ts +2 -2
- package/validation/for_Validator/when_validating/with_one_rule_failing.ts +2 -2
- package/validation/index.ts +14 -14
- package/validation/rules/ComparisonRules.ts +1 -1
- package/validation/rules/EmailRule.ts +1 -1
- package/validation/rules/LengthRules.ts +1 -1
- package/validation/rules/NotEmptyRule.ts +1 -1
- package/validation/rules/PhoneRule.ts +1 -1
- package/validation/rules/RegexRule.ts +1 -1
- package/validation/rules/UrlRule.ts +1 -1
- package/validation/rules/for_EmailRule/when_validating/with_empty_string.ts +1 -1
- package/validation/rules/for_EmailRule/when_validating/with_invalid_email.ts +1 -1
- package/validation/rules/for_EmailRule/when_validating/with_valid_email.ts +1 -1
- package/validation/rules/for_GreaterThanOrEqualRule/when_validating/with_value_equal_to_threshold.ts +1 -1
- package/validation/rules/for_GreaterThanRule/when_validating/with_value_equal_to_threshold.ts +1 -1
- package/validation/rules/for_GreaterThanRule/when_validating/with_value_greater_than_threshold.ts +1 -1
- package/validation/rules/for_GreaterThanRule/when_validating/with_value_less_than_threshold.ts +1 -1
- package/validation/rules/for_LengthRule/when_validating/with_string_longer_than_maximum.ts +1 -1
- package/validation/rules/for_LengthRule/when_validating/with_string_shorter_than_minimum.ts +1 -1
- package/validation/rules/for_LengthRule/when_validating/with_string_within_range.ts +1 -1
- package/validation/rules/for_LessThanRule/when_validating/with_value_less_than_threshold.ts +1 -1
- package/validation/rules/for_MaxLengthRule/when_validating/with_string_equal_to_maximum.ts +1 -1
- package/validation/rules/for_MaxLengthRule/when_validating/with_string_longer_than_maximum.ts +1 -1
- package/validation/rules/for_MinLengthRule/when_validating/with_string_equal_to_minimum.ts +1 -1
- package/validation/rules/for_MinLengthRule/when_validating/with_string_longer_than_minimum.ts +1 -1
- package/validation/rules/for_MinLengthRule/when_validating/with_string_shorter_than_minimum.ts +1 -1
- package/validation/rules/for_NotEmptyRule/when_setting_custom_message.ts +1 -1
- package/validation/rules/for_NotEmptyRule/when_validating/with_empty_array.ts +1 -1
- package/validation/rules/for_NotEmptyRule/when_validating/with_empty_string.ts +1 -1
- package/validation/rules/for_NotEmptyRule/when_validating/with_non_empty_array.ts +1 -1
- package/validation/rules/for_NotEmptyRule/when_validating/with_null_value.ts +2 -2
- package/validation/rules/for_NotEmptyRule/when_validating/with_undefined_value.ts +2 -2
- package/validation/rules/for_NotEmptyRule/when_validating/with_valid_string.ts +1 -1
- package/validation/rules/for_NotEmptyRule/when_validating/with_whitespace_string.ts +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryInstanceCache.js","sources":["../../../queries/QueryInstanceCache.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 { QueryResultWithState } from './QueryResultWithState';\nimport type {\n CacheDiagnostics,\n CacheEntryDiagnostics,\n} from './ObservableQueryDiagnosticsSnapshot';\nimport { reconcileQueryData } from './reconcileQueryData';\n\n/**\n * Represents a key that uniquely identifies a query instance in the cache, based on the query type name and its serialized arguments.\n */\nexport type QueryCacheKey = string;\n\n/**\n * Callback invoked when the cached result for an entry changes.\n */\nexport type QueryCacheListener<TDataType> = (\n result: QueryResultWithState<TDataType>,\n) => void;\n\n/**\n * Represents a single entry in the {@link QueryInstanceCache}.\n * @template TDataType The type of data returned by the query.\n */\nexport interface QueryCacheEntry<TDataType> {\n /**\n * The cached query instance.\n */\n readonly instance: unknown;\n\n /**\n * The last result received from the query, if any.\n */\n lastResult?: QueryResultWithState<TDataType>;\n\n /**\n * The number of active subscribers holding a reference to this entry.\n */\n subscriberCount: number;\n\n /**\n * Set of listener callbacks that are notified when {@link lastResult} changes.\n */\n readonly listeners: Set<QueryCacheListener<TDataType>>;\n\n /**\n * Cleanup function returned by the first subscriber that starts the query connection.\n * Called when the last subscriber releases the entry.\n */\n teardown?: () => void;\n\n /**\n * Whether an active subscription has been established for this entry.\n */\n subscribed: boolean;\n\n /**\n * Timer handle for deferred cleanup. Allows React StrictMode re-mounts (in any build\n * environment) to cancel the pending teardown so the connection is reused instead of\n * torn down and recreated.\n */\n pendingCleanup?: ReturnType<typeof setTimeout>;\n}\n\n/**\n * Provides a cache for query instances, keyed by query type and serialized arguments.\n *\n * Two callers requesting the same query type with identical arguments receive the same\n * cached instance and immediately see the last known result — without an additional\n * round trip to the server. When the last subscriber releases its reference the entry\n * is evicted.\n */\nexport class QueryInstanceCache {\n private readonly _entries = new Map<QueryCacheKey, QueryCacheEntry<unknown>>();\n private _pendingDispose?: ReturnType<typeof setTimeout>;\n\n /**\n * Initializes a new instance of {@link QueryInstanceCache}.\n * @param retentionMs How long in milliseconds to keep a cache entry alive after the last\n * subscriber releases it before evicting the subscription and cached data. A non-zero\n * value lets users navigate away and back without losing cached data. Defaults to\n * 30 000 ms. Pass 0 for immediate eviction.\n */\n constructor(private readonly _retentionMs: number = 30_000) {}\n\n /**\n * Builds the cache key for a query.\n * @param queryTypeName The stable type name for the query. Use the instance's `queryName`\n * (a hardcoded fully-qualified string in generated proxies) rather than {@link Function.name},\n * which is unstable under minification.\n * @param args Optional arguments supplied to the query.\n * @returns A stable string key.\n */\n buildKey(queryTypeName: string, args?: object): QueryCacheKey {\n if (!args || Object.keys(args).length === 0) {\n return `${queryTypeName}::`;\n }\n\n const sorted = Object.keys(args)\n .sort()\n .reduce<Record<string, unknown>>((accumulator, key) => {\n accumulator[key] = (args as Record<string, unknown>)[key];\n return accumulator;\n }, {});\n\n return `${queryTypeName}::${JSON.stringify(sorted)}`;\n }\n\n /**\n * Returns a cached instance for the given key, or creates a new one using the provided factory.\n * The subscriber count of the entry is incremented.\n * @template TInstance The type of the query instance.\n * @param key The cache key produced by {@link buildKey}.\n * @param factory A zero-argument factory that creates a fresh query instance when one is not yet cached.\n * @returns The cached (or newly created) instance and whether it was newly created.\n */\n getOrCreate<TInstance>(\n key: QueryCacheKey,\n factory: () => TInstance,\n ): { instance: TInstance; isNew: boolean } {\n if (!this._entries.has(key)) {\n const entry: QueryCacheEntry<unknown> = {\n instance: factory(),\n lastResult: undefined,\n subscriberCount: 0,\n listeners: new Set(),\n subscribed: false,\n };\n\n this._entries.set(key, entry);\n return { instance: entry.instance as TInstance, isNew: true };\n }\n\n const entry = this._entries.get(key)!;\n return { instance: entry.instance as TInstance, isNew: false };\n }\n\n /**\n * Increments the active subscriber count for the given key.\n * If a deferred cleanup was pending (from a recent {@link release}),\n * it is cancelled so the existing subscription is reused.\n * Call from `useEffect` setup to pair with {@link release} in the cleanup.\n * @param key The cache key produced by {@link buildKey}.\n */\n acquire(key: QueryCacheKey): void {\n const entry = this._entries.get(key);\n\n if (entry) {\n if (entry.pendingCleanup !== undefined) {\n clearTimeout(entry.pendingCleanup);\n entry.pendingCleanup = undefined;\n }\n\n entry.subscriberCount++;\n }\n }\n\n /**\n * Returns the last cached result for the given key, or `undefined` if no result has been stored yet.\n * @template TDataType The type of data returned by the query.\n * @param key The cache key produced by {@link buildKey}.\n * @returns The last {@link QueryResultWithState}, or `undefined`.\n */\n getLastResult<TDataType>(\n key: QueryCacheKey,\n ): QueryResultWithState<TDataType> | undefined {\n return this._entries.get(key)?.lastResult as\n | QueryResultWithState<TDataType>\n | undefined;\n }\n\n /**\n * Stores the most recent result for the given key and notifies all registered listeners.\n * @template TDataType The type of data returned by the query.\n * @param key The cache key produced by {@link buildKey}.\n * @param result The result to store.\n */\n setLastResult<TDataType>(\n key: QueryCacheKey,\n result: QueryResultWithState<TDataType>,\n ): void {\n const entry = this._entries.get(key);\n\n if (!entry) {\n return;\n }\n\n const previousResult = entry.lastResult as\n | QueryResultWithState<TDataType>\n | undefined;\n\n // Reconcile the incoming payload against the one already held so items that did not actually\n // change keep their previous references. A full snapshot — which is what the server re-sends\n // whenever a subscription is re-established — otherwise arrives as all-new references and\n // makes every consumer treat every item as changed.\n const reconciled =\n previousResult === undefined\n ? result\n : this.withReconciledData(previousResult, result);\n\n entry.lastResult = reconciled as QueryResultWithState<unknown>;\n\n // Reconciliation returns the previous data reference when nothing changed, so identity is\n // enough to detect it. Data, success, and readiness affect what the user sees; changeSet is\n // ephemeral and does not independently require a notification.\n if (\n previousResult !== undefined &&\n previousResult.isSuccess === reconciled.isSuccess &&\n previousResult.isReady === reconciled.isReady &&\n previousResult.data === reconciled.data\n ) {\n return;\n }\n\n for (const listener of entry.listeners) {\n (listener as QueryCacheListener<TDataType>)(reconciled);\n }\n }\n\n /**\n * Returns the incoming result with its data reconciled against the previous result, or the\n * incoming result unchanged when reconciliation found nothing to carry over.\n * @template TDataType The type of data returned by the query.\n * @param previous The previously held result.\n * @param next The freshly received result.\n * @returns A result whose data preserves references for everything that did not change.\n */\n private withReconciledData<TDataType>(\n previous: QueryResultWithState<TDataType>,\n next: QueryResultWithState<TDataType>,\n ): QueryResultWithState<TDataType> {\n const reconciledData = reconcileQueryData(previous.data, next.data);\n\n if (reconciledData === next.data) {\n return next;\n }\n\n return new QueryResultWithState<TDataType>(\n reconciledData,\n next.paging,\n next.isSuccess,\n next.isAuthorized,\n next.isValid,\n next.validationResults,\n next.hasExceptions,\n next.exceptionMessages,\n next.exceptionStackTrace,\n next.isPerforming,\n next.changeSet,\n next.isReady,\n );\n }\n\n /**\n * Registers a listener that is invoked whenever the cached result for the given key changes.\n * @template TDataType The type of data returned by the query.\n * @param key The cache key produced by {@link buildKey}.\n * @param listener The callback to register.\n */\n addListener<TDataType>(\n key: QueryCacheKey,\n listener: QueryCacheListener<TDataType>,\n ): void {\n const entry = this._entries.get(key);\n\n if (entry) {\n entry.listeners.add(listener as QueryCacheListener<unknown>);\n }\n }\n\n /**\n * Removes a previously registered listener.\n * @template TDataType The type of data returned by the query.\n * @param key The cache key produced by {@link buildKey}.\n * @param listener The callback to remove.\n */\n removeListener<TDataType>(\n key: QueryCacheKey,\n listener: QueryCacheListener<TDataType>,\n ): void {\n const entry = this._entries.get(key);\n\n if (entry) {\n entry.listeners.delete(listener as QueryCacheListener<unknown>);\n }\n }\n\n /**\n * Stores a teardown function for the given key and marks the entry as subscribed.\n * Called automatically when the last subscriber releases the entry.\n * @param key The cache key produced by {@link buildKey}.\n * @param teardown Cleanup function that disconnects the underlying query subscription.\n */\n setTeardown(key: QueryCacheKey, teardown: () => void): void {\n const entry = this._entries.get(key);\n\n if (entry) {\n entry.teardown = teardown;\n entry.subscribed = true;\n }\n }\n\n /**\n * Returns whether an active subscription exists for the given key.\n * @param key The cache key to check.\n * @returns `true` if a subscription has been established; `false` otherwise.\n */\n isSubscribed(key: QueryCacheKey): boolean {\n return this._entries.get(key)?.subscribed ?? false;\n }\n\n /**\n * Decrements the subscriber count for the given key. When the count reaches zero, both teardown\n * and eviction are deferred by one microtask so that React StrictMode re-mounts — in any build\n * environment — can re-acquire the entry and cancel the cleanup before the timeout fires. This\n * prevents an unnecessary disconnect/reconnect cycle during the synthetic unmount/remount that\n * StrictMode performs.\n * @param key The cache key produced by {@link buildKey}.\n */\n release(key: QueryCacheKey): void {\n const entry = this._entries.get(key);\n\n if (entry) {\n entry.subscriberCount--;\n\n if (entry.subscriberCount <= 0) {\n // Defer both teardown and eviction. React StrictMode re-mounts can cancel by\n // calling acquire() before the timeout fires. A non-zero _retentionMs keeps the\n // entry alive so users navigating back quickly see cached data immediately.\n entry.pendingCleanup = setTimeout(() => {\n const current = this._entries.get(key);\n\n if (current && current.subscriberCount <= 0) {\n current.subscribed = false;\n current.teardown?.();\n current.teardown = undefined;\n current.pendingCleanup = undefined;\n this._entries.delete(key);\n }\n }, this._retentionMs);\n }\n }\n }\n\n /**\n * Returns whether an entry exists for the given key.\n * @param key The cache key to check.\n * @returns `true` if an entry exists; `false` otherwise.\n */\n has(key: QueryCacheKey): boolean {\n return this._entries.has(key);\n }\n\n /**\n * Tears down all active subscriptions and marks every entry as not subscribed,\n * but preserves entries, subscriber counts, and listeners. This allows\n * hooks whose effects re-run afterward to detect that the entry is no longer\n * subscribed and re-establish a fresh connection.\n *\n * Use this when the underlying transport must be replaced (e.g. after an\n * authentication change that requires new WebSocket connections with updated\n * credentials).\n */\n teardownAllSubscriptions(): void {\n for (const [, entry] of this._entries) {\n if (entry.pendingCleanup !== undefined) {\n clearTimeout(entry.pendingCleanup);\n entry.pendingCleanup = undefined;\n }\n\n entry.subscribed = false;\n entry.teardown?.();\n entry.teardown = undefined;\n }\n }\n\n /**\n * Immediately tears down all subscriptions, cancels any pending deferred cleanups,\n * and evicts all entries. Call when the owning component (e.g. the {@link Arc} provider)\n * unmounts permanently so that all query connections are closed synchronously.\n */\n dispose(): void {\n for (const [, entry] of this._entries) {\n if (entry.pendingCleanup !== undefined) {\n clearTimeout(entry.pendingCleanup);\n entry.pendingCleanup = undefined;\n }\n\n entry.subscribed = false;\n entry.teardown?.();\n entry.teardown = undefined;\n }\n\n this._entries.clear();\n }\n\n /**\n * Schedules a deferred {@link dispose} using {@code setTimeout(0)}.\n *\n * This allows React StrictMode re-mounts to call {@link cancelPendingDispose}\n * before the dispose fires, avoiding the destruction of cache entries that child\n * effects are about to re-acquire.\n *\n * If a deferred dispose is already pending, it is replaced.\n */\n deferDispose(): void {\n if (this._pendingDispose !== undefined) {\n clearTimeout(this._pendingDispose);\n }\n\n this._pendingDispose = setTimeout(() => {\n this._pendingDispose = undefined;\n this.dispose();\n }, 0);\n }\n\n /**\n * Cancels a pending deferred dispose scheduled by {@link deferDispose}.\n *\n * Call from the {@code useEffect} setup phase so that a StrictMode re-mount\n * prevents the synthetic unmount's deferred dispose from firing.\n */\n cancelPendingDispose(): void {\n if (this._pendingDispose !== undefined) {\n clearTimeout(this._pendingDispose);\n this._pendingDispose = undefined;\n }\n }\n\n /**\n * Returns a diagnostics snapshot of the current cache state.\n * @returns A {@link CacheDiagnostics} describing all entries.\n */\n getDiagnosticsSnapshot(): CacheDiagnostics {\n const entries: CacheEntryDiagnostics[] = [];\n let totalBytes = 0;\n let unhealthyCount = 0;\n\n for (const [key, entry] of this._entries) {\n const colonIndex = key.indexOf('::');\n const queryName = colonIndex >= 0 ? key.substring(0, colonIndex) : key;\n\n let estimatedBytes = 0;\n try {\n if (entry.lastResult !== undefined) {\n estimatedBytes = JSON.stringify(entry.lastResult).length;\n }\n } catch {\n // Ignore serialization errors\n }\n\n if (entry.subscriberCount > 0 && !entry.subscribed) {\n unhealthyCount++;\n }\n\n totalBytes += estimatedBytes;\n entries.push({\n key,\n queryName,\n subscriberCount: entry.subscriberCount,\n listenerCount: entry.listeners.size,\n subscribed: entry.subscribed,\n hasResult: entry.lastResult !== undefined,\n estimatedBytes,\n });\n }\n\n return {\n healthy: unhealthyCount === 0,\n entryCount: this._entries.size,\n estimatedBytes: totalBytes,\n entries,\n };\n }\n}\n"],"names":["QueryInstanceCache","_entries","Map","_pendingDispose","_retentionMs","buildKey","queryTypeName","args","Object","keys","length","sorted","sort","reduce","accumulator","key","JSON","stringify","getOrCreate","factory","has","entry","instance","lastResult","undefined","subscriberCount","listeners","Set","subscribed","set","isNew","get","acquire","pendingCleanup","clearTimeout","getLastResult","setLastResult","result","previousResult","reconciled","withReconciledData","isSuccess","isReady","data","listener","previous","next","reconciledData","reconcileQueryData","QueryResultWithState","paging","isAuthorized","isValid","validationResults","hasExceptions","exceptionMessages","exceptionStackTrace","isPerforming","changeSet","addListener","add","removeListener","delete","setTeardown","teardown","isSubscribed","release","setTimeout","current","teardownAllSubscriptions","dispose","clear","deferDispose","cancelPendingDispose","getDiagnosticsSnapshot","entries","totalBytes","unhealthyCount","colonIndex","indexOf","queryName","substring","estimatedBytes","push","listenerCount","size","hasResult","healthy","entryCount"],"mappings":";;;AAAA;AACA;AAiEA;;;;;;;AAOC,IACM,MAAMA,kBAAAA,CAAAA;;AACQC,IAAAA,QAAAA,GAAW,IAAIC,GAAAA,EAAAA;IACxBC,eAAAA;AAER;;;;;;AAMC,QACD,WAAA,CAA6BC,YAAAA,GAAuB,MAAM,CAAE;aAA/BA,YAAAA,GAAAA,YAAAA;AAAgC,IAAA;AAE7D;;;;;;;AAOC,QACDC,QAAAA,CAASC,aAAqB,EAAEC,IAAa,EAAiB;QAC1D,IAAI,CAACA,QAAQC,MAAAA,CAAOC,IAAI,CAACF,IAAAA,CAAAA,CAAMG,MAAM,KAAK,CAAA,EAAG;YACzC,OAAO,CAAA,EAAGJ,aAAAA,CAAc,EAAE,CAAC;AAC/B,QAAA;QAEA,MAAMK,MAAAA,GAASH,MAAAA,CAAOC,IAAI,CAACF,IAAAA,CAAAA,CACtBK,IAAI,EAAA,CACJC,MAAM,CAA0B,CAACC,WAAAA,EAAaC,GAAAA,GAAAA;AAC3CD,YAAAA,WAAW,CAACC,GAAAA,CAAI,GAAG,IAAiC,CAACA,GAAAA,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BAC5B0D,SAAAA,EAAWjE,KAAAA,CAAME,UAAU,KAAKC,SAAAA;AAChC0D,gBAAAA;AACJ,aAAA,CAAA;AACJ,QAAA;QAEA,OAAO;AACHK,YAAAA,OAAAA,EAASV,cAAAA,KAAmB,CAAA;AAC5BW,YAAAA,UAAAA,EAAY,IAAI,CAACvF,QAAQ,CAACoF,IAAI;YAC9BH,cAAAA,EAAgBN,UAAAA;AAChBD,YAAAA;AACJ,SAAA;AACJ,IAAA;AACJ;;"}
|
|
1
|
+
{"version":3,"file":"QueryInstanceCache.js","sources":["../../../queries/QueryInstanceCache.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 { QueryResultWithState } from './QueryResultWithState.js';\nimport type {\n CacheDiagnostics,\n CacheEntryDiagnostics,\n} from './ObservableQueryDiagnosticsSnapshot.js';\nimport { reconcileQueryData } from './reconcileQueryData.js';\n\n/**\n * Represents a key that uniquely identifies a query instance in the cache, based on the query type name and its serialized arguments.\n */\nexport type QueryCacheKey = string;\n\n/**\n * Callback invoked when the cached result for an entry changes.\n */\nexport type QueryCacheListener<TDataType> = (\n result: QueryResultWithState<TDataType>,\n) => void;\n\n/**\n * Represents a single entry in the {@link QueryInstanceCache}.\n * @template TDataType The type of data returned by the query.\n */\nexport interface QueryCacheEntry<TDataType> {\n /**\n * The cached query instance.\n */\n readonly instance: unknown;\n\n /**\n * The last result received from the query, if any.\n */\n lastResult?: QueryResultWithState<TDataType>;\n\n /**\n * The number of active subscribers holding a reference to this entry.\n */\n subscriberCount: number;\n\n /**\n * Set of listener callbacks that are notified when {@link lastResult} changes.\n */\n readonly listeners: Set<QueryCacheListener<TDataType>>;\n\n /**\n * Cleanup function returned by the first subscriber that starts the query connection.\n * Called when the last subscriber releases the entry.\n */\n teardown?: () => void;\n\n /**\n * Whether an active subscription has been established for this entry.\n */\n subscribed: boolean;\n\n /**\n * Timer handle for deferred cleanup. Allows React StrictMode re-mounts (in any build\n * environment) to cancel the pending teardown so the connection is reused instead of\n * torn down and recreated.\n */\n pendingCleanup?: ReturnType<typeof setTimeout>;\n}\n\n/**\n * Provides a cache for query instances, keyed by query type and serialized arguments.\n *\n * Two callers requesting the same query type with identical arguments receive the same\n * cached instance and immediately see the last known result — without an additional\n * round trip to the server. When the last subscriber releases its reference the entry\n * is evicted.\n */\nexport class QueryInstanceCache {\n private readonly _entries = new Map<QueryCacheKey, QueryCacheEntry<unknown>>();\n private _pendingDispose?: ReturnType<typeof setTimeout>;\n\n /**\n * Initializes a new instance of {@link QueryInstanceCache}.\n * @param retentionMs How long in milliseconds to keep a cache entry alive after the last\n * subscriber releases it before evicting the subscription and cached data. A non-zero\n * value lets users navigate away and back without losing cached data. Defaults to\n * 30 000 ms. Pass 0 for immediate eviction.\n */\n constructor(private readonly _retentionMs: number = 30_000) {}\n\n /**\n * Builds the cache key for a query.\n * @param queryTypeName The stable type name for the query. Use the instance's `queryName`\n * (a hardcoded fully-qualified string in generated proxies) rather than {@link Function.name},\n * which is unstable under minification.\n * @param args Optional arguments supplied to the query.\n * @returns A stable string key.\n */\n buildKey(queryTypeName: string, args?: object): QueryCacheKey {\n if (!args || Object.keys(args).length === 0) {\n return `${queryTypeName}::`;\n }\n\n const sorted = Object.keys(args)\n .sort()\n .reduce<Record<string, unknown>>((accumulator, key) => {\n accumulator[key] = (args as Record<string, unknown>)[key];\n return accumulator;\n }, {});\n\n return `${queryTypeName}::${JSON.stringify(sorted)}`;\n }\n\n /**\n * Returns a cached instance for the given key, or creates a new one using the provided factory.\n * The subscriber count of the entry is incremented.\n * @template TInstance The type of the query instance.\n * @param key The cache key produced by {@link buildKey}.\n * @param factory A zero-argument factory that creates a fresh query instance when one is not yet cached.\n * @returns The cached (or newly created) instance and whether it was newly created.\n */\n getOrCreate<TInstance>(\n key: QueryCacheKey,\n factory: () => TInstance,\n ): { instance: TInstance; isNew: boolean } {\n if (!this._entries.has(key)) {\n const entry: QueryCacheEntry<unknown> = {\n instance: factory(),\n lastResult: undefined,\n subscriberCount: 0,\n listeners: new Set(),\n subscribed: false,\n };\n\n this._entries.set(key, entry);\n return { instance: entry.instance as TInstance, isNew: true };\n }\n\n const entry = this._entries.get(key)!;\n return { instance: entry.instance as TInstance, isNew: false };\n }\n\n /**\n * Increments the active subscriber count for the given key.\n * If a deferred cleanup was pending (from a recent {@link release}),\n * it is cancelled so the existing subscription is reused.\n * Call from `useEffect` setup to pair with {@link release} in the cleanup.\n * @param key The cache key produced by {@link buildKey}.\n */\n acquire(key: QueryCacheKey): void {\n const entry = this._entries.get(key);\n\n if (entry) {\n if (entry.pendingCleanup !== undefined) {\n clearTimeout(entry.pendingCleanup);\n entry.pendingCleanup = undefined;\n }\n\n entry.subscriberCount++;\n }\n }\n\n /**\n * Returns the last cached result for the given key, or `undefined` if no result has been stored yet.\n * @template TDataType The type of data returned by the query.\n * @param key The cache key produced by {@link buildKey}.\n * @returns The last {@link QueryResultWithState}, or `undefined`.\n */\n getLastResult<TDataType>(\n key: QueryCacheKey,\n ): QueryResultWithState<TDataType> | undefined {\n return this._entries.get(key)?.lastResult as\n | QueryResultWithState<TDataType>\n | undefined;\n }\n\n /**\n * Stores the most recent result for the given key and notifies all registered listeners.\n * @template TDataType The type of data returned by the query.\n * @param key The cache key produced by {@link buildKey}.\n * @param result The result to store.\n */\n setLastResult<TDataType>(\n key: QueryCacheKey,\n result: QueryResultWithState<TDataType>,\n ): void {\n const entry = this._entries.get(key);\n\n if (!entry) {\n return;\n }\n\n const previousResult = entry.lastResult as\n | QueryResultWithState<TDataType>\n | undefined;\n\n // Reconcile the incoming payload against the one already held so items that did not actually\n // change keep their previous references. A full snapshot — which is what the server re-sends\n // whenever a subscription is re-established — otherwise arrives as all-new references and\n // makes every consumer treat every item as changed.\n const reconciled =\n previousResult === undefined\n ? result\n : this.withReconciledData(previousResult, result);\n\n entry.lastResult = reconciled as QueryResultWithState<unknown>;\n\n // Reconciliation returns the previous data reference when nothing changed, so identity is\n // enough to detect it. Data, success, and readiness affect what the user sees; changeSet is\n // ephemeral and does not independently require a notification.\n if (\n previousResult !== undefined &&\n previousResult.isSuccess === reconciled.isSuccess &&\n previousResult.isReady === reconciled.isReady &&\n previousResult.data === reconciled.data\n ) {\n return;\n }\n\n for (const listener of entry.listeners) {\n (listener as QueryCacheListener<TDataType>)(reconciled);\n }\n }\n\n /**\n * Returns the incoming result with its data reconciled against the previous result, or the\n * incoming result unchanged when reconciliation found nothing to carry over.\n * @template TDataType The type of data returned by the query.\n * @param previous The previously held result.\n * @param next The freshly received result.\n * @returns A result whose data preserves references for everything that did not change.\n */\n private withReconciledData<TDataType>(\n previous: QueryResultWithState<TDataType>,\n next: QueryResultWithState<TDataType>,\n ): QueryResultWithState<TDataType> {\n const reconciledData = reconcileQueryData(previous.data, next.data);\n\n if (reconciledData === next.data) {\n return next;\n }\n\n return new QueryResultWithState<TDataType>(\n reconciledData,\n next.paging,\n next.isSuccess,\n next.isAuthorized,\n next.isValid,\n next.validationResults,\n next.hasExceptions,\n next.exceptionMessages,\n next.exceptionStackTrace,\n next.isPerforming,\n next.changeSet,\n next.isReady,\n );\n }\n\n /**\n * Registers a listener that is invoked whenever the cached result for the given key changes.\n * @template TDataType The type of data returned by the query.\n * @param key The cache key produced by {@link buildKey}.\n * @param listener The callback to register.\n */\n addListener<TDataType>(\n key: QueryCacheKey,\n listener: QueryCacheListener<TDataType>,\n ): void {\n const entry = this._entries.get(key);\n\n if (entry) {\n entry.listeners.add(listener as QueryCacheListener<unknown>);\n }\n }\n\n /**\n * Removes a previously registered listener.\n * @template TDataType The type of data returned by the query.\n * @param key The cache key produced by {@link buildKey}.\n * @param listener The callback to remove.\n */\n removeListener<TDataType>(\n key: QueryCacheKey,\n listener: QueryCacheListener<TDataType>,\n ): void {\n const entry = this._entries.get(key);\n\n if (entry) {\n entry.listeners.delete(listener as QueryCacheListener<unknown>);\n }\n }\n\n /**\n * Stores a teardown function for the given key and marks the entry as subscribed.\n * Called automatically when the last subscriber releases the entry.\n * @param key The cache key produced by {@link buildKey}.\n * @param teardown Cleanup function that disconnects the underlying query subscription.\n */\n setTeardown(key: QueryCacheKey, teardown: () => void): void {\n const entry = this._entries.get(key);\n\n if (entry) {\n entry.teardown = teardown;\n entry.subscribed = true;\n }\n }\n\n /**\n * Returns whether an active subscription exists for the given key.\n * @param key The cache key to check.\n * @returns `true` if a subscription has been established; `false` otherwise.\n */\n isSubscribed(key: QueryCacheKey): boolean {\n return this._entries.get(key)?.subscribed ?? false;\n }\n\n /**\n * Decrements the subscriber count for the given key. When the count reaches zero, both teardown\n * and eviction are deferred by one microtask so that React StrictMode re-mounts — in any build\n * environment — can re-acquire the entry and cancel the cleanup before the timeout fires. This\n * prevents an unnecessary disconnect/reconnect cycle during the synthetic unmount/remount that\n * StrictMode performs.\n * @param key The cache key produced by {@link buildKey}.\n */\n release(key: QueryCacheKey): void {\n const entry = this._entries.get(key);\n\n if (entry) {\n entry.subscriberCount--;\n\n if (entry.subscriberCount <= 0) {\n // Defer both teardown and eviction. React StrictMode re-mounts can cancel by\n // calling acquire() before the timeout fires. A non-zero _retentionMs keeps the\n // entry alive so users navigating back quickly see cached data immediately.\n entry.pendingCleanup = setTimeout(() => {\n const current = this._entries.get(key);\n\n if (current && current.subscriberCount <= 0) {\n current.subscribed = false;\n current.teardown?.();\n current.teardown = undefined;\n current.pendingCleanup = undefined;\n this._entries.delete(key);\n }\n }, this._retentionMs);\n }\n }\n }\n\n /**\n * Returns whether an entry exists for the given key.\n * @param key The cache key to check.\n * @returns `true` if an entry exists; `false` otherwise.\n */\n has(key: QueryCacheKey): boolean {\n return this._entries.has(key);\n }\n\n /**\n * Tears down all active subscriptions and marks every entry as not subscribed,\n * but preserves entries, subscriber counts, and listeners. This allows\n * hooks whose effects re-run afterward to detect that the entry is no longer\n * subscribed and re-establish a fresh connection.\n *\n * Use this when the underlying transport must be replaced (e.g. after an\n * authentication change that requires new WebSocket connections with updated\n * credentials).\n */\n teardownAllSubscriptions(): void {\n for (const [, entry] of this._entries) {\n if (entry.pendingCleanup !== undefined) {\n clearTimeout(entry.pendingCleanup);\n entry.pendingCleanup = undefined;\n }\n\n entry.subscribed = false;\n entry.teardown?.();\n entry.teardown = undefined;\n }\n }\n\n /**\n * Immediately tears down all subscriptions, cancels any pending deferred cleanups,\n * and evicts all entries. Call when the owning component (e.g. the {@link Arc} provider)\n * unmounts permanently so that all query connections are closed synchronously.\n */\n dispose(): void {\n for (const [, entry] of this._entries) {\n if (entry.pendingCleanup !== undefined) {\n clearTimeout(entry.pendingCleanup);\n entry.pendingCleanup = undefined;\n }\n\n entry.subscribed = false;\n entry.teardown?.();\n entry.teardown = undefined;\n }\n\n this._entries.clear();\n }\n\n /**\n * Schedules a deferred {@link dispose} using {@code setTimeout(0)}.\n *\n * This allows React StrictMode re-mounts to call {@link cancelPendingDispose}\n * before the dispose fires, avoiding the destruction of cache entries that child\n * effects are about to re-acquire.\n *\n * If a deferred dispose is already pending, it is replaced.\n */\n deferDispose(): void {\n if (this._pendingDispose !== undefined) {\n clearTimeout(this._pendingDispose);\n }\n\n this._pendingDispose = setTimeout(() => {\n this._pendingDispose = undefined;\n this.dispose();\n }, 0);\n }\n\n /**\n * Cancels a pending deferred dispose scheduled by {@link deferDispose}.\n *\n * Call from the {@code useEffect} setup phase so that a StrictMode re-mount\n * prevents the synthetic unmount's deferred dispose from firing.\n */\n cancelPendingDispose(): void {\n if (this._pendingDispose !== undefined) {\n clearTimeout(this._pendingDispose);\n this._pendingDispose = undefined;\n }\n }\n\n /**\n * Returns a diagnostics snapshot of the current cache state.\n * @returns A {@link CacheDiagnostics} describing all entries.\n */\n getDiagnosticsSnapshot(): CacheDiagnostics {\n const entries: CacheEntryDiagnostics[] = [];\n let totalBytes = 0;\n let unhealthyCount = 0;\n\n for (const [key, entry] of this._entries) {\n const colonIndex = key.indexOf('::');\n const queryName = colonIndex >= 0 ? key.substring(0, colonIndex) : key;\n\n let estimatedBytes = 0;\n try {\n if (entry.lastResult !== undefined) {\n estimatedBytes = JSON.stringify(entry.lastResult).length;\n }\n } catch {\n // Ignore serialization errors\n }\n\n if (entry.subscriberCount > 0 && !entry.subscribed) {\n unhealthyCount++;\n }\n\n totalBytes += estimatedBytes;\n entries.push({\n key,\n queryName,\n subscriberCount: entry.subscriberCount,\n listenerCount: entry.listeners.size,\n subscribed: entry.subscribed,\n hasResult: entry.lastResult !== undefined,\n estimatedBytes,\n });\n }\n\n return {\n healthy: unhealthyCount === 0,\n entryCount: this._entries.size,\n estimatedBytes: totalBytes,\n entries,\n };\n }\n}\n"],"names":["QueryInstanceCache","_entries","Map","_pendingDispose","_retentionMs","buildKey","queryTypeName","args","Object","keys","length","sorted","sort","reduce","accumulator","key","JSON","stringify","getOrCreate","factory","has","entry","instance","lastResult","undefined","subscriberCount","listeners","Set","subscribed","set","isNew","get","acquire","pendingCleanup","clearTimeout","getLastResult","setLastResult","result","previousResult","reconciled","withReconciledData","isSuccess","isReady","data","listener","previous","next","reconciledData","reconcileQueryData","QueryResultWithState","paging","isAuthorized","isValid","validationResults","hasExceptions","exceptionMessages","exceptionStackTrace","isPerforming","changeSet","addListener","add","removeListener","delete","setTeardown","teardown","isSubscribed","release","setTimeout","current","teardownAllSubscriptions","dispose","clear","deferDispose","cancelPendingDispose","getDiagnosticsSnapshot","entries","totalBytes","unhealthyCount","colonIndex","indexOf","queryName","substring","estimatedBytes","push","listenerCount","size","hasResult","healthy","entryCount"],"mappings":";;;AAAA;AACA;AAiEA;;;;;;;AAOC,IACM,MAAMA,kBAAAA,CAAAA;;AACQC,IAAAA,QAAAA,GAAW,IAAIC,GAAAA,EAAAA;IACxBC,eAAAA;AAER;;;;;;AAMC,QACD,WAAA,CAA6BC,YAAAA,GAAuB,MAAM,CAAE;aAA/BA,YAAAA,GAAAA,YAAAA;AAAgC,IAAA;AAE7D;;;;;;;AAOC,QACDC,QAAAA,CAASC,aAAqB,EAAEC,IAAa,EAAiB;QAC1D,IAAI,CAACA,QAAQC,MAAAA,CAAOC,I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CAAMO,UAAU,EAAE;AAChDiD,gBAAAA,cAAAA,EAAAA;AACJ,YAAA;YAEAD,UAAAA,IAAcM,cAAAA;AACdP,YAAAA,OAAAA,CAAQQ,IAAI,CAAC;AACTpE,gBAAAA,GAAAA;AACAiE,gBAAAA,SAAAA;AACAvD,gBAAAA,eAAAA,EAAiBJ,MAAMI,eAAe;gBACtC2D,aAAAA,EAAe/D,KAAAA,CAAMK,SAAS,CAAC2D,IAAI;AACnCzD,gBAAAA,UAAAA,EAAYP,MAAMO,UAAU;gBAC5B0D,SAAAA,EAAWjE,KAAAA,CAAME,UAAU,KAAKC,SAAAA;AAChC0D,gBAAAA;AACJ,aAAA,CAAA;AACJ,QAAA;QAEA,OAAO;AACHK,YAAAA,OAAAA,EAASV,cAAAA,KAAmB,CAAA;AAC5BW,YAAAA,UAAAA,EAAY,IAAI,CAACvF,QAAQ,CAACoF,IAAI;YAC9BH,cAAAA,EAAgBN,UAAAA;AAChBD,YAAAA;AACJ,SAAA;AACJ,IAAA;AACJ;;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Constructor } from '@cratis/fundamentals';
|
|
2
|
-
import { IQueryProvider } from './IQueryProvider';
|
|
3
|
-
import { IQuery } from './IQuery';
|
|
4
|
-
import { GetHttpHeaders } from '../GetHttpHeaders';
|
|
2
|
+
import { IQueryProvider } from './IQueryProvider.js';
|
|
3
|
+
import { IQuery } from './IQuery.js';
|
|
4
|
+
import { GetHttpHeaders } from '../GetHttpHeaders.js';
|
|
5
5
|
export declare class QueryProvider implements IQueryProvider {
|
|
6
6
|
private readonly _microservice;
|
|
7
7
|
private readonly _apiBasePath;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryProvider.d.ts","sourceRoot":"","sources":["../../../queries/QueryProvider.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"QueryProvider.d.ts","sourceRoot":"","sources":["../../../queries/QueryProvider.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAKtD,qBAAa,aAAc,YAAW,cAAc;IAU5C,OAAO,CAAC,QAAQ,CAAC,aAAa;IAC9B,OAAO,CAAC,QAAQ,CAAC,YAAY;IAC7B,OAAO,CAAC,QAAQ,CAAC,OAAO;IACxB,OAAO,CAAC,QAAQ,CAAC,oBAAoB;IAJzC,YACqB,aAAa,EAAE,MAAM,EACrB,YAAY,EAAE,MAAM,EACpB,OAAO,EAAE,MAAM,EACf,oBAAoB,EAAE,cAAc,EAAK;IAG9D,GAAG,CAAC,CAAC,SAAS,MAAM,EAAE,SAAS,EAAE,WAAW,CAAC,CAAC,CAAC,GAAG,CAAC,CAOlD;CACJ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryProvider.js","sources":["../../../queries/QueryProvider.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 { IQueryProvider } from './IQueryProvider';\nimport { IQuery } from './IQuery';\nimport { GetHttpHeaders } from '../GetHttpHeaders';\n\n/**\n * Represents an implementation of {@link IQueryProvider}\n */\nexport class QueryProvider implements IQueryProvider {\n\n /**\n * Initializes a new instance of {@link QueryProvider}\n * @param _microservice Name of the microservice to provide queries for.\n * @param _apiBasePath Base path for the API to use for the query.\n * @param _origin Origin to use for the query.\n * @param _httpHeadersCallback Callback to get HTTP headers for the query.\n */\n constructor(\n private readonly _microservice: string,\n private readonly _apiBasePath: string,\n private readonly _origin: string,\n private readonly _httpHeadersCallback: GetHttpHeaders) { }\n\n /** @inheritdoc */\n get<T extends IQuery>(queryType: Constructor<T>): T {\n const query = new queryType();\n query.setMicroservice(this._microservice);\n query.setApiBasePath(this._apiBasePath);\n query.setOrigin(this._origin);\n query.setHttpHeadersCallback(this._httpHeadersCallback);\n return query;\n }\n}"],"names":["QueryProvider","_microservice","_origin","_apiBasePath","_httpHeadersCallback","get","queryType","query","setMicroservice","setApiBasePath","setOrigin","setHttpHeadersCallback"],"mappings":"AAAA;AACA;AAOA;;AAEC,IACM,MAAMA,aAAAA,CAAAA;;;;;AAET;;;;;;AAMC,QACD,WAAA,CACqBC,aAAqB,EACtC,YAAqC,EACpBC,OAAe,EAChC,oBAAqD,CAAE;aAHtCD,aAAAA,GAAAA,aAAAA;aACAE,YAAAA,GAAAA,YAAAA;aACAD,OAAAA,GAAAA,OAAAA;aACAE,oBAAAA,GAAAA,oBAAAA;AAAwC,IAAA;uBAG7DC,GAAAA,CAAsBC,SAAyB,EAAK;AAChD,QAAA,MAAMC,QAAQ,IAAID,SAAAA,EAAAA;AAClBC,QAAAA,KAAAA,CAAMC,eAAe,CAAC,IAAI,CAACP,aAAa,CAAA;AACxCM,QAAAA,KAAAA,CAAME,cAAc,CAAC,IAAI,CAACN,YAAY,CAAA;AACtCI,QAAAA,KAAAA,CAAMG,SAAS,CAAC,IAAI,CAACR,OAAO,CAAA;AAC5BK,QAAAA,KAAAA,CAAMI,sBAAsB,CAAC,IAAI,CAACP,oBAAoB,CAAA;QACtD,OAAOG,KAAAA;AACX,IAAA;AACJ;;"}
|
|
1
|
+
{"version":3,"file":"QueryProvider.js","sources":["../../../queries/QueryProvider.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 { IQueryProvider } from './IQueryProvider.js';\nimport { IQuery } from './IQuery.js';\nimport { GetHttpHeaders } from '../GetHttpHeaders.js';\n\n/**\n * Represents an implementation of {@link IQueryProvider}\n */\nexport class QueryProvider implements IQueryProvider {\n\n /**\n * Initializes a new instance of {@link QueryProvider}\n * @param _microservice Name of the microservice to provide queries for.\n * @param _apiBasePath Base path for the API to use for the query.\n * @param _origin Origin to use for the query.\n * @param _httpHeadersCallback Callback to get HTTP headers for the query.\n */\n constructor(\n private readonly _microservice: string,\n private readonly _apiBasePath: string,\n private readonly _origin: string,\n private readonly _httpHeadersCallback: GetHttpHeaders) { }\n\n /** @inheritdoc */\n get<T extends IQuery>(queryType: Constructor<T>): T {\n const query = new queryType();\n query.setMicroservice(this._microservice);\n query.setApiBasePath(this._apiBasePath);\n query.setOrigin(this._origin);\n query.setHttpHeadersCallback(this._httpHeadersCallback);\n return query;\n }\n}"],"names":["QueryProvider","_microservice","_origin","_apiBasePath","_httpHeadersCallback","get","queryType","query","setMicroservice","setApiBasePath","setOrigin","setHttpHeadersCallback"],"mappings":"AAAA;AACA;AAOA;;AAEC,IACM,MAAMA,aAAAA,CAAAA;;;;;AAET;;;;;;AAMC,QACD,WAAA,CACqBC,aAAqB,EACtC,YAAqC,EACpBC,OAAe,EAChC,oBAAqD,CAAE;aAHtCD,aAAAA,GAAAA,aAAAA;aACAE,YAAAA,GAAAA,YAAAA;aACAD,OAAAA,GAAAA,OAAAA;aACAE,oBAAAA,GAAAA,oBAAAA;AAAwC,IAAA;uBAG7DC,GAAAA,CAAsBC,SAAyB,EAAK;AAChD,QAAA,MAAMC,QAAQ,IAAID,SAAAA,EAAAA;AAClBC,QAAAA,KAAAA,CAAMC,eAAe,CAAC,IAAI,CAACP,aAAa,CAAA;AACxCM,QAAAA,KAAAA,CAAME,cAAc,CAAC,IAAI,CAACN,YAAY,CAAA;AACtCI,QAAAA,KAAAA,CAAMG,SAAS,CAAC,IAAI,CAACR,OAAO,CAAA;AAC5BK,QAAAA,KAAAA,CAAMI,sBAAsB,CAAC,IAAI,CAACP,oBAAoB,CAAA;QACtD,OAAOG,KAAAA;AACX,IAAA;AACJ;;"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Constructor } from '@cratis/fundamentals';
|
|
2
|
-
import { ValidationResult } from '../validation/ValidationResult';
|
|
3
|
-
import { IQueryResult } from './IQueryResult';
|
|
4
|
-
import { PagingInfo } from './PagingInfo';
|
|
5
|
-
import { ChangeSet } from './ChangeSet';
|
|
2
|
+
import { ValidationResult } from '../validation/ValidationResult.js';
|
|
3
|
+
import { IQueryResult } from './IQueryResult.js';
|
|
4
|
+
import { PagingInfo } from './PagingInfo.js';
|
|
5
|
+
import { ChangeSet } from './ChangeSet.js';
|
|
6
6
|
type ServerQueryResult = {
|
|
7
7
|
data: any;
|
|
8
8
|
isSuccess: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryResult.d.ts","sourceRoot":"","sources":["../../../queries/QueryResult.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,gBAAgB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"QueryResult.d.ts","sourceRoot":"","sources":["../../../queries/QueryResult.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AACrE,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAG3C,KAAK,iBAAiB,GAAG;IAErB,IAAI,EAAE,GAAG,CAAC;IAEV,SAAS,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,YAAY,EAAE,OAAO,CAAC;IACtB,OAAO,EAAE,OAAO,CAAC;IACjB,aAAa,EAAE,OAAO,CAAC;IACvB,iBAAiB,EAAE,sBAAsB,EAAE,CAAC;IAC5C,iBAA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E,WAAW,CAoB3B;IAQF,YACI,MAAM,EAAE,iBAAiB,EACzB,YAAY,EAAE,WAAW,EACzB,UAAU,EAAE,OAAO,EAmDtB;IAGD,QAAQ,CAAC,IAAI,EAAE,SAAS,CAAC;IAGzB,QAAQ,CAAC,MAAM,EAAE,UAAU,CAAC;IAG5B,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC;IAG5B,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAG1B,QAAQ,CAAC,YAAY,EAAE,OAAO,CAAC;IAG/B,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAG1B,QAAQ,CAAC,aAAa,EAAE,OAAO,CAAC;IAGhC,QAAQ,CAAC,iBAAiB,EAAE,gBAAgB,EAAE,CAAC;IAG/C,QAAQ,CAAC,iBAAiB,EAAE,MAAM,EAAE,CAAC;IAGrC,QAAQ,CAAC,mBAAmB,EAAE,MAAM,CAAC;IAQrC,QAAQ,CAAC,SAAS,CAAC,EAAE,SAAS,CAAC,OAAO,CAAC,CAAC;IAKxC,IAAI,OAAO,IAAI,OAAO,CAQrB;CACJ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryResult.js","sources":["../../../queries/QueryResult.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 { ValidationResult } from '../validation/ValidationResult';\nimport { IQueryResult } from './IQueryResult';\nimport { PagingInfo } from './PagingInfo';\nimport { ChangeSet } from './ChangeSet';\nimport { deserializeQueryModel, deserializeQueryModels } from './deserializeQueryModel';\n\ntype ServerQueryResult = {\n /* eslint-disable @typescript-eslint/no-explicit-any */\n data: any;\n /* eslint-enable @typescript-eslint/no-explicit-any */\n isSuccess: boolean;\n isReady?: boolean;\n isAuthorized: boolean;\n isValid: boolean;\n hasExceptions: boolean;\n validationResults: ServerValidationResult[];\n exceptionMessages: string[];\n exceptionStackTrace: string;\n paging: ServerPagingInfo;\n changeSet?: ServerChangeSet;\n};\n\ntype ServerChangeSet = {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n added: any[];\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n replaced: any[];\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n removed: any[];\n};\n\ntype ServerValidationResult = {\n severity: number;\n message: string;\n members: string[];\n state: object;\n reason?: string;\n reasonDetail?: string;\n};\n\ntype ServerPagingInfo = {\n page: number;\n size: number;\n totalItems: number;\n totalPages: number;\n};\n\n/**\n * Represents the result from executing a {@link IQueryFor}.\n * @template TDataType The data type.\n */\nexport class QueryResult<TDataType = object> implements IQueryResult<TDataType> {\n /**\n * Creates a settled empty result. It is ready because no server result is pending.\n * @param defaultValue The query's empty data value.\n * @returns A ready empty result.\n */\n static empty<TDataType>(defaultValue: TDataType): QueryResult<TDataType> {\n return new QueryResult(\n {\n data: defaultValue as object,\n isSuccess: true,\n isReady: true,\n isAuthorized: true,\n isValid: true,\n hasExceptions: false,\n validationResults: [],\n exceptionMessages: [],\n exceptionStackTrace: '',\n paging: {\n totalItems: 0,\n totalPages: 0,\n page: 0,\n size: 0,\n },\n },\n Object,\n false,\n );\n }\n\n /**\n * Creates a {@link QueryResult} representing a query rejected by client-side validation, mirroring\n * {@link CommandResult.validationFailed} so a caller reads a failed query the same way it reads a failed command.\n * @param {ValidationResult[]} validationResults The validation results that caused the failure.\n * @param {object} query The query being rejected, which describes how to shape its own result.\n * @returns {QueryResult<TDataType>} A ready result that is neither successful nor valid.\n */\n static validationFailed<TDataType>(\n validationResults: ValidationResult[],\n query: {\n readonly defaultValue: TDataType;\n readonly modelType: Constructor;\n readonly enumerable: boolean;\n },\n ): QueryResult<TDataType> {\n const { defaultValue, modelType, enumerable } = query;\n return new QueryResult(\n {\n data: defaultValue as object,\n isSuccess: false,\n isReady: true,\n isAuthorized: true,\n isValid: false,\n hasExceptions: false,\n validationResults: validationResults.map((_) => ({\n severity: _.severity,\n message: _.message,\n members: _.members,\n state: _.state,\n reason: _.reason,\n reasonDetail: _.reasonDetail,\n })),\n exceptionMessages: [],\n exceptionStackTrace: '',\n paging: {\n totalItems: 0,\n totalPages: 0,\n page: 0,\n size: 0,\n },\n },\n modelType,\n enumerable,\n ) as QueryResult<TDataType>;\n }\n\n /**\n * Creates a settled unauthorized result. Authorization rejection is terminal, so the result is ready.\n * @returns A ready unauthorized result.\n */\n static unauthorized<TDataType>(): QueryResult<TDataType> {\n return new QueryResult(\n {\n // SAFETY: An unauthorized result intentionally has no data, while the wire envelope uses object.\n data: null as unknown as object,\n isSuccess: false,\n isReady: true,\n isAuthorized: false,\n isValid: true,\n hasExceptions: false,\n validationResults: [],\n exceptionMessages: [],\n exceptionStackTrace: '',\n paging: {\n totalItems: 0,\n totalPages: 0,\n page: 0,\n size: 0,\n },\n },\n Object,\n false,\n );\n }\n\n /**\n * A settled unsuccessful result used for client-side and transport failures. These failures are ready because\n * the client has completed the attempt; they are not the server's transient not-ready state.\n */\n static noSuccess: QueryResult = new QueryResult(\n {\n data: {},\n isSuccess: false,\n isReady: true,\n isAuthorized: true,\n isValid: true,\n hasExceptions: false,\n validationResults: [],\n exceptionMessages: [],\n exceptionStackTrace: '',\n paging: {\n totalItems: 0,\n totalPages: 0,\n page: 0,\n size: 0,\n },\n },\n Object,\n false,\n );\n\n /**\n * Creates an instance of query result.\n * @param {*} result The raw result from the backend.\n * @param {Constructor} instanceType The type of instance to deserialize.\n * @param {boolean} enumerable Whether or not the result is supposed be an enumerable or not.\n */\n constructor(\n result: ServerQueryResult,\n instanceType: Constructor,\n enumerable: boolean,\n ) {\n this.isSuccess = result.isSuccess;\n // Older servers and hand-built envelopes do not carry readiness. Those results predate\n // the transient not-ready state and are therefore complete from the client's perspective.\n this.isReady = result.isReady ?? true;\n this.isAuthorized = result.isAuthorized;\n this.isValid = result.isValid;\n this.hasExceptions = result.hasExceptions;\n this.validationResults = result.validationResults.map(\n (_) =>\n new ValidationResult(\n _.severity,\n _.message,\n _.members,\n _.state,\n _.reason,\n _.reasonDetail,\n ),\n );\n this.exceptionMessages = result.exceptionMessages;\n this.exceptionStackTrace = result.exceptionStackTrace;\n this.paging = new PagingInfo();\n this.paging.page = result.paging.page;\n this.paging.size = result.paging.size;\n this.paging.totalItems = result.paging.totalItems;\n this.paging.totalPages = result.paging.totalPages;\n\n if (result.data) {\n this.data = (\n enumerable\n ? deserializeQueryModels(instanceType, result.data)\n : deserializeQueryModel(instanceType, result.data)\n ) as TDataType;\n } else {\n this.data = (enumerable ? [] : null) as TDataType;\n }\n\n if (enumerable && result.changeSet) {\n this.changeSet = {\n added: deserializeQueryModels(instanceType, result.changeSet.added ?? []),\n replaced: deserializeQueryModels(\n instanceType,\n result.changeSet.replaced ?? [],\n ),\n removed: deserializeQueryModels(\n instanceType,\n result.changeSet.removed ?? [],\n ),\n } as ChangeSet<unknown>;\n }\n }\n\n /** @inheritdoc */\n readonly data: TDataType;\n\n /** @inheritdoc */\n readonly paging: PagingInfo;\n\n /** @inheritdoc */\n readonly isSuccess: boolean;\n\n /** @inheritdoc */\n readonly isReady: boolean;\n\n /** @inheritdoc */\n readonly isAuthorized: boolean;\n\n /** @inheritdoc */\n readonly isValid: boolean;\n\n /** @inheritdoc */\n readonly hasExceptions: boolean;\n\n /** @inheritdoc */\n readonly validationResults: ValidationResult[];\n\n /** @inheritdoc */\n readonly exceptionMessages: string[];\n\n /** @inheritdoc */\n readonly exceptionStackTrace: string;\n\n /**\n * Gets the optional change set describing what changed since the previous update.\n * Set by the server when the delta transfer mode is active.\n * When present, clients can apply the delta to their local state rather than replacing\n * the full dataset.\n */\n readonly changeSet?: ChangeSet<unknown>;\n\n /**\n * Gets whether or not the query has data.\n */\n get hasData(): boolean {\n if (this.data) {\n if (Array.isArray(this.data)) {\n return this.data.length > 0;\n }\n return true;\n }\n return false;\n }\n}\n"],"names":["QueryResult","empty","defaultValue","data","isSuccess","isReady","isAuthorized","isValid","hasExceptions","validationResults","exceptionMessages","exceptionStackTrace","paging","totalItems","totalPages","page","size","Object","validationFailed","query","modelType","enumerable","map","_","severity","message","members","state","reason","reasonDetail","unauthorized","noSuccess","result","instanceType","ValidationResult","PagingInfo","deserializeQueryModels","deserializeQueryModel","changeSet","added","replaced","removed","hasData","Array","isArray","length"],"mappings":";;;;AAAA;AACA;AAkDA;;;AAGC,IACM,MAAMA,WAAAA,CAAAA;AACT;;;;QAKA,OAAOC,KAAAA,CAAiBC,YAAuB,EAA0B;AACrE,QAAA,OAAO,IAAIF,WAAAA,CACP;YACIG,IAAAA,EAAMD,YAAAA;YACNE,SAAAA,EAAW,IAAA;YACXC,OAAAA,EAAS,IAAA;YACTC,YAAAA,EAAc,IAAA;YACdC,OAAAA,EAAS,IAAA;YACTC,aAAAA,EAAe,KAAA;AACfC,YAAAA,iBAAAA,EAAmB,EAAE;AACrBC,YAAAA,iBAAAA,EAAmB,EAAE;YACrBC,mBAAAA,EAAqB,EAAA;YACrBC,MAAAA,EAAQ;gBACJC,UAAAA,EAAY,CAAA;gBACZC,UAAAA,EAAY,CAAA;gBACZC,IAAAA,EAAM,CAAA;gBACNC,IAAAA,EAAM;AACV;AACJ,SAAA,EACAC,MAAAA,EACA,KAAA,CAAA;AAER,IAAA;AAEA;;;;;;AAMC,QACD,OAAOC,gBAAAA,CACHT,iBAAqC,EACrCU,KAIC,EACqB;AACtB,QAAA,MAAM,EAAEjB,YAAY,EAAEkB,SAAS,EAAEC,UAAU,EAAE,GAAGF,KAAAA;AAChD,QAAA,OAAO,IAAInB,WAAAA,CACP;YACIG,IAAAA,EAAMD,YAAAA;YACNE,SAAAA,EAAW,KAAA;YACXC,OAAAA,EAAS,IAAA;YACTC,YAAAA,EAAc,IAAA;YACdC,OAAAA,EAAS,KAAA;YACTC,aAAAA,EAAe,KAAA;AACfC,YAAAA,iBAAAA,EAAmBA,iBAAAA,CAAkBa,GAAG,CAAC,CAACC,KAAO;AAC7CC,oBAAAA,QAAAA,EAAUD,EAAEC,QAAQ;AACpBC,o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AAA,OAAO,IAAI,CAACA,IAAI,CAAC0C,MAAM,GAAG,CAAA;AAC9B,YAAA;YACA,OAAO,IAAA;AACX,QAAA;QACA,OAAO,KAAA;AACX,IAAA;AACJ;;"}
|
|
1
|
+
{"version":3,"file":"QueryResult.js","sources":["../../../queries/QueryResult.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 { ValidationResult } from '../validation/ValidationResult.js';\nimport { IQueryResult } from './IQueryResult.js';\nimport { PagingInfo } from './PagingInfo.js';\nimport { ChangeSet } from './ChangeSet.js';\nimport { deserializeQueryModel, deserializeQueryModels } from './deserializeQueryModel.js';\n\ntype ServerQueryResult = {\n /* eslint-disable @typescript-eslint/no-explicit-any */\n data: any;\n /* eslint-enable @typescript-eslint/no-explicit-any */\n isSuccess: boolean;\n isReady?: boolean;\n isAuthorized: boolean;\n isValid: boolean;\n hasExceptions: boolean;\n validationResults: ServerValidationResult[];\n exceptionMessages: string[];\n exceptionStackTrace: string;\n paging: ServerPagingInfo;\n changeSet?: ServerChangeSet;\n};\n\ntype ServerChangeSet = {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n added: any[];\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n replaced: any[];\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n removed: any[];\n};\n\ntype ServerValidationResult = {\n severity: number;\n message: string;\n members: string[];\n state: object;\n reason?: string;\n reasonDetail?: string;\n};\n\ntype ServerPagingInfo = {\n page: number;\n size: number;\n totalItems: number;\n totalPages: number;\n};\n\n/**\n * Represents the result from executing a {@link IQueryFor}.\n * @template TDataType The data type.\n */\nexport class QueryResult<TDataType = object> implements IQueryResult<TDataType> {\n /**\n * Creates a settled empty result. It is ready because no server result is pending.\n * @param defaultValue The query's empty data value.\n * @returns A ready empty result.\n */\n static empty<TDataType>(defaultValue: TDataType): QueryResult<TDataType> {\n return new QueryResult(\n {\n data: defaultValue as object,\n isSuccess: true,\n isReady: true,\n isAuthorized: true,\n isValid: true,\n hasExceptions: false,\n validationResults: [],\n exceptionMessages: [],\n exceptionStackTrace: '',\n paging: {\n totalItems: 0,\n totalPages: 0,\n page: 0,\n size: 0,\n },\n },\n Object,\n false,\n );\n }\n\n /**\n * Creates a {@link QueryResult} representing a query rejected by client-side validation, mirroring\n * {@link CommandResult.validationFailed} so a caller reads a failed query the same way it reads a failed command.\n * @param {ValidationResult[]} validationResults The validation results that caused the failure.\n * @param {object} query The query being rejected, which describes how to shape its own result.\n * @returns {QueryResult<TDataType>} A ready result that is neither successful nor valid.\n */\n static validationFailed<TDataType>(\n validationResults: ValidationResult[],\n query: {\n readonly defaultValue: TDataType;\n readonly modelType: Constructor;\n readonly enumerable: boolean;\n },\n ): QueryResult<TDataType> {\n const { defaultValue, modelType, enumerable } = query;\n return new QueryResult(\n {\n data: defaultValue as object,\n isSuccess: false,\n isReady: true,\n isAuthorized: true,\n isValid: false,\n hasExceptions: false,\n validationResults: validationResults.map((_) => ({\n severity: _.severity,\n message: _.message,\n members: _.members,\n state: _.state,\n reason: _.reason,\n reasonDetail: _.reasonDetail,\n })),\n exceptionMessages: [],\n exceptionStackTrace: '',\n paging: {\n totalItems: 0,\n totalPages: 0,\n page: 0,\n size: 0,\n },\n },\n modelType,\n enumerable,\n ) as QueryResult<TDataType>;\n }\n\n /**\n * Creates a settled unauthorized result. Authorization rejection is terminal, so the result is ready.\n * @returns A ready unauthorized result.\n */\n static unauthorized<TDataType>(): QueryResult<TDataType> {\n return new QueryResult(\n {\n // SAFETY: An unauthorized result intentionally has no data, while the wire envelope uses object.\n data: null as unknown as object,\n isSuccess: false,\n isReady: true,\n isAuthorized: false,\n isValid: true,\n hasExceptions: false,\n validationResults: [],\n exceptionMessages: [],\n exceptionStackTrace: '',\n paging: {\n totalItems: 0,\n totalPages: 0,\n page: 0,\n size: 0,\n },\n },\n Object,\n false,\n );\n }\n\n /**\n * A settled unsuccessful result used for client-side and transport failures. These failures are ready because\n * the client has completed the attempt; they are not the server's transient not-ready state.\n */\n static noSuccess: QueryResult = new QueryResult(\n {\n data: {},\n isSuccess: false,\n isReady: true,\n isAuthorized: true,\n isValid: true,\n hasExceptions: false,\n validationResults: [],\n exceptionMessages: [],\n exceptionStackTrace: '',\n paging: {\n totalItems: 0,\n totalPages: 0,\n page: 0,\n size: 0,\n },\n },\n Object,\n false,\n );\n\n /**\n * Creates an instance of query result.\n * @param {*} result The raw result from the backend.\n * @param {Constructor} instanceType The type of instance to deserialize.\n * @param {boolean} enumerable Whether or not the result is supposed be an enumerable or not.\n */\n constructor(\n result: ServerQueryResult,\n instanceType: Constructor,\n enumerable: boolean,\n ) {\n this.isSuccess = result.isSuccess;\n // Older servers and hand-built envelopes do not carry readiness. Those results predate\n // the transient not-ready state and are therefore complete from the client's perspective.\n this.isReady = result.isReady ?? true;\n this.isAuthorized = result.isAuthorized;\n this.isValid = result.isValid;\n this.hasExceptions = result.hasExceptions;\n this.validationResults = result.validationResults.map(\n (_) =>\n new ValidationResult(\n _.severity,\n _.message,\n _.members,\n _.state,\n _.reason,\n _.reasonDetail,\n ),\n );\n this.exceptionMessages = result.exceptionMessages;\n this.exceptionStackTrace = result.exceptionStackTrace;\n this.paging = new PagingInfo();\n this.paging.page = result.paging.page;\n this.paging.size = result.paging.size;\n this.paging.totalItems = result.paging.totalItems;\n this.paging.totalPages = result.paging.totalPages;\n\n if (result.data) {\n this.data = (\n enumerable\n ? deserializeQueryModels(instanceType, result.data)\n : deserializeQueryModel(instanceType, result.data)\n ) as TDataType;\n } else {\n this.data = (enumerable ? [] : null) as TDataType;\n }\n\n if (enumerable && result.changeSet) {\n this.changeSet = {\n added: deserializeQueryModels(instanceType, result.changeSet.added ?? []),\n replaced: deserializeQueryModels(\n instanceType,\n result.changeSet.replaced ?? [],\n ),\n removed: deserializeQueryModels(\n instanceType,\n result.changeSet.removed ?? [],\n ),\n } as ChangeSet<unknown>;\n }\n }\n\n /** @inheritdoc */\n readonly data: TDataType;\n\n /** @inheritdoc */\n readonly paging: PagingInfo;\n\n /** @inheritdoc */\n readonly isSuccess: boolean;\n\n /** @inheritdoc */\n readonly isReady: boolean;\n\n /** @inheritdoc */\n readonly isAuthorized: boolean;\n\n /** @inheritdoc */\n readonly isValid: boolean;\n\n /** @inheritdoc */\n readonly hasExceptions: boolean;\n\n /** @inheritdoc */\n readonly validationResults: ValidationResult[];\n\n /** @inheritdoc */\n readonly exceptionMessages: string[];\n\n /** @inheritdoc */\n readonly exceptionStackTrace: string;\n\n /**\n * Gets the optional change set describing what changed since the previous update.\n * Set by the server when the delta transfer mode is active.\n * When present, clients can apply the delta to their local state rather than replacing\n * the full dataset.\n */\n readonly changeSet?: ChangeSet<unknown>;\n\n /**\n * Gets whether or not the query has data.\n */\n get hasData(): boolean {\n if (this.data) {\n if (Array.isArray(this.data)) {\n return this.data.length > 0;\n }\n return true;\n }\n return false;\n }\n}\n"],"names":["QueryResult","empty","defaultValue","data","isSuccess","isReady","isAuthorized","isValid","hasExceptions","validationResults","exceptionMessages","exceptionStackTrace","paging","totalItems","totalPages","page","size","Object","validationFailed","query","modelType","enumerable","map","_","severity","message","members","state","reason","reasonDetail","unauthorized","noSuccess","result","instanceType","ValidationResult","PagingInfo","deserializeQueryModels","deserializeQueryModel","changeSet","added","replaced","removed","hasData","Array","isArray","length"],"mappings":";;;;AAAA;AACA;AAkDA;;;AAGC,IACM,MAAMA,WAAAA,CAAAA;AACT;;;;QAKA,OAAOC,KAAAA,CAAiBC,YAAuB,EAA0B;AACrE,QAAA,OAAO,IAAIF,WAAAA,CACP;YACIG,IAAAA,EAAMD,YAAAA;YACNE,SAAAA,EAAW,IAAA;YACXC,OAAAA,EAAS,IAAA;YACTC,YAAAA,EAAc,IAAA;YACdC,OAAAA,EAAS,IAAA;YACTC,aAAAA,EAAe,KAAA;AACfC,YAAAA,iBAAAA,EAAmB,EAAE;AACrBC,YAAAA,iBAAAA,EAAmB,EAAE;YACrBC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SAAS,GAAG;AACbC,gBAAAA,KAAAA,EAAOH,uBAAuBH,YAAAA,EAAcD,MAAAA,CAAOM,SAAS,CAACC,KAAK,IAAI,EAAE,CAAA;AACxEC,gBAAAA,QAAAA,EAAUJ,uBACNH,YAAAA,EACAD,MAAAA,CAAOM,SAAS,CAACE,QAAQ,IAAI,EAAE,CAAA;AAEnCC,gBAAAA,OAAAA,EAASL,uBACLH,YAAAA,EACAD,MAAAA,CAAOM,SAAS,CAACG,OAAO,IAAI,EAAE;AAEtC,aAAA;AACJ,QAAA;AACJ,IAAA;uBAGA,IAAStC;uBAGT,MAASS;uBAGT,SAASR;uBAGT,OAASC;uBAGT,YAASC;uBAGT,OAASC;uBAGT,aAASC;uBAGT,iBAASC;uBAGT,iBAASC;uBAGT,mBAASC;AAET;;;;;AAKC,QACD,SAAS2B;AAET;;AAEC,QACD,IAAII,OAAAA,GAAmB;QACnB,IAAI,IAAI,CAACvC,IAAI,EAAE;AACX,YAAA,IAAIwC,MAAMC,OAAO,CAAC,IAAI,CAACzC,IAAI,CAAA,EAAG;AAC1B,gBAAA,OAAO,IAAI,CAACA,IAAI,CAAC0C,MAAM,GAAG,CAAA;AAC9B,YAAA;YACA,OAAO,IAAA;AACX,QAAA;QACA,OAAO,KAAA;AACX,IAAA;AACJ;;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ValidationResult } from '../validation/ValidationResult';
|
|
2
|
-
import { IQueryResult } from './IQueryResult';
|
|
3
|
-
import { PagingInfo } from './PagingInfo';
|
|
4
|
-
import { ChangeSet } from './ChangeSet';
|
|
1
|
+
import { ValidationResult } from '../validation/ValidationResult.js';
|
|
2
|
+
import { IQueryResult } from './IQueryResult.js';
|
|
3
|
+
import { PagingInfo } from './PagingInfo.js';
|
|
4
|
+
import { ChangeSet } from './ChangeSet.js';
|
|
5
5
|
export declare class QueryResultWithState<TDataType> implements IQueryResult<TDataType> {
|
|
6
6
|
readonly data: TDataType;
|
|
7
7
|
readonly paging: PagingInfo;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryResultWithState.d.ts","sourceRoot":"","sources":["../../../queries/QueryResultWithState.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"QueryResultWithState.d.ts","sourceRoot":"","sources":["../../../queries/QueryResultWithState.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AACrE,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAK3C,qBAAa,oBAAoB,CAAC,SAAS,CAAE,YAAW,YAAY,CAAC,SAAS,CAAC;IA+DvE,QAAQ,CAAC,IAAI,EAAE,SAAS;IACxB,QAAQ,CAAC,MAAM,EAAE,UAAU;IAC3B,QAAQ,CAAC,SAAS,EAAE,OAAO;IAC3B,QAAQ,CAAC,YAAY,EAAE,OAAO;IAC9B,QAAQ,CAAC,OAAO,EAAE,OAAO;IACzB,QAAQ,CAAC,iBAAiB,EAAE,gBAAgB,EAAE;IAC9C,QAAQ,CAAC,aAAa,EAAE,OAAO;IAC/B,QAAQ,CAAC,iBAAiB,EAAE,MAAM,EAAE;IACpC,QAAQ,CAAC,mBAAmB,EAAE,MAAM;IACpC,QAAQ,CAAC,YAAY,EAAE,OAAO;IAC9B,QAAQ,CAAC,SAAS,CAAC,EAAE,SAAS,CAAC,OAAO,CAAC;IACvC,QAAQ,CAAC,OAAO,EAAE,OAAO;IApE7B,MAAM,CAAC,KAAK,CAAC,SAAS,EAAE,YAAY,EAAE,SAAS,GAAG,oBAAoB,CAAC,SAAS,CAAC,CAehF;IAQD,MAAM,CAAC,OAAO,CAAC,SAAS,EAAE,YAAY,EAAE,SAAS,GAAG,oBAAoB,CAAC,SAAS,CAAC,CAelF;IAkBD,YACa,IAAI,EAAE,SAAS,EACf,MAAM,EAAE,UAAU,EAClB,SAAS,EAAE,OAAO,EAClB,YAAY,EAAE,OAAO,EACrB,OAAO,EAAE,OAAO,EAChB,iBAAiB,EAAE,gBAAgB,EAAE,EACrC,aAAa,EAAE,OAAO,EACtB,iBAAiB,EAAE,MAAM,EAAE,EAC3B,mBAAmB,EAAE,MAAM,EAC3B,YAAY,EAAE,OAAO,EACrB,SAAS,CAAC,EAAE,SAAS,CAAC,OAAO,CAAC,YAAA,EAC9B,OAAO,GAAE,OAAc,EAChC;IAGJ,IAAI,OAAO,IAAI,OAAO,CAKrB;IAQD,MAAM,CAAC,eAAe,CAAC,SAAS,EAC5B,WAAW,EAAE,YAAY,CAAC,SAAS,CAAC,EACpC,YAAY,EAAE,OAAO,mCAgBxB;CACJ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryResultWithState.js","sources":["../../../queries/QueryResultWithState.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 { ValidationResult } from '../validation/ValidationResult';\nimport { IQueryResult } from './IQueryResult';\nimport { PagingInfo } from './PagingInfo';\nimport { ChangeSet } from './ChangeSet';\n\n/**\n * Represents a specialized {@link QueryResult<TDataType>} that holds state for its execution\n */\nexport class QueryResultWithState<TDataType> implements IQueryResult<TDataType> {\n /**\n * Creates a settled empty state, such as the state returned by a disabled query.\n * @param defaultValue The query's empty data value.\n * @returns A ready state that is not performing.\n */\n static empty<TDataType>(defaultValue: TDataType): QueryResultWithState<TDataType> {\n return new QueryResultWithState(\n defaultValue,\n PagingInfo.noPaging,\n true,\n true,\n true,\n [],\n false,\n [],\n '',\n false,\n undefined,\n true,\n );\n }\n\n /**\n * Creates the local initial state before any server result has been received. This state is not ready because\n * no result exists yet; its performing state independently describes the active client request.\n * @param defaultValue The query's initial data value.\n * @returns A not-ready state that is performing.\n */\n static initial<TDataType>(defaultValue: TDataType): QueryResultWithState<TDataType> {\n return new QueryResultWithState(\n defaultValue,\n PagingInfo.noPaging,\n true,\n true,\n true,\n [],\n false,\n [],\n '',\n true,\n undefined,\n false,\n );\n }\n\n /**\n * Initializes an instance of {@link QueryResultWithState<TDataType>}.\n * @param {TDataType} data The items returned, if any - can be empty.\n * @param {PagingInfo} paging The paging info.\n * @param {boolean} isSuccess Whether or not the query was successful.\n * @param {boolean} isAuthorized Whether or not the query was authorized.\n * @param {boolean} isValid Whether or not it is valid.\n * @param {ValidationResult[]} validationResults Any validation errors.\n * @param {boolean} hasExceptions Whether or not it has exceptions.\n * @param {string[]} exceptionMessages Any exception messages.\n * @param {string} exceptionStackTrace Exception stack trace, if any.\n * @param {boolean} isPerforming Whether or not the query is being performed. True if its performing, false if it is done.\n * @param {ChangeSet<unknown> | undefined} changeSet Optional change set from the server describing the delta since the last update.\n * @param {boolean} isReady Whether the query has produced a result. Defaults to true so existing constructor calls\n * represent settled synthetic states; {@link initial} explicitly uses false because no server result exists yet.\n */\n constructor(\n readonly data: TDataType,\n readonly paging: PagingInfo,\n readonly isSuccess: boolean,\n readonly isAuthorized: boolean,\n readonly isValid: boolean,\n readonly validationResults: ValidationResult[],\n readonly hasExceptions: boolean,\n readonly exceptionMessages: string[],\n readonly exceptionStackTrace: string,\n readonly isPerforming: boolean,\n readonly changeSet?: ChangeSet<unknown>,\n readonly isReady: boolean = true,\n ) {}\n\n /** @inheritdoc */\n get hasData(): boolean {\n if (Array.isArray(this.data)) {\n return this.data.length > 0;\n }\n return !!this.data;\n }\n\n /**\n * Create a new {@link QueryResultWithState<TDataType>} from an {@link IQueryResult<TDataType>}.\n * @param queryResult The original query result.\n * @param isPerforming Whether or not the query is performing.\n * @returns A new {@link QueryResultWithState<TDataType>}\n */\n static fromQueryResult<TDataType>(\n queryResult: IQueryResult<TDataType>,\n isPerforming: boolean,\n ) {\n return new QueryResultWithState<TDataType>(\n queryResult.data,\n queryResult.paging,\n queryResult.isSuccess,\n queryResult.isAuthorized,\n queryResult.isValid,\n queryResult.validationResults,\n queryResult.hasExceptions,\n queryResult.exceptionMessages,\n queryResult.exceptionStackTrace,\n isPerforming,\n queryResult.changeSet,\n queryResult.isReady ?? true,\n );\n }\n}\n"],"names":["QueryResultWithState","empty","defaultValue","PagingInfo","noPaging","undefined","initial","paging","isSuccess","hasExceptions","exceptionMessages","isReady","data","isAuthorized","isValid","validationResults","exceptionStackTrace","isPerforming","changeSet","hasData","Array","isArray","length","fromQueryResult","queryResult"],"mappings":";;AAAA;AACA;AAOA;;AAEC,IACM,MAAMA,oBAAAA,CAAAA;;;;;;;;;;;;;AACT;;;;QAKA,OAAOC,KAAAA,CAAiBC,YAAuB,EAAmC;AAC9E,QAAA,OAAO,IAAIF,oBAAAA,CACPE,YAAAA,EACAC,UAAAA,CAAWC,QAAQ,EACnB,IAAA,EACA,IAAA,EACA,IAAA,EACA,EAAE,EACF,KAAA,EACA,EAAE,EACF,EAAA,EACA,OACAC,SAAAA,EACA,IAAA,CAAA;AAER,IAAA;AAEA;;;;;QAMA,OAAOC,OAAAA,CAAmBJ,YAAuB,EAAmC;AAChF,QAAA,OAAO,IAAIF,oBAAAA,CACPE,YAAAA,EACAC,UAAAA,CAAWC,QAAQ,EACnB,IAAA,EACA,IAAA,EACA,IAAA,EACA,EAAE,EACF,KAAA,EACA,EAAE,EACF,EAAA,EACA,MACAC,SAAAA,EACA,KAAA,CAAA;AAER,IAAA;AAEA;;;;;;;;;;;;;;;AAeC,QACD,YACI,IAAwB,EACfE,MAAkB,EAClBC,SAAkB,EAC3B,YAA8B,EAC9B,OAAyB,EACzB,iBAA8C,EACrCC,aAAsB,EACtBC,iBAA2B,EACpC,mBAAoC,EACpC,YAA8B,EAC9B,SAAuC,EACvC,OAASC,GAAmB,IAAI,CAClC;aAZWC,IAAAA,GAAAA,IAAAA;aACAL,MAAAA,GAAAA,MAAAA;aACAC,SAAAA,GAAAA,SAAAA;aACAK,YAAAA,GAAAA,YAAAA;aACAC,OAAAA,GAAAA,OAAAA;aACAC,iBAAAA,GAAAA,iBAAAA;aACAN,aAAAA,GAAAA,aAAAA;aACAC,iBAAAA,GAAAA,iBAAAA;aACAM,mBAAAA,GAAAA,mBAAAA;aACAC,YAAAA,GAAAA,YAAAA;aACAC,SAAAA,GAAAA,SAAAA;aACAP,OAAAA,GAAAA,OAAAA;AACV,IAAA;uBAGH,IAAIQ,OAAAA,GAAmB;AACnB,QAAA,IAAIC,MAAMC,OAAO,CAAC,IAAI,CAACT,IAAI,CAAA,EAAG;AAC1B,YAAA,OAAO,IAAI,CAACA,IAAI,CAACU,MAAM,GAAG,CAAA;AAC9B,QAAA;AACA,QAAA,OAAO,CAAC,CAAC,IAAI,CAACV,IAAI;AACtB,IAAA;AAEA;;;;;AAKC,QACD,OAAOW,eAAAA,CACHC,WAAoC,EACpCP,YAAqB,EACvB;AACE,QAAA,OAAO,IAAIjB,oBAAAA,CACPwB,WAAAA,CAAYZ,IAAI,EAChBY,WAAAA,CAAYjB,MAAM,EAClBiB,WAAAA,CAAYhB,SAAS,EACrBgB,WAAAA,CAAYX,YAAY,EACxBW,YAAYV,OAAO,EACnBU,WAAAA,CAAYT,iBAAiB,EAC7BS,WAAAA,CAAYf,aAAa,EACzBe,WAAAA,CAAYd,iBAAiB,EAC7Bc,WAAAA,CAAYR,mBAAmB,EAC/BC,cACAO,WAAAA,CAAYN,SAAS,EACrBM,WAAAA,CAAYb,OAAO,IAAI,IAAA,CAAA;AAE/B,IAAA;AACJ;;"}
|
|
1
|
+
{"version":3,"file":"QueryResultWithState.js","sources":["../../../queries/QueryResultWithState.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 { ValidationResult } from '../validation/ValidationResult.js';\nimport { IQueryResult } from './IQueryResult.js';\nimport { PagingInfo } from './PagingInfo.js';\nimport { ChangeSet } from './ChangeSet.js';\n\n/**\n * Represents a specialized {@link QueryResult<TDataType>} that holds state for its execution\n */\nexport class QueryResultWithState<TDataType> implements IQueryResult<TDataType> {\n /**\n * Creates a settled empty state, such as the state returned by a disabled query.\n * @param defaultValue The query's empty data value.\n * @returns A ready state that is not performing.\n */\n static empty<TDataType>(defaultValue: TDataType): QueryResultWithState<TDataType> {\n return new QueryResultWithState(\n defaultValue,\n PagingInfo.noPaging,\n true,\n true,\n true,\n [],\n false,\n [],\n '',\n false,\n undefined,\n true,\n );\n }\n\n /**\n * Creates the local initial state before any server result has been received. This state is not ready because\n * no result exists yet; its performing state independently describes the active client request.\n * @param defaultValue The query's initial data value.\n * @returns A not-ready state that is performing.\n */\n static initial<TDataType>(defaultValue: TDataType): QueryResultWithState<TDataType> {\n return new QueryResultWithState(\n defaultValue,\n PagingInfo.noPaging,\n true,\n true,\n true,\n [],\n false,\n [],\n '',\n true,\n undefined,\n false,\n );\n }\n\n /**\n * Initializes an instance of {@link QueryResultWithState<TDataType>}.\n * @param {TDataType} data The items returned, if any - can be empty.\n * @param {PagingInfo} paging The paging info.\n * @param {boolean} isSuccess Whether or not the query was successful.\n * @param {boolean} isAuthorized Whether or not the query was authorized.\n * @param {boolean} isValid Whether or not it is valid.\n * @param {ValidationResult[]} validationResults Any validation errors.\n * @param {boolean} hasExceptions Whether or not it has exceptions.\n * @param {string[]} exceptionMessages Any exception messages.\n * @param {string} exceptionStackTrace Exception stack trace, if any.\n * @param {boolean} isPerforming Whether or not the query is being performed. True if its performing, false if it is done.\n * @param {ChangeSet<unknown> | undefined} changeSet Optional change set from the server describing the delta since the last update.\n * @param {boolean} isReady Whether the query has produced a result. Defaults to true so existing constructor calls\n * represent settled synthetic states; {@link initial} explicitly uses false because no server result exists yet.\n */\n constructor(\n readonly data: TDataType,\n readonly paging: PagingInfo,\n readonly isSuccess: boolean,\n readonly isAuthorized: boolean,\n readonly isValid: boolean,\n readonly validationResults: ValidationResult[],\n readonly hasExceptions: boolean,\n readonly exceptionMessages: string[],\n readonly exceptionStackTrace: string,\n readonly isPerforming: boolean,\n readonly changeSet?: ChangeSet<unknown>,\n readonly isReady: boolean = true,\n ) {}\n\n /** @inheritdoc */\n get hasData(): boolean {\n if (Array.isArray(this.data)) {\n return this.data.length > 0;\n }\n return !!this.data;\n }\n\n /**\n * Create a new {@link QueryResultWithState<TDataType>} from an {@link IQueryResult<TDataType>}.\n * @param queryResult The original query result.\n * @param isPerforming Whether or not the query is performing.\n * @returns A new {@link QueryResultWithState<TDataType>}\n */\n static fromQueryResult<TDataType>(\n queryResult: IQueryResult<TDataType>,\n isPerforming: boolean,\n ) {\n return new QueryResultWithState<TDataType>(\n queryResult.data,\n queryResult.paging,\n queryResult.isSuccess,\n queryResult.isAuthorized,\n queryResult.isValid,\n queryResult.validationResults,\n queryResult.hasExceptions,\n queryResult.exceptionMessages,\n queryResult.exceptionStackTrace,\n isPerforming,\n queryResult.changeSet,\n queryResult.isReady ?? true,\n );\n }\n}\n"],"names":["QueryResultWithState","empty","defaultValue","PagingInfo","noPaging","undefined","initial","paging","isSuccess","hasExceptions","exceptionMessages","isReady","data","isAuthorized","isValid","validationResults","exceptionStackTrace","isPerforming","changeSet","hasData","Array","isArray","length","fromQueryResult","queryResult"],"mappings":";;AAAA;AACA;AAOA;;AAEC,IACM,MAAMA,oBAAAA,CAAAA;;;;;;;;;;;;;AACT;;;;QAKA,OAAOC,KAAAA,CAAiBC,YAAuB,EAAmC;AAC9E,QAAA,OAAO,IAAIF,oBAAAA,CACPE,YAAAA,EACAC,UAAAA,CAAWC,QAAQ,EACnB,IAAA,EACA,IAAA,EACA,IAAA,EACA,EAAE,EACF,KAAA,EACA,EAAE,EACF,EAAA,EACA,OACAC,SAAAA,EACA,IAAA,CAAA;AAER,IAAA;AAEA;;;;;QAMA,OAAOC,OAAAA,CAAmBJ,YAAuB,EAAmC;AAChF,QAAA,OAAO,IAAIF,oBAAAA,CACPE,YAAAA,EACAC,UAAAA,CAAWC,QAAQ,EACnB,IAAA,EACA,IAAA,EACA,IAAA,EACA,EAAE,EACF,KAAA,EACA,EAA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,cACAO,WAAAA,CAAYN,SAAS,EACrBM,WAAAA,CAAYb,OAAO,IAAI,IAAA,CAAA;AAE/B,IAAA;AACJ;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Validator } from '../validation/Validator';
|
|
2
|
-
import { ValidationResult } from '../validation/ValidationResult';
|
|
1
|
+
import { Validator } from '../validation/Validator.js';
|
|
2
|
+
import { ValidationResult } from '../validation/ValidationResult.js';
|
|
3
3
|
export declare abstract class QueryValidator<T = object> extends Validator<T> {
|
|
4
4
|
validate(query: T): ValidationResult[];
|
|
5
5
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryValidator.d.ts","sourceRoot":"","sources":["../../../queries/QueryValidator.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"QueryValidator.d.ts","sourceRoot":"","sources":["../../../queries/QueryValidator.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AACvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AAKrE,8BAAsB,cAAc,CAAC,CAAC,GAAG,MAAM,CAAE,SAAQ,SAAS,CAAC,CAAC,CAAC;IAMjE,QAAQ,CAAC,KAAK,EAAE,CAAC,GAAG,gBAAgB,EAAE,CAErC;CACJ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QueryValidator.js","sources":["../../../queries/QueryValidator.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 { Validator } from '../validation/Validator';\nimport { ValidationResult } from '../validation/ValidationResult';\n\n/**\n * Represents the query validator\n */\nexport abstract class QueryValidator<T = object> extends Validator<T> {\n /**\n * Validate the query parameters.\n * @param query The query to validate.\n * @returns An array of validation results, empty if valid.\n */\n validate(query: T): ValidationResult[] {\n return super.validate(query);\n }\n}\n"],"names":["QueryValidator","Validator","validate","query"],"mappings":";;AAAA;AACA;AAKA;;IAGO,MAAeA,cAAAA,SAAmCC,SAAAA,CAAAA;AACrD;;;;QAKAC,QAAAA,CAASC,KAAQ,EAAsB;QACnC,OAAO,KAAK,CAACD,QAAAA,CAASC,KAAAA,CAAAA;AAC1B,IAAA;AACJ;;"}
|
|
1
|
+
{"version":3,"file":"QueryValidator.js","sources":["../../../queries/QueryValidator.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 { Validator } from '../validation/Validator.js';\nimport { ValidationResult } from '../validation/ValidationResult.js';\n\n/**\n * Represents the query validator\n */\nexport abstract class QueryValidator<T = object> extends Validator<T> {\n /**\n * Validate the query parameters.\n * @param query The query to validate.\n * @returns An array of validation results, empty if valid.\n */\n validate(query: T): ValidationResult[] {\n return super.validate(query);\n }\n}\n"],"names":["QueryValidator","Validator","validate","query"],"mappings":";;AAAA;AACA;AAKA;;IAGO,MAAeA,cAAAA,SAAmCC,SAAAA,CAAAA;AACrD;;;;QAKAC,QAAAA,CAASC,KAAQ,EAAsB;QACnC,OAAO,KAAK,CAACD,QAAAA,CAASC,KAAAA,CAAAA;AAC1B,IAAA;AACJ;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IReconnectPolicy, ReconnectCallback } from './IReconnectPolicy';
|
|
1
|
+
import { IReconnectPolicy, ReconnectCallback } from './IReconnectPolicy.js';
|
|
2
2
|
export declare class ReconnectPolicy implements IReconnectPolicy {
|
|
3
3
|
private readonly _maxAttempts;
|
|
4
4
|
private readonly _initialDelayMs;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReconnectPolicy.d.ts","sourceRoot":"","sources":["../../../queries/ReconnectPolicy.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"ReconnectPolicy.d.ts","sourceRoot":"","sources":["../../../queries/ReconnectPolicy.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAc5E,qBAAa,eAAgB,YAAW,gBAAgB;IAYhD,OAAO,CAAC,QAAQ,CAAC,YAAY;IAC7B,OAAO,CAAC,QAAQ,CAAC,eAAe;IAChC,OAAO,CAAC,QAAQ,CAAC,YAAY;IAC7B,OAAO,CAAC,QAAQ,CAAC,WAAW;IAdhC,OAAO,CAAC,QAAQ,CAAK;IACrB,OAAO,CAAC,MAAM,CAAC,CAAgC;IAS/C,YACqB,YAAY,GAAE,MAAY,EAC1B,eAAe,GAAE,MAAY,EAC7B,YAAY,GAAE,MAAY,EAC1B,WAAW,GAAE,MAAe,EAC7C;IAGJ,IAAI,OAAO,IAAI,MAAM,CAEpB;IAGD,QAAQ,CAAC,WAAW,EAAE,iBAAiB,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CAe/D;IAGD,KAAK,IAAI,IAAI,CAGZ;IAGD,MAAM,IAAI,IAAI,CAKb;CACJ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReconnectPolicy.js","sources":["../../../queries/ReconnectPolicy.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 { IReconnectPolicy, ReconnectCallback } from './IReconnectPolicy';\n\n/**\n * Default exponential back-off reconnect policy shared by all observable query connections.\n *\n * Delay formula: `Math.min(initialDelayMs + delayStepMs * attempt, maxDelayMs)`\n *\n * With the default parameters:\n * - Attempt 1 → 1 000 ms\n * - Attempt 2 → 1 500 ms\n * - …\n * - Attempt 19+ → 10 000 ms (capped)\n * - After 100 attempts → abandoned (returns `false`)\n */\nexport class ReconnectPolicy implements IReconnectPolicy {\n private _attempt = 0;\n private _timer?: ReturnType<typeof setTimeout>;\n\n /**\n * Initializes a new instance of {@link ReconnectPolicy}.\n * @param {number} maxAttempts Maximum number of reconnect attempts before giving up (default: 100).\n * @param {number} initialDelayMs Base delay in milliseconds added to every attempt (default: 500).\n * @param {number} delayStepMs Additional delay per attempt in milliseconds (default: 500).\n * @param {number} maxDelayMs Upper bound on the computed delay in milliseconds (default: 10 000).\n */\n constructor(\n private readonly _maxAttempts: number = 100,\n private readonly _initialDelayMs: number = 500,\n private readonly _delayStepMs: number = 500,\n private readonly _maxDelayMs: number = 10_000,\n ) {}\n\n /** @inheritdoc */\n get attempt(): number {\n return this._attempt;\n }\n\n /** @inheritdoc */\n schedule(onReconnect: ReconnectCallback, label: string): boolean {\n if (this._attempt >= this._maxAttempts) {\n console.log(`Reconnect: abandoned after ${this._maxAttempts} attempts for '${label}'`);\n return false;\n }\n\n // Cancel any pending reconnect timer so we don't fire multiple\n // concurrent reconnect attempts when schedule() is called rapidly.\n this.cancel();\n\n this._attempt++;\n const delay = Math.min(this._initialDelayMs + this._delayStepMs * this._attempt, this._maxDelayMs);\n console.log(`Reconnect: attempt ${this._attempt} in ${delay}ms for '${label}'`);\n this._timer = setTimeout(onReconnect, delay);\n return true;\n }\n\n /** @inheritdoc */\n reset(): void {\n this._attempt = 0;\n this.cancel();\n }\n\n /** @inheritdoc */\n cancel(): void {\n if (this._timer) {\n clearTimeout(this._timer);\n this._timer = undefined;\n }\n }\n}\n"],"names":["ReconnectPolicy","_attempt","_timer","_maxAttempts","_initialDelayMs","_delayStepMs","_maxDelayMs","attempt","schedule","onReconnect","label","console","log","cancel","delay","Math","min","setTimeout","reset","clearTimeout","undefined"],"mappings":"AAAA;AACA;AAIA;;;;;;;;;;;AAWC,IACM,MAAMA,eAAAA,CAAAA;;;;;AACDC,IAAAA,QAAAA,GAAW,CAAA;IACXC,MAAAA;AAER;;;;;;AAMC,QACD,YACI,YAAiBC,GAAuB,GAAG,EAC3C,eAAiBC,GAA0B,GAAG,EAC7BC,eAAuB,GAAG,EAC3C,WAAiBC,GAAsB,MAAM,CAC/C;aAJmBH,YAAAA,GAA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,IAAA;AACJ;;"}
|
|
1
|
+
{"version":3,"file":"ReconnectPolicy.js","sources":["../../../queries/ReconnectPolicy.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 { IReconnectPolicy, ReconnectCallback } from './IReconnectPolicy.js';\n\n/**\n * Default exponential back-off reconnect policy shared by all observable query connections.\n *\n * Delay formula: `Math.min(initialDelayMs + delayStepMs * attempt, maxDelayMs)`\n *\n * With the default parameters:\n * - Attempt 1 → 1 000 ms\n * - Attempt 2 → 1 500 ms\n * - …\n * - Attempt 19+ → 10 000 ms (capped)\n * - After 100 attempts → abandoned (returns `false`)\n */\nexport class ReconnectPolicy implements IReconnectPolicy {\n private _attempt = 0;\n private _timer?: ReturnType<typeof setTimeout>;\n\n /**\n * Initializes a new instance of {@link ReconnectPolicy}.\n * @param {number} maxAttempts Maximum number of reconnect attempts before giving up (default: 100).\n * @param {number} initialDelayMs Base delay in milliseconds added to every attempt (default: 500).\n * @param {number} delayStepMs Additional delay per attempt in milliseconds (default: 500).\n * @param {number} maxDelayMs Upper bound on the computed delay in milliseconds (default: 10 000).\n */\n constructor(\n private readonly _maxAttempts: number = 100,\n private readonly _initialDelayMs: number = 500,\n private readonly _delayStepMs: number = 500,\n private readonly _maxDelayMs: number = 10_000,\n ) {}\n\n /** @inheritdoc */\n get attempt(): number {\n return this._attempt;\n }\n\n /** @inheritdoc */\n schedule(onReconnect: ReconnectCallback, label: string): boolean {\n if (this._attempt >= this._maxAttempts) {\n console.log(`Reconnect: abandoned after ${this._maxAttempts} attempts for '${label}'`);\n return false;\n }\n\n // Cancel any pending reconnect timer so we don't fire multiple\n // concurrent reconnect attempts when schedule() is called rapidly.\n this.cancel();\n\n this._attempt++;\n const delay = Math.min(this._initialDelayMs + this._delayStepMs * this._attempt, this._maxDelayMs);\n console.log(`Reconnect: attempt ${this._attempt} in ${delay}ms for '${label}'`);\n this._timer = setTimeout(onReconnect, delay);\n return true;\n }\n\n /** @inheritdoc */\n reset(): void {\n this._attempt = 0;\n this.cancel();\n }\n\n /** @inheritdoc */\n cancel(): void {\n if (this._timer) {\n clearTimeout(this._timer);\n this._timer = undefined;\n }\n }\n}\n"],"names":["ReconnectPolicy","_attempt","_timer","_maxAttempts","_initialDelayMs","_delayStepMs","_maxDelayMs","attempt","schedule","onReconnect","label","console","log","cancel","delay","Math","min","setTimeout","reset","clearTimeout","undefined"],"mappings":"AAAA;AACA;AAIA;;;;;;;;;;;AAWC,IACM,MAAMA,eAAAA,CAAAA;;;;;AACDC,IAAAA,QAAAA,GAAW,CAAA;IACXC,MAAAA;AAER;;;;;;AAMC,QACD,YACI,YAAiBC,GAAuB,GAAG,EAC3C,eAAiBC,GAA0B,GAAG,EAC7BC,eAAuB,GAAG,EAC3C,WAAiBC,GAAsB,MAAM,CAC/C;aAJmBH,YAAAA,GAAAA,YAAAA;aACAC,eAAAA,GAAAA,eAAAA;aACAC,YAAAA,GAAAA,YAAAA;aACAC,WAAAA,GAAAA,WAAAA;AAClB,IAAA;uBAGH,IAAIC,OAAAA,GAAkB;QAClB,OAAO,IAAI,CAACN,QAAQ;AACxB,IAAA;AAEA,uBACAO,QAAAA,CAASC,WAA8B,EAAEC,KAAa,EAAW;AAC7D,QAAA,IAAI,IAAI,CAACT,QAAQ,IAAI,IAAI,CAACE,YAAY,EAAE;AACpCQ,YAAAA,OAAAA,CAAQC,GAAG,CAAC,CAAC,2BAA2B,EAAE,IAAI,CAACT,YAAY,CAAC,eAAe,EAAEO,KAAAA,CAAM,CAAC,CAAC,CAAA;YACrF,OAAO,KAAA;AACX,QAAA;;;AAIA,QAAA,IAAI,CAACG,MAAM,EAAA;AAEX,QAAA,IAAI,CAACZ,QAAQ,EAAA;AACb,QAAA,MAAMa,QAAQC,IAAAA,CAAKC,GAAG,CAAC,IAAI,CAACZ,eAAe,GAAG,IAAI,CAACC,YAAY,GAAG,IAAI,CAACJ,QAAQ,EAAE,IAAI,CAACK,WAAW,CAAA;AACjGK,QAAAA,OAAAA,CAAQC,GAAG,CAAC,CAAC,mBAAmB,EAAE,IAAI,CAACX,QAAQ,CAAC,IAAI,EAAEa,KAAAA,CAAM,QAAQ,EAAEJ,KAAAA,CAAM,CAAC,CAAC,CAAA;AAC9E,QAAA,IAAI,CAACR,MAAM,GAAGe,UAAAA,CAAWR,WAAAA,EAAaK,KAAAA,CAAAA;QACtC,OAAO,IAAA;AACX,IAAA;AAEA,uBACAI,KAAAA,GAAc;QACV,IAAI,CAACjB,QAAQ,GAAG,CAAA;AAChB,QAAA,IAAI,CAACY,MAAM,EAAA;AACf,IAAA;AAEA,uBACAA,MAAAA,GAAe;QACX,IAAI,IAAI,CAACX,MAAM,EAAE;YACbiB,YAAAA,CAAa,IAAI,CAACjB,MAAM,CAAA;YACxB,IAAI,CAACA,MAAM,GAAGkB,SAAAA;AAClB,QAAA;AACJ,IAAA;AACJ;;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { IObservableQueryHubConnection } from './IObservableQueryHubConnection';
|
|
2
|
-
import type { DataReceived } from './ObservableQueryConnection';
|
|
3
|
-
import type { IReconnectPolicy } from './IReconnectPolicy';
|
|
4
|
-
import { type SubscriptionRequest } from './WebSocketHubConnection';
|
|
1
|
+
import type { IObservableQueryHubConnection } from './IObservableQueryHubConnection.js';
|
|
2
|
+
import type { DataReceived } from './ObservableQueryConnection.js';
|
|
3
|
+
import type { IReconnectPolicy } from './IReconnectPolicy.js';
|
|
4
|
+
import { type SubscriptionRequest } from './WebSocketHubConnection.js';
|
|
5
5
|
export declare class ServerSentEventHubConnection implements IObservableQueryHubConnection {
|
|
6
6
|
private readonly _sseUrl;
|
|
7
7
|
private readonly _subscribeUrl;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ServerSentEventHubConnection.d.ts","sourceRoot":"","sources":["../../../queries/ServerSentEventHubConnection.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MA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