@cratis/arc 20.54.4 → 20.54.7
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/dist/cjs/Globals.js +21 -8
- package/dist/cjs/Globals.js.map +1 -1
- package/dist/cjs/UrlHelpers.js +46 -13
- package/dist/cjs/UrlHelpers.js.map +1 -1
- package/dist/cjs/commands/Command.js +50 -38
- package/dist/cjs/commands/Command.js.map +1 -1
- package/dist/cjs/commands/CommandResult.js +58 -36
- package/dist/cjs/commands/CommandResult.js.map +1 -1
- package/dist/cjs/commands/CommandResults.js +24 -22
- package/dist/cjs/commands/CommandResults.js.map +1 -1
- package/dist/cjs/commands/CommandValidator.js +10 -2
- package/dist/cjs/commands/CommandValidator.js.map +1 -1
- package/dist/cjs/commands/index.js +2 -2
- package/dist/cjs/commands/index.js.map +1 -1
- package/dist/cjs/deepEqual.js +9 -9
- package/dist/cjs/deepEqual.js.map +1 -1
- package/dist/cjs/identity/IIdentityProvider.js +5 -1
- package/dist/cjs/identity/IIdentityProvider.js.map +1 -1
- package/dist/cjs/identity/IdentityProvider.js +44 -22
- package/dist/cjs/identity/IdentityProvider.js.map +1 -1
- package/dist/cjs/identity/index.js +2 -1
- package/dist/cjs/identity/index.js.map +1 -1
- package/dist/cjs/index.js +1 -4
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/joinPaths.js +2 -0
- package/dist/cjs/joinPaths.js.map +1 -1
- package/dist/cjs/messaging/IMessenger.js +5 -1
- package/dist/cjs/messaging/IMessenger.js.map +1 -1
- package/dist/cjs/messaging/Message.js +10 -2
- package/dist/cjs/messaging/Message.js.map +1 -1
- package/dist/cjs/messaging/Messenger.js +15 -10
- package/dist/cjs/messaging/Messenger.js.map +1 -1
- package/dist/cjs/messaging/index.js +2 -1
- package/dist/cjs/messaging/index.js.map +1 -1
- package/dist/cjs/queries/HubConnectionKeepAlive.js +41 -6
- package/dist/cjs/queries/HubConnectionKeepAlive.js.map +1 -1
- package/dist/cjs/queries/IQueryProvider.js +5 -1
- package/dist/cjs/queries/IQueryProvider.js.map +1 -1
- package/dist/cjs/queries/NullObservableQueryConnection.js +13 -7
- package/dist/cjs/queries/NullObservableQueryConnection.js.map +1 -1
- package/dist/cjs/queries/ObservableQueryConnection.js +43 -31
- package/dist/cjs/queries/ObservableQueryConnection.js.map +1 -1
- package/dist/cjs/queries/ObservableQueryConnectionFactory.js +36 -14
- package/dist/cjs/queries/ObservableQueryConnectionFactory.js.map +1 -1
- package/dist/cjs/queries/ObservableQueryConnectionPool.js +37 -6
- package/dist/cjs/queries/ObservableQueryConnectionPool.js.map +1 -1
- package/dist/cjs/queries/ObservableQueryDiagnostics.js +29 -14
- package/dist/cjs/queries/ObservableQueryDiagnostics.js.map +1 -1
- package/dist/cjs/queries/ObservableQueryFor.js +57 -31
- package/dist/cjs/queries/ObservableQueryFor.js.map +1 -1
- package/dist/cjs/queries/ObservableQueryMultiplexer.js +109 -51
- package/dist/cjs/queries/ObservableQueryMultiplexer.js.map +1 -1
- package/dist/cjs/queries/ObservableQuerySubscription.js +12 -3
- package/dist/cjs/queries/ObservableQuerySubscription.js.map +1 -1
- package/dist/cjs/queries/Paging.js +20 -6
- package/dist/cjs/queries/Paging.js.map +1 -1
- package/dist/cjs/queries/PagingInfo.js +23 -7
- package/dist/cjs/queries/PagingInfo.js.map +1 -1
- package/dist/cjs/queries/QueryFor.js +42 -24
- package/dist/cjs/queries/QueryFor.js.map +1 -1
- package/dist/cjs/queries/QueryInstanceCache.js +149 -37
- package/dist/cjs/queries/QueryInstanceCache.js.map +1 -1
- package/dist/cjs/queries/QueryProvider.js +13 -3
- package/dist/cjs/queries/QueryProvider.js.map +1 -1
- package/dist/cjs/queries/QueryResult.js +39 -33
- package/dist/cjs/queries/QueryResult.js.map +1 -1
- package/dist/cjs/queries/QueryResultWithState.js +26 -4
- package/dist/cjs/queries/QueryResultWithState.js.map +1 -1
- package/dist/cjs/queries/QueryTransportMethod.js +15 -5
- package/dist/cjs/queries/QueryTransportMethod.js.map +1 -1
- package/dist/cjs/queries/QueryValidator.js +10 -2
- package/dist/cjs/queries/QueryValidator.js.map +1 -1
- package/dist/cjs/queries/ReconnectPolicy.js +27 -6
- package/dist/cjs/queries/ReconnectPolicy.js.map +1 -1
- package/dist/cjs/queries/ServerSentEventHubConnection.js +107 -61
- package/dist/cjs/queries/ServerSentEventHubConnection.js.map +1 -1
- package/dist/cjs/queries/ServerSentEventQueryConnection.js +31 -23
- package/dist/cjs/queries/ServerSentEventQueryConnection.js.map +1 -1
- package/dist/cjs/queries/SortDirection.js +18 -6
- package/dist/cjs/queries/SortDirection.js.map +1 -1
- package/dist/cjs/queries/Sorting.js +16 -4
- package/dist/cjs/queries/Sorting.js.map +1 -1
- package/dist/cjs/queries/SortingActions.js +15 -4
- package/dist/cjs/queries/SortingActions.js.map +1 -1
- package/dist/cjs/queries/SortingActionsForObservableQuery.js +16 -4
- package/dist/cjs/queries/SortingActionsForObservableQuery.js.map +1 -1
- package/dist/cjs/queries/SortingActionsForQuery.js +16 -4
- package/dist/cjs/queries/SortingActionsForQuery.js.map +1 -1
- package/dist/cjs/queries/ValidateRequestArguments.js +13 -9
- package/dist/cjs/queries/ValidateRequestArguments.js.map +1 -1
- package/dist/cjs/queries/WebSocketHubConnection.js +98 -52
- package/dist/cjs/queries/WebSocketHubConnection.js.map +1 -1
- package/dist/cjs/queries/WebSocketMessage.js +18 -6
- package/dist/cjs/queries/WebSocketMessage.js.map +1 -1
- package/dist/cjs/queries/index.js +6 -18
- package/dist/cjs/queries/index.js.map +1 -1
- package/dist/cjs/reflection/ParameterDescriptor.js +11 -2
- package/dist/cjs/reflection/ParameterDescriptor.js.map +1 -1
- package/dist/cjs/reflection/ParametersHelper.js +11 -3
- package/dist/cjs/reflection/ParametersHelper.js.map +1 -1
- package/dist/cjs/reflection/PropertyDescriptor.js +11 -2
- package/dist/cjs/reflection/PropertyDescriptor.js.map +1 -1
- package/dist/cjs/reflection/index.js +2 -1
- package/dist/cjs/reflection/index.js.map +1 -1
- package/dist/cjs/validation/PropertyRule.js +23 -5
- package/dist/cjs/validation/PropertyRule.js.map +1 -1
- package/dist/cjs/validation/PropertyValidator.js +25 -6
- package/dist/cjs/validation/PropertyValidator.js.map +1 -1
- package/dist/cjs/validation/RuleBuilder.js +22 -4
- package/dist/cjs/validation/RuleBuilder.js.map +1 -1
- package/dist/cjs/validation/RuleBuilderExtensions.js +95 -13
- package/dist/cjs/validation/RuleBuilderExtensions.js.map +1 -1
- package/dist/cjs/validation/ValidationResult.js +6 -2
- package/dist/cjs/validation/ValidationResult.js.map +1 -1
- package/dist/cjs/validation/ValidationResultSeverity.js +21 -7
- package/dist/cjs/validation/ValidationResultSeverity.js.map +1 -1
- package/dist/cjs/validation/Validator.js +32 -9
- package/dist/cjs/validation/Validator.js.map +1 -1
- package/dist/cjs/validation/index.js +3 -5
- package/dist/cjs/validation/index.js.map +1 -1
- package/dist/cjs/validation/rules/ComparisonRules.js +46 -20
- package/dist/cjs/validation/rules/ComparisonRules.js.map +1 -1
- package/dist/cjs/validation/rules/EmailRule.js +12 -4
- package/dist/cjs/validation/rules/EmailRule.js.map +1 -1
- package/dist/cjs/validation/rules/LengthRules.js +39 -19
- package/dist/cjs/validation/rules/LengthRules.js.map +1 -1
- package/dist/cjs/validation/rules/NotEmptyRule.js +20 -6
- package/dist/cjs/validation/rules/NotEmptyRule.js.map +1 -1
- package/dist/cjs/validation/rules/PhoneRule.js +12 -4
- package/dist/cjs/validation/rules/PhoneRule.js.map +1 -1
- package/dist/cjs/validation/rules/RegexRule.js +15 -6
- package/dist/cjs/validation/rules/RegexRule.js.map +1 -1
- package/dist/cjs/validation/rules/UrlRule.js +12 -4
- package/dist/cjs/validation/rules/UrlRule.js.map +1 -1
- package/dist/esm/Globals.js +20 -8
- package/dist/esm/Globals.js.map +1 -1
- package/dist/esm/UrlHelpers.d.ts.map +1 -1
- package/dist/esm/UrlHelpers.js +46 -13
- package/dist/esm/UrlHelpers.js.map +1 -1
- package/dist/esm/commands/Command.d.ts.map +1 -1
- package/dist/esm/commands/Command.js +50 -38
- package/dist/esm/commands/Command.js.map +1 -1
- package/dist/esm/commands/CommandResult.d.ts.map +1 -1
- package/dist/esm/commands/CommandResult.js +58 -36
- package/dist/esm/commands/CommandResult.js.map +1 -1
- package/dist/esm/commands/CommandResults.d.ts.map +1 -1
- package/dist/esm/commands/CommandResults.js +24 -22
- package/dist/esm/commands/CommandResults.js.map +1 -1
- package/dist/esm/commands/CommandValidator.d.ts.map +1 -1
- package/dist/esm/commands/CommandValidator.js +10 -2
- package/dist/esm/commands/CommandValidator.js.map +1 -1
- package/dist/esm/commands/for_Command/CommandWithRouteParams.d.ts.map +1 -1
- package/dist/esm/commands/for_Command/SomeCommand.d.ts.map +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_with_validator.d.ts.map +1 -1
- package/dist/esm/commands/index.js +3 -1
- package/dist/esm/commands/index.js.map +1 -1
- package/dist/esm/deepEqual.d.ts.map +1 -1
- package/dist/esm/deepEqual.js +9 -9
- package/dist/esm/deepEqual.js.map +1 -1
- package/dist/esm/given.d.ts.map +1 -1
- package/dist/esm/helpers/fetchHelper.d.ts.map +1 -1
- package/dist/esm/identity/IIdentityProvider.d.ts.map +1 -1
- package/dist/esm/identity/IIdentityProvider.js +5 -1
- package/dist/esm/identity/IIdentityProvider.js.map +1 -1
- package/dist/esm/identity/IdentityProvider.d.ts.map +1 -1
- package/dist/esm/identity/IdentityProvider.js +44 -22
- package/dist/esm/identity/IdentityProvider.js.map +1 -1
- package/dist/esm/identity/for_IdentityProvider/given/an_identity_provider.d.ts.map +1 -1
- package/dist/esm/identity/index.js +3 -0
- package/dist/esm/identity/index.js.map +1 -1
- package/dist/esm/joinPaths.js +2 -0
- package/dist/esm/joinPaths.js.map +1 -1
- package/dist/esm/messaging/IMessenger.d.ts.map +1 -1
- package/dist/esm/messaging/IMessenger.js +5 -1
- package/dist/esm/messaging/IMessenger.js.map +1 -1
- package/dist/esm/messaging/Message.d.ts.map +1 -1
- package/dist/esm/messaging/Message.js +10 -2
- package/dist/esm/messaging/Message.js.map +1 -1
- package/dist/esm/messaging/Messenger.d.ts.map +1 -1
- package/dist/esm/messaging/Messenger.js +15 -10
- package/dist/esm/messaging/Messenger.js.map +1 -1
- package/dist/esm/messaging/for_Messenger/when_scoping_messages.js.map +1 -1
- package/dist/esm/messaging/index.js +3 -0
- package/dist/esm/messaging/index.js.map +1 -1
- package/dist/esm/queries/HubConnectionKeepAlive.d.ts.map +1 -1
- package/dist/esm/queries/HubConnectionKeepAlive.js +41 -6
- package/dist/esm/queries/HubConnectionKeepAlive.js.map +1 -1
- package/dist/esm/queries/IQueryProvider.d.ts.map +1 -1
- package/dist/esm/queries/IQueryProvider.js +5 -1
- package/dist/esm/queries/IQueryProvider.js.map +1 -1
- package/dist/esm/queries/NullObservableQueryConnection.d.ts.map +1 -1
- package/dist/esm/queries/NullObservableQueryConnection.js +13 -7
- package/dist/esm/queries/NullObservableQueryConnection.js.map +1 -1
- package/dist/esm/queries/ObservableQueryConnection.d.ts.map +1 -1
- package/dist/esm/queries/ObservableQueryConnection.js +43 -31
- package/dist/esm/queries/ObservableQueryConnection.js.map +1 -1
- package/dist/esm/queries/ObservableQueryConnectionFactory.js +36 -14
- package/dist/esm/queries/ObservableQueryConnectionFactory.js.map +1 -1
- package/dist/esm/queries/ObservableQueryConnectionPool.d.ts.map +1 -1
- package/dist/esm/queries/ObservableQueryConnectionPool.js +37 -6
- package/dist/esm/queries/ObservableQueryConnectionPool.js.map +1 -1
- package/dist/esm/queries/ObservableQueryDiagnostics.d.ts.map +1 -1
- package/dist/esm/queries/ObservableQueryDiagnostics.js +29 -14
- package/dist/esm/queries/ObservableQueryDiagnostics.js.map +1 -1
- package/dist/esm/queries/ObservableQueryFor.d.ts.map +1 -1
- package/dist/esm/queries/ObservableQueryFor.js +57 -31
- package/dist/esm/queries/ObservableQueryFor.js.map +1 -1
- package/dist/esm/queries/ObservableQueryMultiplexer.d.ts.map +1 -1
- package/dist/esm/queries/ObservableQueryMultiplexer.js +109 -51
- package/dist/esm/queries/ObservableQueryMultiplexer.js.map +1 -1
- package/dist/esm/queries/ObservableQuerySubscription.d.ts.map +1 -1
- package/dist/esm/queries/ObservableQuerySubscription.js +12 -3
- package/dist/esm/queries/ObservableQuerySubscription.js.map +1 -1
- package/dist/esm/queries/Paging.d.ts.map +1 -1
- package/dist/esm/queries/Paging.js +20 -6
- package/dist/esm/queries/Paging.js.map +1 -1
- package/dist/esm/queries/PagingInfo.d.ts.map +1 -1
- package/dist/esm/queries/PagingInfo.js +23 -7
- package/dist/esm/queries/PagingInfo.js.map +1 -1
- package/dist/esm/queries/QueryFor.d.ts.map +1 -1
- package/dist/esm/queries/QueryFor.js +42 -24
- package/dist/esm/queries/QueryFor.js.map +1 -1
- package/dist/esm/queries/QueryInstanceCache.d.ts.map +1 -1
- package/dist/esm/queries/QueryInstanceCache.js +149 -37
- package/dist/esm/queries/QueryInstanceCache.js.map +1 -1
- package/dist/esm/queries/QueryProvider.d.ts.map +1 -1
- package/dist/esm/queries/QueryProvider.js +13 -3
- package/dist/esm/queries/QueryProvider.js.map +1 -1
- package/dist/esm/queries/QueryResult.d.ts.map +1 -1
- package/dist/esm/queries/QueryResult.js +39 -33
- package/dist/esm/queries/QueryResult.js.map +1 -1
- package/dist/esm/queries/QueryResultWithState.d.ts.map +1 -1
- package/dist/esm/queries/QueryResultWithState.js +26 -4
- package/dist/esm/queries/QueryResultWithState.js.map +1 -1
- package/dist/esm/queries/QueryTransportMethod.js +13 -5
- package/dist/esm/queries/QueryTransportMethod.js.map +1 -1
- package/dist/esm/queries/QueryValidator.d.ts.map +1 -1
- package/dist/esm/queries/QueryValidator.js +10 -2
- package/dist/esm/queries/QueryValidator.js.map +1 -1
- package/dist/esm/queries/ReconnectPolicy.d.ts.map +1 -1
- package/dist/esm/queries/ReconnectPolicy.js +27 -6
- package/dist/esm/queries/ReconnectPolicy.js.map +1 -1
- package/dist/esm/queries/ServerSentEventHubConnection.d.ts.map +1 -1
- package/dist/esm/queries/ServerSentEventHubConnection.js +107 -61
- package/dist/esm/queries/ServerSentEventHubConnection.js.map +1 -1
- package/dist/esm/queries/ServerSentEventQueryConnection.d.ts.map +1 -1
- package/dist/esm/queries/ServerSentEventQueryConnection.js +31 -23
- package/dist/esm/queries/ServerSentEventQueryConnection.js.map +1 -1
- package/dist/esm/queries/SortDirection.js +16 -6
- package/dist/esm/queries/SortDirection.js.map +1 -1
- package/dist/esm/queries/Sorting.d.ts.map +1 -1
- package/dist/esm/queries/Sorting.js +16 -4
- package/dist/esm/queries/Sorting.js.map +1 -1
- package/dist/esm/queries/SortingActions.d.ts.map +1 -1
- package/dist/esm/queries/SortingActions.js +15 -4
- package/dist/esm/queries/SortingActions.js.map +1 -1
- package/dist/esm/queries/SortingActionsForObservableQuery.d.ts.map +1 -1
- package/dist/esm/queries/SortingActionsForObservableQuery.js +16 -4
- package/dist/esm/queries/SortingActionsForObservableQuery.js.map +1 -1
- package/dist/esm/queries/SortingActionsForQuery.d.ts.map +1 -1
- package/dist/esm/queries/SortingActionsForQuery.js +16 -4
- package/dist/esm/queries/SortingActionsForQuery.js.map +1 -1
- package/dist/esm/queries/ValidateRequestArguments.js +13 -9
- package/dist/esm/queries/ValidateRequestArguments.js.map +1 -1
- package/dist/esm/queries/WebSocketHubConnection.d.ts.map +1 -1
- package/dist/esm/queries/WebSocketHubConnection.js +97 -52
- package/dist/esm/queries/WebSocketHubConnection.js.map +1 -1
- package/dist/esm/queries/WebSocketMessage.js +16 -6
- package/dist/esm/queries/WebSocketMessage.js.map +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_with_websocket.d.ts.map +1 -1
- package/dist/esm/queries/for_ObservableQueryConnectionFactory/given/a_descriptor.d.ts.map +1 -1
- package/dist/esm/queries/for_ObservableQueryFor/given/TestQueries.d.ts.map +1 -1
- package/dist/esm/queries/for_ObservableQueryFor/given/an_observable_query_for.d.ts.map +1 -1
- package/dist/esm/queries/for_QueryFor/given/TestQueries.d.ts.map +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_with_validator.d.ts.map +1 -1
- package/dist/esm/queries/for_ServerSentEventHubConnection/given/a_server_sent_event_hub_connection.d.ts.map +1 -1
- package/dist/esm/queries/for_WebSocketHubConnection/given/a_web_socket_hub_connection.d.ts.map +1 -1
- package/dist/esm/queries/index.js +3 -1
- package/dist/esm/queries/index.js.map +1 -1
- package/dist/esm/reflection/ParameterDescriptor.d.ts.map +1 -1
- package/dist/esm/reflection/ParameterDescriptor.js +11 -2
- package/dist/esm/reflection/ParameterDescriptor.js.map +1 -1
- package/dist/esm/reflection/ParametersHelper.d.ts.map +1 -1
- package/dist/esm/reflection/ParametersHelper.js +11 -3
- package/dist/esm/reflection/ParametersHelper.js.map +1 -1
- package/dist/esm/reflection/PropertyDescriptor.d.ts.map +1 -1
- package/dist/esm/reflection/PropertyDescriptor.js +11 -2
- package/dist/esm/reflection/PropertyDescriptor.js.map +1 -1
- package/dist/esm/reflection/index.js +3 -0
- package/dist/esm/reflection/index.js.map +1 -1
- package/dist/esm/tsconfig.tsbuildinfo +1 -1
- package/dist/esm/validation/PropertyRule.d.ts.map +1 -1
- package/dist/esm/validation/PropertyRule.js +23 -5
- package/dist/esm/validation/PropertyRule.js.map +1 -1
- package/dist/esm/validation/PropertyValidator.d.ts.map +1 -1
- package/dist/esm/validation/PropertyValidator.js +25 -6
- package/dist/esm/validation/PropertyValidator.js.map +1 -1
- package/dist/esm/validation/RuleBuilder.d.ts.map +1 -1
- package/dist/esm/validation/RuleBuilder.js +22 -4
- package/dist/esm/validation/RuleBuilder.js.map +1 -1
- package/dist/esm/validation/RuleBuilderExtensions.js +95 -13
- package/dist/esm/validation/RuleBuilderExtensions.js.map +1 -1
- package/dist/esm/validation/ValidationResult.d.ts.map +1 -1
- package/dist/esm/validation/ValidationResult.js +6 -2
- package/dist/esm/validation/ValidationResult.js.map +1 -1
- package/dist/esm/validation/ValidationResultSeverity.js +19 -7
- package/dist/esm/validation/ValidationResultSeverity.js.map +1 -1
- package/dist/esm/validation/Validator.d.ts.map +1 -1
- package/dist/esm/validation/Validator.js +32 -9
- package/dist/esm/validation/Validator.js.map +1 -1
- package/dist/esm/validation/index.js +3 -0
- package/dist/esm/validation/index.js.map +1 -1
- package/dist/esm/validation/rules/ComparisonRules.d.ts.map +1 -1
- package/dist/esm/validation/rules/ComparisonRules.js +46 -20
- package/dist/esm/validation/rules/ComparisonRules.js.map +1 -1
- package/dist/esm/validation/rules/EmailRule.d.ts.map +1 -1
- package/dist/esm/validation/rules/EmailRule.js +12 -4
- package/dist/esm/validation/rules/EmailRule.js.map +1 -1
- package/dist/esm/validation/rules/LengthRules.d.ts.map +1 -1
- package/dist/esm/validation/rules/LengthRules.js +39 -19
- package/dist/esm/validation/rules/LengthRules.js.map +1 -1
- package/dist/esm/validation/rules/NotEmptyRule.d.ts.map +1 -1
- package/dist/esm/validation/rules/NotEmptyRule.js +20 -6
- package/dist/esm/validation/rules/NotEmptyRule.js.map +1 -1
- package/dist/esm/validation/rules/PhoneRule.d.ts.map +1 -1
- package/dist/esm/validation/rules/PhoneRule.js +12 -4
- package/dist/esm/validation/rules/PhoneRule.js.map +1 -1
- package/dist/esm/validation/rules/RegexRule.d.ts.map +1 -1
- package/dist/esm/validation/rules/RegexRule.js +15 -6
- package/dist/esm/validation/rules/RegexRule.js.map +1 -1
- package/dist/esm/validation/rules/UrlRule.d.ts.map +1 -1
- package/dist/esm/validation/rules/UrlRule.js +12 -4
- package/dist/esm/validation/rules/UrlRule.js.map +1 -1
- package/package.json +1 -1
- package/dist/cjs/GetHttpHeaders.d.ts +0 -2
- package/dist/cjs/GetHttpHeaders.d.ts.map +0 -1
- package/dist/cjs/Globals.d.ts +0 -21
- package/dist/cjs/Globals.d.ts.map +0 -1
- package/dist/cjs/ICanBeConfigured.d.ts +0 -8
- package/dist/cjs/ICanBeConfigured.d.ts.map +0 -1
- package/dist/cjs/UrlHelpers.d.ts +0 -9
- package/dist/cjs/UrlHelpers.d.ts.map +0 -1
- package/dist/cjs/commands/Command.d.ts +0 -45
- package/dist/cjs/commands/Command.d.ts.map +0 -1
- package/dist/cjs/commands/CommandResult.d.ts +0 -49
- package/dist/cjs/commands/CommandResult.d.ts.map +0 -1
- package/dist/cjs/commands/CommandResults.d.ts +0 -23
- package/dist/cjs/commands/CommandResults.d.ts.map +0 -1
- package/dist/cjs/commands/CommandValidator.d.ts +0 -6
- package/dist/cjs/commands/CommandValidator.d.ts.map +0 -1
- package/dist/cjs/commands/ICommand.d.ts +0 -21
- package/dist/cjs/commands/ICommand.d.ts.map +0 -1
- package/dist/cjs/commands/ICommandResult.d.ts +0 -15
- package/dist/cjs/commands/ICommandResult.d.ts.map +0 -1
- package/dist/cjs/commands/for_Command/CommandWithRouteParams.d.ts +0 -16
- package/dist/cjs/commands/for_Command/CommandWithRouteParams.d.ts.map +0 -1
- package/dist/cjs/commands/for_Command/SomeCommand.d.ts +0 -14
- package/dist/cjs/commands/for_Command/SomeCommand.d.ts.map +0 -1
- package/dist/cjs/commands/for_Command/given/a_command.d.ts +0 -12
- package/dist/cjs/commands/for_Command/given/a_command.d.ts.map +0 -1
- package/dist/cjs/commands/for_Command/given/a_command_with_validator.d.ts +0 -33
- package/dist/cjs/commands/for_Command/given/a_command_with_validator.d.ts.map +0 -1
- package/dist/cjs/commands/for_Command/when_clearing_the_command.d.ts +0 -2
- package/dist/cjs/commands/for_Command/when_clearing_the_command.d.ts.map +0 -1
- package/dist/cjs/commands/for_Command/when_constructing_command.d.ts +0 -2
- package/dist/cjs/commands/for_Command/when_constructing_command.d.ts.map +0 -1
- package/dist/cjs/commands/for_Command/when_constructing_command_with_globals_api_base_path.d.ts +0 -2
- package/dist/cjs/commands/for_Command/when_constructing_command_with_globals_api_base_path.d.ts.map +0 -1
- package/dist/cjs/commands/for_Command/when_constructing_command_with_globals_origin.d.ts +0 -2
- package/dist/cjs/commands/for_Command/when_constructing_command_with_globals_origin.d.ts.map +0 -1
- package/dist/cjs/commands/for_Command/when_executing/and_command_route_not_found.d.ts +0 -2
- package/dist/cjs/commands/for_Command/when_executing/and_command_route_not_found.d.ts.map +0 -1
- package/dist/cjs/commands/for_Command/when_executing/and_fetch_throws_exception.d.ts +0 -2
- package/dist/cjs/commands/for_Command/when_executing/and_fetch_throws_exception.d.ts.map +0 -1
- package/dist/cjs/commands/for_Command/when_executing/with_allowed_severity_warning.d.ts +0 -2
- package/dist/cjs/commands/for_Command/when_executing/with_allowed_severity_warning.d.ts.map +0 -1
- package/dist/cjs/commands/for_Command/when_executing/with_client_validation_failing.d.ts +0 -2
- package/dist/cjs/commands/for_Command/when_executing/with_client_validation_failing.d.ts.map +0 -1
- package/dist/cjs/commands/for_Command/when_executing/with_client_validation_failure_and_custom_message.d.ts +0 -2
- package/dist/cjs/commands/for_Command/when_executing/with_client_validation_failure_and_custom_message.d.ts.map +0 -1
- package/dist/cjs/commands/for_Command/when_executing/with_client_validation_passing.d.ts +0 -2
- package/dist/cjs/commands/for_Command/when_executing/with_client_validation_passing.d.ts.map +0 -1
- package/dist/cjs/commands/for_Command/when_executing/with_command_properties.d.ts +0 -2
- package/dist/cjs/commands/for_Command/when_executing/with_command_properties.d.ts.map +0 -1
- package/dist/cjs/commands/for_Command/when_executing/with_custom_http_headers.d.ts +0 -2
- package/dist/cjs/commands/for_Command/when_executing/with_custom_http_headers.d.ts.map +0 -1
- package/dist/cjs/commands/for_Command/when_executing/with_empty_required_string_property.d.ts +0 -2
- package/dist/cjs/commands/for_Command/when_executing/with_empty_required_string_property.d.ts.map +0 -1
- package/dist/cjs/commands/for_Command/when_executing/with_microservice_header.d.ts +0 -2
- package/dist/cjs/commands/for_Command/when_executing/with_microservice_header.d.ts.map +0 -1
- package/dist/cjs/commands/for_Command/when_executing/with_missing_required_property.d.ts +0 -2
- package/dist/cjs/commands/for_Command/when_executing/with_missing_required_property.d.ts.map +0 -1
- package/dist/cjs/commands/for_Command/when_executing/with_null_required_property.d.ts +0 -2
- package/dist/cjs/commands/for_Command/when_executing/with_null_required_property.d.ts.map +0 -1
- package/dist/cjs/commands/for_Command/when_executing/with_origin_and_api_base_path.d.ts +0 -2
- package/dist/cjs/commands/for_Command/when_executing/with_origin_and_api_base_path.d.ts.map +0 -1
- package/dist/cjs/commands/for_Command/when_executing/with_route_parameters.d.ts +0 -2
- package/dist/cjs/commands/for_Command/when_executing/with_route_parameters.d.ts.map +0 -1
- package/dist/cjs/commands/for_Command/when_executing/with_successful_response.d.ts +0 -2
- package/dist/cjs/commands/for_Command/when_executing/with_successful_response.d.ts.map +0 -1
- package/dist/cjs/commands/for_Command/when_property_changed_value_that_is_different_from_initial_value.d.ts +0 -2
- package/dist/cjs/commands/for_Command/when_property_changed_value_that_is_different_from_initial_value.d.ts.map +0 -1
- package/dist/cjs/commands/for_Command/when_property_changed_value_that_is_same_as_initial_value.d.ts +0 -2
- package/dist/cjs/commands/for_Command/when_property_changed_value_that_is_same_as_initial_value.d.ts.map +0 -1
- package/dist/cjs/commands/for_Command/when_property_changes_and_initial_value_is_undefined.d.ts +0 -2
- package/dist/cjs/commands/for_Command/when_property_changes_and_initial_value_is_undefined.d.ts.map +0 -1
- package/dist/cjs/commands/for_Command/when_property_changes_and_there_is_a_callback.d.ts +0 -2
- package/dist/cjs/commands/for_Command/when_property_changes_and_there_is_a_callback.d.ts.map +0 -1
- package/dist/cjs/commands/for_Command/when_property_has_changed_and_we_revert.d.ts +0 -2
- package/dist/cjs/commands/for_Command/when_property_has_changed_and_we_revert.d.ts.map +0 -1
- package/dist/cjs/commands/for_Command/when_setting_initial_values_after_property_changed.d.ts +0 -2
- package/dist/cjs/commands/for_Command/when_setting_initial_values_after_property_changed.d.ts.map +0 -1
- package/dist/cjs/commands/for_Command/when_validating/and_fetch_throws_exception.d.ts +0 -2
- package/dist/cjs/commands/for_Command/when_validating/and_fetch_throws_exception.d.ts.map +0 -1
- package/dist/cjs/commands/for_Command/when_validating/and_validation_endpoint_not_found.d.ts +0 -2
- package/dist/cjs/commands/for_Command/when_validating/and_validation_endpoint_not_found.d.ts.map +0 -1
- package/dist/cjs/commands/for_Command/when_validating/does_not_update_initial_values.d.ts +0 -2
- package/dist/cjs/commands/for_Command/when_validating/does_not_update_initial_values.d.ts.map +0 -1
- package/dist/cjs/commands/for_Command/when_validating/with_client_validation_failure.d.ts +0 -2
- package/dist/cjs/commands/for_Command/when_validating/with_client_validation_failure.d.ts.map +0 -1
- package/dist/cjs/commands/for_Command/when_validating/with_client_validation_passing.d.ts +0 -2
- package/dist/cjs/commands/for_Command/when_validating/with_client_validation_passing.d.ts.map +0 -1
- package/dist/cjs/commands/for_Command/when_validating/with_empty_required_string_property.d.ts +0 -2
- package/dist/cjs/commands/for_Command/when_validating/with_empty_required_string_property.d.ts.map +0 -1
- package/dist/cjs/commands/for_Command/when_validating/with_null_required_property.d.ts +0 -2
- package/dist/cjs/commands/for_Command/when_validating/with_null_required_property.d.ts.map +0 -1
- package/dist/cjs/commands/for_Command/when_validating/with_required_property_missing.d.ts +0 -2
- package/dist/cjs/commands/for_Command/when_validating/with_required_property_missing.d.ts.map +0 -1
- package/dist/cjs/commands/for_Command/when_validating/with_route_parameters.d.ts +0 -2
- package/dist/cjs/commands/for_Command/when_validating/with_route_parameters.d.ts.map +0 -1
- package/dist/cjs/commands/for_Command/when_validating/with_successful_response.d.ts +0 -2
- package/dist/cjs/commands/for_Command/when_validating/with_successful_response.d.ts.map +0 -1
- package/dist/cjs/commands/for_Command/when_validating/with_validation_errors.d.ts +0 -2
- package/dist/cjs/commands/for_Command/when_validating/with_validation_errors.d.ts.map +0 -1
- package/dist/cjs/commands/for_Command/when_validating_client_side/with_client_validation_failure.d.ts +0 -2
- package/dist/cjs/commands/for_Command/when_validating_client_side/with_client_validation_failure.d.ts.map +0 -1
- package/dist/cjs/commands/for_Command/when_validating_client_side/with_client_validation_passing.d.ts +0 -2
- package/dist/cjs/commands/for_Command/when_validating_client_side/with_client_validation_passing.d.ts.map +0 -1
- package/dist/cjs/commands/for_Command/when_validating_client_side/with_required_property_missing.d.ts +0 -2
- package/dist/cjs/commands/for_Command/when_validating_client_side/with_required_property_missing.d.ts.map +0 -1
- package/dist/cjs/commands/for_CommandResult/when_chaining_callbacks/and_result_has_exceptions.d.ts +0 -2
- package/dist/cjs/commands/for_CommandResult/when_chaining_callbacks/and_result_has_exceptions.d.ts.map +0 -1
- package/dist/cjs/commands/for_CommandResult/when_chaining_callbacks/and_result_is_invalid.d.ts +0 -2
- package/dist/cjs/commands/for_CommandResult/when_chaining_callbacks/and_result_is_invalid.d.ts.map +0 -1
- package/dist/cjs/commands/for_CommandResult/when_chaining_callbacks/and_result_is_successful.d.ts +0 -2
- package/dist/cjs/commands/for_CommandResult/when_chaining_callbacks/and_result_is_successful.d.ts.map +0 -1
- package/dist/cjs/commands/for_CommandResult/when_chaining_callbacks/and_result_is_unauthorized.d.ts +0 -2
- package/dist/cjs/commands/for_CommandResult/when_chaining_callbacks/and_result_is_unauthorized.d.ts.map +0 -1
- package/dist/cjs/commands/for_CommandResult/when_constructing_with_primitive_response.d.ts +0 -2
- package/dist/cjs/commands/for_CommandResult/when_constructing_with_primitive_response.d.ts.map +0 -1
- package/dist/cjs/commands/index.d.ts +0 -8
- package/dist/cjs/commands/index.d.ts.map +0 -1
- package/dist/cjs/deepEqual.d.ts +0 -2
- package/dist/cjs/deepEqual.d.ts.map +0 -1
- package/dist/cjs/given.d.ts +0 -5
- package/dist/cjs/given.d.ts.map +0 -1
- package/dist/cjs/helpers/fetchHelper.d.ts +0 -7
- package/dist/cjs/helpers/fetchHelper.d.ts.map +0 -1
- package/dist/cjs/identity/IIdentity.d.ts +0 -10
- package/dist/cjs/identity/IIdentity.d.ts.map +0 -1
- package/dist/cjs/identity/IIdentityProvider.d.ts +0 -6
- package/dist/cjs/identity/IIdentityProvider.d.ts.map +0 -1
- package/dist/cjs/identity/IdentityProvider.d.ts +0 -20
- package/dist/cjs/identity/IdentityProvider.d.ts.map +0 -1
- package/dist/cjs/identity/IdentityProviderResult.d.ts +0 -7
- package/dist/cjs/identity/IdentityProviderResult.d.ts.map +0 -1
- package/dist/cjs/identity/for_IdentityProvider/given/an_identity_provider.d.ts +0 -12
- package/dist/cjs/identity/for_IdentityProvider/given/an_identity_provider.d.ts.map +0 -1
- package/dist/cjs/identity/for_IdentityProvider/when_getting_current/with_roles.d.ts +0 -2
- package/dist/cjs/identity/for_IdentityProvider/when_getting_current/with_roles.d.ts.map +0 -1
- package/dist/cjs/identity/for_IdentityProvider/when_getting_current/with_type_safe_details.d.ts +0 -2
- package/dist/cjs/identity/for_IdentityProvider/when_getting_current/with_type_safe_details.d.ts.map +0 -1
- package/dist/cjs/identity/for_IdentityProvider/when_getting_current/without_roles.d.ts +0 -2
- package/dist/cjs/identity/for_IdentityProvider/when_getting_current/without_roles.d.ts.map +0 -1
- package/dist/cjs/identity/for_IdentityProvider/when_refreshing/with_api_base_path_set.d.ts +0 -2
- package/dist/cjs/identity/for_IdentityProvider/when_refreshing/with_api_base_path_set.d.ts.map +0 -1
- package/dist/cjs/identity/for_IdentityProvider/when_refreshing/with_globals_api_base_path.d.ts +0 -2
- package/dist/cjs/identity/for_IdentityProvider/when_refreshing/with_globals_api_base_path.d.ts.map +0 -1
- package/dist/cjs/identity/for_IdentityProvider/when_refreshing/with_origin_set.d.ts +0 -2
- package/dist/cjs/identity/for_IdentityProvider/when_refreshing/with_origin_set.d.ts.map +0 -1
- package/dist/cjs/identity/for_IdentityProvider/when_refreshing/with_type_safe_details.d.ts +0 -2
- package/dist/cjs/identity/for_IdentityProvider/when_refreshing/with_type_safe_details.d.ts.map +0 -1
- package/dist/cjs/identity/for_IdentityProvider/when_refreshing/with_unauthorized_response.d.ts +0 -2
- package/dist/cjs/identity/for_IdentityProvider/when_refreshing/with_unauthorized_response.d.ts.map +0 -1
- package/dist/cjs/identity/for_IdentityProvider/when_refreshing/without_api_base_path.d.ts +0 -2
- package/dist/cjs/identity/for_IdentityProvider/when_refreshing/without_api_base_path.d.ts.map +0 -1
- package/dist/cjs/identity/for_IdentityProvider/when_setting_api_base_path.d.ts +0 -2
- package/dist/cjs/identity/for_IdentityProvider/when_setting_api_base_path.d.ts.map +0 -1
- package/dist/cjs/identity/for_IdentityProvider/when_setting_origin.d.ts +0 -2
- package/dist/cjs/identity/for_IdentityProvider/when_setting_origin.d.ts.map +0 -1
- package/dist/cjs/identity/index.d.ts +0 -5
- package/dist/cjs/identity/index.d.ts.map +0 -1
- package/dist/cjs/index.d.ts +0 -14
- package/dist/cjs/index.d.ts.map +0 -1
- package/dist/cjs/joinPaths.d.ts +0 -2
- package/dist/cjs/joinPaths.d.ts.map +0 -1
- package/dist/cjs/messaging/IMessenger.d.ts +0 -10
- package/dist/cjs/messaging/IMessenger.d.ts.map +0 -1
- package/dist/cjs/messaging/Message.d.ts +0 -7
- package/dist/cjs/messaging/Message.d.ts.map +0 -1
- package/dist/cjs/messaging/Messenger.d.ts +0 -20
- package/dist/cjs/messaging/Messenger.d.ts.map +0 -1
- package/dist/cjs/messaging/for_Messenger/when_scoping_messages.d.ts +0 -2
- package/dist/cjs/messaging/for_Messenger/when_scoping_messages.d.ts.map +0 -1
- package/dist/cjs/messaging/index.d.ts +0 -4
- package/dist/cjs/messaging/index.d.ts.map +0 -1
- package/dist/cjs/queries/ChangeSet.d.ts +0 -6
- package/dist/cjs/queries/ChangeSet.d.ts.map +0 -1
- package/dist/cjs/queries/HubConnectionKeepAlive.d.ts +0 -12
- package/dist/cjs/queries/HubConnectionKeepAlive.d.ts.map +0 -1
- package/dist/cjs/queries/IChangeStreamFor.d.ts +0 -4
- package/dist/cjs/queries/IChangeStreamFor.d.ts.map +0 -1
- package/dist/cjs/queries/IObservableQueryConnection.d.ts +0 -8
- package/dist/cjs/queries/IObservableQueryConnection.d.ts.map +0 -1
- package/dist/cjs/queries/IObservableQueryDiagnostics.d.ts +0 -9
- package/dist/cjs/queries/IObservableQueryDiagnostics.d.ts.map +0 -1
- package/dist/cjs/queries/IObservableQueryFor.d.ts +0 -14
- package/dist/cjs/queries/IObservableQueryFor.d.ts.map +0 -1
- package/dist/cjs/queries/IObservableQueryHubConnection.d.ts +0 -12
- package/dist/cjs/queries/IObservableQueryHubConnection.d.ts.map +0 -1
- package/dist/cjs/queries/IQuery.d.ts +0 -10
- package/dist/cjs/queries/IQuery.d.ts.map +0 -1
- package/dist/cjs/queries/IQueryFor.d.ts +0 -13
- package/dist/cjs/queries/IQueryFor.d.ts.map +0 -1
- package/dist/cjs/queries/IQueryProvider.d.ts +0 -6
- package/dist/cjs/queries/IQueryProvider.d.ts.map +0 -1
- package/dist/cjs/queries/IQueryResult.d.ts +0 -17
- package/dist/cjs/queries/IQueryResult.d.ts.map +0 -1
- package/dist/cjs/queries/IReconnectPolicy.d.ts +0 -8
- package/dist/cjs/queries/IReconnectPolicy.d.ts.map +0 -1
- package/dist/cjs/queries/NullObservableQueryConnection.d.ts +0 -11
- package/dist/cjs/queries/NullObservableQueryConnection.d.ts.map +0 -1
- package/dist/cjs/queries/ObservableQueryConnection.d.ts +0 -29
- package/dist/cjs/queries/ObservableQueryConnection.d.ts.map +0 -1
- package/dist/cjs/queries/ObservableQueryConnectionFactory.d.ts +0 -13
- package/dist/cjs/queries/ObservableQueryConnectionFactory.d.ts.map +0 -1
- package/dist/cjs/queries/ObservableQueryConnectionPool.d.ts +0 -9
- package/dist/cjs/queries/ObservableQueryConnectionPool.d.ts.map +0 -1
- package/dist/cjs/queries/ObservableQueryDiagnostics.d.ts +0 -21
- package/dist/cjs/queries/ObservableQueryDiagnostics.d.ts.map +0 -1
- package/dist/cjs/queries/ObservableQueryDiagnosticsSnapshot.d.ts +0 -48
- package/dist/cjs/queries/ObservableQueryDiagnosticsSnapshot.d.ts.map +0 -1
- package/dist/cjs/queries/ObservableQueryFor.d.ts +0 -37
- package/dist/cjs/queries/ObservableQueryFor.d.ts.map +0 -1
- package/dist/cjs/queries/ObservableQueryMultiplexer.d.ts +0 -33
- package/dist/cjs/queries/ObservableQueryMultiplexer.d.ts.map +0 -1
- package/dist/cjs/queries/ObservableQuerySubscription.d.ts +0 -7
- package/dist/cjs/queries/ObservableQuerySubscription.d.ts.map +0 -1
- package/dist/cjs/queries/Paging.d.ts +0 -8
- package/dist/cjs/queries/Paging.d.ts.map +0 -1
- package/dist/cjs/queries/PagingInfo.d.ts +0 -9
- package/dist/cjs/queries/PagingInfo.d.ts.map +0 -1
- package/dist/cjs/queries/QueryFor.d.ts +0 -34
- package/dist/cjs/queries/QueryFor.d.ts.map +0 -1
- package/dist/cjs/queries/QueryInstanceCache.d.ts +0 -39
- package/dist/cjs/queries/QueryInstanceCache.d.ts.map +0 -1
- package/dist/cjs/queries/QueryProvider.d.ts +0 -13
- package/dist/cjs/queries/QueryProvider.d.ts.map +0 -1
- package/dist/cjs/queries/QueryResult.d.ts +0 -53
- package/dist/cjs/queries/QueryResult.d.ts.map +0 -1
- package/dist/cjs/queries/QueryResultWithState.d.ts +0 -24
- package/dist/cjs/queries/QueryResultWithState.d.ts.map +0 -1
- package/dist/cjs/queries/QueryTransportMethod.d.ts +0 -5
- package/dist/cjs/queries/QueryTransportMethod.d.ts.map +0 -1
- package/dist/cjs/queries/QueryValidator.d.ts +0 -6
- package/dist/cjs/queries/QueryValidator.d.ts.map +0 -1
- package/dist/cjs/queries/ReconnectPolicy.d.ts +0 -15
- package/dist/cjs/queries/ReconnectPolicy.d.ts.map +0 -1
- package/dist/cjs/queries/ServerSentEventHubConnection.d.ts +0 -41
- package/dist/cjs/queries/ServerSentEventHubConnection.d.ts.map +0 -1
- package/dist/cjs/queries/ServerSentEventQueryConnection.d.ts +0 -14
- package/dist/cjs/queries/ServerSentEventQueryConnection.d.ts.map +0 -1
- package/dist/cjs/queries/SortDirection.d.ts +0 -6
- package/dist/cjs/queries/SortDirection.d.ts.map +0 -1
- package/dist/cjs/queries/Sorting.d.ts +0 -9
- package/dist/cjs/queries/Sorting.d.ts.map +0 -1
- package/dist/cjs/queries/SortingActions.d.ts +0 -10
- package/dist/cjs/queries/SortingActions.d.ts.map +0 -1
- package/dist/cjs/queries/SortingActionsForObservableQuery.d.ts +0 -10
- package/dist/cjs/queries/SortingActionsForObservableQuery.d.ts.map +0 -1
- package/dist/cjs/queries/SortingActionsForQuery.d.ts +0 -10
- package/dist/cjs/queries/SortingActionsForQuery.d.ts.map +0 -1
- package/dist/cjs/queries/ValidateRequestArguments.d.ts +0 -2
- package/dist/cjs/queries/ValidateRequestArguments.d.ts.map +0 -1
- package/dist/cjs/queries/WebSocketHubConnection.d.ts +0 -58
- package/dist/cjs/queries/WebSocketHubConnection.d.ts.map +0 -1
- package/dist/cjs/queries/WebSocketMessage.d.ts +0 -11
- package/dist/cjs/queries/WebSocketMessage.d.ts.map +0 -1
- package/dist/cjs/queries/for_HubConnectionKeepAlive/behavior.d.ts +0 -2
- package/dist/cjs/queries/for_HubConnectionKeepAlive/behavior.d.ts.map +0 -1
- package/dist/cjs/queries/for_HubConnectionKeepAlive/when_started_with_custom_idle_threshold/respects_threshold.d.ts +0 -2
- package/dist/cjs/queries/for_HubConnectionKeepAlive/when_started_with_custom_idle_threshold/respects_threshold.d.ts.map +0 -1
- package/dist/cjs/queries/for_ObservableQueryConnection/given/an_observable_query_connection.d.ts +0 -9
- package/dist/cjs/queries/for_ObservableQueryConnection/given/an_observable_query_connection.d.ts.map +0 -1
- package/dist/cjs/queries/for_ObservableQueryConnection/given/an_observable_query_connection_with_websocket.d.ts +0 -21
- package/dist/cjs/queries/for_ObservableQueryConnection/given/an_observable_query_connection_with_websocket.d.ts.map +0 -1
- package/dist/cjs/queries/for_ObservableQueryConnection/when_constructing.d.ts +0 -2
- package/dist/cjs/queries/for_ObservableQueryConnection/when_constructing.d.ts.map +0 -1
- package/dist/cjs/queries/for_ObservableQueryConnection/when_receiving_data_message_with_type.d.ts +0 -2
- package/dist/cjs/queries/for_ObservableQueryConnection/when_receiving_data_message_with_type.d.ts.map +0 -1
- package/dist/cjs/queries/for_ObservableQueryConnection/when_receiving_legacy_data_message.d.ts +0 -2
- package/dist/cjs/queries/for_ObservableQueryConnection/when_receiving_legacy_data_message.d.ts.map +0 -1
- package/dist/cjs/queries/for_ObservableQueryConnectionFactory/given/a_descriptor.d.ts +0 -9
- package/dist/cjs/queries/for_ObservableQueryConnectionFactory/given/a_descriptor.d.ts.map +0 -1
- package/dist/cjs/queries/for_ObservableQueryConnectionFactory/when_creating/with_direct_mode_and_sse_transport.d.ts +0 -2
- package/dist/cjs/queries/for_ObservableQueryConnectionFactory/when_creating/with_direct_mode_and_sse_transport.d.ts.map +0 -1
- package/dist/cjs/queries/for_ObservableQueryConnectionFactory/when_creating/with_direct_mode_and_websocket_transport.d.ts +0 -2
- package/dist/cjs/queries/for_ObservableQueryConnectionFactory/when_creating/with_direct_mode_and_websocket_transport.d.ts.map +0 -1
- package/dist/cjs/queries/for_ObservableQueryConnectionFactory/when_creating/with_hub_mode_and_sse_transport.d.ts +0 -2
- package/dist/cjs/queries/for_ObservableQueryConnectionFactory/when_creating/with_hub_mode_and_sse_transport.d.ts.map +0 -1
- package/dist/cjs/queries/for_ObservableQueryConnectionFactory/when_creating/with_hub_mode_and_sse_transport_and_connection_count_exceeding_safe_limit.d.ts +0 -2
- package/dist/cjs/queries/for_ObservableQueryConnectionFactory/when_creating/with_hub_mode_and_sse_transport_and_connection_count_exceeding_safe_limit.d.ts.map +0 -1
- package/dist/cjs/queries/for_ObservableQueryConnectionFactory/when_creating/with_hub_mode_and_sse_transport_and_connection_count_within_safe_limit.d.ts +0 -2
- package/dist/cjs/queries/for_ObservableQueryConnectionFactory/when_creating/with_hub_mode_and_sse_transport_and_connection_count_within_safe_limit.d.ts.map +0 -1
- package/dist/cjs/queries/for_ObservableQueryConnectionFactory/when_creating/with_hub_mode_and_websocket_transport.d.ts +0 -2
- package/dist/cjs/queries/for_ObservableQueryConnectionFactory/when_creating/with_hub_mode_and_websocket_transport.d.ts.map +0 -1
- package/dist/cjs/queries/for_ObservableQueryConnectionFactory/when_creating/with_hub_mode_and_websocket_transport_and_high_connection_count.d.ts +0 -2
- package/dist/cjs/queries/for_ObservableQueryConnectionFactory/when_creating/with_hub_mode_and_websocket_transport_and_high_connection_count.d.ts.map +0 -1
- package/dist/cjs/queries/for_ObservableQueryConnectionPool/when_acquiring/with_multiple_slots/and_least_loaded_slot_is_chosen.d.ts +0 -2
- package/dist/cjs/queries/for_ObservableQueryConnectionPool/when_acquiring/with_multiple_slots/and_least_loaded_slot_is_chosen.d.ts.map +0 -1
- package/dist/cjs/queries/for_ObservableQueryConnectionPool/when_acquiring/with_multiple_slots/and_size_is_zero.d.ts +0 -2
- package/dist/cjs/queries/for_ObservableQueryConnectionPool/when_acquiring/with_multiple_slots/and_size_is_zero.d.ts.map +0 -1
- package/dist/cjs/queries/for_ObservableQueryConnectionPool/when_acquiring/with_single_slot/and_one_subscriber.d.ts +0 -2
- package/dist/cjs/queries/for_ObservableQueryConnectionPool/when_acquiring/with_single_slot/and_one_subscriber.d.ts.map +0 -1
- package/dist/cjs/queries/for_ObservableQueryDiagnostics/when_tracking_owners.d.ts +0 -2
- package/dist/cjs/queries/for_ObservableQueryDiagnostics/when_tracking_owners.d.ts.map +0 -1
- package/dist/cjs/queries/for_ObservableQueryFor/given/TestQueries.d.ts +0 -53
- package/dist/cjs/queries/for_ObservableQueryFor/given/TestQueries.d.ts.map +0 -1
- package/dist/cjs/queries/for_ObservableQueryFor/given/an_observable_query_for.d.ts +0 -10
- package/dist/cjs/queries/for_ObservableQueryFor/given/an_observable_query_for.d.ts.map +0 -1
- package/dist/cjs/queries/for_ObservableQueryFor/when_constructing.d.ts +0 -2
- package/dist/cjs/queries/for_ObservableQueryFor/when_constructing.d.ts.map +0 -1
- package/dist/cjs/queries/for_ObservableQueryFor/when_constructing_enumerable.d.ts +0 -2
- package/dist/cjs/queries/for_ObservableQueryFor/when_constructing_enumerable.d.ts.map +0 -1
- package/dist/cjs/queries/for_ObservableQueryFor/when_constructing_with_globals_api_base_path.d.ts +0 -2
- package/dist/cjs/queries/for_ObservableQueryFor/when_constructing_with_globals_api_base_path.d.ts.map +0 -1
- package/dist/cjs/queries/for_ObservableQueryFor/when_constructing_with_globals_origin.d.ts +0 -2
- package/dist/cjs/queries/for_ObservableQueryFor/when_constructing_with_globals_origin.d.ts.map +0 -1
- package/dist/cjs/queries/for_ObservableQueryFor/when_disposing.d.ts +0 -2
- package/dist/cjs/queries/for_ObservableQueryFor/when_disposing.d.ts.map +0 -1
- package/dist/cjs/queries/for_ObservableQueryFor/when_performing/with_enumerable_query.d.ts +0 -2
- package/dist/cjs/queries/for_ObservableQueryFor/when_performing/with_enumerable_query.d.ts.map +0 -1
- package/dist/cjs/queries/for_ObservableQueryFor/when_performing/with_invalid_arguments.d.ts +0 -2
- package/dist/cjs/queries/for_ObservableQueryFor/when_performing/with_invalid_arguments.d.ts.map +0 -1
- package/dist/cjs/queries/for_ObservableQueryFor/when_performing/with_paging.d.ts +0 -2
- package/dist/cjs/queries/for_ObservableQueryFor/when_performing/with_paging.d.ts.map +0 -1
- package/dist/cjs/queries/for_ObservableQueryFor/when_performing/with_parameter_descriptor_values.d.ts +0 -2
- package/dist/cjs/queries/for_ObservableQueryFor/when_performing/with_parameter_descriptor_values.d.ts.map +0 -1
- package/dist/cjs/queries/for_ObservableQueryFor/when_performing/with_partial_parameter_descriptor_values.d.ts +0 -2
- package/dist/cjs/queries/for_ObservableQueryFor/when_performing/with_partial_parameter_descriptor_values.d.ts.map +0 -1
- package/dist/cjs/queries/for_ObservableQueryFor/when_performing/with_partially_missing_required_arguments.d.ts +0 -2
- package/dist/cjs/queries/for_ObservableQueryFor/when_performing/with_partially_missing_required_arguments.d.ts.map +0 -1
- package/dist/cjs/queries/for_ObservableQueryFor/when_performing/with_route_parameters_and_unused_parameters.d.ts +0 -2
- package/dist/cjs/queries/for_ObservableQueryFor/when_performing/with_route_parameters_and_unused_parameters.d.ts.map +0 -1
- package/dist/cjs/queries/for_ObservableQueryFor/when_performing/with_sorting.d.ts +0 -2
- package/dist/cjs/queries/for_ObservableQueryFor/when_performing/with_sorting.d.ts.map +0 -1
- package/dist/cjs/queries/for_ObservableQueryFor/when_performing/with_valid_arguments.d.ts +0 -2
- package/dist/cjs/queries/for_ObservableQueryFor/when_performing/with_valid_arguments.d.ts.map +0 -1
- package/dist/cjs/queries/for_ObservableQueryFor/when_setting_api_base_path.d.ts +0 -2
- package/dist/cjs/queries/for_ObservableQueryFor/when_setting_api_base_path.d.ts.map +0 -1
- package/dist/cjs/queries/for_ObservableQueryFor/when_setting_microservice.d.ts +0 -2
- package/dist/cjs/queries/for_ObservableQueryFor/when_setting_microservice.d.ts.map +0 -1
- package/dist/cjs/queries/for_ObservableQueryFor/when_setting_origin.d.ts +0 -2
- package/dist/cjs/queries/for_ObservableQueryFor/when_setting_origin.d.ts.map +0 -1
- package/dist/cjs/queries/for_ObservableQueryFor/when_subscribing/with_direct_mode_and_sse_transport.d.ts +0 -2
- package/dist/cjs/queries/for_ObservableQueryFor/when_subscribing/with_direct_mode_and_sse_transport.d.ts.map +0 -1
- package/dist/cjs/queries/for_ObservableQueryFor/when_subscribing/with_direct_mode_disabled_and_sse_transport.d.ts +0 -2
- package/dist/cjs/queries/for_ObservableQueryFor/when_subscribing/with_direct_mode_disabled_and_sse_transport.d.ts.map +0 -1
- package/dist/cjs/queries/for_ObservableQueryFor/when_subscribing/with_direct_mode_enabled.d.ts +0 -2
- package/dist/cjs/queries/for_ObservableQueryFor/when_subscribing/with_direct_mode_enabled.d.ts.map +0 -1
- package/dist/cjs/queries/for_ObservableQueryFor/when_subscribing/with_enumerable_query.d.ts +0 -2
- package/dist/cjs/queries/for_ObservableQueryFor/when_subscribing/with_enumerable_query.d.ts.map +0 -1
- package/dist/cjs/queries/for_ObservableQueryFor/when_subscribing/with_hub_mode_and_multiple_required_route_parameters.d.ts +0 -2
- package/dist/cjs/queries/for_ObservableQueryFor/when_subscribing/with_hub_mode_and_multiple_required_route_parameters.d.ts.map +0 -1
- package/dist/cjs/queries/for_ObservableQueryFor/when_subscribing/with_hub_mode_and_sse_transport_and_null_or_undefined_args.d.ts +0 -2
- package/dist/cjs/queries/for_ObservableQueryFor/when_subscribing/with_hub_mode_and_sse_transport_and_null_or_undefined_args.d.ts.map +0 -1
- package/dist/cjs/queries/for_ObservableQueryFor/when_subscribing/with_hub_mode_and_sse_transport_and_route_and_query_args.d.ts +0 -2
- package/dist/cjs/queries/for_ObservableQueryFor/when_subscribing/with_hub_mode_and_sse_transport_and_route_and_query_args.d.ts.map +0 -1
- package/dist/cjs/queries/for_ObservableQueryFor/when_subscribing/with_hub_mode_and_stale_descriptor_backed_instance_property.d.ts +0 -2
- package/dist/cjs/queries/for_ObservableQueryFor/when_subscribing/with_hub_mode_and_stale_descriptor_backed_instance_property.d.ts.map +0 -1
- package/dist/cjs/queries/for_ObservableQueryFor/when_subscribing/with_invalid_arguments.d.ts +0 -2
- package/dist/cjs/queries/for_ObservableQueryFor/when_subscribing/with_invalid_arguments.d.ts.map +0 -1
- package/dist/cjs/queries/for_ObservableQueryFor/when_subscribing/with_paging.d.ts +0 -2
- package/dist/cjs/queries/for_ObservableQueryFor/when_subscribing/with_paging.d.ts.map +0 -1
- package/dist/cjs/queries/for_ObservableQueryFor/when_subscribing/with_partially_missing_required_arguments.d.ts +0 -2
- package/dist/cjs/queries/for_ObservableQueryFor/when_subscribing/with_partially_missing_required_arguments.d.ts.map +0 -1
- package/dist/cjs/queries/for_ObservableQueryFor/when_subscribing/with_route_and_query_args.d.ts +0 -2
- package/dist/cjs/queries/for_ObservableQueryFor/when_subscribing/with_route_and_query_args.d.ts.map +0 -1
- package/dist/cjs/queries/for_ObservableQueryFor/when_subscribing/with_sorting.d.ts +0 -2
- package/dist/cjs/queries/for_ObservableQueryFor/when_subscribing/with_sorting.d.ts.map +0 -1
- package/dist/cjs/queries/for_ObservableQueryFor/when_subscribing/with_valid_arguments.d.ts +0 -2
- package/dist/cjs/queries/for_ObservableQueryFor/when_subscribing/with_valid_arguments.d.ts.map +0 -1
- package/dist/cjs/queries/for_ObservableQueryMultiplexer/when_getting_or_creating/with_a_changed_cache_key.d.ts +0 -2
- package/dist/cjs/queries/for_ObservableQueryMultiplexer/when_getting_or_creating/with_a_changed_cache_key.d.ts.map +0 -1
- package/dist/cjs/queries/for_ObservableQueryMultiplexer/when_getting_or_creating/with_a_new_cache_key.d.ts +0 -2
- package/dist/cjs/queries/for_ObservableQueryMultiplexer/when_getting_or_creating/with_a_new_cache_key.d.ts.map +0 -1
- package/dist/cjs/queries/for_ObservableQueryMultiplexer/when_getting_or_creating/with_an_explicit_size.d.ts +0 -2
- package/dist/cjs/queries/for_ObservableQueryMultiplexer/when_getting_or_creating/with_an_explicit_size.d.ts.map +0 -1
- package/dist/cjs/queries/for_ObservableQueryMultiplexer/when_getting_or_creating/with_the_same_cache_key.d.ts +0 -2
- package/dist/cjs/queries/for_ObservableQueryMultiplexer/when_getting_or_creating/with_the_same_cache_key.d.ts.map +0 -1
- package/dist/cjs/queries/for_QueryFor/given/TestQueries.d.ts +0 -57
- package/dist/cjs/queries/for_QueryFor/given/TestQueries.d.ts.map +0 -1
- package/dist/cjs/queries/for_QueryFor/given/a_query_for.d.ts +0 -11
- package/dist/cjs/queries/for_QueryFor/given/a_query_for.d.ts.map +0 -1
- package/dist/cjs/queries/for_QueryFor/given/a_query_with_validator.d.ts +0 -35
- package/dist/cjs/queries/for_QueryFor/given/a_query_with_validator.d.ts.map +0 -1
- package/dist/cjs/queries/for_QueryFor/when_constructing.d.ts +0 -2
- package/dist/cjs/queries/for_QueryFor/when_constructing.d.ts.map +0 -1
- package/dist/cjs/queries/for_QueryFor/when_constructing_enumerable.d.ts +0 -2
- package/dist/cjs/queries/for_QueryFor/when_constructing_enumerable.d.ts.map +0 -1
- package/dist/cjs/queries/for_QueryFor/when_constructing_with_globals_api_base_path.d.ts +0 -2
- package/dist/cjs/queries/for_QueryFor/when_constructing_with_globals_api_base_path.d.ts.map +0 -1
- package/dist/cjs/queries/for_QueryFor/when_constructing_with_globals_origin.d.ts +0 -2
- package/dist/cjs/queries/for_QueryFor/when_constructing_with_globals_origin.d.ts.map +0 -1
- package/dist/cjs/queries/for_QueryFor/when_performing/with_abort_controller.d.ts +0 -2
- package/dist/cjs/queries/for_QueryFor/when_performing/with_abort_controller.d.ts.map +0 -1
- package/dist/cjs/queries/for_QueryFor/when_performing/with_client_validation_failing.d.ts +0 -2
- package/dist/cjs/queries/for_QueryFor/when_performing/with_client_validation_failing.d.ts.map +0 -1
- package/dist/cjs/queries/for_QueryFor/when_performing/with_client_validation_failure_and_custom_message.d.ts +0 -2
- package/dist/cjs/queries/for_QueryFor/when_performing/with_client_validation_failure_and_custom_message.d.ts.map +0 -1
- package/dist/cjs/queries/for_QueryFor/when_performing/with_client_validation_passing.d.ts +0 -2
- package/dist/cjs/queries/for_QueryFor/when_performing/with_client_validation_passing.d.ts.map +0 -1
- package/dist/cjs/queries/for_QueryFor/when_performing/with_enumerable_parameter_descriptor_values.d.ts +0 -2
- package/dist/cjs/queries/for_QueryFor/when_performing/with_enumerable_parameter_descriptor_values.d.ts.map +0 -1
- package/dist/cjs/queries/for_QueryFor/when_performing/with_enumerable_query.d.ts +0 -2
- package/dist/cjs/queries/for_QueryFor/when_performing/with_enumerable_query.d.ts.map +0 -1
- package/dist/cjs/queries/for_QueryFor/when_performing/with_fetch_error.d.ts +0 -2
- package/dist/cjs/queries/for_QueryFor/when_performing/with_fetch_error.d.ts.map +0 -1
- package/dist/cjs/queries/for_QueryFor/when_performing/with_invalid_arguments.d.ts +0 -2
- package/dist/cjs/queries/for_QueryFor/when_performing/with_invalid_arguments.d.ts.map +0 -1
- package/dist/cjs/queries/for_QueryFor/when_performing/with_json_parse_error.d.ts +0 -2
- package/dist/cjs/queries/for_QueryFor/when_performing/with_json_parse_error.d.ts.map +0 -1
- package/dist/cjs/queries/for_QueryFor/when_performing/with_paging.d.ts +0 -2
- package/dist/cjs/queries/for_QueryFor/when_performing/with_paging.d.ts.map +0 -1
- package/dist/cjs/queries/for_QueryFor/when_performing/with_parameter_descriptor_values.d.ts +0 -2
- package/dist/cjs/queries/for_QueryFor/when_performing/with_parameter_descriptor_values.d.ts.map +0 -1
- package/dist/cjs/queries/for_QueryFor/when_performing/with_partial_parameter_descriptor_values.d.ts +0 -2
- package/dist/cjs/queries/for_QueryFor/when_performing/with_partial_parameter_descriptor_values.d.ts.map +0 -1
- package/dist/cjs/queries/for_QueryFor/when_performing/with_partially_missing_required_arguments.d.ts +0 -2
- package/dist/cjs/queries/for_QueryFor/when_performing/with_partially_missing_required_arguments.d.ts.map +0 -1
- package/dist/cjs/queries/for_QueryFor/when_performing/with_query_without_required_parameters.d.ts +0 -2
- package/dist/cjs/queries/for_QueryFor/when_performing/with_query_without_required_parameters.d.ts.map +0 -1
- package/dist/cjs/queries/for_QueryFor/when_performing/with_route_parameters_and_unused_parameters.d.ts +0 -2
- package/dist/cjs/queries/for_QueryFor/when_performing/with_route_parameters_and_unused_parameters.d.ts.map +0 -1
- package/dist/cjs/queries/for_QueryFor/when_performing/with_sorting.d.ts +0 -2
- package/dist/cjs/queries/for_QueryFor/when_performing/with_sorting.d.ts.map +0 -1
- package/dist/cjs/queries/for_QueryFor/when_performing/with_valid_arguments.d.ts +0 -2
- package/dist/cjs/queries/for_QueryFor/when_performing/with_valid_arguments.d.ts.map +0 -1
- package/dist/cjs/queries/for_QueryFor/when_setting_api_base_path.d.ts +0 -2
- package/dist/cjs/queries/for_QueryFor/when_setting_api_base_path.d.ts.map +0 -1
- package/dist/cjs/queries/for_QueryFor/when_setting_microservice.d.ts +0 -2
- package/dist/cjs/queries/for_QueryFor/when_setting_microservice.d.ts.map +0 -1
- package/dist/cjs/queries/for_QueryFor/when_setting_origin.d.ts +0 -2
- package/dist/cjs/queries/for_QueryFor/when_setting_origin.d.ts.map +0 -1
- package/dist/cjs/queries/for_QueryInstanceCache/when_acquiring/after_release.d.ts +0 -2
- package/dist/cjs/queries/for_QueryInstanceCache/when_acquiring/after_release.d.ts.map +0 -1
- package/dist/cjs/queries/for_QueryInstanceCache/when_building_key/with_arguments.d.ts +0 -2
- package/dist/cjs/queries/for_QueryInstanceCache/when_building_key/with_arguments.d.ts.map +0 -1
- package/dist/cjs/queries/for_QueryInstanceCache/when_building_key/with_empty_arguments_object.d.ts +0 -2
- package/dist/cjs/queries/for_QueryInstanceCache/when_building_key/with_empty_arguments_object.d.ts.map +0 -1
- package/dist/cjs/queries/for_QueryInstanceCache/when_building_key/with_same_arguments_different_order.d.ts +0 -2
- package/dist/cjs/queries/for_QueryInstanceCache/when_building_key/with_same_arguments_different_order.d.ts.map +0 -1
- package/dist/cjs/queries/for_QueryInstanceCache/when_building_key/without_arguments.d.ts +0 -2
- package/dist/cjs/queries/for_QueryInstanceCache/when_building_key/without_arguments.d.ts.map +0 -1
- package/dist/cjs/queries/for_QueryInstanceCache/when_deferring_dispose/with_cancellation_before_timeout.d.ts +0 -2
- package/dist/cjs/queries/for_QueryInstanceCache/when_deferring_dispose/with_cancellation_before_timeout.d.ts.map +0 -1
- package/dist/cjs/queries/for_QueryInstanceCache/when_deferring_dispose/without_cancellation.d.ts +0 -2
- package/dist/cjs/queries/for_QueryInstanceCache/when_deferring_dispose/without_cancellation.d.ts.map +0 -1
- package/dist/cjs/queries/for_QueryInstanceCache/when_disposing/an_empty_cache.d.ts +0 -2
- package/dist/cjs/queries/for_QueryInstanceCache/when_disposing/an_empty_cache.d.ts.map +0 -1
- package/dist/cjs/queries/for_QueryInstanceCache/when_disposing/with_active_subscriptions.d.ts +0 -2
- package/dist/cjs/queries/for_QueryInstanceCache/when_disposing/with_active_subscriptions.d.ts.map +0 -1
- package/dist/cjs/queries/for_QueryInstanceCache/when_disposing/with_pending_deferred_cleanup.d.ts +0 -2
- package/dist/cjs/queries/for_QueryInstanceCache/when_disposing/with_pending_deferred_cleanup.d.ts.map +0 -1
- package/dist/cjs/queries/for_QueryInstanceCache/when_getting_last_result/with_no_result_stored.d.ts +0 -2
- package/dist/cjs/queries/for_QueryInstanceCache/when_getting_last_result/with_no_result_stored.d.ts.map +0 -1
- package/dist/cjs/queries/for_QueryInstanceCache/when_getting_last_result/with_stored_result.d.ts +0 -2
- package/dist/cjs/queries/for_QueryInstanceCache/when_getting_last_result/with_stored_result.d.ts.map +0 -1
- package/dist/cjs/queries/for_QueryInstanceCache/when_getting_or_creating/with_existing_entry.d.ts +0 -2
- package/dist/cjs/queries/for_QueryInstanceCache/when_getting_or_creating/with_existing_entry.d.ts.map +0 -1
- package/dist/cjs/queries/for_QueryInstanceCache/when_getting_or_creating/with_new_entry.d.ts +0 -2
- package/dist/cjs/queries/for_QueryInstanceCache/when_getting_or_creating/with_new_entry.d.ts.map +0 -1
- package/dist/cjs/queries/for_QueryInstanceCache/when_releasing/a_key_that_does_not_exist.d.ts +0 -2
- package/dist/cjs/queries/for_QueryInstanceCache/when_releasing/a_key_that_does_not_exist.d.ts.map +0 -1
- package/dist/cjs/queries/for_QueryInstanceCache/when_releasing/one_of_two_subscribers.d.ts +0 -2
- package/dist/cjs/queries/for_QueryInstanceCache/when_releasing/one_of_two_subscribers.d.ts.map +0 -1
- package/dist/cjs/queries/for_QueryInstanceCache/when_releasing/the_only_subscriber.d.ts +0 -2
- package/dist/cjs/queries/for_QueryInstanceCache/when_releasing/the_only_subscriber.d.ts.map +0 -1
- package/dist/cjs/queries/for_QueryInstanceCache/when_releasing/with_retention_timeout/after_timeout_elapses.d.ts +0 -2
- package/dist/cjs/queries/for_QueryInstanceCache/when_releasing/with_retention_timeout/after_timeout_elapses.d.ts.map +0 -1
- package/dist/cjs/queries/for_QueryInstanceCache/when_releasing/with_retention_timeout/before_timeout_elapses.d.ts +0 -2
- package/dist/cjs/queries/for_QueryInstanceCache/when_releasing/with_retention_timeout/before_timeout_elapses.d.ts.map +0 -1
- package/dist/cjs/queries/for_QueryInstanceCache/when_setting_last_result/with_a_result.d.ts +0 -2
- package/dist/cjs/queries/for_QueryInstanceCache/when_setting_last_result/with_a_result.d.ts.map +0 -1
- package/dist/cjs/queries/for_QueryInstanceCache/when_setting_last_result/with_changed_data.d.ts +0 -2
- package/dist/cjs/queries/for_QueryInstanceCache/when_setting_last_result/with_changed_data.d.ts.map +0 -1
- package/dist/cjs/queries/for_QueryInstanceCache/when_setting_last_result/with_identical_data_as_previous_result.d.ts +0 -2
- package/dist/cjs/queries/for_QueryInstanceCache/when_setting_last_result/with_identical_data_as_previous_result.d.ts.map +0 -1
- package/dist/cjs/queries/for_QueryInstanceCache/when_setting_last_result/without_previous_result.d.ts +0 -2
- package/dist/cjs/queries/for_QueryInstanceCache/when_setting_last_result/without_previous_result.d.ts.map +0 -1
- package/dist/cjs/queries/for_QueryInstanceCache/when_tearing_down_all_subscriptions/with_active_subscriptions.d.ts +0 -2
- package/dist/cjs/queries/for_QueryInstanceCache/when_tearing_down_all_subscriptions/with_active_subscriptions.d.ts.map +0 -1
- package/dist/cjs/queries/for_QueryInstanceCache/when_tearing_down_all_subscriptions/with_no_subscriptions.d.ts +0 -2
- package/dist/cjs/queries/for_QueryInstanceCache/when_tearing_down_all_subscriptions/with_no_subscriptions.d.ts.map +0 -1
- package/dist/cjs/queries/for_QueryInstanceCache/when_tearing_down_all_subscriptions/with_pending_deferred_cleanup.d.ts +0 -2
- package/dist/cjs/queries/for_QueryInstanceCache/when_tearing_down_all_subscriptions/with_pending_deferred_cleanup.d.ts.map +0 -1
- package/dist/cjs/queries/for_QueryResult/when_asking_has_data/and_it_an_array_with_items.d.ts +0 -2
- package/dist/cjs/queries/for_QueryResult/when_asking_has_data/and_it_an_array_with_items.d.ts.map +0 -1
- package/dist/cjs/queries/for_QueryResult/when_asking_has_data/and_it_is_defined_instance.d.ts +0 -2
- package/dist/cjs/queries/for_QueryResult/when_asking_has_data/and_it_is_defined_instance.d.ts.map +0 -1
- package/dist/cjs/queries/for_QueryResult/when_asking_has_data/and_it_is_empty_array.d.ts +0 -2
- package/dist/cjs/queries/for_QueryResult/when_asking_has_data/and_it_is_empty_array.d.ts.map +0 -1
- package/dist/cjs/queries/for_QueryResult/when_asking_has_data/and_it_is_null_for_enumerable.d.ts +0 -2
- package/dist/cjs/queries/for_QueryResult/when_asking_has_data/and_it_is_null_for_enumerable.d.ts.map +0 -1
- package/dist/cjs/queries/for_QueryResult/when_asking_has_data/and_it_is_null_for_non_enumerable.d.ts +0 -2
- package/dist/cjs/queries/for_QueryResult/when_asking_has_data/and_it_is_null_for_non_enumerable.d.ts.map +0 -1
- package/dist/cjs/queries/for_QueryResult/when_asking_has_data/and_it_is_undefined.d.ts +0 -2
- package/dist/cjs/queries/for_QueryResult/when_asking_has_data/and_it_is_undefined.d.ts.map +0 -1
- package/dist/cjs/queries/for_QueryResult/when_data_is_single_item_for_enumerable/and_it_is_an_array.d.ts +0 -2
- package/dist/cjs/queries/for_QueryResult/when_data_is_single_item_for_enumerable/and_it_is_an_array.d.ts.map +0 -1
- package/dist/cjs/queries/for_QueryResultWithState/when_creating_empty/with_null_default_value.d.ts +0 -2
- package/dist/cjs/queries/for_QueryResultWithState/when_creating_empty/with_null_default_value.d.ts.map +0 -1
- package/dist/cjs/queries/for_QueryResultWithState/when_creating_empty/with_undefined_default_value.d.ts +0 -2
- package/dist/cjs/queries/for_QueryResultWithState/when_creating_empty/with_undefined_default_value.d.ts.map +0 -1
- package/dist/cjs/queries/for_QueryResultWithState/when_creating_from_query_result/with_null_data.d.ts +0 -2
- package/dist/cjs/queries/for_QueryResultWithState/when_creating_from_query_result/with_null_data.d.ts.map +0 -1
- package/dist/cjs/queries/for_QueryResultWithState/when_creating_from_query_result/with_undefined_data.d.ts +0 -2
- package/dist/cjs/queries/for_QueryResultWithState/when_creating_from_query_result/with_undefined_data.d.ts.map +0 -1
- package/dist/cjs/queries/for_QueryResultWithState/when_creating_initial/with_null_default_value.d.ts +0 -2
- package/dist/cjs/queries/for_QueryResultWithState/when_creating_initial/with_null_default_value.d.ts.map +0 -1
- package/dist/cjs/queries/for_QueryResultWithState/when_creating_initial/with_undefined_default_value.d.ts +0 -2
- package/dist/cjs/queries/for_QueryResultWithState/when_creating_initial/with_undefined_default_value.d.ts.map +0 -1
- package/dist/cjs/queries/for_QueryResultWithState/when_creating_initial/with_valid_default_value.d.ts +0 -2
- package/dist/cjs/queries/for_QueryResultWithState/when_creating_initial/with_valid_default_value.d.ts.map +0 -1
- package/dist/cjs/queries/for_ReconnectPolicy/when_canceling/with_pending_timer.d.ts +0 -2
- package/dist/cjs/queries/for_ReconnectPolicy/when_canceling/with_pending_timer.d.ts.map +0 -1
- package/dist/cjs/queries/for_ReconnectPolicy/when_cancelling/with_pending_timer.d.ts +0 -2
- package/dist/cjs/queries/for_ReconnectPolicy/when_cancelling/with_pending_timer.d.ts.map +0 -1
- package/dist/cjs/queries/for_ReconnectPolicy/when_resetting/after_scheduling.d.ts +0 -2
- package/dist/cjs/queries/for_ReconnectPolicy/when_resetting/after_scheduling.d.ts.map +0 -1
- package/dist/cjs/queries/for_ReconnectPolicy/when_scheduling/and_max_attempts_not_reached/delay_is_capped_at_max.d.ts +0 -2
- package/dist/cjs/queries/for_ReconnectPolicy/when_scheduling/and_max_attempts_not_reached/delay_is_capped_at_max.d.ts.map +0 -1
- package/dist/cjs/queries/for_ReconnectPolicy/when_scheduling/and_max_attempts_not_reached/first_attempt.d.ts +0 -2
- package/dist/cjs/queries/for_ReconnectPolicy/when_scheduling/and_max_attempts_not_reached/first_attempt.d.ts.map +0 -1
- package/dist/cjs/queries/for_ReconnectPolicy/when_scheduling/and_max_attempts_reached/abandons_reconnect.d.ts +0 -2
- package/dist/cjs/queries/for_ReconnectPolicy/when_scheduling/and_max_attempts_reached/abandons_reconnect.d.ts.map +0 -1
- package/dist/cjs/queries/for_ReconnectPolicy/when_scheduling/and_rescheduled_before_first_fires/cancels_previous_timer.d.ts +0 -2
- package/dist/cjs/queries/for_ReconnectPolicy/when_scheduling/and_rescheduled_before_first_fires/cancels_previous_timer.d.ts.map +0 -1
- package/dist/cjs/queries/for_ServerSentEventHubConnection/given/a_server_sent_event_hub_connection.d.ts +0 -21
- package/dist/cjs/queries/for_ServerSentEventHubConnection/given/a_server_sent_event_hub_connection.d.ts.map +0 -1
- package/dist/cjs/queries/for_ServerSentEventHubConnection/when_connect_timeout_fires/triggers_reconnect.d.ts +0 -2
- package/dist/cjs/queries/for_ServerSentEventHubConnection/when_connect_timeout_fires/triggers_reconnect.d.ts.map +0 -1
- package/dist/cjs/queries/for_ServerSentEventHubConnection/when_disposing/cleans_up_resources.d.ts +0 -2
- package/dist/cjs/queries/for_ServerSentEventHubConnection/when_disposing/cleans_up_resources.d.ts.map +0 -1
- package/dist/cjs/queries/for_ServerSentEventHubConnection/when_keep_alive_is_idle/triggers_reconnect.d.ts +0 -2
- package/dist/cjs/queries/for_ServerSentEventHubConnection/when_keep_alive_is_idle/triggers_reconnect.d.ts.map +0 -1
- package/dist/cjs/queries/for_ServerSentEventHubConnection/when_receiving_unauthorized/notifies_subscriber_and_removes_subscription.d.ts +0 -2
- package/dist/cjs/queries/for_ServerSentEventHubConnection/when_receiving_unauthorized/notifies_subscriber_and_removes_subscription.d.ts.map +0 -1
- package/dist/cjs/queries/for_ServerSentEventHubConnection/when_reconnecting/after_error.d.ts +0 -2
- package/dist/cjs/queries/for_ServerSentEventHubConnection/when_reconnecting/after_error.d.ts.map +0 -1
- package/dist/cjs/queries/for_ServerSentEventHubConnection/when_subscribing/and_subscribe_post_fails.d.ts +0 -2
- package/dist/cjs/queries/for_ServerSentEventHubConnection/when_subscribing/and_subscribe_post_fails.d.ts.map +0 -1
- package/dist/cjs/queries/for_ServerSentEventHubConnection/when_subscribing/queues_until_connected.d.ts +0 -2
- package/dist/cjs/queries/for_ServerSentEventHubConnection/when_subscribing/queues_until_connected.d.ts.map +0 -1
- package/dist/cjs/queries/for_ServerSentEventHubConnection/when_subscribing/sends_subscribe_post.d.ts +0 -2
- package/dist/cjs/queries/for_ServerSentEventHubConnection/when_subscribing/sends_subscribe_post.d.ts.map +0 -1
- package/dist/cjs/queries/for_ServerSentEventHubConnection/when_unsubscribing/nulls_event_source_handlers_before_closing.d.ts +0 -2
- package/dist/cjs/queries/for_ServerSentEventHubConnection/when_unsubscribing/nulls_event_source_handlers_before_closing.d.ts.map +0 -1
- package/dist/cjs/queries/for_ServerSentEventHubConnection/when_unsubscribing/the_only_query.d.ts +0 -2
- package/dist/cjs/queries/for_ServerSentEventHubConnection/when_unsubscribing/the_only_query.d.ts.map +0 -1
- package/dist/cjs/queries/for_ServerSentEventQueryConnection/when_connecting/with_query_arguments.d.ts +0 -2
- package/dist/cjs/queries/for_ServerSentEventQueryConnection/when_connecting/with_query_arguments.d.ts.map +0 -1
- package/dist/cjs/queries/for_ServerSentEventQueryConnection/when_connecting/without_event_source_available.d.ts +0 -2
- package/dist/cjs/queries/for_ServerSentEventQueryConnection/when_connecting/without_event_source_available.d.ts.map +0 -1
- package/dist/cjs/queries/for_ServerSentEventQueryConnection/when_disconnecting/after_connecting.d.ts +0 -2
- package/dist/cjs/queries/for_ServerSentEventQueryConnection/when_disconnecting/after_connecting.d.ts.map +0 -1
- package/dist/cjs/queries/for_ServerSentEventQueryConnection/when_disconnecting/before_message_arrives.d.ts +0 -2
- package/dist/cjs/queries/for_ServerSentEventQueryConnection/when_disconnecting/before_message_arrives.d.ts.map +0 -1
- package/dist/cjs/queries/for_ValidateRequestArguments/when_validating_arguments/with_empty_string_value.d.ts +0 -2
- package/dist/cjs/queries/for_ValidateRequestArguments/when_validating_arguments/with_empty_string_value.d.ts.map +0 -1
- package/dist/cjs/queries/for_ValidateRequestArguments/when_validating_arguments/with_missing_property.d.ts +0 -2
- package/dist/cjs/queries/for_ValidateRequestArguments/when_validating_arguments/with_missing_property.d.ts.map +0 -1
- package/dist/cjs/queries/for_ValidateRequestArguments/when_validating_arguments/with_no_required_arguments.d.ts +0 -2
- package/dist/cjs/queries/for_ValidateRequestArguments/when_validating_arguments/with_no_required_arguments.d.ts.map +0 -1
- package/dist/cjs/queries/for_ValidateRequestArguments/when_validating_arguments/with_null_value.d.ts +0 -2
- package/dist/cjs/queries/for_ValidateRequestArguments/when_validating_arguments/with_null_value.d.ts.map +0 -1
- package/dist/cjs/queries/for_ValidateRequestArguments/when_validating_arguments/with_numeric_zero_value.d.ts +0 -2
- package/dist/cjs/queries/for_ValidateRequestArguments/when_validating_arguments/with_numeric_zero_value.d.ts.map +0 -1
- package/dist/cjs/queries/for_ValidateRequestArguments/when_validating_arguments/with_undefined_value.d.ts +0 -2
- package/dist/cjs/queries/for_ValidateRequestArguments/when_validating_arguments/with_undefined_value.d.ts.map +0 -1
- package/dist/cjs/queries/for_ValidateRequestArguments/when_validating_arguments/with_valid_string_value.d.ts +0 -2
- package/dist/cjs/queries/for_ValidateRequestArguments/when_validating_arguments/with_valid_string_value.d.ts.map +0 -1
- package/dist/cjs/queries/for_ValidateRequestArguments/when_validating_arguments/without_arguments_object.d.ts +0 -2
- package/dist/cjs/queries/for_ValidateRequestArguments/when_validating_arguments/without_arguments_object.d.ts.map +0 -1
- package/dist/cjs/queries/for_WebSocketHubConnection/given/a_web_socket_hub_connection.d.ts +0 -23
- package/dist/cjs/queries/for_WebSocketHubConnection/given/a_web_socket_hub_connection.d.ts.map +0 -1
- package/dist/cjs/queries/for_WebSocketHubConnection/when_disposing/cleans_up_resources.d.ts +0 -2
- package/dist/cjs/queries/for_WebSocketHubConnection/when_disposing/cleans_up_resources.d.ts.map +0 -1
- package/dist/cjs/queries/for_WebSocketHubConnection/when_keep_alive_is_idle/sends_a_ping.d.ts +0 -2
- package/dist/cjs/queries/for_WebSocketHubConnection/when_keep_alive_is_idle/sends_a_ping.d.ts.map +0 -1
- package/dist/cjs/queries/for_WebSocketHubConnection/when_receiving_a_message/resets_keep_alive_timer.d.ts +0 -2
- package/dist/cjs/queries/for_WebSocketHubConnection/when_receiving_a_message/resets_keep_alive_timer.d.ts.map +0 -1
- package/dist/cjs/queries/for_WebSocketHubConnection/when_receiving_unauthorized/notifies_subscriber_and_removes_subscription.d.ts +0 -2
- package/dist/cjs/queries/for_WebSocketHubConnection/when_receiving_unauthorized/notifies_subscriber_and_removes_subscription.d.ts.map +0 -1
- package/dist/cjs/queries/for_WebSocketHubConnection/when_reconnecting/after_unexpected_close.d.ts +0 -2
- package/dist/cjs/queries/for_WebSocketHubConnection/when_reconnecting/after_unexpected_close.d.ts.map +0 -1
- package/dist/cjs/queries/for_WebSocketHubConnection/when_reconnecting/resubscribes_all_queries.d.ts +0 -2
- package/dist/cjs/queries/for_WebSocketHubConnection/when_reconnecting/resubscribes_all_queries.d.ts.map +0 -1
- package/dist/cjs/queries/for_WebSocketHubConnection/when_subscribing/to_a_query.d.ts +0 -2
- package/dist/cjs/queries/for_WebSocketHubConnection/when_subscribing/to_a_query.d.ts.map +0 -1
- package/dist/cjs/queries/for_WebSocketHubConnection/when_unsubscribing/nulls_socket_handlers_before_closing.d.ts +0 -2
- package/dist/cjs/queries/for_WebSocketHubConnection/when_unsubscribing/nulls_socket_handlers_before_closing.d.ts.map +0 -1
- package/dist/cjs/queries/for_WebSocketHubConnection/when_unsubscribing/the_only_query.d.ts +0 -2
- package/dist/cjs/queries/for_WebSocketHubConnection/when_unsubscribing/the_only_query.d.ts.map +0 -1
- package/dist/cjs/queries/for_WebSocketMessage/when_creating_messages.d.ts +0 -2
- package/dist/cjs/queries/for_WebSocketMessage/when_creating_messages.d.ts.map +0 -1
- package/dist/cjs/queries/index.d.ts +0 -39
- package/dist/cjs/queries/index.d.ts.map +0 -1
- package/dist/cjs/reflection/IHaveParameters.d.ts +0 -5
- package/dist/cjs/reflection/IHaveParameters.d.ts.map +0 -1
- package/dist/cjs/reflection/ParameterDescriptor.d.ts +0 -8
- package/dist/cjs/reflection/ParameterDescriptor.d.ts.map +0 -1
- package/dist/cjs/reflection/ParametersHelper.d.ts +0 -5
- package/dist/cjs/reflection/ParametersHelper.d.ts.map +0 -1
- package/dist/cjs/reflection/PropertyDescriptor.d.ts +0 -8
- package/dist/cjs/reflection/PropertyDescriptor.d.ts.map +0 -1
- package/dist/cjs/reflection/index.d.ts +0 -5
- package/dist/cjs/reflection/index.d.ts.map +0 -1
- package/dist/cjs/validation/IValidationRule.d.ts +0 -5
- package/dist/cjs/validation/IValidationRule.d.ts.map +0 -1
- package/dist/cjs/validation/PropertyRule.d.ts +0 -11
- package/dist/cjs/validation/PropertyRule.d.ts.map +0 -1
- package/dist/cjs/validation/PropertyValidator.d.ts +0 -11
- package/dist/cjs/validation/PropertyValidator.d.ts.map +0 -1
- package/dist/cjs/validation/RuleBuilder.d.ts +0 -11
- package/dist/cjs/validation/RuleBuilder.d.ts.map +0 -1
- package/dist/cjs/validation/RuleBuilderExtensions.d.ts +0 -32
- package/dist/cjs/validation/RuleBuilderExtensions.d.ts.map +0 -1
- package/dist/cjs/validation/ValidationResult.d.ts +0 -9
- package/dist/cjs/validation/ValidationResult.d.ts.map +0 -1
- package/dist/cjs/validation/ValidationResultSeverity.d.ts +0 -7
- package/dist/cjs/validation/ValidationResultSeverity.d.ts.map +0 -1
- package/dist/cjs/validation/Validator.d.ts +0 -11
- package/dist/cjs/validation/Validator.d.ts.map +0 -1
- package/dist/cjs/validation/for_Validator/when_defining_multiple_rules_for_same_property.d.ts +0 -2
- package/dist/cjs/validation/for_Validator/when_defining_multiple_rules_for_same_property.d.ts.map +0 -1
- package/dist/cjs/validation/for_Validator/when_using_custom_error_message.d.ts +0 -2
- package/dist/cjs/validation/for_Validator/when_using_custom_error_message.d.ts.map +0 -1
- package/dist/cjs/validation/for_Validator/when_validating/with_all_rules_passing.d.ts +0 -2
- package/dist/cjs/validation/for_Validator/when_validating/with_all_rules_passing.d.ts.map +0 -1
- package/dist/cjs/validation/for_Validator/when_validating/with_multiple_rules_failing.d.ts +0 -2
- package/dist/cjs/validation/for_Validator/when_validating/with_multiple_rules_failing.d.ts.map +0 -1
- package/dist/cjs/validation/for_Validator/when_validating/with_one_rule_failing.d.ts +0 -2
- package/dist/cjs/validation/for_Validator/when_validating/with_one_rule_failing.d.ts.map +0 -1
- package/dist/cjs/validation/index.d.ts +0 -14
- package/dist/cjs/validation/index.d.ts.map +0 -1
- package/dist/cjs/validation/rules/ComparisonRules.d.ts +0 -22
- package/dist/cjs/validation/rules/ComparisonRules.d.ts.map +0 -1
- package/dist/cjs/validation/rules/EmailRule.d.ts +0 -7
- package/dist/cjs/validation/rules/EmailRule.d.ts.map +0 -1
- package/dist/cjs/validation/rules/LengthRules.d.ts +0 -18
- package/dist/cjs/validation/rules/LengthRules.d.ts.map +0 -1
- package/dist/cjs/validation/rules/NotEmptyRule.d.ts +0 -10
- package/dist/cjs/validation/rules/NotEmptyRule.d.ts.map +0 -1
- package/dist/cjs/validation/rules/PhoneRule.d.ts +0 -7
- package/dist/cjs/validation/rules/PhoneRule.d.ts.map +0 -1
- package/dist/cjs/validation/rules/RegexRule.d.ts +0 -7
- package/dist/cjs/validation/rules/RegexRule.d.ts.map +0 -1
- package/dist/cjs/validation/rules/UrlRule.d.ts +0 -7
- package/dist/cjs/validation/rules/UrlRule.d.ts.map +0 -1
- package/dist/cjs/validation/rules/for_EmailRule/when_validating/with_empty_string.d.ts +0 -2
- package/dist/cjs/validation/rules/for_EmailRule/when_validating/with_empty_string.d.ts.map +0 -1
- package/dist/cjs/validation/rules/for_EmailRule/when_validating/with_invalid_email.d.ts +0 -2
- package/dist/cjs/validation/rules/for_EmailRule/when_validating/with_invalid_email.d.ts.map +0 -1
- package/dist/cjs/validation/rules/for_EmailRule/when_validating/with_valid_email.d.ts +0 -2
- package/dist/cjs/validation/rules/for_EmailRule/when_validating/with_valid_email.d.ts.map +0 -1
- package/dist/cjs/validation/rules/for_GreaterThanOrEqualRule/when_validating/with_value_equal_to_threshold.d.ts +0 -2
- package/dist/cjs/validation/rules/for_GreaterThanOrEqualRule/when_validating/with_value_equal_to_threshold.d.ts.map +0 -1
- package/dist/cjs/validation/rules/for_GreaterThanRule/when_validating/with_value_equal_to_threshold.d.ts +0 -2
- package/dist/cjs/validation/rules/for_GreaterThanRule/when_validating/with_value_equal_to_threshold.d.ts.map +0 -1
- package/dist/cjs/validation/rules/for_GreaterThanRule/when_validating/with_value_greater_than_threshold.d.ts +0 -2
- package/dist/cjs/validation/rules/for_GreaterThanRule/when_validating/with_value_greater_than_threshold.d.ts.map +0 -1
- package/dist/cjs/validation/rules/for_GreaterThanRule/when_validating/with_value_less_than_threshold.d.ts +0 -2
- package/dist/cjs/validation/rules/for_GreaterThanRule/when_validating/with_value_less_than_threshold.d.ts.map +0 -1
- package/dist/cjs/validation/rules/for_LengthRule/when_validating/with_string_longer_than_maximum.d.ts +0 -2
- package/dist/cjs/validation/rules/for_LengthRule/when_validating/with_string_longer_than_maximum.d.ts.map +0 -1
- package/dist/cjs/validation/rules/for_LengthRule/when_validating/with_string_shorter_than_minimum.d.ts +0 -2
- package/dist/cjs/validation/rules/for_LengthRule/when_validating/with_string_shorter_than_minimum.d.ts.map +0 -1
- package/dist/cjs/validation/rules/for_LengthRule/when_validating/with_string_within_range.d.ts +0 -2
- package/dist/cjs/validation/rules/for_LengthRule/when_validating/with_string_within_range.d.ts.map +0 -1
- package/dist/cjs/validation/rules/for_LessThanRule/when_validating/with_value_less_than_threshold.d.ts +0 -2
- package/dist/cjs/validation/rules/for_LessThanRule/when_validating/with_value_less_than_threshold.d.ts.map +0 -1
- package/dist/cjs/validation/rules/for_MaxLengthRule/when_validating/with_string_equal_to_maximum.d.ts +0 -2
- package/dist/cjs/validation/rules/for_MaxLengthRule/when_validating/with_string_equal_to_maximum.d.ts.map +0 -1
- package/dist/cjs/validation/rules/for_MaxLengthRule/when_validating/with_string_longer_than_maximum.d.ts +0 -2
- package/dist/cjs/validation/rules/for_MaxLengthRule/when_validating/with_string_longer_than_maximum.d.ts.map +0 -1
- package/dist/cjs/validation/rules/for_MinLengthRule/when_validating/with_string_equal_to_minimum.d.ts +0 -2
- package/dist/cjs/validation/rules/for_MinLengthRule/when_validating/with_string_equal_to_minimum.d.ts.map +0 -1
- package/dist/cjs/validation/rules/for_MinLengthRule/when_validating/with_string_longer_than_minimum.d.ts +0 -2
- package/dist/cjs/validation/rules/for_MinLengthRule/when_validating/with_string_longer_than_minimum.d.ts.map +0 -1
- package/dist/cjs/validation/rules/for_MinLengthRule/when_validating/with_string_shorter_than_minimum.d.ts +0 -2
- package/dist/cjs/validation/rules/for_MinLengthRule/when_validating/with_string_shorter_than_minimum.d.ts.map +0 -1
- package/dist/cjs/validation/rules/for_NotEmptyRule/when_setting_custom_message.d.ts +0 -2
- package/dist/cjs/validation/rules/for_NotEmptyRule/when_setting_custom_message.d.ts.map +0 -1
- package/dist/cjs/validation/rules/for_NotEmptyRule/when_validating/with_empty_array.d.ts +0 -2
- package/dist/cjs/validation/rules/for_NotEmptyRule/when_validating/with_empty_array.d.ts.map +0 -1
- package/dist/cjs/validation/rules/for_NotEmptyRule/when_validating/with_empty_string.d.ts +0 -2
- package/dist/cjs/validation/rules/for_NotEmptyRule/when_validating/with_empty_string.d.ts.map +0 -1
- package/dist/cjs/validation/rules/for_NotEmptyRule/when_validating/with_non_empty_array.d.ts +0 -2
- package/dist/cjs/validation/rules/for_NotEmptyRule/when_validating/with_non_empty_array.d.ts.map +0 -1
- package/dist/cjs/validation/rules/for_NotEmptyRule/when_validating/with_null_value.d.ts +0 -2
- package/dist/cjs/validation/rules/for_NotEmptyRule/when_validating/with_null_value.d.ts.map +0 -1
- package/dist/cjs/validation/rules/for_NotEmptyRule/when_validating/with_undefined_value.d.ts +0 -2
- package/dist/cjs/validation/rules/for_NotEmptyRule/when_validating/with_undefined_value.d.ts.map +0 -1
- package/dist/cjs/validation/rules/for_NotEmptyRule/when_validating/with_valid_string.d.ts +0 -2
- package/dist/cjs/validation/rules/for_NotEmptyRule/when_validating/with_valid_string.d.ts.map +0 -1
- package/dist/cjs/validation/rules/for_NotEmptyRule/when_validating/with_whitespace_string.d.ts +0 -2
- package/dist/cjs/validation/rules/for_NotEmptyRule/when_validating/with_whitespace_string.d.ts.map +0 -1
|
@@ -2,15 +2,27 @@
|
|
|
2
2
|
|
|
3
3
|
var SortDirection = require('./SortDirection.js');
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
// Copyright (c) Cratis. All rights reserved.
|
|
6
|
+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
7
|
+
/**
|
|
8
|
+
* Represents sorting for a query.
|
|
9
|
+
*/ class Sorting {
|
|
6
10
|
field;
|
|
7
11
|
direction;
|
|
8
|
-
|
|
9
|
-
|
|
12
|
+
/**
|
|
13
|
+
* No sorting.
|
|
14
|
+
*/ static none = new Sorting('', SortDirection.SortDirection.ascending);
|
|
15
|
+
/**
|
|
16
|
+
* Initializes a new instance of the {@link Sorting} class.
|
|
17
|
+
* @param {string} field The field to sort by.
|
|
18
|
+
* @param {SortDirection} direction The {@link SortDirection} to sort by.
|
|
19
|
+
*/ constructor(field, direction){
|
|
10
20
|
this.field = field;
|
|
11
21
|
this.direction = direction;
|
|
12
22
|
}
|
|
13
|
-
|
|
23
|
+
/**
|
|
24
|
+
* Gets whether sorting is enabled.
|
|
25
|
+
*/ get hasSorting() {
|
|
14
26
|
return this.field !== '';
|
|
15
27
|
}
|
|
16
28
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Sorting.js","sources":["../../../queries/Sorting.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 { SortDirection } from './SortDirection';\n\n/**\n * Represents sorting for a query.\n */\nexport class Sorting {\n\n /**\n * No sorting.\n */\n static none: Sorting = new Sorting('', SortDirection.ascending);\n\n /**\n * Initializes a new instance of the {@link Sorting} class.\n * @param {string} field The field to sort by.\n * @param {SortDirection} direction The {@link SortDirection} to sort by.\n */\n constructor(readonly field: string, readonly direction: SortDirection) {\n }\n\n /**\n * Gets whether sorting is enabled.\n */\n get hasSorting(): boolean {\n return this.field !== '';\n }\n}"],"names":["SortDirection"],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"Sorting.js","sources":["../../../queries/Sorting.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 { SortDirection } from './SortDirection';\n\n/**\n * Represents sorting for a query.\n */\nexport class Sorting {\n\n /**\n * No sorting.\n */\n static none: Sorting = new Sorting('', SortDirection.ascending);\n\n /**\n * Initializes a new instance of the {@link Sorting} class.\n * @param {string} field The field to sort by.\n * @param {SortDirection} direction The {@link SortDirection} to sort by.\n */\n constructor(readonly field: string, readonly direction: SortDirection) {\n }\n\n /**\n * Gets whether sorting is enabled.\n */\n get hasSorting(): boolean {\n return this.field !== '';\n }\n}"],"names":["Sorting","none","SortDirection","ascending","direction","field","hasSorting"],"mappings":";;;;AAAA;AACA;AAIA;;AAEC,IACM,MAAMA,OAAAA,CAAAA;;;AAET;;AAEC,QACD,OAAOC,IAAAA,GAAgB,IAAID,QAAQ,EAAA,EAAIE,2BAAAA,CAAcC,SAAS,CAAA;AAE9D;;;;AAIC,QACD,YAAY,KAAsB,EAAWC,SAAwB,CAAE;aAAlDC,KAAAA,GAAAA,KAAAA;aAAwBD,SAAAA,GAAAA,SAAAA;AAC7C,IAAA;AAEA;;AAEC,QACD,IAAIE,UAAAA,GAAsB;QACtB,OAAO,IAAI,CAACD,KAAK,KAAK,EAAA;AAC1B,IAAA;AACJ;;;;"}
|
|
@@ -3,19 +3,30 @@
|
|
|
3
3
|
var SortDirection = require('./SortDirection.js');
|
|
4
4
|
var Sorting = require('./Sorting.js');
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
// Copyright (c) Cratis. All rights reserved.
|
|
7
|
+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
8
|
+
/**
|
|
9
|
+
* Represents sorting for a query.
|
|
10
|
+
*/ class SortingActions {
|
|
7
11
|
field;
|
|
8
12
|
_ascending;
|
|
9
13
|
_descending;
|
|
10
|
-
|
|
14
|
+
/**
|
|
15
|
+
* Initializes a new instance of {@link SortingActions}.
|
|
16
|
+
* @param {string} field The field that the sorting represents.
|
|
17
|
+
*/ constructor(field){
|
|
11
18
|
this.field = field;
|
|
12
19
|
this._ascending = new Sorting.Sorting(this.field, SortDirection.SortDirection.ascending);
|
|
13
20
|
this._descending = new Sorting.Sorting(this.field, SortDirection.SortDirection.descending);
|
|
14
21
|
}
|
|
15
|
-
|
|
22
|
+
/**
|
|
23
|
+
* Returns ascending sort for the field.
|
|
24
|
+
*/ get ascending() {
|
|
16
25
|
return this._ascending;
|
|
17
26
|
}
|
|
18
|
-
|
|
27
|
+
/**
|
|
28
|
+
* Returns ascending sort for the field.
|
|
29
|
+
*/ get descending() {
|
|
19
30
|
return this._descending;
|
|
20
31
|
}
|
|
21
32
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SortingActions.js","sources":["../../../queries/SortingActions.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 { SortDirection } from './SortDirection';\nimport { Sorting } from './Sorting';\n\n/**\n * Represents sorting for a query.\n */\nexport class SortingActions {\n private readonly _ascending: Sorting;\n private readonly _descending: Sorting;\n\n /**\n * Initializes a new instance of {@link SortingActions}.\n * @param {string} field The field that the sorting represents.\n */\n constructor(readonly field: string) { \n this._ascending = new Sorting(this.field, SortDirection.ascending);\n this._descending = new Sorting(this.field, SortDirection.descending);\n }\n\n /**\n * Returns ascending sort for the field.\n */\n get ascending(): Sorting {\n return this._ascending;\n }\n\n /**\n * Returns ascending sort for the field.\n */\n get descending(): Sorting {\n return this._descending;\n }\n}\n"],"names":["Sorting","SortDirection"],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"SortingActions.js","sources":["../../../queries/SortingActions.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 { SortDirection } from './SortDirection';\nimport { Sorting } from './Sorting';\n\n/**\n * Represents sorting for a query.\n */\nexport class SortingActions {\n private readonly _ascending: Sorting;\n private readonly _descending: Sorting;\n\n /**\n * Initializes a new instance of {@link SortingActions}.\n * @param {string} field The field that the sorting represents.\n */\n constructor(readonly field: string) { \n this._ascending = new Sorting(this.field, SortDirection.ascending);\n this._descending = new Sorting(this.field, SortDirection.descending);\n }\n\n /**\n * Returns ascending sort for the field.\n */\n get ascending(): Sorting {\n return this._ascending;\n }\n\n /**\n * Returns ascending sort for the field.\n */\n get descending(): Sorting {\n return this._descending;\n }\n}\n"],"names":["SortingActions","_ascending","_descending","field","Sorting","SortDirection","ascending","descending"],"mappings":";;;;;AAAA;AACA;AAKA;;AAEC,IACM,MAAMA,cAAAA,CAAAA;;IACQC,UAAAA;IACAC,WAAAA;AAEjB;;;QAIA,WAAA,CAAY,KAAsB,CAAE;aAAfC,KAAAA,GAAAA,KAAAA;QACjB,IAAI,CAACF,UAAU,GAAG,IAAIG,eAAAA,CAAQ,IAAI,CAACD,KAAK,EAAEE,2BAAAA,CAAcC,SAAS,CAAA;QACjE,IAAI,CAACJ,WAAW,GAAG,IAAIE,eAAAA,CAAQ,IAAI,CAACD,KAAK,EAAEE,2BAAAA,CAAcE,UAAU,CAAA;AACvE,IAAA;AAEA;;AAEE,SACF,IAAID,SAAAA,GAAqB;QACrB,OAAO,IAAI,CAACL,UAAU;AAC1B,IAAA;AAEA;;AAEE,SACF,IAAIM,UAAAA,GAAsB;QACtB,OAAO,IAAI,CAACL,WAAW;AAC3B,IAAA;AACJ;;;;"}
|
|
@@ -3,18 +3,30 @@
|
|
|
3
3
|
var SortDirection = require('./SortDirection.js');
|
|
4
4
|
var Sorting = require('./Sorting.js');
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
// Copyright (c) Cratis. All rights reserved.
|
|
7
|
+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
8
|
+
/**
|
|
9
|
+
* Represents sorting for an observable query.
|
|
10
|
+
*/ class SortingActionsForObservableQuery {
|
|
7
11
|
field;
|
|
8
12
|
query;
|
|
9
|
-
|
|
13
|
+
/**
|
|
14
|
+
* Initializes a new instance of {@link SortingActionsForQuery}.
|
|
15
|
+
* @param {string} field The field that the sorting represents.
|
|
16
|
+
* @param {IQueryFor<TDataType, TArguments>} query The query that holds the field.
|
|
17
|
+
*/ constructor(field, query){
|
|
10
18
|
this.field = field;
|
|
11
19
|
this.query = query;
|
|
12
20
|
}
|
|
13
|
-
|
|
21
|
+
/**
|
|
22
|
+
* Instructs query to sort ascending for the field.
|
|
23
|
+
*/ ascending() {
|
|
14
24
|
this.query.sorting = new Sorting.Sorting(this.field, SortDirection.SortDirection.ascending);
|
|
15
25
|
return this.query.sorting;
|
|
16
26
|
}
|
|
17
|
-
|
|
27
|
+
/**
|
|
28
|
+
* Instructs query to sort ascending for the field.
|
|
29
|
+
*/ descending() {
|
|
18
30
|
this.query.sorting = new Sorting.Sorting(this.field, SortDirection.SortDirection.descending);
|
|
19
31
|
return this.query.sorting;
|
|
20
32
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SortingActionsForObservableQuery.js","sources":["../../../queries/SortingActionsForObservableQuery.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 { IObservableQueryFor } from './IObservableQueryFor';\nimport { SortDirection } from './SortDirection';\nimport { Sorting } from './Sorting';\n\n/**\n * Represents sorting for an observable query.\n */\nexport class SortingActionsForObservableQuery<TDataType, TArguments = object> {\n\n /**\n * Initializes a new instance of {@link SortingActionsForQuery}.\n * @param {string} field The field that the sorting represents.\n * @param {IQueryFor<TDataType, TArguments>} query The query that holds the field.\n */\n constructor(readonly field: string, readonly query: IObservableQueryFor<TDataType, TArguments>) {\n }\n\n /**\n * Instructs query to sort ascending for the field.\n */\n ascending(): Sorting {\n this.query.sorting = new Sorting(this.field, SortDirection.ascending);\n return this.query.sorting;\n }\n\n /**\n * Instructs query to sort ascending for the field.\n */\n descending(): Sorting {\n this.query.sorting = new Sorting(this.field, SortDirection.descending);\n return this.query.sorting;\n }\n}\n"],"names":["Sorting","SortDirection"],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"SortingActionsForObservableQuery.js","sources":["../../../queries/SortingActionsForObservableQuery.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 { IObservableQueryFor } from './IObservableQueryFor';\nimport { SortDirection } from './SortDirection';\nimport { Sorting } from './Sorting';\n\n/**\n * Represents sorting for an observable query.\n */\nexport class SortingActionsForObservableQuery<TDataType, TArguments = object> {\n\n /**\n * Initializes a new instance of {@link SortingActionsForQuery}.\n * @param {string} field The field that the sorting represents.\n * @param {IQueryFor<TDataType, TArguments>} query The query that holds the field.\n */\n constructor(readonly field: string, readonly query: IObservableQueryFor<TDataType, TArguments>) {\n }\n\n /**\n * Instructs query to sort ascending for the field.\n */\n ascending(): Sorting {\n this.query.sorting = new Sorting(this.field, SortDirection.ascending);\n return this.query.sorting;\n }\n\n /**\n * Instructs query to sort ascending for the field.\n */\n descending(): Sorting {\n this.query.sorting = new Sorting(this.field, SortDirection.descending);\n return this.query.sorting;\n }\n}\n"],"names":["SortingActionsForObservableQuery","query","field","ascending","sorting","Sorting","SortDirection","descending"],"mappings":";;;;;AAAA;AACA;AAMA;;AAEC,IACM,MAAMA,gCAAAA,CAAAA;;;AAET;;;;AAIC,QACD,YAAY,KAAsB,EAAWC,KAAiD,CAAE;aAA3EC,KAAAA,GAAAA,KAAAA;aAAwBD,KAAAA,GAAAA,KAAAA;AAC7C,IAAA;AAEA;;AAEE,SACFE,SAAAA,GAAqB;AACjB,QAAA,IAAI,CAACF,KAAK,CAACG,OAAO,GAAG,IAAIC,eAAAA,CAAQ,IAAI,CAACH,KAAK,EAAEI,2BAAAA,CAAcH,SAAS,CAAA;AACpE,QAAA,OAAO,IAAI,CAACF,KAAK,CAACG,OAAO;AAC7B,IAAA;AAEA;;AAEE,SACFG,UAAAA,GAAsB;AAClB,QAAA,IAAI,CAACN,KAAK,CAACG,OAAO,GAAG,IAAIC,eAAAA,CAAQ,IAAI,CAACH,KAAK,EAAEI,2BAAAA,CAAcC,UAAU,CAAA;AACrE,QAAA,OAAO,IAAI,CAACN,KAAK,CAACG,OAAO;AAC7B,IAAA;AACJ;;;;"}
|
|
@@ -3,18 +3,30 @@
|
|
|
3
3
|
var SortDirection = require('./SortDirection.js');
|
|
4
4
|
var Sorting = require('./Sorting.js');
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
// Copyright (c) Cratis. All rights reserved.
|
|
7
|
+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
8
|
+
/**
|
|
9
|
+
* Represents sorting for a query.
|
|
10
|
+
*/ class SortingActionsForQuery {
|
|
7
11
|
field;
|
|
8
12
|
query;
|
|
9
|
-
|
|
13
|
+
/**
|
|
14
|
+
* Initializes a new instance of {@link SortingActionsForQuery}.
|
|
15
|
+
* @param {string} field The field that the sorting represents.
|
|
16
|
+
* @param {IQueryFor<TDataType, TArguments>} query The query that holds the field.
|
|
17
|
+
*/ constructor(field, query){
|
|
10
18
|
this.field = field;
|
|
11
19
|
this.query = query;
|
|
12
20
|
}
|
|
13
|
-
|
|
21
|
+
/**
|
|
22
|
+
* Instructs query to sort ascending for the field.
|
|
23
|
+
*/ ascending() {
|
|
14
24
|
this.query.sorting = new Sorting.Sorting(this.field, SortDirection.SortDirection.ascending);
|
|
15
25
|
return this.query.sorting;
|
|
16
26
|
}
|
|
17
|
-
|
|
27
|
+
/**
|
|
28
|
+
* Instructs query to sort ascending for the field.
|
|
29
|
+
*/ descending() {
|
|
18
30
|
this.query.sorting = new Sorting.Sorting(this.field, SortDirection.SortDirection.descending);
|
|
19
31
|
return this.query.sorting;
|
|
20
32
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SortingActionsForQuery.js","sources":["../../../queries/SortingActionsForQuery.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 { IQueryFor } from './IQueryFor';\nimport { SortDirection } from './SortDirection';\nimport { Sorting } from './Sorting';\n\n/**\n * Represents sorting for a query.\n */\nexport class SortingActionsForQuery<TDataType, TArguments = object> {\n\n /**\n * Initializes a new instance of {@link SortingActionsForQuery}.\n * @param {string} field The field that the sorting represents.\n * @param {IQueryFor<TDataType, TArguments>} query The query that holds the field.\n */\n constructor(readonly field: string, readonly query: IQueryFor<TDataType, TArguments>) { \n }\n\n /**\n * Instructs query to sort ascending for the field.\n */\n ascending(): Sorting {\n this.query.sorting = new Sorting(this.field, SortDirection.ascending);\n return this.query.sorting;\n }\n\n /**\n * Instructs query to sort ascending for the field.\n */\n descending(): Sorting {\n this.query.sorting = new Sorting(this.field, SortDirection.descending);\n return this.query.sorting;\n }\n}\n"],"names":["Sorting","SortDirection"],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"SortingActionsForQuery.js","sources":["../../../queries/SortingActionsForQuery.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 { IQueryFor } from './IQueryFor';\nimport { SortDirection } from './SortDirection';\nimport { Sorting } from './Sorting';\n\n/**\n * Represents sorting for a query.\n */\nexport class SortingActionsForQuery<TDataType, TArguments = object> {\n\n /**\n * Initializes a new instance of {@link SortingActionsForQuery}.\n * @param {string} field The field that the sorting represents.\n * @param {IQueryFor<TDataType, TArguments>} query The query that holds the field.\n */\n constructor(readonly field: string, readonly query: IQueryFor<TDataType, TArguments>) { \n }\n\n /**\n * Instructs query to sort ascending for the field.\n */\n ascending(): Sorting {\n this.query.sorting = new Sorting(this.field, SortDirection.ascending);\n return this.query.sorting;\n }\n\n /**\n * Instructs query to sort ascending for the field.\n */\n descending(): Sorting {\n this.query.sorting = new Sorting(this.field, SortDirection.descending);\n return this.query.sorting;\n }\n}\n"],"names":["SortingActionsForQuery","query","field","ascending","sorting","Sorting","SortDirection","descending"],"mappings":";;;;;AAAA;AACA;AAMA;;AAEC,IACM,MAAMA,sBAAAA,CAAAA;;;AAET;;;;AAIC,QACD,YAAY,KAAsB,EAAWC,KAAuC,CAAE;aAAjEC,KAAAA,GAAAA,KAAAA;aAAwBD,KAAAA,GAAAA,KAAAA;AAC7C,IAAA;AAEA;;AAEE,SACFE,SAAAA,GAAqB;AACjB,QAAA,IAAI,CAACF,KAAK,CAACG,OAAO,GAAG,IAAIC,eAAAA,CAAQ,IAAI,CAACH,KAAK,EAAEI,2BAAAA,CAAcH,SAAS,CAAA;AACpE,QAAA,OAAO,IAAI,CAACF,KAAK,CAACG,OAAO;AAC7B,IAAA;AAEA;;AAEE,SACFG,UAAAA,GAAsB;AAClB,QAAA,IAAI,CAACN,KAAK,CAACG,OAAO,GAAG,IAAIC,eAAAA,CAAQ,IAAI,CAACH,KAAK,EAAEI,2BAAAA,CAAcC,UAAU,CAAA;AACrE,QAAA,OAAO,IAAI,CAACN,KAAK,CAACG,OAAO;AAC7B,IAAA;AACJ;;;;"}
|
|
@@ -1,17 +1,21 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
// Copyright (c) Cratis. All rights reserved.
|
|
4
|
+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
5
|
+
/**
|
|
6
|
+
* Validate request arguments.
|
|
7
|
+
* @param {string} requestName Name of request.
|
|
8
|
+
* @param {string[]} expectedRequestArguments Array of all expected arguments.
|
|
9
|
+
* @param {*} actualArguments Object containing the arguments.
|
|
10
|
+
* @returns True if valid, false if not.
|
|
11
|
+
*/ function ValidateRequestArguments(requestName, expectedRequestArguments, actualArguments) {
|
|
4
12
|
if (expectedRequestArguments.length > 0) {
|
|
5
13
|
const missing = [];
|
|
6
14
|
if (!actualArguments) {
|
|
7
|
-
expectedRequestArguments.forEach(_
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
if (!actualArguments.hasOwnProperty(argument) ||
|
|
12
|
-
actualArguments[argument] === undefined ||
|
|
13
|
-
actualArguments[argument] === null ||
|
|
14
|
-
actualArguments[argument] === '') {
|
|
15
|
+
expectedRequestArguments.forEach((_)=>missing.push(_));
|
|
16
|
+
} else {
|
|
17
|
+
for (const argument of expectedRequestArguments){
|
|
18
|
+
if (!actualArguments.hasOwnProperty(argument) || actualArguments[argument] === undefined || actualArguments[argument] === null || actualArguments[argument] === '') {
|
|
15
19
|
missing.push(argument);
|
|
16
20
|
}
|
|
17
21
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ValidateRequestArguments.js","sources":["../../../queries/ValidateRequestArguments.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\n/**\n * Validate request arguments.\n * @param {string} requestName Name of request.\n * @param {string[]} expectedRequestArguments Array of all expected arguments.\n * @param {*} actualArguments Object containing the arguments.\n * @returns True if valid, false if not.\n*/\nexport function ValidateRequestArguments(requestName: string, expectedRequestArguments: string[], actualArguments?: object): boolean {\n if (expectedRequestArguments.length > 0) {\n const missing: string[] = [];\n\n if (!actualArguments) {\n expectedRequestArguments.forEach(_ => missing.push(_));\n } else {\n for (const argument of expectedRequestArguments) {\n if (!actualArguments.hasOwnProperty(argument) ||\n actualArguments[argument] === undefined ||\n actualArguments[argument] === null ||\n actualArguments[argument] === '') {\n missing.push(argument);\n }\n }\n }\n\n if (missing.length > 0) {\n const missingArgumentsString = missing.join(', ');\n console.log(`Warning: Missing (${missingArgumentsString}) arguments for request (${requestName}). Will not perform.`);\n return false;\n }\n }\n\n return true;\n}\n"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"ValidateRequestArguments.js","sources":["../../../queries/ValidateRequestArguments.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\n/**\n * Validate request arguments.\n * @param {string} requestName Name of request.\n * @param {string[]} expectedRequestArguments Array of all expected arguments.\n * @param {*} actualArguments Object containing the arguments.\n * @returns True if valid, false if not.\n*/\nexport function ValidateRequestArguments(requestName: string, expectedRequestArguments: string[], actualArguments?: object): boolean {\n if (expectedRequestArguments.length > 0) {\n const missing: string[] = [];\n\n if (!actualArguments) {\n expectedRequestArguments.forEach(_ => missing.push(_));\n } else {\n for (const argument of expectedRequestArguments) {\n if (!actualArguments.hasOwnProperty(argument) ||\n actualArguments[argument] === undefined ||\n actualArguments[argument] === null ||\n actualArguments[argument] === '') {\n missing.push(argument);\n }\n }\n }\n\n if (missing.length > 0) {\n const missingArgumentsString = missing.join(', ');\n console.log(`Warning: Missing (${missingArgumentsString}) arguments for request (${requestName}). Will not perform.`);\n return false;\n }\n }\n\n return true;\n}\n"],"names":["ValidateRequestArguments","requestName","expectedRequestArguments","actualArguments","length","missing","forEach","_","push","argument","hasOwnProperty","undefined","missingArgumentsString","join","console","log"],"mappings":";;AAAA;AACA;AAEA;;;;;;AAMA,GACO,SAASA,wBAAAA,CAAyBC,WAAmB,EAAEC,wBAAkC,EAAEC,eAAwB,EAAA;IACtH,IAAID,wBAAAA,CAAyBE,MAAM,GAAG,CAAA,EAAG;AACrC,QAAA,MAAMC,UAAoB,EAAE;AAE5B,QAAA,IAAI,CAACF,eAAAA,EAAiB;AAClBD,YAAAA,wBAAAA,CAAyBI,OAAO,CAACC,CAAAA,CAAAA,GAAKF,OAAAA,CAAQG,IAAI,CAACD,CAAAA,CAAAA,CAAAA;QACvD,CAAA,MAAO;YACH,KAAK,MAAME,YAAYP,wBAAAA,CAA0B;AAC7C,gBAAA,IAAI,CAACC,eAAAA,CAAgBO,cAAc,CAACD,QAAAA,CAAAA,IAChCN,eAAe,CAACM,QAAAA,CAAS,KAAKE,aAC9BR,eAAe,CAACM,SAAS,KAAK,IAAA,IAC9BN,eAAe,CAACM,QAAAA,CAAS,KAAK,EAAA,EAAI;AAClCJ,oBAAAA,OAAAA,CAAQG,IAAI,CAACC,QAAAA,CAAAA;AACjB,gBAAA;AACJ,YAAA;AACJ,QAAA;QAEA,IAAIJ,OAAAA,CAAQD,MAAM,GAAG,CAAA,EAAG;YACpB,MAAMQ,sBAAAA,GAAyBP,OAAAA,CAAQQ,IAAI,CAAC,IAAA,CAAA;YAC5CC,OAAAA,CAAQC,GAAG,CAAC,CAAC,kBAAkB,EAAEH,uBAAuB,yBAAyB,EAAEX,WAAAA,CAAY,oBAAoB,CAAC,CAAA;YACpH,OAAO,KAAA;AACX,QAAA;AACJ,IAAA;IAEA,OAAO,IAAA;AACX;;;;"}
|
|
@@ -5,8 +5,12 @@ var HubConnectionKeepAlive = require('./HubConnectionKeepAlive.js');
|
|
|
5
5
|
var ReconnectPolicy = require('./ReconnectPolicy.js');
|
|
6
6
|
var QueryResult = require('./QueryResult.js');
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
// Copyright (c) Cratis. All rights reserved.
|
|
9
|
+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
|
10
|
+
/* eslint-disable @typescript-eslint/no-explicit-any */ /**
|
|
11
|
+
* Message types matching the backend {@link ObservableQueryHubMessageType} enum.
|
|
12
|
+
* Serialized as strings by the JsonStringEnumConverter on the server.
|
|
13
|
+
*/ var HubMessageType = /*#__PURE__*/ function(HubMessageType) {
|
|
10
14
|
HubMessageType["Subscribe"] = "Subscribe";
|
|
11
15
|
HubMessageType["Unsubscribe"] = "Unsubscribe";
|
|
12
16
|
HubMessageType["QueryResult"] = "QueryResult";
|
|
@@ -15,8 +19,16 @@ exports.HubMessageType = void 0;
|
|
|
15
19
|
HubMessageType["Ping"] = "Ping";
|
|
16
20
|
HubMessageType["Pong"] = "Pong";
|
|
17
21
|
HubMessageType["Connected"] = "Connected";
|
|
18
|
-
|
|
19
|
-
|
|
22
|
+
return HubMessageType;
|
|
23
|
+
}({});
|
|
24
|
+
/**
|
|
25
|
+
* Represents a single multiplexed WebSocket connection to the observable query hub
|
|
26
|
+
* at {@code /.cratis/queries/ws}.
|
|
27
|
+
*
|
|
28
|
+
* Multiple query subscriptions are carried over the same physical WebSocket. Each subscription
|
|
29
|
+
* is identified by a client-generated {@code queryId}; the server tags every result message with
|
|
30
|
+
* the same id so responses can be routed to the correct callback.
|
|
31
|
+
*/ class WebSocketHubConnection {
|
|
20
32
|
_url;
|
|
21
33
|
_microservice;
|
|
22
34
|
_policy;
|
|
@@ -27,48 +39,83 @@ class WebSocketHubConnection {
|
|
|
27
39
|
_lastPingSentTime;
|
|
28
40
|
_lastPongLatency = 0;
|
|
29
41
|
_latencySamples = [];
|
|
30
|
-
|
|
42
|
+
/**
|
|
43
|
+
* Initializes a new instance of {@link WebSocketHubConnection}.
|
|
44
|
+
* @param {string} url The WebSocket URL of the hub endpoint (e.g. {@code ws://localhost:5000/.cratis/queries/ws}).
|
|
45
|
+
* @param {string} microservice The microservice name to pass as a query argument.
|
|
46
|
+
* @param {number} pingIntervalMs How often to send keep-alive pings when the connection is idle (default: 10 000 ms).
|
|
47
|
+
* @param {IReconnectPolicy} reconnectPolicy The reconnect policy to use (default: {@link ReconnectPolicy}).
|
|
48
|
+
*/ constructor(_url, _microservice, pingIntervalMs = 10000, _policy = new ReconnectPolicy.ReconnectPolicy()){
|
|
31
49
|
this._url = _url;
|
|
32
50
|
this._microservice = _microservice;
|
|
33
51
|
this._policy = _policy;
|
|
34
|
-
this._keepAlive = new HubConnectionKeepAlive.HubConnectionKeepAlive(pingIntervalMs, ()
|
|
52
|
+
this._keepAlive = new HubConnectionKeepAlive.HubConnectionKeepAlive(pingIntervalMs, ()=>{
|
|
35
53
|
if (this._socket?.readyState === WebSocket.OPEN) {
|
|
36
54
|
this._lastPingSentTime = Date.now();
|
|
37
|
-
this.sendMessage({
|
|
55
|
+
this.sendMessage({
|
|
56
|
+
type: "Ping",
|
|
57
|
+
timestamp: this._lastPingSentTime
|
|
58
|
+
});
|
|
38
59
|
}
|
|
39
60
|
});
|
|
40
61
|
}
|
|
41
|
-
|
|
62
|
+
/**
|
|
63
|
+
* Gets the number of active query subscriptions on this connection.
|
|
64
|
+
*/ get queryCount() {
|
|
42
65
|
return this._subscriptions.size;
|
|
43
66
|
}
|
|
44
|
-
|
|
67
|
+
/**
|
|
68
|
+
* Gets whether the WebSocket connection is currently open.
|
|
69
|
+
*/ get isConnected() {
|
|
45
70
|
return this._socket?.readyState === WebSocket.OPEN;
|
|
46
71
|
}
|
|
47
|
-
|
|
72
|
+
/**
|
|
73
|
+
* Gets the latency of the last ping/pong sequence in milliseconds.
|
|
74
|
+
*/ get lastPingLatency() {
|
|
48
75
|
return this._lastPongLatency;
|
|
49
76
|
}
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
77
|
+
/**
|
|
78
|
+
* Gets the rolling average latency in milliseconds.
|
|
79
|
+
*/ get averageLatency() {
|
|
80
|
+
if (this._latencySamples.length === 0) return 0;
|
|
81
|
+
return this._latencySamples.reduce((a, b)=>a + b, 0) / this._latencySamples.length;
|
|
54
82
|
}
|
|
55
|
-
|
|
56
|
-
|
|
83
|
+
/**
|
|
84
|
+
* Subscribe to a query on this hub connection.
|
|
85
|
+
* If the WebSocket is not yet open, the subscribe message will be sent once the connection is established.
|
|
86
|
+
* @param {string} queryId Client-generated unique identifier for this subscription.
|
|
87
|
+
* @param {SubscriptionRequest} request The subscription request payload.
|
|
88
|
+
* @param {DataReceived<any>} callback Callback invoked whenever the server pushes a result for this query.
|
|
89
|
+
*/ subscribe(queryId, request, callback) {
|
|
90
|
+
this._subscriptions.set(queryId, {
|
|
91
|
+
request,
|
|
92
|
+
callback
|
|
93
|
+
});
|
|
57
94
|
this.ensureConnected();
|
|
58
95
|
if (this._socket?.readyState === WebSocket.OPEN) {
|
|
59
96
|
this.sendSubscribeMessage(queryId, request);
|
|
60
97
|
}
|
|
98
|
+
// If not yet open, sendAllSubscriptions will fire in onopen.
|
|
61
99
|
}
|
|
62
|
-
|
|
100
|
+
/**
|
|
101
|
+
* Unsubscribe from a query on this hub connection.
|
|
102
|
+
* @param {string} queryId The identifier of the subscription to cancel.
|
|
103
|
+
*/ unsubscribe(queryId) {
|
|
63
104
|
this._subscriptions.delete(queryId);
|
|
64
105
|
if (this._socket?.readyState === WebSocket.OPEN) {
|
|
65
|
-
this.sendMessage({
|
|
106
|
+
this.sendMessage({
|
|
107
|
+
type: "Unsubscribe",
|
|
108
|
+
queryId
|
|
109
|
+
});
|
|
66
110
|
}
|
|
111
|
+
// If no subscriptions remain, close the connection to free resources.
|
|
67
112
|
if (this._subscriptions.size === 0) {
|
|
68
113
|
this.close();
|
|
69
114
|
}
|
|
70
115
|
}
|
|
71
|
-
|
|
116
|
+
/**
|
|
117
|
+
* Permanently close this hub connection and clean up all subscriptions.
|
|
118
|
+
*/ dispose() {
|
|
72
119
|
this._disconnected = true;
|
|
73
120
|
this._subscriptions.clear();
|
|
74
121
|
this._keepAlive.stop();
|
|
@@ -78,6 +125,7 @@ class WebSocketHubConnection {
|
|
|
78
125
|
}
|
|
79
126
|
ensureConnected() {
|
|
80
127
|
if (this._disconnected) {
|
|
128
|
+
// Reset disconnected flag when a new subscription comes in
|
|
81
129
|
this._disconnected = false;
|
|
82
130
|
}
|
|
83
131
|
if (this._socket && (this._socket.readyState === WebSocket.OPEN || this._socket.readyState === WebSocket.CONNECTING)) {
|
|
@@ -90,6 +138,11 @@ class WebSocketHubConnection {
|
|
|
90
138
|
this._keepAlive.stop();
|
|
91
139
|
this._policy.cancel();
|
|
92
140
|
if (this._socket) {
|
|
141
|
+
// Detach all handlers BEFORE closing so that the async onclose event cannot
|
|
142
|
+
// fire after a new subscription has reset _disconnected to false and opened a
|
|
143
|
+
// fresh socket. Without this, the stale onclose triggers an unintended
|
|
144
|
+
// reconnect via the back-off policy, causing a 1-10 second delay before the
|
|
145
|
+
// new page's queries receive their first data.
|
|
93
146
|
this._socket.onopen = null;
|
|
94
147
|
this._socket.onclose = null;
|
|
95
148
|
this._socket.onerror = null;
|
|
@@ -105,49 +158,45 @@ class WebSocketHubConnection {
|
|
|
105
158
|
url += (url.includes('?') ? '&' : '?') + param;
|
|
106
159
|
}
|
|
107
160
|
this._socket = new WebSocket(url);
|
|
108
|
-
this._socket.onopen = ()
|
|
109
|
-
if (this._disconnected)
|
|
110
|
-
return;
|
|
161
|
+
this._socket.onopen = ()=>{
|
|
162
|
+
if (this._disconnected) return;
|
|
111
163
|
console.log(`Hub connection established: '${url}'`);
|
|
112
164
|
this._policy.reset();
|
|
113
165
|
this._keepAlive.start();
|
|
114
166
|
this.sendAllSubscriptions();
|
|
115
167
|
};
|
|
116
|
-
this._socket.onclose = ()
|
|
117
|
-
if (this._disconnected)
|
|
118
|
-
return;
|
|
168
|
+
this._socket.onclose = ()=>{
|
|
169
|
+
if (this._disconnected) return;
|
|
119
170
|
console.log(`Hub connection closed: '${url}'`);
|
|
120
171
|
this._keepAlive.stop();
|
|
121
|
-
if (this._subscriptions.size === 0)
|
|
122
|
-
|
|
123
|
-
this._policy.schedule(() => {
|
|
172
|
+
if (this._subscriptions.size === 0) return;
|
|
173
|
+
this._policy.schedule(()=>{
|
|
124
174
|
if (!this._disconnected && this._subscriptions.size > 0) {
|
|
125
175
|
this.openSocket();
|
|
126
176
|
}
|
|
127
177
|
}, this._url);
|
|
128
178
|
};
|
|
129
|
-
this._socket.onerror = (error)
|
|
130
|
-
if (this._disconnected)
|
|
131
|
-
return;
|
|
179
|
+
this._socket.onerror = (error)=>{
|
|
180
|
+
if (this._disconnected) return;
|
|
132
181
|
console.error(`Hub connection error: '${url}'`, error);
|
|
133
182
|
this._keepAlive.stop();
|
|
183
|
+
// onclose will fire after onerror, triggering reconnect
|
|
134
184
|
};
|
|
135
|
-
this._socket.onmessage = (ev)
|
|
136
|
-
if (this._disconnected)
|
|
137
|
-
return;
|
|
185
|
+
this._socket.onmessage = (ev)=>{
|
|
186
|
+
if (this._disconnected) return;
|
|
138
187
|
this.handleMessage(ev.data);
|
|
139
188
|
};
|
|
140
189
|
}
|
|
141
190
|
sendAllSubscriptions() {
|
|
142
|
-
for (const [queryId, sub] of this._subscriptions)
|
|
191
|
+
for (const [queryId, sub] of this._subscriptions){
|
|
143
192
|
this.sendSubscribeMessage(queryId, sub.request);
|
|
144
193
|
}
|
|
145
194
|
}
|
|
146
195
|
sendSubscribeMessage(queryId, request) {
|
|
147
196
|
this.sendMessage({
|
|
148
|
-
type:
|
|
197
|
+
type: "Subscribe",
|
|
149
198
|
queryId,
|
|
150
|
-
payload: request
|
|
199
|
+
payload: request
|
|
151
200
|
});
|
|
152
201
|
}
|
|
153
202
|
sendMessage(message) {
|
|
@@ -158,42 +207,38 @@ class WebSocketHubConnection {
|
|
|
158
207
|
handleMessage(rawData) {
|
|
159
208
|
try {
|
|
160
209
|
const message = JSON.parse(rawData);
|
|
210
|
+
// Every received message is activity — skip keep-alive ping if data is flowing.
|
|
161
211
|
this._keepAlive.recordActivity();
|
|
162
|
-
switch
|
|
163
|
-
case
|
|
212
|
+
switch(message.type){
|
|
213
|
+
case "QueryResult":
|
|
164
214
|
this.handleQueryResult(message);
|
|
165
215
|
break;
|
|
166
|
-
case
|
|
216
|
+
case "Pong":
|
|
167
217
|
this.handlePong(message);
|
|
168
218
|
break;
|
|
169
|
-
case
|
|
219
|
+
case "Unauthorized":
|
|
170
220
|
console.warn(`Hub: query '${message.queryId}' unauthorized`);
|
|
171
221
|
this.handleUnauthorized(message);
|
|
172
222
|
break;
|
|
173
|
-
case
|
|
223
|
+
case "Error":
|
|
174
224
|
console.error(`Hub: query '${message.queryId}' error:`, message.payload);
|
|
175
225
|
break;
|
|
176
226
|
}
|
|
177
|
-
}
|
|
178
|
-
catch (error) {
|
|
227
|
+
} catch (error) {
|
|
179
228
|
console.error('Hub: error parsing message', error);
|
|
180
229
|
}
|
|
181
230
|
}
|
|
182
231
|
handleQueryResult(message) {
|
|
183
|
-
if (!message.queryId)
|
|
184
|
-
return;
|
|
232
|
+
if (!message.queryId) return;
|
|
185
233
|
const sub = this._subscriptions.get(message.queryId);
|
|
186
|
-
if (!sub)
|
|
187
|
-
return;
|
|
234
|
+
if (!sub) return;
|
|
188
235
|
const result = message.payload;
|
|
189
236
|
sub.callback(result);
|
|
190
237
|
}
|
|
191
238
|
handleUnauthorized(message) {
|
|
192
|
-
if (!message.queryId)
|
|
193
|
-
return;
|
|
239
|
+
if (!message.queryId) return;
|
|
194
240
|
const sub = this._subscriptions.get(message.queryId);
|
|
195
|
-
if (!sub)
|
|
196
|
-
return;
|
|
241
|
+
if (!sub) return;
|
|
197
242
|
this._subscriptions.delete(message.queryId);
|
|
198
243
|
sub.callback(QueryResult.QueryResult.unauthorized());
|
|
199
244
|
}
|
|
@@ -209,5 +254,6 @@ class WebSocketHubConnection {
|
|
|
209
254
|
}
|
|
210
255
|
}
|
|
211
256
|
|
|
257
|
+
exports.HubMessageType = HubMessageType;
|
|
212
258
|
exports.WebSocketHubConnection = WebSocketHubConnection;
|
|
213
259
|
//# sourceMappingURL=WebSocketHubConnection.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WebSocketHubConnection.js","sources":["../../../queries/WebSocketHubConnection.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 { Globals } from '../Globals';\nimport { DataReceived } from './ObservableQueryConnection';\nimport { HubConnectionKeepAlive } from './HubConnectionKeepAlive';\nimport { IReconnectPolicy } from './IReconnectPolicy';\nimport { ReconnectPolicy } from './ReconnectPolicy';\nimport { QueryResult } from './QueryResult';\n\n/* eslint-disable @typescript-eslint/no-explicit-any */\n\n/**\n * Message types matching the backend {@link ObservableQueryHubMessageType} enum.\n * Serialized as strings by the JsonStringEnumConverter on the server.\n */\nexport enum HubMessageType {\n Subscribe = 'Subscribe',\n Unsubscribe = 'Unsubscribe',\n QueryResult = 'QueryResult',\n Unauthorized = 'Unauthorized',\n Error = 'Error',\n Ping = 'Ping',\n Pong = 'Pong',\n Connected = 'Connected',\n}\n\n/**\n * Wire format for messages exchanged over the {@link WebSocketHubConnection}.\n */\nexport interface HubMessage {\n type: HubMessageType;\n queryId?: string;\n payload?: any;\n timestamp?: number;\n}\n\n/**\n * Matches the backend {@link ObservableQuerySubscriptionRequest} record.\n */\nexport interface SubscriptionRequest {\n queryName: string;\n arguments?: Record<string, string | null>;\n page?: number;\n pageSize?: number;\n sortBy?: string;\n sortDirection?: string;\n transferMode?: string;\n}\n\ninterface ActiveSubscription {\n request: SubscriptionRequest;\n callback: DataReceived<any>;\n}\n\n/**\n * Represents a single multiplexed WebSocket connection to the observable query hub\n * at {@code /.cratis/queries/ws}.\n *\n * Multiple query subscriptions are carried over the same physical WebSocket. Each subscription\n * is identified by a client-generated {@code queryId}; the server tags every result message with\n * the same id so responses can be routed to the correct callback.\n */\nexport class WebSocketHubConnection {\n private _socket?: WebSocket;\n private _disconnected = false;\n private _subscriptions: Map<string, ActiveSubscription> = new Map();\n private readonly _keepAlive: HubConnectionKeepAlive;\n private _lastPingSentTime?: number;\n private _lastPongLatency: number = 0;\n private _latencySamples: number[] = [];\n\n /**\n * Initializes a new instance of {@link WebSocketHubConnection}.\n * @param {string} url The WebSocket URL of the hub endpoint (e.g. {@code ws://localhost:5000/.cratis/queries/ws}).\n * @param {string} microservice The microservice name to pass as a query argument.\n * @param {number} pingIntervalMs How often to send keep-alive pings when the connection is idle (default: 10 000 ms).\n * @param {IReconnectPolicy} reconnectPolicy The reconnect policy to use (default: {@link ReconnectPolicy}).\n */\n constructor(\n private readonly _url: string,\n private readonly _microservice: string,\n pingIntervalMs: number = 10000,\n private readonly _policy: IReconnectPolicy = new ReconnectPolicy()\n ) {\n this._keepAlive = new HubConnectionKeepAlive(pingIntervalMs, () => {\n if (this._socket?.readyState === WebSocket.OPEN) {\n this._lastPingSentTime = Date.now();\n this.sendMessage({ type: HubMessageType.Ping, timestamp: this._lastPingSentTime });\n }\n });\n }\n\n /**\n * Gets the number of active query subscriptions on this connection.\n */\n get queryCount(): number {\n return this._subscriptions.size;\n }\n\n /**\n * Gets whether the WebSocket connection is currently open.\n */\n get isConnected(): boolean {\n return this._socket?.readyState === WebSocket.OPEN;\n }\n\n /**\n * Gets the latency of the last ping/pong sequence in milliseconds.\n */\n get lastPingLatency(): number {\n return this._lastPongLatency;\n }\n\n /**\n * Gets the rolling average latency in milliseconds.\n */\n get averageLatency(): number {\n if (this._latencySamples.length === 0) return 0;\n return this._latencySamples.reduce((a, b) => a + b, 0) / this._latencySamples.length;\n }\n\n /**\n * Subscribe to a query on this hub connection.\n * If the WebSocket is not yet open, the subscribe message will be sent once the connection is established.\n * @param {string} queryId Client-generated unique identifier for this subscription.\n * @param {SubscriptionRequest} request The subscription request payload.\n * @param {DataReceived<any>} callback Callback invoked whenever the server pushes a result for this query.\n */\n subscribe(queryId: string, request: SubscriptionRequest, callback: DataReceived<any>): void {\n this._subscriptions.set(queryId, { request, callback });\n this.ensureConnected();\n\n if (this._socket?.readyState === WebSocket.OPEN) {\n this.sendSubscribeMessage(queryId, request);\n }\n // If not yet open, sendAllSubscriptions will fire in onopen.\n }\n\n /**\n * Unsubscribe from a query on this hub connection.\n * @param {string} queryId The identifier of the subscription to cancel.\n */\n unsubscribe(queryId: string): void {\n this._subscriptions.delete(queryId);\n\n if (this._socket?.readyState === WebSocket.OPEN) {\n this.sendMessage({ type: HubMessageType.Unsubscribe, queryId });\n }\n\n // If no subscriptions remain, close the connection to free resources.\n if (this._subscriptions.size === 0) {\n this.close();\n }\n }\n\n /**\n * Permanently close this hub connection and clean up all subscriptions.\n */\n dispose(): void {\n this._disconnected = true;\n this._subscriptions.clear();\n this._keepAlive.stop();\n this._policy.cancel();\n this._socket?.close();\n this._socket = undefined;\n }\n\n private ensureConnected(): void {\n if (this._disconnected) {\n // Reset disconnected flag when a new subscription comes in\n this._disconnected = false;\n }\n\n if (this._socket && (this._socket.readyState === WebSocket.OPEN || this._socket.readyState === WebSocket.CONNECTING)) {\n return;\n }\n\n this.openSocket();\n }\n\n private close(): void {\n this._disconnected = true;\n this._keepAlive.stop();\n this._policy.cancel();\n if (this._socket) {\n // Detach all handlers BEFORE closing so that the async onclose event cannot\n // fire after a new subscription has reset _disconnected to false and opened a\n // fresh socket. Without this, the stale onclose triggers an unintended\n // reconnect via the back-off policy, causing a 1-10 second delay before the\n // new page's queries receive their first data.\n this._socket.onopen = null;\n this._socket.onclose = null;\n this._socket.onerror = null;\n this._socket.onmessage = null;\n this._socket.close();\n }\n this._socket = undefined;\n }\n\n private openSocket(): void {\n let url = this._url;\n if (this._microservice?.length > 0) {\n const param = `${Globals.microserviceWSQueryArgument}=${encodeURIComponent(this._microservice)}`;\n url += (url.includes('?') ? '&' : '?') + param;\n }\n\n this._socket = new WebSocket(url);\n\n this._socket.onopen = () => {\n if (this._disconnected) return;\n console.log(`Hub connection established: '${url}'`);\n this._policy.reset();\n this._keepAlive.start();\n this.sendAllSubscriptions();\n };\n\n this._socket.onclose = () => {\n if (this._disconnected) return;\n console.log(`Hub connection closed: '${url}'`);\n this._keepAlive.stop();\n if (this._subscriptions.size === 0) return;\n this._policy.schedule(() => {\n if (!this._disconnected && this._subscriptions.size > 0) {\n this.openSocket();\n }\n }, this._url);\n };\n\n this._socket.onerror = (error) => {\n if (this._disconnected) return;\n console.error(`Hub connection error: '${url}'`, error);\n this._keepAlive.stop();\n // onclose will fire after onerror, triggering reconnect\n };\n\n this._socket.onmessage = (ev) => {\n if (this._disconnected) return;\n this.handleMessage(ev.data as string);\n };\n }\n\n private sendAllSubscriptions(): void {\n for (const [queryId, sub] of this._subscriptions) {\n this.sendSubscribeMessage(queryId, sub.request);\n }\n }\n\n private sendSubscribeMessage(queryId: string, request: SubscriptionRequest): void {\n this.sendMessage({\n type: HubMessageType.Subscribe,\n queryId,\n payload: request,\n });\n }\n\n private sendMessage(message: HubMessage): void {\n if (this._socket?.readyState === WebSocket.OPEN) {\n this._socket.send(JSON.stringify(message));\n }\n }\n\n private handleMessage(rawData: string): void {\n try {\n const message = JSON.parse(rawData) as HubMessage;\n\n // Every received message is activity — skip keep-alive ping if data is flowing.\n this._keepAlive.recordActivity();\n\n switch (message.type) {\n case HubMessageType.QueryResult:\n this.handleQueryResult(message);\n break;\n case HubMessageType.Pong:\n this.handlePong(message);\n break;\n case HubMessageType.Unauthorized:\n console.warn(`Hub: query '${message.queryId}' unauthorized`);\n this.handleUnauthorized(message);\n break;\n case HubMessageType.Error:\n console.error(`Hub: query '${message.queryId}' error:`, message.payload);\n break;\n }\n } catch (error) {\n console.error('Hub: error parsing message', error);\n }\n }\n\n private handleQueryResult(message: HubMessage): void {\n if (!message.queryId) return;\n\n const sub = this._subscriptions.get(message.queryId);\n if (!sub) return;\n\n const result = message.payload as QueryResult<any>;\n sub.callback(result);\n }\n\n private handleUnauthorized(message: HubMessage): void {\n if (!message.queryId) return;\n\n const sub = this._subscriptions.get(message.queryId);\n if (!sub) return;\n\n this._subscriptions.delete(message.queryId);\n sub.callback(QueryResult.unauthorized());\n }\n\n private handlePong(message: HubMessage): void {\n if (message.timestamp && this._lastPingSentTime) {\n const latency = Date.now() - message.timestamp;\n this._lastPongLatency = latency;\n this._latencySamples.push(latency);\n\n if (this._latencySamples.length > 100) {\n this._latencySamples.shift();\n }\n }\n }\n}\n"],"names":["HubMessageType","ReconnectPolicy","HubConnectionKeepAlive","Globals","QueryResult"],"mappings":";;;;;;;AAgBYA;AAAZ,CAAA,UAAY,cAAc,EAAA;AACtB,IAAA,cAAA,CAAA,WAAA,CAAA,GAAA,WAAuB;AACvB,IAAA,cAAA,CAAA,aAAA,CAAA,GAAA,aAA2B;AAC3B,IAAA,cAAA,CAAA,aAAA,CAAA,GAAA,aAA2B;AAC3B,IAAA,cAAA,CAAA,cAAA,CAAA,GAAA,cAA6B;AAC7B,IAAA,cAAA,CAAA,OAAA,CAAA,GAAA,OAAe;AACf,IAAA,cAAA,CAAA,MAAA,CAAA,GAAA,MAAa;AACb,IAAA,cAAA,CAAA,MAAA,CAAA,GAAA,MAAa;AACb,I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AAI,CAAC,OAAO,CAAC;YAElC,IAAI,IAAI,CAAC,eAAe,CAAC,MAAM,GAAG,GAAG,EAAE;AACnC,gBAAA,IAAI,CAAC,eAAe,CAAC,KAAK,EAAE;YAChC;QACJ;IACJ;AACH;;;;"}
|
|
1
|
+
{"version":3,"file":"WebSocketHubConnection.js","sources":["../../../queries/WebSocketHubConnection.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 { Globals } from '../Globals';\nimport { DataReceived } from './ObservableQueryConnection';\nimport { HubConnectionKeepAlive } from './HubConnectionKeepAlive';\nimport { IReconnectPolicy } from './IReconnectPolicy';\nimport { ReconnectPolicy } from './ReconnectPolicy';\nimport { QueryResult } from './QueryResult';\n\n/* eslint-disable @typescript-eslint/no-explicit-any */\n\n/**\n * Message types matching the backend {@link ObservableQueryHubMessageType} enum.\n * Serialized as strings by the JsonStringEnumConverter on the server.\n */\nexport enum HubMessageType {\n Subscribe = 'Subscribe',\n Unsubscribe = 'Unsubscribe',\n QueryResult = 'QueryResult',\n Unauthorized = 'Unauthorized',\n Error = 'Error',\n Ping = 'Ping',\n Pong = 'Pong',\n Connected = 'Connected',\n}\n\n/**\n * Wire format for messages exchanged over the {@link WebSocketHubConnection}.\n */\nexport interface HubMessage {\n type: HubMessageType;\n queryId?: string;\n payload?: any;\n timestamp?: number;\n}\n\n/**\n * Matches the backend {@link ObservableQuerySubscriptionRequest} record.\n */\nexport interface SubscriptionRequest {\n queryName: string;\n arguments?: Record<string, string | null>;\n page?: number;\n pageSize?: number;\n sortBy?: string;\n sortDirection?: string;\n transferMode?: string;\n}\n\ninterface ActiveSubscription {\n request: SubscriptionRequest;\n callback: DataReceived<any>;\n}\n\n/**\n * Represents a single multiplexed WebSocket connection to the observable query hub\n * at {@code /.cratis/queries/ws}.\n *\n * Multiple query subscriptions are carried over the same physical WebSocket. Each subscription\n * is identified by a client-generated {@code queryId}; the server tags every result message with\n * the same id so responses can be routed to the correct callback.\n */\nexport class WebSocketHubConnection {\n private _socket?: WebSocket;\n private _disconnected = false;\n private _subscriptions: Map<string, ActiveSubscription> = new Map();\n private readonly _keepAlive: HubConnectionKeepAlive;\n private _lastPingSentTime?: number;\n private _lastPongLatency: number = 0;\n private _latencySamples: number[] = [];\n\n /**\n * Initializes a new instance of {@link WebSocketHubConnection}.\n * @param {string} url The WebSocket URL of the hub endpoint (e.g. {@code ws://localhost:5000/.cratis/queries/ws}).\n * @param {string} microservice The microservice name to pass as a query argument.\n * @param {number} pingIntervalMs How often to send keep-alive pings when the connection is idle (default: 10 000 ms).\n * @param {IReconnectPolicy} reconnectPolicy The reconnect policy to use (default: {@link ReconnectPolicy}).\n */\n constructor(\n private readonly _url: string,\n private readonly _microservice: string,\n pingIntervalMs: number = 10000,\n private readonly _policy: IReconnectPolicy = new ReconnectPolicy()\n ) {\n this._keepAlive = new HubConnectionKeepAlive(pingIntervalMs, () => {\n if (this._socket?.readyState === WebSocket.OPEN) {\n this._lastPingSentTime = Date.now();\n this.sendMessage({ type: HubMessageType.Ping, timestamp: this._lastPingSentTime });\n }\n });\n }\n\n /**\n * Gets the number of active query subscriptions on this connection.\n */\n get queryCount(): number {\n return this._subscriptions.size;\n }\n\n /**\n * Gets whether the WebSocket connection is currently open.\n */\n get isConnected(): boolean {\n return this._socket?.readyState === WebSocket.OPEN;\n }\n\n /**\n * Gets the latency of the last ping/pong sequence in milliseconds.\n */\n get lastPingLatency(): number {\n return this._lastPongLatency;\n }\n\n /**\n * Gets the rolling average latency in milliseconds.\n */\n get averageLatency(): number {\n if (this._latencySamples.length === 0) return 0;\n return this._latencySamples.reduce((a, b) => a + b, 0) / this._latencySamples.length;\n }\n\n /**\n * Subscribe to a query on this hub connection.\n * If the WebSocket is not yet open, the subscribe message will be sent once the connection is established.\n * @param {string} queryId Client-generated unique identifier for this subscription.\n * @param {SubscriptionRequest} request The subscription request payload.\n * @param {DataReceived<any>} callback Callback invoked whenever the server pushes a result for this query.\n */\n subscribe(queryId: string, request: SubscriptionRequest, callback: DataReceived<any>): void {\n this._subscriptions.set(queryId, { request, callback });\n this.ensureConnected();\n\n if (this._socket?.readyState === WebSocket.OPEN) {\n this.sendSubscribeMessage(queryId, request);\n }\n // If not yet open, sendAllSubscriptions will fire in onopen.\n }\n\n /**\n * Unsubscribe from a query on this hub connection.\n * @param {string} queryId The identifier of the subscription to cancel.\n */\n unsubscribe(queryId: string): void {\n this._subscriptions.delete(queryId);\n\n if (this._socket?.readyState === WebSocket.OPEN) {\n this.sendMessage({ type: HubMessageType.Unsubscribe, queryId });\n }\n\n // If no subscriptions remain, close the connection to free resources.\n if (this._subscriptions.size === 0) {\n this.close();\n }\n }\n\n /**\n * Permanently close this hub connection and clean up all subscriptions.\n */\n dispose(): void {\n this._disconnected = true;\n this._subscriptions.clear();\n this._keepAlive.stop();\n this._policy.cancel();\n this._socket?.close();\n this._socket = undefined;\n }\n\n private ensureConnected(): void {\n if (this._disconnected) {\n // Reset disconnected flag when a new subscription comes in\n this._disconnected = false;\n }\n\n if (this._socket && (this._socket.readyState === WebSocket.OPEN || this._socket.readyState === WebSocket.CONNECTING)) {\n return;\n }\n\n this.openSocket();\n }\n\n private close(): void {\n this._disconnected = true;\n this._keepAlive.stop();\n this._policy.cancel();\n if (this._socket) {\n // Detach all handlers BEFORE closing so that the async onclose event cannot\n // fire after a new subscription has reset _disconnected to false and opened a\n // fresh socket. Without this, the stale onclose triggers an unintended\n // reconnect via the back-off policy, causing a 1-10 second delay before the\n // new page's queries receive their first data.\n this._socket.onopen = null;\n this._socket.onclose = null;\n this._socket.onerror = null;\n this._socket.onmessage = null;\n this._socket.close();\n }\n this._socket = undefined;\n }\n\n private openSocket(): void {\n let url = this._url;\n if (this._microservice?.length > 0) {\n const param = `${Globals.microserviceWSQueryArgument}=${encodeURIComponent(this._microservice)}`;\n url += (url.includes('?') ? '&' : '?') + param;\n }\n\n this._socket = new WebSocket(url);\n\n this._socket.onopen = () => {\n if (this._disconnected) return;\n console.log(`Hub connection established: '${url}'`);\n this._policy.reset();\n this._keepAlive.start();\n this.sendAllSubscriptions();\n };\n\n this._socket.onclose = () => {\n if (this._disconnected) return;\n console.log(`Hub connection closed: '${url}'`);\n this._keepAlive.stop();\n if (this._subscriptions.size === 0) return;\n this._policy.schedule(() => {\n if (!this._disconnected && this._subscriptions.size > 0) {\n this.openSocket();\n }\n }, this._url);\n };\n\n this._socket.onerror = (error) => {\n if (this._disconnected) return;\n console.error(`Hub connection error: '${url}'`, error);\n this._keepAlive.stop();\n // onclose will fire after onerror, triggering reconnect\n };\n\n this._socket.onmessage = (ev) => {\n if (this._disconnected) return;\n this.handleMessage(ev.data as string);\n };\n }\n\n private sendAllSubscriptions(): void {\n for (const [queryId, sub] of this._subscriptions) {\n this.sendSubscribeMessage(queryId, sub.request);\n }\n }\n\n private sendSubscribeMessage(queryId: string, request: SubscriptionRequest): void {\n this.sendMessage({\n type: HubMessageType.Subscribe,\n queryId,\n payload: request,\n });\n }\n\n private sendMessage(message: HubMessage): void {\n if (this._socket?.readyState === WebSocket.OPEN) {\n this._socket.send(JSON.stringify(message));\n }\n }\n\n private handleMessage(rawData: string): void {\n try {\n const message = JSON.parse(rawData) as HubMessage;\n\n // Every received message is activity — skip keep-alive ping if data is flowing.\n this._keepAlive.recordActivity();\n\n switch (message.type) {\n case HubMessageType.QueryResult:\n this.handleQueryResult(message);\n break;\n case HubMessageType.Pong:\n this.handlePong(message);\n break;\n case HubMessageType.Unauthorized:\n console.warn(`Hub: query '${message.queryId}' unauthorized`);\n this.handleUnauthorized(message);\n break;\n case HubMessageType.Error:\n console.error(`Hub: query '${message.queryId}' error:`, message.payload);\n break;\n }\n } catch (error) {\n console.error('Hub: error parsing message', error);\n }\n }\n\n private handleQueryResult(message: HubMessage): void {\n if (!message.queryId) return;\n\n const sub = this._subscriptions.get(message.queryId);\n if (!sub) return;\n\n const result = message.payload as QueryResult<any>;\n sub.callback(result);\n }\n\n private handleUnauthorized(message: HubMessage): void {\n if (!message.queryId) return;\n\n const sub = this._subscriptions.get(message.queryId);\n if (!sub) return;\n\n this._subscriptions.delete(message.queryId);\n sub.callback(QueryResult.unauthorized());\n }\n\n private handlePong(message: HubMessage): void {\n if (message.timestamp && this._lastPingSentTime) {\n const latency = Date.now() - message.timestamp;\n this._lastPongLatency = latency;\n this._latencySamples.push(latency);\n\n if (this._latencySamples.length > 100) {\n this._latencySamples.shift();\n }\n }\n }\n}\n"],"names":["HubMessageType","WebSocketHubConnection","_socket","_disconnected","_subscriptions","Map","_keepAlive","_lastPingSentTime","_lastPongLatency","_latencySamples","_url","pingIntervalMs","_policy","ReconnectPolicy","_microservice","HubConnectionKeepAlive","readyState","WebSocket","OPEN","Date","now","sendMessage","type","timestamp","queryCount","size","isConnected","lastPingLatency","averageLatency","length","reduce","a","b","subscribe","queryId","request","callback","set","ensureConnected","sendSubscribeMessage","unsubscribe","delete","close","dispose","clear","stop","cancel","undefined","CONNECTING","openSocket","onopen","onclose","onerror","onmessage","url","param","Globals","microserviceWSQueryArgument","encodeURIComponent","includes","console","log","reset","start","sendAllSubscriptions","schedule","error","ev","handleMessage","data","sub","payload","message","send","JSON","stringify","rawData","parse","recordActivity","handleQueryResult","handlePong","warn","handleUnauthorized","get","result","QueryResult","unauthorized","latency","push","shift"],"mappings":";;;;;;;AAAA;AACA;AASA;;;IAMO,IAAKA,cAAAA,iBAAAA,SAAAA,cAAAA,EAAAA;;;;;;;;;AAAAA,IAAAA,OAAAA,cAAAA;AASX,CAAA,CAAA,EAAA;AA8BD;;;;;;;AAOC,IACM,MAAMC,sBAAAA,CAAAA;;;;IACDC,OAAAA;AACAC,IAAAA,aAAAA,GAAgB,KAAA;AAChBC,IAAAA,cAAAA,GAAkD,IAAIC,GAAAA,EAAAA;IAC7CC,UAAAA;IACTC,iBAAAA;AACAC,IAAAA,gBAAAA,GAA2B,CAAA;AAC3BC,IAAAA,eAAAA,GAA4B,EAAE;AAEtC;;;;;;AAMC,QACD,WAAA,CACqBC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