@cratis/arc 22.25.0 → 22.26.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1600) hide show
  1. package/Globals.ts +5 -5
  2. package/ICanBeConfigured.ts +1 -1
  3. package/commands/Command.ts +10 -10
  4. package/commands/CommandResult.ts +2 -2
  5. package/commands/CommandResults.ts +4 -4
  6. package/commands/CommandValidator.ts +2 -2
  7. package/commands/ICommand.ts +4 -4
  8. package/commands/ICommandResult.ts +1 -1
  9. package/commands/for_Command/CommandWithRouteParams.ts +2 -2
  10. package/commands/for_Command/SomeCommand.ts +2 -2
  11. package/commands/for_Command/given/a_command.ts +2 -2
  12. package/commands/for_Command/given/a_command_with_validator.ts +5 -5
  13. package/commands/for_Command/when_clearing_the_command.ts +1 -1
  14. package/commands/for_Command/when_constructing_command.ts +4 -4
  15. package/commands/for_Command/when_constructing_command_with_globals_api_base_path.ts +4 -4
  16. package/commands/for_Command/when_constructing_command_with_globals_origin.ts +4 -4
  17. package/commands/for_Command/when_executing/and_command_route_not_found.ts +3 -3
  18. package/commands/for_Command/when_executing/and_fetch_throws_exception.ts +3 -3
  19. package/commands/for_Command/when_executing/with_allowed_severity_warning.ts +3 -3
  20. package/commands/for_Command/when_executing/with_client_validation_failing.ts +5 -5
  21. package/commands/for_Command/when_executing/with_client_validation_failure_and_custom_message.ts +3 -3
  22. package/commands/for_Command/when_executing/with_client_validation_passing.ts +5 -5
  23. package/commands/for_Command/when_executing/with_command_properties.ts +2 -2
  24. package/commands/for_Command/when_executing/with_custom_http_headers.ts +3 -3
  25. package/commands/for_Command/when_executing/with_declared_blocking_severity.ts +5 -5
  26. package/commands/for_Command/when_executing/with_empty_required_string_property.ts +3 -3
  27. package/commands/for_Command/when_executing/with_microservice_header.ts +3 -3
  28. package/commands/for_Command/when_executing/with_missing_required_property.ts +3 -3
  29. package/commands/for_Command/when_executing/with_null_required_property.ts +3 -3
  30. package/commands/for_Command/when_executing/with_origin_and_api_base_path.ts +3 -3
  31. package/commands/for_Command/when_executing/with_route_parameters.ts +3 -3
  32. package/commands/for_Command/when_executing/with_successful_response.ts +3 -3
  33. package/commands/for_Command/when_property_changed_value_that_is_different_from_initial_value.ts +1 -1
  34. package/commands/for_Command/when_property_changed_value_that_is_same_as_initial_value.ts +1 -1
  35. package/commands/for_Command/when_property_changes_and_initial_value_is_undefined.ts +1 -1
  36. package/commands/for_Command/when_property_changes_and_there_is_a_callback.ts +1 -1
  37. package/commands/for_Command/when_property_has_changed_and_we_revert.ts +1 -1
  38. package/commands/for_Command/when_setting_initial_values_after_property_changed.ts +1 -1
  39. package/commands/for_Command/when_validating/and_fetch_throws_exception.ts +3 -3
  40. package/commands/for_Command/when_validating/and_validation_endpoint_not_found.ts +3 -3
  41. package/commands/for_Command/when_validating/does_not_update_initial_values.ts +2 -2
  42. package/commands/for_Command/when_validating/with_client_validation_failure.ts +3 -3
  43. package/commands/for_Command/when_validating/with_client_validation_passing.ts +6 -6
  44. package/commands/for_Command/when_validating/with_empty_required_string_property.ts +3 -3
  45. package/commands/for_Command/when_validating/with_null_required_property.ts +3 -3
  46. package/commands/for_Command/when_validating/with_required_property_missing.ts +3 -3
  47. package/commands/for_Command/when_validating/with_route_parameters.ts +3 -3
  48. package/commands/for_Command/when_validating/with_successful_response.ts +3 -3
  49. package/commands/for_Command/when_validating/with_validation_errors.ts +3 -3
  50. package/commands/for_Command/when_validating_client_side/with_client_validation_failure.ts +3 -3
  51. package/commands/for_Command/when_validating_client_side/with_client_validation_passing.ts +6 -6
  52. package/commands/for_Command/when_validating_client_side/with_required_property_missing.ts +3 -3
  53. package/commands/for_CommandResult/when_chaining_callbacks/and_result_has_exceptions.ts +1 -1
  54. package/commands/for_CommandResult/when_chaining_callbacks/and_result_is_invalid.ts +3 -3
  55. package/commands/for_CommandResult/when_chaining_callbacks/and_result_is_successful.ts +1 -1
  56. package/commands/for_CommandResult/when_chaining_callbacks/and_result_is_unauthorized.ts +1 -1
  57. package/commands/for_CommandResult/when_constructing_from_a_server_result_with_a_constraint_violation.ts +3 -3
  58. package/commands/for_CommandResult/when_constructing_from_a_server_result_with_reasons.ts +3 -3
  59. package/commands/for_CommandResult/when_constructing_with_primitive_response.ts +1 -1
  60. package/commands/for_CommandResult/when_creating_a_validation_failed_result.ts +4 -4
  61. package/commands/index.ts +7 -7
  62. package/dist/cjs/EventSourceFactory.d.ts +2 -0
  63. package/dist/cjs/EventSourceFactory.d.ts.map +1 -0
  64. package/dist/cjs/GetHttpHeaders.d.ts +2 -0
  65. package/dist/cjs/GetHttpHeaders.d.ts.map +1 -0
  66. package/dist/cjs/Globals.d.ts +27 -0
  67. package/dist/cjs/Globals.d.ts.map +1 -0
  68. package/dist/cjs/Globals.js.map +1 -1
  69. package/dist/cjs/ICanBeConfigured.d.ts +8 -0
  70. package/dist/cjs/ICanBeConfigured.d.ts.map +1 -0
  71. package/dist/cjs/UrlHelpers.d.ts +9 -0
  72. package/dist/cjs/UrlHelpers.d.ts.map +1 -0
  73. package/dist/cjs/commands/Command.d.ts +46 -0
  74. package/dist/cjs/commands/Command.d.ts.map +1 -0
  75. package/dist/cjs/commands/Command.js.map +1 -1
  76. package/dist/cjs/commands/CommandResult.d.ts +51 -0
  77. package/dist/cjs/commands/CommandResult.d.ts.map +1 -0
  78. package/dist/cjs/commands/CommandResult.js.map +1 -1
  79. package/dist/cjs/commands/CommandResults.d.ts +23 -0
  80. package/dist/cjs/commands/CommandResults.d.ts.map +1 -0
  81. package/dist/cjs/commands/CommandResults.js.map +1 -1
  82. package/dist/cjs/commands/CommandValidator.d.ts +6 -0
  83. package/dist/cjs/commands/CommandValidator.d.ts.map +1 -0
  84. package/dist/cjs/commands/CommandValidator.js.map +1 -1
  85. package/dist/cjs/commands/ICommand.d.ts +21 -0
  86. package/dist/cjs/commands/ICommand.d.ts.map +1 -0
  87. package/dist/cjs/commands/ICommandResult.d.ts +15 -0
  88. package/dist/cjs/commands/ICommandResult.d.ts.map +1 -0
  89. package/dist/cjs/commands/index.d.ts +8 -0
  90. package/dist/cjs/commands/index.d.ts.map +1 -0
  91. package/dist/cjs/commands/index.js.map +1 -1
  92. package/dist/cjs/deepEqual.d.ts +2 -0
  93. package/dist/cjs/deepEqual.d.ts.map +1 -0
  94. package/dist/cjs/given.d.ts +5 -0
  95. package/dist/cjs/given.d.ts.map +1 -0
  96. package/dist/cjs/helpers/fetchHelper.d.ts +7 -0
  97. package/dist/cjs/helpers/fetchHelper.d.ts.map +1 -0
  98. package/dist/cjs/identity/IIdentity.d.ts +10 -0
  99. package/dist/cjs/identity/IIdentity.d.ts.map +1 -0
  100. package/dist/cjs/identity/IIdentityProvider.d.ts +6 -0
  101. package/dist/cjs/identity/IIdentityProvider.d.ts.map +1 -0
  102. package/dist/cjs/identity/IIdentityProvider.js.map +1 -1
  103. package/dist/cjs/identity/IdentityProvider.d.ts +20 -0
  104. package/dist/cjs/identity/IdentityProvider.d.ts.map +1 -0
  105. package/dist/cjs/identity/IdentityProvider.js.map +1 -1
  106. package/dist/cjs/identity/IdentityProviderResult.d.ts +7 -0
  107. package/dist/cjs/identity/IdentityProviderResult.d.ts.map +1 -0
  108. package/dist/cjs/identity/deserializeIdentityDetails.d.ts +3 -0
  109. package/dist/cjs/identity/deserializeIdentityDetails.d.ts.map +1 -0
  110. package/dist/cjs/identity/index.d.ts +6 -0
  111. package/dist/cjs/identity/index.d.ts.map +1 -0
  112. package/dist/cjs/identity/index.js.map +1 -1
  113. package/dist/cjs/index.d.ts +15 -0
  114. package/dist/cjs/index.d.ts.map +1 -0
  115. package/dist/cjs/joinPaths.d.ts +2 -0
  116. package/dist/cjs/joinPaths.d.ts.map +1 -0
  117. package/dist/cjs/messaging/IMessenger.d.ts +10 -0
  118. package/dist/cjs/messaging/IMessenger.d.ts.map +1 -0
  119. package/dist/cjs/messaging/Message.d.ts +7 -0
  120. package/dist/cjs/messaging/Message.d.ts.map +1 -0
  121. package/dist/cjs/messaging/Messenger.d.ts +20 -0
  122. package/dist/cjs/messaging/Messenger.d.ts.map +1 -0
  123. package/dist/cjs/messaging/Messenger.js.map +1 -1
  124. package/dist/cjs/messaging/index.d.ts +4 -0
  125. package/dist/cjs/messaging/index.d.ts.map +1 -0
  126. package/dist/cjs/messaging/index.js.map +1 -1
  127. package/dist/cjs/queries/ChangeSet.d.ts +6 -0
  128. package/dist/cjs/queries/ChangeSet.d.ts.map +1 -0
  129. package/dist/cjs/queries/HubConnectionKeepAlive.d.ts +14 -0
  130. package/dist/cjs/queries/HubConnectionKeepAlive.d.ts.map +1 -0
  131. package/dist/cjs/queries/IChangeStreamFor.d.ts +4 -0
  132. package/dist/cjs/queries/IChangeStreamFor.d.ts.map +1 -0
  133. package/dist/cjs/queries/IObservableQueryConnection.d.ts +8 -0
  134. package/dist/cjs/queries/IObservableQueryConnection.d.ts.map +1 -0
  135. package/dist/cjs/queries/IObservableQueryDiagnostics.d.ts +9 -0
  136. package/dist/cjs/queries/IObservableQueryDiagnostics.d.ts.map +1 -0
  137. package/dist/cjs/queries/IObservableQueryFor.d.ts +14 -0
  138. package/dist/cjs/queries/IObservableQueryFor.d.ts.map +1 -0
  139. package/dist/cjs/queries/IObservableQueryHubConnection.d.ts +12 -0
  140. package/dist/cjs/queries/IObservableQueryHubConnection.d.ts.map +1 -0
  141. package/dist/cjs/queries/IQuery.d.ts +12 -0
  142. package/dist/cjs/queries/IQuery.d.ts.map +1 -0
  143. package/dist/cjs/queries/IQueryFor.d.ts +13 -0
  144. package/dist/cjs/queries/IQueryFor.d.ts.map +1 -0
  145. package/dist/cjs/queries/IQueryProvider.d.ts +6 -0
  146. package/dist/cjs/queries/IQueryProvider.d.ts.map +1 -0
  147. package/dist/cjs/queries/IQueryProvider.js.map +1 -1
  148. package/dist/cjs/queries/IQueryResult.d.ts +18 -0
  149. package/dist/cjs/queries/IQueryResult.d.ts.map +1 -0
  150. package/dist/cjs/queries/IReconnectPolicy.d.ts +8 -0
  151. package/dist/cjs/queries/IReconnectPolicy.d.ts.map +1 -0
  152. package/dist/cjs/queries/NullObservableQueryConnection.d.ts +13 -0
  153. package/dist/cjs/queries/NullObservableQueryConnection.d.ts.map +1 -0
  154. package/dist/cjs/queries/NullObservableQueryConnection.js.map +1 -1
  155. package/dist/cjs/queries/ObservableQueryConnection.d.ts +31 -0
  156. package/dist/cjs/queries/ObservableQueryConnection.d.ts.map +1 -0
  157. package/dist/cjs/queries/ObservableQueryConnection.js.map +1 -1
  158. package/dist/cjs/queries/ObservableQueryConnectionFactory.d.ts +13 -0
  159. package/dist/cjs/queries/ObservableQueryConnectionFactory.d.ts.map +1 -0
  160. package/dist/cjs/queries/ObservableQueryConnectionFactory.js.map +1 -1
  161. package/dist/cjs/queries/ObservableQueryConnectionPool.d.ts +9 -0
  162. package/dist/cjs/queries/ObservableQueryConnectionPool.d.ts.map +1 -0
  163. package/dist/cjs/queries/ObservableQueryConnectionPool.js.map +1 -1
  164. package/dist/cjs/queries/ObservableQueryDiagnostics.d.ts +21 -0
  165. package/dist/cjs/queries/ObservableQueryDiagnostics.d.ts.map +1 -0
  166. package/dist/cjs/queries/ObservableQueryDiagnostics.js.map +1 -1
  167. package/dist/cjs/queries/ObservableQueryDiagnosticsSnapshot.d.ts +48 -0
  168. package/dist/cjs/queries/ObservableQueryDiagnosticsSnapshot.d.ts.map +1 -0
  169. package/dist/cjs/queries/ObservableQueryFor.d.ts +42 -0
  170. package/dist/cjs/queries/ObservableQueryFor.d.ts.map +1 -0
  171. package/dist/cjs/queries/ObservableQueryFor.js.map +1 -1
  172. package/dist/cjs/queries/ObservableQueryMultiplexer.d.ts +33 -0
  173. package/dist/cjs/queries/ObservableQueryMultiplexer.d.ts.map +1 -0
  174. package/dist/cjs/queries/ObservableQueryMultiplexer.js.map +1 -1
  175. package/dist/cjs/queries/ObservableQuerySubscription.d.ts +7 -0
  176. package/dist/cjs/queries/ObservableQuerySubscription.d.ts.map +1 -0
  177. package/dist/cjs/queries/ObservableQuerySubscription.js.map +1 -1
  178. package/dist/cjs/queries/Paging.d.ts +8 -0
  179. package/dist/cjs/queries/Paging.d.ts.map +1 -0
  180. package/dist/cjs/queries/PagingInfo.d.ts +9 -0
  181. package/dist/cjs/queries/PagingInfo.d.ts.map +1 -0
  182. package/dist/cjs/queries/QueryFor.d.ts +37 -0
  183. package/dist/cjs/queries/QueryFor.d.ts.map +1 -0
  184. package/dist/cjs/queries/QueryFor.js.map +1 -1
  185. package/dist/cjs/queries/QueryHttpMethod.d.ts +6 -0
  186. package/dist/cjs/queries/QueryHttpMethod.d.ts.map +1 -0
  187. package/dist/cjs/queries/QueryHttpMethodResolver.d.ts +14 -0
  188. package/dist/cjs/queries/QueryHttpMethodResolver.d.ts.map +1 -0
  189. package/dist/cjs/queries/QueryHttpMethodResolver.js.map +1 -1
  190. package/dist/cjs/queries/QueryHttpRequest.d.ts +21 -0
  191. package/dist/cjs/queries/QueryHttpRequest.d.ts.map +1 -0
  192. package/dist/cjs/queries/QueryHttpRequest.js.map +1 -1
  193. package/dist/cjs/queries/QueryInstanceCache.d.ts +40 -0
  194. package/dist/cjs/queries/QueryInstanceCache.d.ts.map +1 -0
  195. package/dist/cjs/queries/QueryInstanceCache.js.map +1 -1
  196. package/dist/cjs/queries/QueryProvider.d.ts +13 -0
  197. package/dist/cjs/queries/QueryProvider.d.ts.map +1 -0
  198. package/dist/cjs/queries/QueryProvider.js.map +1 -1
  199. package/dist/cjs/queries/QueryResult.d.ts +62 -0
  200. package/dist/cjs/queries/QueryResult.d.ts.map +1 -0
  201. package/dist/cjs/queries/QueryResult.js.map +1 -1
  202. package/dist/cjs/queries/QueryResultWithState.d.ts +24 -0
  203. package/dist/cjs/queries/QueryResultWithState.d.ts.map +1 -0
  204. package/dist/cjs/queries/QueryResultWithState.js.map +1 -1
  205. package/dist/cjs/queries/QueryTransportMethod.d.ts +5 -0
  206. package/dist/cjs/queries/QueryTransportMethod.d.ts.map +1 -0
  207. package/dist/cjs/queries/QueryValidator.d.ts +6 -0
  208. package/dist/cjs/queries/QueryValidator.d.ts.map +1 -0
  209. package/dist/cjs/queries/QueryValidator.js.map +1 -1
  210. package/dist/cjs/queries/ReconnectPolicy.d.ts +15 -0
  211. package/dist/cjs/queries/ReconnectPolicy.d.ts.map +1 -0
  212. package/dist/cjs/queries/ReconnectPolicy.js.map +1 -1
  213. package/dist/cjs/queries/ServerSentEventHubConnection.d.ts +49 -0
  214. package/dist/cjs/queries/ServerSentEventHubConnection.d.ts.map +1 -0
  215. package/dist/cjs/queries/ServerSentEventHubConnection.js.map +1 -1
  216. package/dist/cjs/queries/ServerSentEventQueryConnection.d.ts +16 -0
  217. package/dist/cjs/queries/ServerSentEventQueryConnection.d.ts.map +1 -0
  218. package/dist/cjs/queries/ServerSentEventQueryConnection.js.map +1 -1
  219. package/dist/cjs/queries/SortDirection.d.ts +6 -0
  220. package/dist/cjs/queries/SortDirection.d.ts.map +1 -0
  221. package/dist/cjs/queries/Sorting.d.ts +9 -0
  222. package/dist/cjs/queries/Sorting.d.ts.map +1 -0
  223. package/dist/cjs/queries/Sorting.js.map +1 -1
  224. package/dist/cjs/queries/SortingActions.d.ts +10 -0
  225. package/dist/cjs/queries/SortingActions.d.ts.map +1 -0
  226. package/dist/cjs/queries/SortingActions.js.map +1 -1
  227. package/dist/cjs/queries/SortingActionsForObservableQuery.d.ts +10 -0
  228. package/dist/cjs/queries/SortingActionsForObservableQuery.d.ts.map +1 -0
  229. package/dist/cjs/queries/SortingActionsForObservableQuery.js.map +1 -1
  230. package/dist/cjs/queries/SortingActionsForQuery.d.ts +10 -0
  231. package/dist/cjs/queries/SortingActionsForQuery.d.ts.map +1 -0
  232. package/dist/cjs/queries/SortingActionsForQuery.js.map +1 -1
  233. package/dist/cjs/queries/ValidateRequestArguments.d.ts +2 -0
  234. package/dist/cjs/queries/ValidateRequestArguments.d.ts.map +1 -0
  235. package/dist/cjs/queries/WebSocketHubConnection.d.ts +70 -0
  236. package/dist/cjs/queries/WebSocketHubConnection.d.ts.map +1 -0
  237. package/dist/cjs/queries/WebSocketHubConnection.js.map +1 -1
  238. package/dist/cjs/queries/WebSocketMessage.d.ts +11 -0
  239. package/dist/cjs/queries/WebSocketMessage.d.ts.map +1 -0
  240. package/dist/cjs/queries/deserializeQueryModel.d.ts +5 -0
  241. package/dist/cjs/queries/deserializeQueryModel.d.ts.map +1 -0
  242. package/dist/cjs/queries/index.d.ts +44 -0
  243. package/dist/cjs/queries/index.d.ts.map +1 -0
  244. package/dist/cjs/queries/index.js.map +1 -1
  245. package/dist/cjs/queries/isAbortError.d.ts +2 -0
  246. package/dist/cjs/queries/isAbortError.d.ts.map +1 -0
  247. package/dist/cjs/queries/reconcileQueryData.d.ts +2 -0
  248. package/dist/cjs/queries/reconcileQueryData.d.ts.map +1 -0
  249. package/dist/cjs/queries/reconcileQueryData.js.map +1 -1
  250. package/dist/cjs/reflection/IHaveParameters.d.ts +5 -0
  251. package/dist/cjs/reflection/IHaveParameters.d.ts.map +1 -0
  252. package/dist/cjs/reflection/ParameterDescriptor.d.ts +8 -0
  253. package/dist/cjs/reflection/ParameterDescriptor.d.ts.map +1 -0
  254. package/dist/cjs/reflection/ParametersHelper.d.ts +5 -0
  255. package/dist/cjs/reflection/ParametersHelper.d.ts.map +1 -0
  256. package/dist/cjs/reflection/ParametersHelper.js.map +1 -1
  257. package/dist/cjs/reflection/PropertyDescriptor.d.ts +8 -0
  258. package/dist/cjs/reflection/PropertyDescriptor.d.ts.map +1 -0
  259. package/dist/cjs/reflection/index.d.ts +5 -0
  260. package/dist/cjs/reflection/index.d.ts.map +1 -0
  261. package/dist/cjs/reflection/index.js.map +1 -1
  262. package/dist/cjs/validation/IValidationRule.d.ts +5 -0
  263. package/dist/cjs/validation/IValidationRule.d.ts.map +1 -0
  264. package/dist/cjs/validation/PropertyRule.d.ts +11 -0
  265. package/dist/cjs/validation/PropertyRule.d.ts.map +1 -0
  266. package/dist/cjs/validation/PropertyRule.js.map +1 -1
  267. package/dist/cjs/validation/PropertyValidator.d.ts +11 -0
  268. package/dist/cjs/validation/PropertyValidator.d.ts.map +1 -0
  269. package/dist/cjs/validation/PropertyValidator.js.map +1 -1
  270. package/dist/cjs/validation/RuleBuilder.d.ts +11 -0
  271. package/dist/cjs/validation/RuleBuilder.d.ts.map +1 -0
  272. package/dist/cjs/validation/RuleBuilder.js.map +1 -1
  273. package/dist/cjs/validation/RuleBuilderExtensions.d.ts +32 -0
  274. package/dist/cjs/validation/RuleBuilderExtensions.d.ts.map +1 -0
  275. package/dist/cjs/validation/RuleBuilderExtensions.js.map +1 -1
  276. package/dist/cjs/validation/ValidationResult.d.ts +12 -0
  277. package/dist/cjs/validation/ValidationResult.d.ts.map +1 -0
  278. package/dist/cjs/validation/ValidationResult.js.map +1 -1
  279. package/dist/cjs/validation/ValidationResultReason.d.ts +10 -0
  280. package/dist/cjs/validation/ValidationResultReason.d.ts.map +1 -0
  281. package/dist/cjs/validation/ValidationResultSeverity.d.ts +7 -0
  282. package/dist/cjs/validation/ValidationResultSeverity.d.ts.map +1 -0
  283. package/dist/cjs/validation/Validator.d.ts +11 -0
  284. package/dist/cjs/validation/Validator.d.ts.map +1 -0
  285. package/dist/cjs/validation/Validator.js.map +1 -1
  286. package/dist/cjs/validation/index.d.ts +15 -0
  287. package/dist/cjs/validation/index.d.ts.map +1 -0
  288. package/dist/cjs/validation/index.js.map +1 -1
  289. package/dist/cjs/validation/rules/ComparisonRules.d.ts +22 -0
  290. package/dist/cjs/validation/rules/ComparisonRules.d.ts.map +1 -0
  291. package/dist/cjs/validation/rules/ComparisonRules.js.map +1 -1
  292. package/dist/cjs/validation/rules/EmailRule.d.ts +7 -0
  293. package/dist/cjs/validation/rules/EmailRule.d.ts.map +1 -0
  294. package/dist/cjs/validation/rules/EmailRule.js.map +1 -1
  295. package/dist/cjs/validation/rules/LengthRules.d.ts +18 -0
  296. package/dist/cjs/validation/rules/LengthRules.d.ts.map +1 -0
  297. package/dist/cjs/validation/rules/LengthRules.js.map +1 -1
  298. package/dist/cjs/validation/rules/NotEmptyRule.d.ts +10 -0
  299. package/dist/cjs/validation/rules/NotEmptyRule.d.ts.map +1 -0
  300. package/dist/cjs/validation/rules/NotEmptyRule.js.map +1 -1
  301. package/dist/cjs/validation/rules/PhoneRule.d.ts +7 -0
  302. package/dist/cjs/validation/rules/PhoneRule.d.ts.map +1 -0
  303. package/dist/cjs/validation/rules/PhoneRule.js.map +1 -1
  304. package/dist/cjs/validation/rules/RegexRule.d.ts +7 -0
  305. package/dist/cjs/validation/rules/RegexRule.d.ts.map +1 -0
  306. package/dist/cjs/validation/rules/RegexRule.js.map +1 -1
  307. package/dist/cjs/validation/rules/UrlRule.d.ts +7 -0
  308. package/dist/cjs/validation/rules/UrlRule.d.ts.map +1 -0
  309. package/dist/cjs/validation/rules/UrlRule.js.map +1 -1
  310. package/dist/esm/Globals.d.ts +5 -5
  311. package/dist/esm/Globals.d.ts.map +1 -1
  312. package/dist/esm/Globals.js.map +1 -1
  313. package/dist/esm/ICanBeConfigured.d.ts +1 -1
  314. package/dist/esm/ICanBeConfigured.d.ts.map +1 -1
  315. package/dist/esm/commands/Command.d.ts +6 -6
  316. package/dist/esm/commands/Command.d.ts.map +1 -1
  317. package/dist/esm/commands/Command.js.map +1 -1
  318. package/dist/esm/commands/CommandResult.d.ts +2 -2
  319. package/dist/esm/commands/CommandResult.d.ts.map +1 -1
  320. package/dist/esm/commands/CommandResult.js.map +1 -1
  321. package/dist/esm/commands/CommandResults.d.ts +4 -4
  322. package/dist/esm/commands/CommandResults.d.ts.map +1 -1
  323. package/dist/esm/commands/CommandResults.js.map +1 -1
  324. package/dist/esm/commands/CommandValidator.d.ts +2 -2
  325. package/dist/esm/commands/CommandValidator.d.ts.map +1 -1
  326. package/dist/esm/commands/CommandValidator.js.map +1 -1
  327. package/dist/esm/commands/ICommand.d.ts +4 -4
  328. package/dist/esm/commands/ICommand.d.ts.map +1 -1
  329. package/dist/esm/commands/ICommandResult.d.ts +1 -1
  330. package/dist/esm/commands/ICommandResult.d.ts.map +1 -1
  331. package/dist/esm/commands/for_Command/CommandWithRouteParams.d.ts +2 -2
  332. package/dist/esm/commands/for_Command/CommandWithRouteParams.d.ts.map +1 -1
  333. package/dist/esm/commands/for_Command/CommandWithRouteParams.js +2 -2
  334. package/dist/esm/commands/for_Command/CommandWithRouteParams.js.map +1 -1
  335. package/dist/esm/commands/for_Command/SomeCommand.d.ts +2 -2
  336. package/dist/esm/commands/for_Command/SomeCommand.d.ts.map +1 -1
  337. package/dist/esm/commands/for_Command/SomeCommand.js +2 -2
  338. package/dist/esm/commands/for_Command/SomeCommand.js.map +1 -1
  339. package/dist/esm/commands/for_Command/given/a_command.d.ts +1 -1
  340. package/dist/esm/commands/for_Command/given/a_command.d.ts.map +1 -1
  341. package/dist/esm/commands/for_Command/given/a_command.js +2 -2
  342. package/dist/esm/commands/for_Command/given/a_command.js.map +1 -1
  343. package/dist/esm/commands/for_Command/given/a_command_with_validator.d.ts +4 -4
  344. package/dist/esm/commands/for_Command/given/a_command_with_validator.d.ts.map +1 -1
  345. package/dist/esm/commands/for_Command/given/a_command_with_validator.js +4 -4
  346. package/dist/esm/commands/for_Command/given/a_command_with_validator.js.map +1 -1
  347. package/dist/esm/commands/for_Command/when_clearing_the_command.js +1 -1
  348. package/dist/esm/commands/for_Command/when_clearing_the_command.js.map +1 -1
  349. package/dist/esm/commands/for_Command/when_constructing_command.js +4 -4
  350. package/dist/esm/commands/for_Command/when_constructing_command.js.map +1 -1
  351. package/dist/esm/commands/for_Command/when_constructing_command_with_globals_api_base_path.js +4 -4
  352. package/dist/esm/commands/for_Command/when_constructing_command_with_globals_api_base_path.js.map +1 -1
  353. package/dist/esm/commands/for_Command/when_constructing_command_with_globals_origin.js +4 -4
  354. package/dist/esm/commands/for_Command/when_constructing_command_with_globals_origin.js.map +1 -1
  355. package/dist/esm/commands/for_Command/when_executing/and_command_route_not_found.js +2 -2
  356. package/dist/esm/commands/for_Command/when_executing/and_command_route_not_found.js.map +1 -1
  357. package/dist/esm/commands/for_Command/when_executing/and_fetch_throws_exception.js +2 -2
  358. package/dist/esm/commands/for_Command/when_executing/and_fetch_throws_exception.js.map +1 -1
  359. package/dist/esm/commands/for_Command/when_executing/with_allowed_severity_warning.js +3 -3
  360. package/dist/esm/commands/for_Command/when_executing/with_allowed_severity_warning.js.map +1 -1
  361. package/dist/esm/commands/for_Command/when_executing/with_client_validation_failing.d.ts +1 -1
  362. package/dist/esm/commands/for_Command/when_executing/with_client_validation_failing.d.ts.map +1 -1
  363. package/dist/esm/commands/for_Command/when_executing/with_client_validation_failing.js +3 -3
  364. package/dist/esm/commands/for_Command/when_executing/with_client_validation_failing.js.map +1 -1
  365. package/dist/esm/commands/for_Command/when_executing/with_client_validation_failure_and_custom_message.js +2 -2
  366. package/dist/esm/commands/for_Command/when_executing/with_client_validation_failure_and_custom_message.js.map +1 -1
  367. package/dist/esm/commands/for_Command/when_executing/with_client_validation_passing.d.ts +1 -1
  368. package/dist/esm/commands/for_Command/when_executing/with_client_validation_passing.d.ts.map +1 -1
  369. package/dist/esm/commands/for_Command/when_executing/with_client_validation_passing.js +4 -4
  370. package/dist/esm/commands/for_Command/when_executing/with_client_validation_passing.js.map +1 -1
  371. package/dist/esm/commands/for_Command/when_executing/with_command_properties.js +2 -2
  372. package/dist/esm/commands/for_Command/when_executing/with_command_properties.js.map +1 -1
  373. package/dist/esm/commands/for_Command/when_executing/with_custom_http_headers.js +3 -3
  374. package/dist/esm/commands/for_Command/when_executing/with_custom_http_headers.js.map +1 -1
  375. package/dist/esm/commands/for_Command/when_executing/with_declared_blocking_severity.js +4 -4
  376. package/dist/esm/commands/for_Command/when_executing/with_declared_blocking_severity.js.map +1 -1
  377. package/dist/esm/commands/for_Command/when_executing/with_empty_required_string_property.js +2 -2
  378. package/dist/esm/commands/for_Command/when_executing/with_empty_required_string_property.js.map +1 -1
  379. package/dist/esm/commands/for_Command/when_executing/with_microservice_header.js +3 -3
  380. package/dist/esm/commands/for_Command/when_executing/with_microservice_header.js.map +1 -1
  381. package/dist/esm/commands/for_Command/when_executing/with_missing_required_property.js +2 -2
  382. package/dist/esm/commands/for_Command/when_executing/with_missing_required_property.js.map +1 -1
  383. package/dist/esm/commands/for_Command/when_executing/with_null_required_property.js +2 -2
  384. package/dist/esm/commands/for_Command/when_executing/with_null_required_property.js.map +1 -1
  385. package/dist/esm/commands/for_Command/when_executing/with_origin_and_api_base_path.js +3 -3
  386. package/dist/esm/commands/for_Command/when_executing/with_origin_and_api_base_path.js.map +1 -1
  387. package/dist/esm/commands/for_Command/when_executing/with_route_parameters.js +3 -3
  388. package/dist/esm/commands/for_Command/when_executing/with_route_parameters.js.map +1 -1
  389. package/dist/esm/commands/for_Command/when_executing/with_successful_response.js +2 -2
  390. package/dist/esm/commands/for_Command/when_executing/with_successful_response.js.map +1 -1
  391. package/dist/esm/commands/for_Command/when_property_changed_value_that_is_different_from_initial_value.js +1 -1
  392. package/dist/esm/commands/for_Command/when_property_changed_value_that_is_different_from_initial_value.js.map +1 -1
  393. package/dist/esm/commands/for_Command/when_property_changed_value_that_is_same_as_initial_value.js +1 -1
  394. package/dist/esm/commands/for_Command/when_property_changed_value_that_is_same_as_initial_value.js.map +1 -1
  395. package/dist/esm/commands/for_Command/when_property_changes_and_initial_value_is_undefined.js +1 -1
  396. package/dist/esm/commands/for_Command/when_property_changes_and_initial_value_is_undefined.js.map +1 -1
  397. package/dist/esm/commands/for_Command/when_property_changes_and_there_is_a_callback.js +1 -1
  398. package/dist/esm/commands/for_Command/when_property_changes_and_there_is_a_callback.js.map +1 -1
  399. package/dist/esm/commands/for_Command/when_property_has_changed_and_we_revert.js +1 -1
  400. package/dist/esm/commands/for_Command/when_property_has_changed_and_we_revert.js.map +1 -1
  401. package/dist/esm/commands/for_Command/when_setting_initial_values_after_property_changed.js +1 -1
  402. package/dist/esm/commands/for_Command/when_setting_initial_values_after_property_changed.js.map +1 -1
  403. package/dist/esm/commands/for_Command/when_validating/and_fetch_throws_exception.js +2 -2
  404. package/dist/esm/commands/for_Command/when_validating/and_fetch_throws_exception.js.map +1 -1
  405. package/dist/esm/commands/for_Command/when_validating/and_validation_endpoint_not_found.js +2 -2
  406. package/dist/esm/commands/for_Command/when_validating/and_validation_endpoint_not_found.js.map +1 -1
  407. package/dist/esm/commands/for_Command/when_validating/does_not_update_initial_values.js +2 -2
  408. package/dist/esm/commands/for_Command/when_validating/does_not_update_initial_values.js.map +1 -1
  409. package/dist/esm/commands/for_Command/when_validating/with_client_validation_failure.js +2 -2
  410. package/dist/esm/commands/for_Command/when_validating/with_client_validation_failure.js.map +1 -1
  411. package/dist/esm/commands/for_Command/when_validating/with_client_validation_passing.d.ts +1 -1
  412. package/dist/esm/commands/for_Command/when_validating/with_client_validation_passing.d.ts.map +1 -1
  413. package/dist/esm/commands/for_Command/when_validating/with_client_validation_passing.js +4 -4
  414. package/dist/esm/commands/for_Command/when_validating/with_client_validation_passing.js.map +1 -1
  415. package/dist/esm/commands/for_Command/when_validating/with_empty_required_string_property.js +2 -2
  416. package/dist/esm/commands/for_Command/when_validating/with_empty_required_string_property.js.map +1 -1
  417. package/dist/esm/commands/for_Command/when_validating/with_null_required_property.js +2 -2
  418. package/dist/esm/commands/for_Command/when_validating/with_null_required_property.js.map +1 -1
  419. package/dist/esm/commands/for_Command/when_validating/with_required_property_missing.js +2 -2
  420. package/dist/esm/commands/for_Command/when_validating/with_required_property_missing.js.map +1 -1
  421. package/dist/esm/commands/for_Command/when_validating/with_route_parameters.js +3 -3
  422. package/dist/esm/commands/for_Command/when_validating/with_route_parameters.js.map +1 -1
  423. package/dist/esm/commands/for_Command/when_validating/with_successful_response.js +2 -2
  424. package/dist/esm/commands/for_Command/when_validating/with_successful_response.js.map +1 -1
  425. package/dist/esm/commands/for_Command/when_validating/with_validation_errors.js +2 -2
  426. package/dist/esm/commands/for_Command/when_validating/with_validation_errors.js.map +1 -1
  427. package/dist/esm/commands/for_Command/when_validating_client_side/with_client_validation_failure.js +2 -2
  428. package/dist/esm/commands/for_Command/when_validating_client_side/with_client_validation_failure.js.map +1 -1
  429. package/dist/esm/commands/for_Command/when_validating_client_side/with_client_validation_passing.d.ts +1 -1
  430. package/dist/esm/commands/for_Command/when_validating_client_side/with_client_validation_passing.d.ts.map +1 -1
  431. package/dist/esm/commands/for_Command/when_validating_client_side/with_client_validation_passing.js +4 -4
  432. package/dist/esm/commands/for_Command/when_validating_client_side/with_client_validation_passing.js.map +1 -1
  433. package/dist/esm/commands/for_Command/when_validating_client_side/with_required_property_missing.js +2 -2
  434. package/dist/esm/commands/for_Command/when_validating_client_side/with_required_property_missing.js.map +1 -1
  435. package/dist/esm/commands/for_CommandResult/when_chaining_callbacks/and_result_has_exceptions.js +1 -1
  436. package/dist/esm/commands/for_CommandResult/when_chaining_callbacks/and_result_has_exceptions.js.map +1 -1
  437. package/dist/esm/commands/for_CommandResult/when_chaining_callbacks/and_result_is_invalid.js +3 -3
  438. package/dist/esm/commands/for_CommandResult/when_chaining_callbacks/and_result_is_invalid.js.map +1 -1
  439. package/dist/esm/commands/for_CommandResult/when_chaining_callbacks/and_result_is_successful.js +1 -1
  440. package/dist/esm/commands/for_CommandResult/when_chaining_callbacks/and_result_is_successful.js.map +1 -1
  441. package/dist/esm/commands/for_CommandResult/when_chaining_callbacks/and_result_is_unauthorized.js +1 -1
  442. package/dist/esm/commands/for_CommandResult/when_chaining_callbacks/and_result_is_unauthorized.js.map +1 -1
  443. package/dist/esm/commands/for_CommandResult/when_constructing_from_a_server_result_with_a_constraint_violation.js +3 -3
  444. package/dist/esm/commands/for_CommandResult/when_constructing_from_a_server_result_with_a_constraint_violation.js.map +1 -1
  445. package/dist/esm/commands/for_CommandResult/when_constructing_from_a_server_result_with_reasons.js +3 -3
  446. package/dist/esm/commands/for_CommandResult/when_constructing_from_a_server_result_with_reasons.js.map +1 -1
  447. package/dist/esm/commands/for_CommandResult/when_constructing_with_primitive_response.js +1 -1
  448. package/dist/esm/commands/for_CommandResult/when_constructing_with_primitive_response.js.map +1 -1
  449. package/dist/esm/commands/for_CommandResult/when_creating_a_validation_failed_result.js +4 -4
  450. package/dist/esm/commands/for_CommandResult/when_creating_a_validation_failed_result.js.map +1 -1
  451. package/dist/esm/commands/index.d.ts +7 -7
  452. package/dist/esm/commands/index.d.ts.map +1 -1
  453. package/dist/esm/commands/index.js.map +1 -1
  454. package/dist/esm/for_UrlHelpers/when_building_query_params/with_additional_parameters.js +1 -1
  455. package/dist/esm/for_UrlHelpers/when_building_query_params/with_additional_parameters.js.map +1 -1
  456. package/dist/esm/for_UrlHelpers/when_building_query_params/with_array_values.js +1 -1
  457. package/dist/esm/for_UrlHelpers/when_building_query_params/with_array_values.js.map +1 -1
  458. package/dist/esm/for_UrlHelpers/when_building_query_params/with_date_values.js +1 -1
  459. package/dist/esm/for_UrlHelpers/when_building_query_params/with_date_values.js.map +1 -1
  460. package/dist/esm/for_UrlHelpers/when_building_query_params/with_empty_parameters.js +1 -1
  461. package/dist/esm/for_UrlHelpers/when_building_query_params/with_empty_parameters.js.map +1 -1
  462. package/dist/esm/for_UrlHelpers/when_building_query_params/with_mixed_array_and_scalar_values.js +1 -1
  463. package/dist/esm/for_UrlHelpers/when_building_query_params/with_mixed_array_and_scalar_values.js.map +1 -1
  464. package/dist/esm/for_UrlHelpers/when_building_query_params/with_null_and_undefined_values.js +1 -1
  465. package/dist/esm/for_UrlHelpers/when_building_query_params/with_null_and_undefined_values.js.map +1 -1
  466. package/dist/esm/for_UrlHelpers/when_building_query_params/with_unused_parameters_only.js +1 -1
  467. package/dist/esm/for_UrlHelpers/when_building_query_params/with_unused_parameters_only.js.map +1 -1
  468. package/dist/esm/for_UrlHelpers/when_creating_url_from/with_base_path_ending_with_slash.js +1 -1
  469. package/dist/esm/for_UrlHelpers/when_creating_url_from/with_base_path_ending_with_slash.js.map +1 -1
  470. package/dist/esm/for_UrlHelpers/when_creating_url_from/with_empty_origin.js +1 -1
  471. package/dist/esm/for_UrlHelpers/when_creating_url_from/with_empty_origin.js.map +1 -1
  472. package/dist/esm/for_UrlHelpers/when_creating_url_from/with_null_or_undefined_origin.js +1 -1
  473. package/dist/esm/for_UrlHelpers/when_creating_url_from/with_null_or_undefined_origin.js.map +1 -1
  474. package/dist/esm/for_UrlHelpers/when_creating_url_from/with_relative_route.js +1 -1
  475. package/dist/esm/for_UrlHelpers/when_creating_url_from/with_relative_route.js.map +1 -1
  476. package/dist/esm/for_UrlHelpers/when_creating_url_from/with_valid_parameters.js +1 -1
  477. package/dist/esm/for_UrlHelpers/when_creating_url_from/with_valid_parameters.js.map +1 -1
  478. package/dist/esm/for_UrlHelpers/when_creating_url_from/without_document_object.js +1 -1
  479. package/dist/esm/for_UrlHelpers/when_creating_url_from/without_document_object.js.map +1 -1
  480. package/dist/esm/for_UrlHelpers/when_replacing_route_parameters/with_all_parameters_used_in_route.js +1 -1
  481. package/dist/esm/for_UrlHelpers/when_replacing_route_parameters/with_all_parameters_used_in_route.js.map +1 -1
  482. package/dist/esm/for_UrlHelpers/when_replacing_route_parameters/with_array_parameters.js +1 -1
  483. package/dist/esm/for_UrlHelpers/when_replacing_route_parameters/with_array_parameters.js.map +1 -1
  484. package/dist/esm/for_UrlHelpers/when_replacing_route_parameters/with_no_parameters.js +1 -1
  485. package/dist/esm/for_UrlHelpers/when_replacing_route_parameters/with_no_parameters.js.map +1 -1
  486. package/dist/esm/for_UrlHelpers/when_replacing_route_parameters/with_unused_parameters.js +1 -1
  487. package/dist/esm/for_UrlHelpers/when_replacing_route_parameters/with_unused_parameters.js.map +1 -1
  488. package/dist/esm/for_UrlHelpers/when_replacing_route_parameters/with_url_encoded_values.js +1 -1
  489. package/dist/esm/for_UrlHelpers/when_replacing_route_parameters/with_url_encoded_values.js.map +1 -1
  490. package/dist/esm/identity/IIdentityProvider.d.ts +1 -1
  491. package/dist/esm/identity/IIdentityProvider.d.ts.map +1 -1
  492. package/dist/esm/identity/IIdentityProvider.js.map +1 -1
  493. package/dist/esm/identity/IdentityProvider.d.ts +3 -3
  494. package/dist/esm/identity/IdentityProvider.d.ts.map +1 -1
  495. package/dist/esm/identity/IdentityProvider.js.map +1 -1
  496. package/dist/esm/identity/for_IdentityProvider/given/an_identity_provider.js +2 -2
  497. package/dist/esm/identity/for_IdentityProvider/given/an_identity_provider.js.map +1 -1
  498. package/dist/esm/identity/for_IdentityProvider/when_getting_current/with_a_details_type_that_declares_no_fields.js +3 -3
  499. package/dist/esm/identity/for_IdentityProvider/when_getting_current/with_a_details_type_that_declares_no_fields.js.map +1 -1
  500. package/dist/esm/identity/for_IdentityProvider/when_getting_current/with_roles.js +3 -3
  501. package/dist/esm/identity/for_IdentityProvider/when_getting_current/with_roles.js.map +1 -1
  502. package/dist/esm/identity/for_IdentityProvider/when_getting_current/with_type_safe_details.js +3 -3
  503. package/dist/esm/identity/for_IdentityProvider/when_getting_current/with_type_safe_details.js.map +1 -1
  504. package/dist/esm/identity/for_IdentityProvider/when_getting_current/without_roles.js +3 -3
  505. package/dist/esm/identity/for_IdentityProvider/when_getting_current/without_roles.js.map +1 -1
  506. package/dist/esm/identity/for_IdentityProvider/when_refreshing/with_api_base_path_set.js +3 -3
  507. package/dist/esm/identity/for_IdentityProvider/when_refreshing/with_api_base_path_set.js.map +1 -1
  508. package/dist/esm/identity/for_IdentityProvider/when_refreshing/with_globals_api_base_path.js +4 -4
  509. package/dist/esm/identity/for_IdentityProvider/when_refreshing/with_globals_api_base_path.js.map +1 -1
  510. package/dist/esm/identity/for_IdentityProvider/when_refreshing/with_origin_set.js +3 -3
  511. package/dist/esm/identity/for_IdentityProvider/when_refreshing/with_origin_set.js.map +1 -1
  512. package/dist/esm/identity/for_IdentityProvider/when_refreshing/with_type_safe_details.js +3 -3
  513. package/dist/esm/identity/for_IdentityProvider/when_refreshing/with_type_safe_details.js.map +1 -1
  514. package/dist/esm/identity/for_IdentityProvider/when_refreshing/with_unauthorized_response.js +3 -3
  515. package/dist/esm/identity/for_IdentityProvider/when_refreshing/with_unauthorized_response.js.map +1 -1
  516. package/dist/esm/identity/for_IdentityProvider/when_refreshing/without_api_base_path.js +4 -4
  517. package/dist/esm/identity/for_IdentityProvider/when_refreshing/without_api_base_path.js.map +1 -1
  518. package/dist/esm/identity/for_IdentityProvider/when_setting_api_base_path.js +3 -3
  519. package/dist/esm/identity/for_IdentityProvider/when_setting_api_base_path.js.map +1 -1
  520. package/dist/esm/identity/for_IdentityProvider/when_setting_origin.js +3 -3
  521. package/dist/esm/identity/for_IdentityProvider/when_setting_origin.js.map +1 -1
  522. package/dist/esm/identity/index.d.ts +5 -5
  523. package/dist/esm/identity/index.d.ts.map +1 -1
  524. package/dist/esm/identity/index.js.map +1 -1
  525. package/dist/esm/index.d.ts +12 -12
  526. package/dist/esm/index.d.ts.map +1 -1
  527. package/dist/esm/messaging/Messenger.d.ts +1 -1
  528. package/dist/esm/messaging/Messenger.d.ts.map +1 -1
  529. package/dist/esm/messaging/Messenger.js.map +1 -1
  530. package/dist/esm/messaging/for_Messenger/when_scoping_messages.js +1 -1
  531. package/dist/esm/messaging/for_Messenger/when_scoping_messages.js.map +1 -1
  532. package/dist/esm/messaging/index.d.ts +3 -3
  533. package/dist/esm/messaging/index.d.ts.map +1 -1
  534. package/dist/esm/messaging/index.js.map +1 -1
  535. package/dist/esm/queries/IChangeStreamFor.d.ts +1 -1
  536. package/dist/esm/queries/IChangeStreamFor.d.ts.map +1 -1
  537. package/dist/esm/queries/IObservableQueryConnection.d.ts +1 -1
  538. package/dist/esm/queries/IObservableQueryConnection.d.ts.map +1 -1
  539. package/dist/esm/queries/IObservableQueryDiagnostics.d.ts +1 -1
  540. package/dist/esm/queries/IObservableQueryDiagnostics.d.ts.map +1 -1
  541. package/dist/esm/queries/IObservableQueryFor.d.ts +4 -4
  542. package/dist/esm/queries/IObservableQueryFor.d.ts.map +1 -1
  543. package/dist/esm/queries/IObservableQueryHubConnection.d.ts +2 -2
  544. package/dist/esm/queries/IObservableQueryHubConnection.d.ts.map +1 -1
  545. package/dist/esm/queries/IQuery.d.ts +4 -4
  546. package/dist/esm/queries/IQuery.d.ts.map +1 -1
  547. package/dist/esm/queries/IQueryFor.d.ts +3 -3
  548. package/dist/esm/queries/IQueryFor.d.ts.map +1 -1
  549. package/dist/esm/queries/IQueryProvider.d.ts +1 -1
  550. package/dist/esm/queries/IQueryProvider.d.ts.map +1 -1
  551. package/dist/esm/queries/IQueryProvider.js.map +1 -1
  552. package/dist/esm/queries/IQueryResult.d.ts +3 -3
  553. package/dist/esm/queries/IQueryResult.d.ts.map +1 -1
  554. package/dist/esm/queries/NullObservableQueryConnection.d.ts +3 -3
  555. package/dist/esm/queries/NullObservableQueryConnection.d.ts.map +1 -1
  556. package/dist/esm/queries/NullObservableQueryConnection.js.map +1 -1
  557. package/dist/esm/queries/ObservableQueryConnection.d.ts +3 -3
  558. package/dist/esm/queries/ObservableQueryConnection.d.ts.map +1 -1
  559. package/dist/esm/queries/ObservableQueryConnection.js.map +1 -1
  560. package/dist/esm/queries/ObservableQueryConnectionFactory.d.ts +1 -1
  561. package/dist/esm/queries/ObservableQueryConnectionFactory.d.ts.map +1 -1
  562. package/dist/esm/queries/ObservableQueryConnectionFactory.js.map +1 -1
  563. package/dist/esm/queries/ObservableQueryConnectionPool.d.ts +2 -2
  564. package/dist/esm/queries/ObservableQueryConnectionPool.d.ts.map +1 -1
  565. package/dist/esm/queries/ObservableQueryConnectionPool.js.map +1 -1
  566. package/dist/esm/queries/ObservableQueryDiagnostics.d.ts +4 -4
  567. package/dist/esm/queries/ObservableQueryDiagnostics.d.ts.map +1 -1
  568. package/dist/esm/queries/ObservableQueryDiagnostics.js.map +1 -1
  569. package/dist/esm/queries/ObservableQueryFor.d.ts +9 -9
  570. package/dist/esm/queries/ObservableQueryFor.d.ts.map +1 -1
  571. package/dist/esm/queries/ObservableQueryFor.js.map +1 -1
  572. package/dist/esm/queries/ObservableQueryMultiplexer.d.ts +4 -4
  573. package/dist/esm/queries/ObservableQueryMultiplexer.d.ts.map +1 -1
  574. package/dist/esm/queries/ObservableQueryMultiplexer.js.map +1 -1
  575. package/dist/esm/queries/ObservableQuerySubscription.d.ts +1 -1
  576. package/dist/esm/queries/ObservableQuerySubscription.d.ts.map +1 -1
  577. package/dist/esm/queries/ObservableQuerySubscription.js.map +1 -1
  578. package/dist/esm/queries/QueryFor.d.ts +8 -8
  579. package/dist/esm/queries/QueryFor.d.ts.map +1 -1
  580. package/dist/esm/queries/QueryFor.js.map +1 -1
  581. package/dist/esm/queries/QueryHttpMethodResolver.d.ts +1 -1
  582. package/dist/esm/queries/QueryHttpMethodResolver.d.ts.map +1 -1
  583. package/dist/esm/queries/QueryHttpMethodResolver.js.map +1 -1
  584. package/dist/esm/queries/QueryHttpRequest.d.ts +3 -3
  585. package/dist/esm/queries/QueryHttpRequest.d.ts.map +1 -1
  586. package/dist/esm/queries/QueryHttpRequest.js.map +1 -1
  587. package/dist/esm/queries/QueryInstanceCache.d.ts +2 -2
  588. package/dist/esm/queries/QueryInstanceCache.d.ts.map +1 -1
  589. package/dist/esm/queries/QueryInstanceCache.js.map +1 -1
  590. package/dist/esm/queries/QueryProvider.d.ts +3 -3
  591. package/dist/esm/queries/QueryProvider.d.ts.map +1 -1
  592. package/dist/esm/queries/QueryProvider.js.map +1 -1
  593. package/dist/esm/queries/QueryResult.d.ts +4 -4
  594. package/dist/esm/queries/QueryResult.d.ts.map +1 -1
  595. package/dist/esm/queries/QueryResult.js.map +1 -1
  596. package/dist/esm/queries/QueryResultWithState.d.ts +4 -4
  597. package/dist/esm/queries/QueryResultWithState.d.ts.map +1 -1
  598. package/dist/esm/queries/QueryResultWithState.js.map +1 -1
  599. package/dist/esm/queries/QueryValidator.d.ts +2 -2
  600. package/dist/esm/queries/QueryValidator.d.ts.map +1 -1
  601. package/dist/esm/queries/QueryValidator.js.map +1 -1
  602. package/dist/esm/queries/ReconnectPolicy.d.ts +1 -1
  603. package/dist/esm/queries/ReconnectPolicy.d.ts.map +1 -1
  604. package/dist/esm/queries/ReconnectPolicy.js.map +1 -1
  605. package/dist/esm/queries/ServerSentEventHubConnection.d.ts +4 -4
  606. package/dist/esm/queries/ServerSentEventHubConnection.d.ts.map +1 -1
  607. package/dist/esm/queries/ServerSentEventHubConnection.js.map +1 -1
  608. package/dist/esm/queries/ServerSentEventQueryConnection.d.ts +2 -2
  609. package/dist/esm/queries/ServerSentEventQueryConnection.d.ts.map +1 -1
  610. package/dist/esm/queries/ServerSentEventQueryConnection.js.map +1 -1
  611. package/dist/esm/queries/Sorting.d.ts +1 -1
  612. package/dist/esm/queries/Sorting.d.ts.map +1 -1
  613. package/dist/esm/queries/Sorting.js.map +1 -1
  614. package/dist/esm/queries/SortingActions.d.ts +1 -1
  615. package/dist/esm/queries/SortingActions.d.ts.map +1 -1
  616. package/dist/esm/queries/SortingActions.js.map +1 -1
  617. package/dist/esm/queries/SortingActionsForObservableQuery.d.ts +2 -2
  618. package/dist/esm/queries/SortingActionsForObservableQuery.d.ts.map +1 -1
  619. package/dist/esm/queries/SortingActionsForObservableQuery.js.map +1 -1
  620. package/dist/esm/queries/SortingActionsForQuery.d.ts +2 -2
  621. package/dist/esm/queries/SortingActionsForQuery.d.ts.map +1 -1
  622. package/dist/esm/queries/SortingActionsForQuery.js.map +1 -1
  623. package/dist/esm/queries/WebSocketHubConnection.d.ts +2 -2
  624. package/dist/esm/queries/WebSocketHubConnection.d.ts.map +1 -1
  625. package/dist/esm/queries/WebSocketHubConnection.js.map +1 -1
  626. package/dist/esm/queries/for_HubConnectionKeepAlive/behavior.js +1 -1
  627. package/dist/esm/queries/for_HubConnectionKeepAlive/behavior.js.map +1 -1
  628. package/dist/esm/queries/for_HubConnectionKeepAlive/when_reconfiguring/while_running.js +1 -1
  629. package/dist/esm/queries/for_HubConnectionKeepAlive/when_reconfiguring/while_running.js.map +1 -1
  630. package/dist/esm/queries/for_HubConnectionKeepAlive/when_reconfiguring/while_stopped.js +1 -1
  631. package/dist/esm/queries/for_HubConnectionKeepAlive/when_reconfiguring/while_stopped.js.map +1 -1
  632. package/dist/esm/queries/for_HubConnectionKeepAlive/when_started_with_custom_idle_threshold/respects_threshold.js +1 -1
  633. package/dist/esm/queries/for_HubConnectionKeepAlive/when_started_with_custom_idle_threshold/respects_threshold.js.map +1 -1
  634. package/dist/esm/queries/for_ObservableQueryConnection/given/an_observable_query_connection.d.ts +1 -1
  635. package/dist/esm/queries/for_ObservableQueryConnection/given/an_observable_query_connection.d.ts.map +1 -1
  636. package/dist/esm/queries/for_ObservableQueryConnection/given/an_observable_query_connection.js +1 -1
  637. package/dist/esm/queries/for_ObservableQueryConnection/given/an_observable_query_connection.js.map +1 -1
  638. package/dist/esm/queries/for_ObservableQueryConnection/given/an_observable_query_connection_with_a_reconnect_policy.d.ts +2 -2
  639. package/dist/esm/queries/for_ObservableQueryConnection/given/an_observable_query_connection_with_a_reconnect_policy.d.ts.map +1 -1
  640. package/dist/esm/queries/for_ObservableQueryConnection/given/an_observable_query_connection_with_a_reconnect_policy.js +1 -1
  641. package/dist/esm/queries/for_ObservableQueryConnection/given/an_observable_query_connection_with_a_reconnect_policy.js.map +1 -1
  642. package/dist/esm/queries/for_ObservableQueryConnection/given/an_observable_query_connection_with_websocket.d.ts +1 -1
  643. package/dist/esm/queries/for_ObservableQueryConnection/given/an_observable_query_connection_with_websocket.d.ts.map +1 -1
  644. package/dist/esm/queries/for_ObservableQueryConnection/given/an_observable_query_connection_with_websocket.js +1 -1
  645. package/dist/esm/queries/for_ObservableQueryConnection/given/an_observable_query_connection_with_websocket.js.map +1 -1
  646. package/dist/esm/queries/for_ObservableQueryConnection/when_constructing.js +2 -2
  647. package/dist/esm/queries/for_ObservableQueryConnection/when_constructing.js.map +1 -1
  648. package/dist/esm/queries/for_ObservableQueryConnection/when_receiving_data_message_with_type.js +3 -3
  649. package/dist/esm/queries/for_ObservableQueryConnection/when_receiving_data_message_with_type.js.map +1 -1
  650. package/dist/esm/queries/for_ObservableQueryConnection/when_receiving_legacy_data_message.js +2 -2
  651. package/dist/esm/queries/for_ObservableQueryConnection/when_receiving_legacy_data_message.js.map +1 -1
  652. package/dist/esm/queries/for_ObservableQueryConnection/when_receiving_unauthorized/terminates_without_reconnecting.js +3 -3
  653. package/dist/esm/queries/for_ObservableQueryConnection/when_receiving_unauthorized/terminates_without_reconnecting.js.map +1 -1
  654. package/dist/esm/queries/for_ObservableQueryConnectionFactory/given/a_descriptor.d.ts +2 -2
  655. package/dist/esm/queries/for_ObservableQueryConnectionFactory/given/a_descriptor.d.ts.map +1 -1
  656. package/dist/esm/queries/for_ObservableQueryConnectionFactory/given/a_descriptor.js +1 -1
  657. package/dist/esm/queries/for_ObservableQueryConnectionFactory/given/a_descriptor.js.map +1 -1
  658. package/dist/esm/queries/for_ObservableQueryConnectionFactory/when_creating/with_direct_mode_and_sse_transport.js +6 -6
  659. package/dist/esm/queries/for_ObservableQueryConnectionFactory/when_creating/with_direct_mode_and_sse_transport.js.map +1 -1
  660. package/dist/esm/queries/for_ObservableQueryConnectionFactory/when_creating/with_direct_mode_and_websocket_transport.js +6 -6
  661. package/dist/esm/queries/for_ObservableQueryConnectionFactory/when_creating/with_direct_mode_and_websocket_transport.js.map +1 -1
  662. package/dist/esm/queries/for_ObservableQueryConnectionFactory/when_creating/with_hub_mode_and_sse_transport.js +7 -7
  663. package/dist/esm/queries/for_ObservableQueryConnectionFactory/when_creating/with_hub_mode_and_sse_transport.js.map +1 -1
  664. package/dist/esm/queries/for_ObservableQueryConnectionFactory/when_creating/with_hub_mode_and_sse_transport_and_connection_count_exceeding_safe_limit.js +6 -6
  665. package/dist/esm/queries/for_ObservableQueryConnectionFactory/when_creating/with_hub_mode_and_sse_transport_and_connection_count_exceeding_safe_limit.js.map +1 -1
  666. package/dist/esm/queries/for_ObservableQueryConnectionFactory/when_creating/with_hub_mode_and_sse_transport_and_connection_count_within_safe_limit.js +6 -6
  667. package/dist/esm/queries/for_ObservableQueryConnectionFactory/when_creating/with_hub_mode_and_sse_transport_and_connection_count_within_safe_limit.js.map +1 -1
  668. package/dist/esm/queries/for_ObservableQueryConnectionFactory/when_creating/with_hub_mode_and_websocket_transport.js +6 -6
  669. package/dist/esm/queries/for_ObservableQueryConnectionFactory/when_creating/with_hub_mode_and_websocket_transport.js.map +1 -1
  670. package/dist/esm/queries/for_ObservableQueryConnectionFactory/when_creating/with_hub_mode_and_websocket_transport_and_high_connection_count.js +6 -6
  671. package/dist/esm/queries/for_ObservableQueryConnectionFactory/when_creating/with_hub_mode_and_websocket_transport_and_high_connection_count.js.map +1 -1
  672. package/dist/esm/queries/for_ObservableQueryConnectionPool/when_acquiring/with_multiple_slots/and_least_loaded_slot_is_chosen.js +1 -1
  673. package/dist/esm/queries/for_ObservableQueryConnectionPool/when_acquiring/with_multiple_slots/and_least_loaded_slot_is_chosen.js.map +1 -1
  674. package/dist/esm/queries/for_ObservableQueryConnectionPool/when_acquiring/with_multiple_slots/and_size_is_zero.js +1 -1
  675. package/dist/esm/queries/for_ObservableQueryConnectionPool/when_acquiring/with_multiple_slots/and_size_is_zero.js.map +1 -1
  676. package/dist/esm/queries/for_ObservableQueryConnectionPool/when_acquiring/with_single_slot/and_one_subscriber.js +1 -1
  677. package/dist/esm/queries/for_ObservableQueryConnectionPool/when_acquiring/with_single_slot/and_one_subscriber.js.map +1 -1
  678. package/dist/esm/queries/for_ObservableQueryDiagnostics/when_tracking_owners.js +1 -1
  679. package/dist/esm/queries/for_ObservableQueryDiagnostics/when_tracking_owners.js.map +1 -1
  680. package/dist/esm/queries/for_ObservableQueryFor/given/TestQueries.d.ts +2 -2
  681. package/dist/esm/queries/for_ObservableQueryFor/given/TestQueries.d.ts.map +1 -1
  682. package/dist/esm/queries/for_ObservableQueryFor/given/TestQueries.js +2 -2
  683. package/dist/esm/queries/for_ObservableQueryFor/given/TestQueries.js.map +1 -1
  684. package/dist/esm/queries/for_ObservableQueryFor/given/an_observable_query_for.d.ts +1 -1
  685. package/dist/esm/queries/for_ObservableQueryFor/given/an_observable_query_for.d.ts.map +1 -1
  686. package/dist/esm/queries/for_ObservableQueryFor/given/an_observable_query_for.js +1 -1
  687. package/dist/esm/queries/for_ObservableQueryFor/given/an_observable_query_for.js.map +1 -1
  688. package/dist/esm/queries/for_ObservableQueryFor/given/an_observable_query_with_validator.d.ts +4 -4
  689. package/dist/esm/queries/for_ObservableQueryFor/given/an_observable_query_with_validator.d.ts.map +1 -1
  690. package/dist/esm/queries/for_ObservableQueryFor/given/an_observable_query_with_validator.js +3 -3
  691. package/dist/esm/queries/for_ObservableQueryFor/given/an_observable_query_with_validator.js.map +1 -1
  692. package/dist/esm/queries/for_ObservableQueryFor/when_constructing.js +5 -5
  693. package/dist/esm/queries/for_ObservableQueryFor/when_constructing.js.map +1 -1
  694. package/dist/esm/queries/for_ObservableQueryFor/when_constructing_enumerable.js +4 -4
  695. package/dist/esm/queries/for_ObservableQueryFor/when_constructing_enumerable.js.map +1 -1
  696. package/dist/esm/queries/for_ObservableQueryFor/when_constructing_with_globals_api_base_path.js +4 -4
  697. package/dist/esm/queries/for_ObservableQueryFor/when_constructing_with_globals_api_base_path.js.map +1 -1
  698. package/dist/esm/queries/for_ObservableQueryFor/when_constructing_with_globals_origin.js +4 -4
  699. package/dist/esm/queries/for_ObservableQueryFor/when_constructing_with_globals_origin.js.map +1 -1
  700. package/dist/esm/queries/for_ObservableQueryFor/when_disposing.js +2 -2
  701. package/dist/esm/queries/for_ObservableQueryFor/when_disposing.js.map +1 -1
  702. package/dist/esm/queries/for_ObservableQueryFor/when_performing/with_a_not_ready_result.js +3 -3
  703. package/dist/esm/queries/for_ObservableQueryFor/when_performing/with_a_not_ready_result.js.map +1 -1
  704. package/dist/esm/queries/for_ObservableQueryFor/when_performing/with_client_validation_failing.js +2 -2
  705. package/dist/esm/queries/for_ObservableQueryFor/when_performing/with_client_validation_failing.js.map +1 -1
  706. package/dist/esm/queries/for_ObservableQueryFor/when_performing/with_enumerable_query.js +3 -3
  707. package/dist/esm/queries/for_ObservableQueryFor/when_performing/with_enumerable_query.js.map +1 -1
  708. package/dist/esm/queries/for_ObservableQueryFor/when_performing/with_invalid_arguments.js +2 -2
  709. package/dist/esm/queries/for_ObservableQueryFor/when_performing/with_invalid_arguments.js.map +1 -1
  710. package/dist/esm/queries/for_ObservableQueryFor/when_performing/with_paging.js +4 -4
  711. package/dist/esm/queries/for_ObservableQueryFor/when_performing/with_paging.js.map +1 -1
  712. package/dist/esm/queries/for_ObservableQueryFor/when_performing/with_parameter_descriptor_values.js +3 -3
  713. package/dist/esm/queries/for_ObservableQueryFor/when_performing/with_parameter_descriptor_values.js.map +1 -1
  714. package/dist/esm/queries/for_ObservableQueryFor/when_performing/with_partial_parameter_descriptor_values.js +3 -3
  715. package/dist/esm/queries/for_ObservableQueryFor/when_performing/with_partial_parameter_descriptor_values.js.map +1 -1
  716. package/dist/esm/queries/for_ObservableQueryFor/when_performing/with_partially_missing_required_arguments.js +3 -3
  717. package/dist/esm/queries/for_ObservableQueryFor/when_performing/with_partially_missing_required_arguments.js.map +1 -1
  718. package/dist/esm/queries/for_ObservableQueryFor/when_performing/with_route_parameters_and_unused_parameters.js +3 -3
  719. package/dist/esm/queries/for_ObservableQueryFor/when_performing/with_route_parameters_and_unused_parameters.js.map +1 -1
  720. package/dist/esm/queries/for_ObservableQueryFor/when_performing/with_sorting.js +5 -5
  721. package/dist/esm/queries/for_ObservableQueryFor/when_performing/with_sorting.js.map +1 -1
  722. package/dist/esm/queries/for_ObservableQueryFor/when_performing/with_valid_arguments.js +3 -3
  723. package/dist/esm/queries/for_ObservableQueryFor/when_performing/with_valid_arguments.js.map +1 -1
  724. package/dist/esm/queries/for_ObservableQueryFor/when_receiving_a_result/and_the_model_has_a_calendar_collection.js +4 -4
  725. package/dist/esm/queries/for_ObservableQueryFor/when_receiving_a_result/and_the_model_has_a_calendar_collection.js.map +1 -1
  726. package/dist/esm/queries/for_ObservableQueryFor/when_receiving_a_result/and_the_model_type_is_a_primitive_collection.js +4 -4
  727. package/dist/esm/queries/for_ObservableQueryFor/when_receiving_a_result/and_the_model_type_is_a_primitive_collection.js.map +1 -1
  728. package/dist/esm/queries/for_ObservableQueryFor/when_setting_api_base_path.js +1 -1
  729. package/dist/esm/queries/for_ObservableQueryFor/when_setting_api_base_path.js.map +1 -1
  730. package/dist/esm/queries/for_ObservableQueryFor/when_setting_microservice.js +1 -1
  731. package/dist/esm/queries/for_ObservableQueryFor/when_setting_microservice.js.map +1 -1
  732. package/dist/esm/queries/for_ObservableQueryFor/when_setting_origin.js +1 -1
  733. package/dist/esm/queries/for_ObservableQueryFor/when_setting_origin.js.map +1 -1
  734. package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_client_validation_failing.js +2 -2
  735. package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_client_validation_failing.js.map +1 -1
  736. package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_client_validation_passing.js +2 -2
  737. package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_client_validation_passing.js.map +1 -1
  738. package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_direct_mode_and_sse_transport.js +4 -4
  739. package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_direct_mode_and_sse_transport.js.map +1 -1
  740. package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_direct_mode_disabled_and_sse_transport.js +7 -7
  741. package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_direct_mode_disabled_and_sse_transport.js.map +1 -1
  742. package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_direct_mode_enabled.js +3 -3
  743. package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_direct_mode_enabled.js.map +1 -1
  744. package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_enumerable_query.js +2 -2
  745. package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_enumerable_query.js.map +1 -1
  746. package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_hub_mode_and_multiple_required_route_parameters.js +6 -6
  747. package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_hub_mode_and_multiple_required_route_parameters.js.map +1 -1
  748. package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_hub_mode_and_sse_transport_and_null_or_undefined_args.js +6 -6
  749. package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_hub_mode_and_sse_transport_and_null_or_undefined_args.js.map +1 -1
  750. package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_hub_mode_and_sse_transport_and_route_and_query_args.js +6 -6
  751. package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_hub_mode_and_sse_transport_and_route_and_query_args.js.map +1 -1
  752. package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_hub_mode_and_stale_descriptor_backed_instance_property.js +6 -6
  753. package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_hub_mode_and_stale_descriptor_backed_instance_property.js.map +1 -1
  754. package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_invalid_arguments.js +2 -2
  755. package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_invalid_arguments.js.map +1 -1
  756. package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_paging.js +3 -3
  757. package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_paging.js.map +1 -1
  758. package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_partially_missing_required_arguments.js +2 -2
  759. package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_partially_missing_required_arguments.js.map +1 -1
  760. package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_route_and_query_args.js +3 -3
  761. package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_route_and_query_args.js.map +1 -1
  762. package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_sorting.js +4 -4
  763. package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_sorting.js.map +1 -1
  764. package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_valid_arguments.js +2 -2
  765. package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_valid_arguments.js.map +1 -1
  766. package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_web_socket_hub_payload_without_readiness.js +6 -6
  767. package/dist/esm/queries/for_ObservableQueryFor/when_subscribing/with_web_socket_hub_payload_without_readiness.js.map +1 -1
  768. package/dist/esm/queries/for_ObservableQueryMultiplexer/when_getting_or_creating/with_a_changed_cache_key.js +1 -1
  769. package/dist/esm/queries/for_ObservableQueryMultiplexer/when_getting_or_creating/with_a_changed_cache_key.js.map +1 -1
  770. package/dist/esm/queries/for_ObservableQueryMultiplexer/when_getting_or_creating/with_a_new_cache_key.js +1 -1
  771. package/dist/esm/queries/for_ObservableQueryMultiplexer/when_getting_or_creating/with_a_new_cache_key.js.map +1 -1
  772. package/dist/esm/queries/for_ObservableQueryMultiplexer/when_getting_or_creating/with_an_explicit_size.js +1 -1
  773. package/dist/esm/queries/for_ObservableQueryMultiplexer/when_getting_or_creating/with_an_explicit_size.js.map +1 -1
  774. package/dist/esm/queries/for_ObservableQueryMultiplexer/when_getting_or_creating/with_the_same_cache_key.js +1 -1
  775. package/dist/esm/queries/for_ObservableQueryMultiplexer/when_getting_or_creating/with_the_same_cache_key.js.map +1 -1
  776. package/dist/esm/queries/for_QueryFor/given/TestQueries.d.ts +2 -2
  777. package/dist/esm/queries/for_QueryFor/given/TestQueries.d.ts.map +1 -1
  778. package/dist/esm/queries/for_QueryFor/given/TestQueries.js +2 -2
  779. package/dist/esm/queries/for_QueryFor/given/TestQueries.js.map +1 -1
  780. package/dist/esm/queries/for_QueryFor/given/a_query_for.d.ts +1 -1
  781. package/dist/esm/queries/for_QueryFor/given/a_query_for.d.ts.map +1 -1
  782. package/dist/esm/queries/for_QueryFor/given/a_query_for.js +1 -1
  783. package/dist/esm/queries/for_QueryFor/given/a_query_for.js.map +1 -1
  784. package/dist/esm/queries/for_QueryFor/given/a_query_with_validator.d.ts +4 -4
  785. package/dist/esm/queries/for_QueryFor/given/a_query_with_validator.d.ts.map +1 -1
  786. package/dist/esm/queries/for_QueryFor/given/a_query_with_validator.js +4 -4
  787. package/dist/esm/queries/for_QueryFor/given/a_query_with_validator.js.map +1 -1
  788. package/dist/esm/queries/for_QueryFor/when_constructing.js +5 -5
  789. package/dist/esm/queries/for_QueryFor/when_constructing.js.map +1 -1
  790. package/dist/esm/queries/for_QueryFor/when_constructing_enumerable.js +4 -4
  791. package/dist/esm/queries/for_QueryFor/when_constructing_enumerable.js.map +1 -1
  792. package/dist/esm/queries/for_QueryFor/when_constructing_with_globals_api_base_path.js +4 -4
  793. package/dist/esm/queries/for_QueryFor/when_constructing_with_globals_api_base_path.js.map +1 -1
  794. package/dist/esm/queries/for_QueryFor/when_constructing_with_globals_origin.js +4 -4
  795. package/dist/esm/queries/for_QueryFor/when_constructing_with_globals_origin.js.map +1 -1
  796. package/dist/esm/queries/for_QueryFor/when_performing/with_a_nullish_transport_rejection.js +3 -3
  797. package/dist/esm/queries/for_QueryFor/when_performing/with_a_nullish_transport_rejection.js.map +1 -1
  798. package/dist/esm/queries/for_QueryFor/when_performing/with_abort_controller.js +3 -3
  799. package/dist/esm/queries/for_QueryFor/when_performing/with_abort_controller.js.map +1 -1
  800. package/dist/esm/queries/for_QueryFor/when_performing/with_an_aborted_request.js +3 -3
  801. package/dist/esm/queries/for_QueryFor/when_performing/with_an_aborted_request.js.map +1 -1
  802. package/dist/esm/queries/for_QueryFor/when_performing/with_client_validation_failing.d.ts +1 -1
  803. package/dist/esm/queries/for_QueryFor/when_performing/with_client_validation_failing.d.ts.map +1 -1
  804. package/dist/esm/queries/for_QueryFor/when_performing/with_client_validation_failing.js +3 -3
  805. package/dist/esm/queries/for_QueryFor/when_performing/with_client_validation_failing.js.map +1 -1
  806. package/dist/esm/queries/for_QueryFor/when_performing/with_client_validation_failure_and_custom_message.js +2 -2
  807. package/dist/esm/queries/for_QueryFor/when_performing/with_client_validation_failure_and_custom_message.js.map +1 -1
  808. package/dist/esm/queries/for_QueryFor/when_performing/with_client_validation_passing.d.ts +1 -1
  809. package/dist/esm/queries/for_QueryFor/when_performing/with_client_validation_passing.d.ts.map +1 -1
  810. package/dist/esm/queries/for_QueryFor/when_performing/with_client_validation_passing.js +4 -4
  811. package/dist/esm/queries/for_QueryFor/when_performing/with_client_validation_passing.js.map +1 -1
  812. package/dist/esm/queries/for_QueryFor/when_performing/with_enumerable_parameter_descriptor_values.js +3 -3
  813. package/dist/esm/queries/for_QueryFor/when_performing/with_enumerable_parameter_descriptor_values.js.map +1 -1
  814. package/dist/esm/queries/for_QueryFor/when_performing/with_enumerable_query.js +3 -3
  815. package/dist/esm/queries/for_QueryFor/when_performing/with_enumerable_query.js.map +1 -1
  816. package/dist/esm/queries/for_QueryFor/when_performing/with_fetch_error.js +3 -3
  817. package/dist/esm/queries/for_QueryFor/when_performing/with_fetch_error.js.map +1 -1
  818. package/dist/esm/queries/for_QueryFor/when_performing/with_invalid_arguments.js +2 -2
  819. package/dist/esm/queries/for_QueryFor/when_performing/with_invalid_arguments.js.map +1 -1
  820. package/dist/esm/queries/for_QueryFor/when_performing/with_json_parse_error.js +3 -3
  821. package/dist/esm/queries/for_QueryFor/when_performing/with_json_parse_error.js.map +1 -1
  822. package/dist/esm/queries/for_QueryFor/when_performing/with_paging.js +4 -4
  823. package/dist/esm/queries/for_QueryFor/when_performing/with_paging.js.map +1 -1
  824. package/dist/esm/queries/for_QueryFor/when_performing/with_parameter_descriptor_values.js +3 -3
  825. package/dist/esm/queries/for_QueryFor/when_performing/with_parameter_descriptor_values.js.map +1 -1
  826. package/dist/esm/queries/for_QueryFor/when_performing/with_partial_parameter_descriptor_values.js +3 -3
  827. package/dist/esm/queries/for_QueryFor/when_performing/with_partial_parameter_descriptor_values.js.map +1 -1
  828. package/dist/esm/queries/for_QueryFor/when_performing/with_partially_missing_required_arguments.js +3 -3
  829. package/dist/esm/queries/for_QueryFor/when_performing/with_partially_missing_required_arguments.js.map +1 -1
  830. package/dist/esm/queries/for_QueryFor/when_performing/with_query_http_method.js +4 -4
  831. package/dist/esm/queries/for_QueryFor/when_performing/with_query_http_method.js.map +1 -1
  832. package/dist/esm/queries/for_QueryFor/when_performing/with_query_without_required_parameters.js +3 -3
  833. package/dist/esm/queries/for_QueryFor/when_performing/with_query_without_required_parameters.js.map +1 -1
  834. package/dist/esm/queries/for_QueryFor/when_performing/with_route_parameters_and_unused_parameters.js +3 -3
  835. package/dist/esm/queries/for_QueryFor/when_performing/with_route_parameters_and_unused_parameters.js.map +1 -1
  836. package/dist/esm/queries/for_QueryFor/when_performing/with_sorting.js +5 -5
  837. package/dist/esm/queries/for_QueryFor/when_performing/with_sorting.js.map +1 -1
  838. package/dist/esm/queries/for_QueryFor/when_performing/with_valid_arguments.js +3 -3
  839. package/dist/esm/queries/for_QueryFor/when_performing/with_valid_arguments.js.map +1 -1
  840. package/dist/esm/queries/for_QueryFor/when_setting_api_base_path.js +2 -2
  841. package/dist/esm/queries/for_QueryFor/when_setting_api_base_path.js.map +1 -1
  842. package/dist/esm/queries/for_QueryFor/when_setting_microservice.js +2 -2
  843. package/dist/esm/queries/for_QueryFor/when_setting_microservice.js.map +1 -1
  844. package/dist/esm/queries/for_QueryFor/when_setting_origin.js +2 -2
  845. package/dist/esm/queries/for_QueryFor/when_setting_origin.js.map +1 -1
  846. package/dist/esm/queries/for_QueryInstanceCache/when_acquiring/after_release.js +1 -1
  847. package/dist/esm/queries/for_QueryInstanceCache/when_acquiring/after_release.js.map +1 -1
  848. package/dist/esm/queries/for_QueryInstanceCache/when_building_key/with_arguments.js +1 -1
  849. package/dist/esm/queries/for_QueryInstanceCache/when_building_key/with_arguments.js.map +1 -1
  850. package/dist/esm/queries/for_QueryInstanceCache/when_building_key/with_empty_arguments_object.js +1 -1
  851. package/dist/esm/queries/for_QueryInstanceCache/when_building_key/with_empty_arguments_object.js.map +1 -1
  852. package/dist/esm/queries/for_QueryInstanceCache/when_building_key/with_same_arguments_different_order.js +1 -1
  853. package/dist/esm/queries/for_QueryInstanceCache/when_building_key/with_same_arguments_different_order.js.map +1 -1
  854. package/dist/esm/queries/for_QueryInstanceCache/when_building_key/without_arguments.js +1 -1
  855. package/dist/esm/queries/for_QueryInstanceCache/when_building_key/without_arguments.js.map +1 -1
  856. package/dist/esm/queries/for_QueryInstanceCache/when_deferring_dispose/with_cancellation_before_timeout.js +1 -1
  857. package/dist/esm/queries/for_QueryInstanceCache/when_deferring_dispose/with_cancellation_before_timeout.js.map +1 -1
  858. package/dist/esm/queries/for_QueryInstanceCache/when_deferring_dispose/without_cancellation.js +1 -1
  859. package/dist/esm/queries/for_QueryInstanceCache/when_deferring_dispose/without_cancellation.js.map +1 -1
  860. package/dist/esm/queries/for_QueryInstanceCache/when_disposing/an_empty_cache.js +1 -1
  861. package/dist/esm/queries/for_QueryInstanceCache/when_disposing/an_empty_cache.js.map +1 -1
  862. package/dist/esm/queries/for_QueryInstanceCache/when_disposing/with_active_subscriptions.js +1 -1
  863. package/dist/esm/queries/for_QueryInstanceCache/when_disposing/with_active_subscriptions.js.map +1 -1
  864. package/dist/esm/queries/for_QueryInstanceCache/when_disposing/with_pending_deferred_cleanup.js +1 -1
  865. package/dist/esm/queries/for_QueryInstanceCache/when_disposing/with_pending_deferred_cleanup.js.map +1 -1
  866. package/dist/esm/queries/for_QueryInstanceCache/when_getting_last_result/with_no_result_stored.js +1 -1
  867. package/dist/esm/queries/for_QueryInstanceCache/when_getting_last_result/with_no_result_stored.js.map +1 -1
  868. package/dist/esm/queries/for_QueryInstanceCache/when_getting_last_result/with_stored_result.js +2 -2
  869. package/dist/esm/queries/for_QueryInstanceCache/when_getting_last_result/with_stored_result.js.map +1 -1
  870. package/dist/esm/queries/for_QueryInstanceCache/when_getting_or_creating/with_existing_entry.js +1 -1
  871. package/dist/esm/queries/for_QueryInstanceCache/when_getting_or_creating/with_existing_entry.js.map +1 -1
  872. package/dist/esm/queries/for_QueryInstanceCache/when_getting_or_creating/with_new_entry.js +1 -1
  873. package/dist/esm/queries/for_QueryInstanceCache/when_getting_or_creating/with_new_entry.js.map +1 -1
  874. package/dist/esm/queries/for_QueryInstanceCache/when_releasing/a_key_that_does_not_exist.js +1 -1
  875. package/dist/esm/queries/for_QueryInstanceCache/when_releasing/a_key_that_does_not_exist.js.map +1 -1
  876. package/dist/esm/queries/for_QueryInstanceCache/when_releasing/one_of_two_subscribers.js +1 -1
  877. package/dist/esm/queries/for_QueryInstanceCache/when_releasing/one_of_two_subscribers.js.map +1 -1
  878. package/dist/esm/queries/for_QueryInstanceCache/when_releasing/the_only_subscriber.js +1 -1
  879. package/dist/esm/queries/for_QueryInstanceCache/when_releasing/the_only_subscriber.js.map +1 -1
  880. package/dist/esm/queries/for_QueryInstanceCache/when_releasing/with_retention_timeout/after_timeout_elapses.js +1 -1
  881. package/dist/esm/queries/for_QueryInstanceCache/when_releasing/with_retention_timeout/after_timeout_elapses.js.map +1 -1
  882. package/dist/esm/queries/for_QueryInstanceCache/when_releasing/with_retention_timeout/before_timeout_elapses.js +1 -1
  883. package/dist/esm/queries/for_QueryInstanceCache/when_releasing/with_retention_timeout/before_timeout_elapses.js.map +1 -1
  884. package/dist/esm/queries/for_QueryInstanceCache/when_setting_last_result/with_a_partially_changed_result.js +2 -2
  885. package/dist/esm/queries/for_QueryInstanceCache/when_setting_last_result/with_a_partially_changed_result.js.map +1 -1
  886. package/dist/esm/queries/for_QueryInstanceCache/when_setting_last_result/with_a_re_delivered_identical_result.js +2 -2
  887. package/dist/esm/queries/for_QueryInstanceCache/when_setting_last_result/with_a_re_delivered_identical_result.js.map +1 -1
  888. package/dist/esm/queries/for_QueryInstanceCache/when_setting_last_result/with_a_result.js +2 -2
  889. package/dist/esm/queries/for_QueryInstanceCache/when_setting_last_result/with_a_result.js.map +1 -1
  890. package/dist/esm/queries/for_QueryInstanceCache/when_setting_last_result/with_changed_data.js +2 -2
  891. package/dist/esm/queries/for_QueryInstanceCache/when_setting_last_result/with_changed_data.js.map +1 -1
  892. package/dist/esm/queries/for_QueryInstanceCache/when_setting_last_result/with_identical_data_as_previous_result.js +2 -2
  893. package/dist/esm/queries/for_QueryInstanceCache/when_setting_last_result/with_identical_data_as_previous_result.js.map +1 -1
  894. package/dist/esm/queries/for_QueryInstanceCache/when_setting_last_result/with_only_readiness_changed.js +3 -3
  895. package/dist/esm/queries/for_QueryInstanceCache/when_setting_last_result/with_only_readiness_changed.js.map +1 -1
  896. package/dist/esm/queries/for_QueryInstanceCache/when_setting_last_result/without_previous_result.js +2 -2
  897. package/dist/esm/queries/for_QueryInstanceCache/when_setting_last_result/without_previous_result.js.map +1 -1
  898. package/dist/esm/queries/for_QueryInstanceCache/when_tearing_down_all_subscriptions/with_active_subscriptions.js +1 -1
  899. package/dist/esm/queries/for_QueryInstanceCache/when_tearing_down_all_subscriptions/with_active_subscriptions.js.map +1 -1
  900. package/dist/esm/queries/for_QueryInstanceCache/when_tearing_down_all_subscriptions/with_no_subscriptions.js +1 -1
  901. package/dist/esm/queries/for_QueryInstanceCache/when_tearing_down_all_subscriptions/with_no_subscriptions.js.map +1 -1
  902. package/dist/esm/queries/for_QueryInstanceCache/when_tearing_down_all_subscriptions/with_pending_deferred_cleanup.js +1 -1
  903. package/dist/esm/queries/for_QueryInstanceCache/when_tearing_down_all_subscriptions/with_pending_deferred_cleanup.js.map +1 -1
  904. package/dist/esm/queries/for_QueryResult/when_asking_has_data/and_it_an_array_with_items.js +1 -1
  905. package/dist/esm/queries/for_QueryResult/when_asking_has_data/and_it_an_array_with_items.js.map +1 -1
  906. package/dist/esm/queries/for_QueryResult/when_asking_has_data/and_it_is_defined_instance.js +1 -1
  907. package/dist/esm/queries/for_QueryResult/when_asking_has_data/and_it_is_defined_instance.js.map +1 -1
  908. package/dist/esm/queries/for_QueryResult/when_asking_has_data/and_it_is_empty_array.js +1 -1
  909. package/dist/esm/queries/for_QueryResult/when_asking_has_data/and_it_is_empty_array.js.map +1 -1
  910. package/dist/esm/queries/for_QueryResult/when_asking_has_data/and_it_is_null_for_enumerable.js +1 -1
  911. package/dist/esm/queries/for_QueryResult/when_asking_has_data/and_it_is_null_for_enumerable.js.map +1 -1
  912. package/dist/esm/queries/for_QueryResult/when_asking_has_data/and_it_is_null_for_non_enumerable.js +1 -1
  913. package/dist/esm/queries/for_QueryResult/when_asking_has_data/and_it_is_null_for_non_enumerable.js.map +1 -1
  914. package/dist/esm/queries/for_QueryResult/when_asking_has_data/and_it_is_undefined.js +1 -1
  915. package/dist/esm/queries/for_QueryResult/when_asking_has_data/and_it_is_undefined.js.map +1 -1
  916. package/dist/esm/queries/for_QueryResult/when_constructing_from_a_server_result/with_readiness_false.js +1 -1
  917. package/dist/esm/queries/for_QueryResult/when_constructing_from_a_server_result/with_readiness_false.js.map +1 -1
  918. package/dist/esm/queries/for_QueryResult/when_constructing_from_a_server_result/without_readiness.js +1 -1
  919. package/dist/esm/queries/for_QueryResult/when_constructing_from_a_server_result/without_readiness.js.map +1 -1
  920. package/dist/esm/queries/for_QueryResult/when_constructing_from_a_server_result_with_a_constraint_violation.js +3 -3
  921. package/dist/esm/queries/for_QueryResult/when_constructing_from_a_server_result_with_a_constraint_violation.js.map +1 -1
  922. package/dist/esm/queries/for_QueryResult/when_creating_a_validation_failed_result.js +4 -4
  923. package/dist/esm/queries/for_QueryResult/when_creating_a_validation_failed_result.js.map +1 -1
  924. package/dist/esm/queries/for_QueryResult/when_data_is_single_item_for_enumerable/and_it_is_an_array.js +1 -1
  925. package/dist/esm/queries/for_QueryResult/when_data_is_single_item_for_enumerable/and_it_is_an_array.js.map +1 -1
  926. package/dist/esm/queries/for_QueryResultWithState/when_creating_empty/with_null_default_value.js +1 -1
  927. package/dist/esm/queries/for_QueryResultWithState/when_creating_empty/with_null_default_value.js.map +1 -1
  928. package/dist/esm/queries/for_QueryResultWithState/when_creating_empty/with_undefined_default_value.js +1 -1
  929. package/dist/esm/queries/for_QueryResultWithState/when_creating_empty/with_undefined_default_value.js.map +1 -1
  930. package/dist/esm/queries/for_QueryResultWithState/when_creating_from_query_result/with_null_data.js +2 -2
  931. package/dist/esm/queries/for_QueryResultWithState/when_creating_from_query_result/with_null_data.js.map +1 -1
  932. package/dist/esm/queries/for_QueryResultWithState/when_creating_from_query_result/with_readiness_false.js +2 -2
  933. package/dist/esm/queries/for_QueryResultWithState/when_creating_from_query_result/with_readiness_false.js.map +1 -1
  934. package/dist/esm/queries/for_QueryResultWithState/when_creating_from_query_result/with_undefined_data.js +2 -2
  935. package/dist/esm/queries/for_QueryResultWithState/when_creating_from_query_result/with_undefined_data.js.map +1 -1
  936. package/dist/esm/queries/for_QueryResultWithState/when_creating_from_query_result/without_readiness.js +2 -2
  937. package/dist/esm/queries/for_QueryResultWithState/when_creating_from_query_result/without_readiness.js.map +1 -1
  938. package/dist/esm/queries/for_QueryResultWithState/when_creating_initial/with_null_default_value.js +1 -1
  939. package/dist/esm/queries/for_QueryResultWithState/when_creating_initial/with_null_default_value.js.map +1 -1
  940. package/dist/esm/queries/for_QueryResultWithState/when_creating_initial/with_undefined_default_value.js +1 -1
  941. package/dist/esm/queries/for_QueryResultWithState/when_creating_initial/with_undefined_default_value.js.map +1 -1
  942. package/dist/esm/queries/for_QueryResultWithState/when_creating_initial/with_valid_default_value.js +1 -1
  943. package/dist/esm/queries/for_QueryResultWithState/when_creating_initial/with_valid_default_value.js.map +1 -1
  944. package/dist/esm/queries/for_ReconnectPolicy/when_canceling/with_pending_timer.js +1 -1
  945. package/dist/esm/queries/for_ReconnectPolicy/when_canceling/with_pending_timer.js.map +1 -1
  946. package/dist/esm/queries/for_ReconnectPolicy/when_cancelling/with_pending_timer.js +1 -1
  947. package/dist/esm/queries/for_ReconnectPolicy/when_cancelling/with_pending_timer.js.map +1 -1
  948. package/dist/esm/queries/for_ReconnectPolicy/when_resetting/after_scheduling.js +1 -1
  949. package/dist/esm/queries/for_ReconnectPolicy/when_resetting/after_scheduling.js.map +1 -1
  950. package/dist/esm/queries/for_ReconnectPolicy/when_scheduling/and_max_attempts_not_reached/delay_is_capped_at_max.js +1 -1
  951. package/dist/esm/queries/for_ReconnectPolicy/when_scheduling/and_max_attempts_not_reached/delay_is_capped_at_max.js.map +1 -1
  952. package/dist/esm/queries/for_ReconnectPolicy/when_scheduling/and_max_attempts_not_reached/first_attempt.js +1 -1
  953. package/dist/esm/queries/for_ReconnectPolicy/when_scheduling/and_max_attempts_not_reached/first_attempt.js.map +1 -1
  954. package/dist/esm/queries/for_ReconnectPolicy/when_scheduling/and_max_attempts_reached/abandons_reconnect.js +1 -1
  955. package/dist/esm/queries/for_ReconnectPolicy/when_scheduling/and_max_attempts_reached/abandons_reconnect.js.map +1 -1
  956. package/dist/esm/queries/for_ReconnectPolicy/when_scheduling/and_rescheduled_before_first_fires/cancels_previous_timer.js +1 -1
  957. package/dist/esm/queries/for_ReconnectPolicy/when_scheduling/and_rescheduled_before_first_fires/cancels_previous_timer.js.map +1 -1
  958. package/dist/esm/queries/for_ServerSentEventHubConnection/given/a_server_sent_event_hub_connection.d.ts +2 -2
  959. package/dist/esm/queries/for_ServerSentEventHubConnection/given/a_server_sent_event_hub_connection.d.ts.map +1 -1
  960. package/dist/esm/queries/for_ServerSentEventHubConnection/given/a_server_sent_event_hub_connection.js +1 -1
  961. package/dist/esm/queries/for_ServerSentEventHubConnection/given/a_server_sent_event_hub_connection.js.map +1 -1
  962. package/dist/esm/queries/for_ServerSentEventHubConnection/when_a_retired_event_source_fires/ignores_connected_and_error_callbacks.js +3 -3
  963. package/dist/esm/queries/for_ServerSentEventHubConnection/when_a_retired_event_source_fires/ignores_connected_and_error_callbacks.js.map +1 -1
  964. package/dist/esm/queries/for_ServerSentEventHubConnection/when_connect_timeout_fires/triggers_reconnect.js +3 -3
  965. package/dist/esm/queries/for_ServerSentEventHubConnection/when_connect_timeout_fires/triggers_reconnect.js.map +1 -1
  966. package/dist/esm/queries/for_ServerSentEventHubConnection/when_connection_changes_while_subscribe_is_in_flight/and_the_query_is_replaced.js +4 -4
  967. package/dist/esm/queries/for_ServerSentEventHubConnection/when_connection_changes_while_subscribe_is_in_flight/and_the_query_is_replaced.js.map +1 -1
  968. package/dist/esm/queries/for_ServerSentEventHubConnection/when_connection_changes_while_subscribe_is_in_flight/and_the_query_is_unsubscribed.js +4 -4
  969. package/dist/esm/queries/for_ServerSentEventHubConnection/when_connection_changes_while_subscribe_is_in_flight/and_the_query_is_unsubscribed.js.map +1 -1
  970. package/dist/esm/queries/for_ServerSentEventHubConnection/when_connection_changes_while_subscribe_is_in_flight/and_the_stale_request_is_rejected.js +4 -4
  971. package/dist/esm/queries/for_ServerSentEventHubConnection/when_connection_changes_while_subscribe_is_in_flight/and_the_stale_request_is_rejected.js.map +1 -1
  972. package/dist/esm/queries/for_ServerSentEventHubConnection/when_connection_changes_while_subscribe_is_in_flight/and_the_stale_request_returns_non_ok.js +4 -4
  973. package/dist/esm/queries/for_ServerSentEventHubConnection/when_connection_changes_while_subscribe_is_in_flight/and_the_stale_request_returns_non_ok.js.map +1 -1
  974. package/dist/esm/queries/for_ServerSentEventHubConnection/when_disposing/cleans_up_resources.js +3 -3
  975. package/dist/esm/queries/for_ServerSentEventHubConnection/when_disposing/cleans_up_resources.js.map +1 -1
  976. package/dist/esm/queries/for_ServerSentEventHubConnection/when_keep_alive_is_idle/triggers_reconnect.js +4 -4
  977. package/dist/esm/queries/for_ServerSentEventHubConnection/when_keep_alive_is_idle/triggers_reconnect.js.map +1 -1
  978. package/dist/esm/queries/for_ServerSentEventHubConnection/when_receiving_unauthorized/notifies_subscriber_and_removes_subscription.js +3 -3
  979. package/dist/esm/queries/for_ServerSentEventHubConnection/when_receiving_unauthorized/notifies_subscriber_and_removes_subscription.js.map +1 -1
  980. package/dist/esm/queries/for_ServerSentEventHubConnection/when_reconnecting/after_error.js +3 -3
  981. package/dist/esm/queries/for_ServerSentEventHubConnection/when_reconnecting/after_error.js.map +1 -1
  982. package/dist/esm/queries/for_ServerSentEventHubConnection/when_reconnecting/and_an_immediate_open_wins_the_backoff_race.js +2 -2
  983. package/dist/esm/queries/for_ServerSentEventHubConnection/when_reconnecting/and_an_immediate_open_wins_the_backoff_race.js.map +1 -1
  984. package/dist/esm/queries/for_ServerSentEventHubConnection/when_replacing_a_subscription/ignores_messages_from_the_retired_generation.js +3 -3
  985. package/dist/esm/queries/for_ServerSentEventHubConnection/when_replacing_a_subscription/ignores_messages_from_the_retired_generation.js.map +1 -1
  986. package/dist/esm/queries/for_ServerSentEventHubConnection/when_server_advertises_a_longer_keep_alive_interval/does_not_reconnect_at_the_assumed_threshold.js +4 -4
  987. package/dist/esm/queries/for_ServerSentEventHubConnection/when_server_advertises_a_longer_keep_alive_interval/does_not_reconnect_at_the_assumed_threshold.js.map +1 -1
  988. package/dist/esm/queries/for_ServerSentEventHubConnection/when_server_reports_keep_alive_disabled/never_reconnects_from_idle.js +4 -4
  989. package/dist/esm/queries/for_ServerSentEventHubConnection/when_server_reports_keep_alive_disabled/never_reconnects_from_idle.js.map +1 -1
  990. package/dist/esm/queries/for_ServerSentEventHubConnection/when_subscribing/and_subscribe_post_fails.js +3 -3
  991. package/dist/esm/queries/for_ServerSentEventHubConnection/when_subscribing/and_subscribe_post_fails.js.map +1 -1
  992. package/dist/esm/queries/for_ServerSentEventHubConnection/when_subscribing/queues_until_connected.js +3 -3
  993. package/dist/esm/queries/for_ServerSentEventHubConnection/when_subscribing/queues_until_connected.js.map +1 -1
  994. package/dist/esm/queries/for_ServerSentEventHubConnection/when_subscribing/sends_subscribe_post.js +3 -3
  995. package/dist/esm/queries/for_ServerSentEventHubConnection/when_subscribing/sends_subscribe_post.js.map +1 -1
  996. package/dist/esm/queries/for_ServerSentEventHubConnection/when_subscribing/uses_custom_event_source_factory.js +4 -4
  997. package/dist/esm/queries/for_ServerSentEventHubConnection/when_subscribing/uses_custom_event_source_factory.js.map +1 -1
  998. package/dist/esm/queries/for_ServerSentEventHubConnection/when_subscription_revisions_are_not_advertised/uses_legacy_protocol.js +3 -3
  999. package/dist/esm/queries/for_ServerSentEventHubConnection/when_subscription_revisions_are_not_advertised/uses_legacy_protocol.js.map +1 -1
  1000. package/dist/esm/queries/for_ServerSentEventHubConnection/when_unsubscribing/nulls_event_source_handlers_before_closing.js +3 -3
  1001. package/dist/esm/queries/for_ServerSentEventHubConnection/when_unsubscribing/nulls_event_source_handlers_before_closing.js.map +1 -1
  1002. package/dist/esm/queries/for_ServerSentEventHubConnection/when_unsubscribing/the_only_query.js +3 -3
  1003. package/dist/esm/queries/for_ServerSentEventHubConnection/when_unsubscribing/the_only_query.js.map +1 -1
  1004. package/dist/esm/queries/for_ServerSentEventQueryConnection/when_connecting/with_custom_event_source_factory.js +2 -2
  1005. package/dist/esm/queries/for_ServerSentEventQueryConnection/when_connecting/with_custom_event_source_factory.js.map +1 -1
  1006. package/dist/esm/queries/for_ServerSentEventQueryConnection/when_connecting/with_query_arguments.js +1 -1
  1007. package/dist/esm/queries/for_ServerSentEventQueryConnection/when_connecting/with_query_arguments.js.map +1 -1
  1008. package/dist/esm/queries/for_ServerSentEventQueryConnection/when_connecting/without_event_source_available.js +1 -1
  1009. package/dist/esm/queries/for_ServerSentEventQueryConnection/when_connecting/without_event_source_available.js.map +1 -1
  1010. package/dist/esm/queries/for_ServerSentEventQueryConnection/when_disconnecting/after_connecting.js +1 -1
  1011. package/dist/esm/queries/for_ServerSentEventQueryConnection/when_disconnecting/after_connecting.js.map +1 -1
  1012. package/dist/esm/queries/for_ServerSentEventQueryConnection/when_disconnecting/before_message_arrives.js +1 -1
  1013. package/dist/esm/queries/for_ServerSentEventQueryConnection/when_disconnecting/before_message_arrives.js.map +1 -1
  1014. package/dist/esm/queries/for_ServerSentEventQueryConnection/when_receiving_unauthorized/terminates_without_reconnecting.js +1 -1
  1015. package/dist/esm/queries/for_ServerSentEventQueryConnection/when_receiving_unauthorized/terminates_without_reconnecting.js.map +1 -1
  1016. package/dist/esm/queries/for_ValidateRequestArguments/when_validating_arguments/with_empty_string_value.js +1 -1
  1017. package/dist/esm/queries/for_ValidateRequestArguments/when_validating_arguments/with_empty_string_value.js.map +1 -1
  1018. package/dist/esm/queries/for_ValidateRequestArguments/when_validating_arguments/with_missing_property.js +1 -1
  1019. package/dist/esm/queries/for_ValidateRequestArguments/when_validating_arguments/with_missing_property.js.map +1 -1
  1020. package/dist/esm/queries/for_ValidateRequestArguments/when_validating_arguments/with_no_required_arguments.js +1 -1
  1021. package/dist/esm/queries/for_ValidateRequestArguments/when_validating_arguments/with_no_required_arguments.js.map +1 -1
  1022. package/dist/esm/queries/for_ValidateRequestArguments/when_validating_arguments/with_null_value.js +1 -1
  1023. package/dist/esm/queries/for_ValidateRequestArguments/when_validating_arguments/with_null_value.js.map +1 -1
  1024. package/dist/esm/queries/for_ValidateRequestArguments/when_validating_arguments/with_numeric_zero_value.js +1 -1
  1025. package/dist/esm/queries/for_ValidateRequestArguments/when_validating_arguments/with_numeric_zero_value.js.map +1 -1
  1026. package/dist/esm/queries/for_ValidateRequestArguments/when_validating_arguments/with_undefined_value.js +1 -1
  1027. package/dist/esm/queries/for_ValidateRequestArguments/when_validating_arguments/with_undefined_value.js.map +1 -1
  1028. package/dist/esm/queries/for_ValidateRequestArguments/when_validating_arguments/with_valid_string_value.js +1 -1
  1029. package/dist/esm/queries/for_ValidateRequestArguments/when_validating_arguments/with_valid_string_value.js.map +1 -1
  1030. package/dist/esm/queries/for_ValidateRequestArguments/when_validating_arguments/without_arguments_object.js +1 -1
  1031. package/dist/esm/queries/for_ValidateRequestArguments/when_validating_arguments/without_arguments_object.js.map +1 -1
  1032. package/dist/esm/queries/for_WebSocketHubConnection/given/a_web_socket_hub_connection.d.ts +2 -2
  1033. package/dist/esm/queries/for_WebSocketHubConnection/given/a_web_socket_hub_connection.d.ts.map +1 -1
  1034. package/dist/esm/queries/for_WebSocketHubConnection/given/a_web_socket_hub_connection.js +1 -1
  1035. package/dist/esm/queries/for_WebSocketHubConnection/given/a_web_socket_hub_connection.js.map +1 -1
  1036. package/dist/esm/queries/for_WebSocketHubConnection/when_disposing/cleans_up_resources.js +2 -2
  1037. package/dist/esm/queries/for_WebSocketHubConnection/when_disposing/cleans_up_resources.js.map +1 -1
  1038. package/dist/esm/queries/for_WebSocketHubConnection/when_keep_alive_is_idle/sends_a_ping.js +4 -4
  1039. package/dist/esm/queries/for_WebSocketHubConnection/when_keep_alive_is_idle/sends_a_ping.js.map +1 -1
  1040. package/dist/esm/queries/for_WebSocketHubConnection/when_receiving_a_message/resets_keep_alive_timer.js +4 -4
  1041. package/dist/esm/queries/for_WebSocketHubConnection/when_receiving_a_message/resets_keep_alive_timer.js.map +1 -1
  1042. package/dist/esm/queries/for_WebSocketHubConnection/when_receiving_unauthorized/notifies_subscriber_and_removes_subscription.js +3 -3
  1043. package/dist/esm/queries/for_WebSocketHubConnection/when_receiving_unauthorized/notifies_subscriber_and_removes_subscription.js.map +1 -1
  1044. package/dist/esm/queries/for_WebSocketHubConnection/when_reconnecting/after_unexpected_close.js +2 -2
  1045. package/dist/esm/queries/for_WebSocketHubConnection/when_reconnecting/after_unexpected_close.js.map +1 -1
  1046. package/dist/esm/queries/for_WebSocketHubConnection/when_reconnecting/ignores_a_pending_reconnect_and_stale_socket_callbacks.js +3 -3
  1047. package/dist/esm/queries/for_WebSocketHubConnection/when_reconnecting/ignores_a_pending_reconnect_and_stale_socket_callbacks.js.map +1 -1
  1048. package/dist/esm/queries/for_WebSocketHubConnection/when_reconnecting/replaces_a_closing_socket_safely.js +2 -2
  1049. package/dist/esm/queries/for_WebSocketHubConnection/when_reconnecting/replaces_a_closing_socket_safely.js.map +1 -1
  1050. package/dist/esm/queries/for_WebSocketHubConnection/when_reconnecting/resubscribes_all_queries.js +3 -3
  1051. package/dist/esm/queries/for_WebSocketHubConnection/when_reconnecting/resubscribes_all_queries.js.map +1 -1
  1052. package/dist/esm/queries/for_WebSocketHubConnection/when_replacing_a_subscription/ignores_stale_result_unauthorized_and_error.js +3 -3
  1053. package/dist/esm/queries/for_WebSocketHubConnection/when_replacing_a_subscription/ignores_stale_result_unauthorized_and_error.js.map +1 -1
  1054. package/dist/esm/queries/for_WebSocketHubConnection/when_subscribing/to_a_query.js +3 -3
  1055. package/dist/esm/queries/for_WebSocketHubConnection/when_subscribing/to_a_query.js.map +1 -1
  1056. package/dist/esm/queries/for_WebSocketHubConnection/when_subscription_revisions_are_supported/upgrades_active_subscriptions_to_strict_mode.js +3 -3
  1057. package/dist/esm/queries/for_WebSocketHubConnection/when_subscription_revisions_are_supported/upgrades_active_subscriptions_to_strict_mode.js.map +1 -1
  1058. package/dist/esm/queries/for_WebSocketHubConnection/when_unsubscribing/nulls_socket_handlers_before_closing.js +2 -2
  1059. package/dist/esm/queries/for_WebSocketHubConnection/when_unsubscribing/nulls_socket_handlers_before_closing.js.map +1 -1
  1060. package/dist/esm/queries/for_WebSocketHubConnection/when_unsubscribing/the_only_query.js +3 -3
  1061. package/dist/esm/queries/for_WebSocketHubConnection/when_unsubscribing/the_only_query.js.map +1 -1
  1062. package/dist/esm/queries/for_WebSocketHubConnection/when_unsubscribing/with_revision_support_not_advertised.js +3 -3
  1063. package/dist/esm/queries/for_WebSocketHubConnection/when_unsubscribing/with_revision_support_not_advertised.js.map +1 -1
  1064. package/dist/esm/queries/for_WebSocketMessage/when_creating_messages.js +1 -1
  1065. package/dist/esm/queries/for_WebSocketMessage/when_creating_messages.js.map +1 -1
  1066. package/dist/esm/queries/for_buildQueryHttpRequest/when_building/with_get_method.js +4 -4
  1067. package/dist/esm/queries/for_buildQueryHttpRequest/when_building/with_get_method.js.map +1 -1
  1068. package/dist/esm/queries/for_buildQueryHttpRequest/when_building/with_query_method.js +4 -4
  1069. package/dist/esm/queries/for_buildQueryHttpRequest/when_building/with_query_method.js.map +1 -1
  1070. package/dist/esm/queries/for_buildQueryHttpRequest/when_building/with_query_method_and_paging_and_sorting.js +5 -5
  1071. package/dist/esm/queries/for_buildQueryHttpRequest/when_building/with_query_method_and_paging_and_sorting.js.map +1 -1
  1072. package/dist/esm/queries/for_deserializeQueryModel/when_deserializing_a_collection_of_models.js +1 -1
  1073. package/dist/esm/queries/for_deserializeQueryModel/when_deserializing_a_collection_of_models.js.map +1 -1
  1074. package/dist/esm/queries/for_deserializeQueryModel/when_deserializing_a_collection_of_numbers.js +1 -1
  1075. package/dist/esm/queries/for_deserializeQueryModel/when_deserializing_a_collection_of_numbers.js.map +1 -1
  1076. package/dist/esm/queries/for_deserializeQueryModel/when_deserializing_a_collection_of_strings.js +1 -1
  1077. package/dist/esm/queries/for_deserializeQueryModel/when_deserializing_a_collection_of_strings.js.map +1 -1
  1078. package/dist/esm/queries/for_deserializeQueryModel/when_deserializing_a_non_array_as_a_collection.js +1 -1
  1079. package/dist/esm/queries/for_deserializeQueryModel/when_deserializing_a_non_array_as_a_collection.js.map +1 -1
  1080. package/dist/esm/queries/for_deserializeQueryModel/when_deserializing_a_single_string.js +1 -1
  1081. package/dist/esm/queries/for_deserializeQueryModel/when_deserializing_a_single_string.js.map +1 -1
  1082. package/dist/esm/queries/for_executeQueryHttpRequest/options.d.ts +1 -1
  1083. package/dist/esm/queries/for_executeQueryHttpRequest/options.d.ts.map +1 -1
  1084. package/dist/esm/queries/for_executeQueryHttpRequest/options.js +2 -2
  1085. package/dist/esm/queries/for_executeQueryHttpRequest/options.js.map +1 -1
  1086. package/dist/esm/queries/for_executeQueryHttpRequest/when_performing/with_a_resolver.js +5 -5
  1087. package/dist/esm/queries/for_executeQueryHttpRequest/when_performing/with_a_resolver.js.map +1 -1
  1088. package/dist/esm/queries/for_executeQueryHttpRequest/when_performing/with_a_resolver_and_an_explicit_override.js +5 -5
  1089. package/dist/esm/queries/for_executeQueryHttpRequest/when_performing/with_a_resolver_and_an_explicit_override.js.map +1 -1
  1090. package/dist/esm/queries/for_executeQueryHttpRequest/when_performing/with_auto_after_query_was_found_unsupported.js +4 -4
  1091. package/dist/esm/queries/for_executeQueryHttpRequest/when_performing/with_auto_after_query_was_found_unsupported.js.map +1 -1
  1092. package/dist/esm/queries/for_executeQueryHttpRequest/when_performing/with_auto_and_a_network_failure.js +4 -4
  1093. package/dist/esm/queries/for_executeQueryHttpRequest/when_performing/with_auto_and_a_network_failure.js.map +1 -1
  1094. package/dist/esm/queries/for_executeQueryHttpRequest/when_performing/with_auto_and_an_aborted_request.js +4 -4
  1095. package/dist/esm/queries/for_executeQueryHttpRequest/when_performing/with_auto_and_an_aborted_request.js.map +1 -1
  1096. package/dist/esm/queries/for_executeQueryHttpRequest/when_performing/with_auto_and_an_application_error.js +4 -4
  1097. package/dist/esm/queries/for_executeQueryHttpRequest/when_performing/with_auto_and_an_application_error.js.map +1 -1
  1098. package/dist/esm/queries/for_executeQueryHttpRequest/when_performing/with_auto_and_multiple_backends.js +4 -4
  1099. package/dist/esm/queries/for_executeQueryHttpRequest/when_performing/with_auto_and_multiple_backends.js.map +1 -1
  1100. package/dist/esm/queries/for_executeQueryHttpRequest/when_performing/with_auto_and_query_supported.js +4 -4
  1101. package/dist/esm/queries/for_executeQueryHttpRequest/when_performing/with_auto_and_query_supported.js.map +1 -1
  1102. package/dist/esm/queries/for_executeQueryHttpRequest/when_performing/with_auto_and_query_unsupported.js +4 -4
  1103. package/dist/esm/queries/for_executeQueryHttpRequest/when_performing/with_auto_and_query_unsupported.js.map +1 -1
  1104. package/dist/esm/queries/for_executeQueryHttpRequest/when_performing/with_get_method.js +4 -4
  1105. package/dist/esm/queries/for_executeQueryHttpRequest/when_performing/with_get_method.js.map +1 -1
  1106. package/dist/esm/queries/for_executeQueryHttpRequest/when_performing/with_query_method_and_server_rejecting_the_verb.js +4 -4
  1107. package/dist/esm/queries/for_executeQueryHttpRequest/when_performing/with_query_method_and_server_rejecting_the_verb.js.map +1 -1
  1108. package/dist/esm/queries/for_lengthBasedQueryHttpMethod/when_resolving/with_a_long_url.js +2 -2
  1109. package/dist/esm/queries/for_lengthBasedQueryHttpMethod/when_resolving/with_a_long_url.js.map +1 -1
  1110. package/dist/esm/queries/for_lengthBasedQueryHttpMethod/when_resolving/with_a_long_url_and_a_custom_method.js +2 -2
  1111. package/dist/esm/queries/for_lengthBasedQueryHttpMethod/when_resolving/with_a_long_url_and_a_custom_method.js.map +1 -1
  1112. package/dist/esm/queries/for_lengthBasedQueryHttpMethod/when_resolving/with_a_short_url.js +2 -2
  1113. package/dist/esm/queries/for_lengthBasedQueryHttpMethod/when_resolving/with_a_short_url.js.map +1 -1
  1114. package/dist/esm/queries/for_reconcileQueryData/when_items_are_added_or_removed/reuses_the_surviving_items.js +1 -1
  1115. package/dist/esm/queries/for_reconcileQueryData/when_items_are_added_or_removed/reuses_the_surviving_items.js.map +1 -1
  1116. package/dist/esm/queries/for_reconcileQueryData/when_one_item_changed/only_the_changed_item_gets_a_new_reference.js +1 -1
  1117. package/dist/esm/queries/for_reconcileQueryData/when_one_item_changed/only_the_changed_item_gets_a_new_reference.js.map +1 -1
  1118. package/dist/esm/queries/for_reconcileQueryData/when_reconciling_an_unchanged_collection/preserves_all_references.js +1 -1
  1119. package/dist/esm/queries/for_reconcileQueryData/when_reconciling_an_unchanged_collection/preserves_all_references.js.map +1 -1
  1120. package/dist/esm/queries/for_reconcileQueryData/when_reconciling_non_collection_payloads/compares_by_value.js +1 -1
  1121. package/dist/esm/queries/for_reconcileQueryData/when_reconciling_non_collection_payloads/compares_by_value.js.map +1 -1
  1122. package/dist/esm/queries/index.d.ts +43 -43
  1123. package/dist/esm/queries/index.d.ts.map +1 -1
  1124. package/dist/esm/queries/index.js.map +1 -1
  1125. package/dist/esm/queries/reconcileQueryData.js.map +1 -1
  1126. package/dist/esm/reflection/IHaveParameters.d.ts +1 -1
  1127. package/dist/esm/reflection/IHaveParameters.d.ts.map +1 -1
  1128. package/dist/esm/reflection/ParametersHelper.d.ts +1 -1
  1129. package/dist/esm/reflection/ParametersHelper.d.ts.map +1 -1
  1130. package/dist/esm/reflection/ParametersHelper.js.map +1 -1
  1131. package/dist/esm/reflection/index.d.ts +4 -4
  1132. package/dist/esm/reflection/index.d.ts.map +1 -1
  1133. package/dist/esm/reflection/index.js.map +1 -1
  1134. package/dist/esm/tsconfig.tsbuildinfo +1 -1
  1135. package/dist/esm/validation/IValidationRule.d.ts +1 -1
  1136. package/dist/esm/validation/IValidationRule.d.ts.map +1 -1
  1137. package/dist/esm/validation/PropertyRule.d.ts +2 -2
  1138. package/dist/esm/validation/PropertyRule.d.ts.map +1 -1
  1139. package/dist/esm/validation/PropertyRule.js.map +1 -1
  1140. package/dist/esm/validation/PropertyValidator.d.ts +2 -2
  1141. package/dist/esm/validation/PropertyValidator.d.ts.map +1 -1
  1142. package/dist/esm/validation/PropertyValidator.js.map +1 -1
  1143. package/dist/esm/validation/RuleBuilder.d.ts +2 -2
  1144. package/dist/esm/validation/RuleBuilder.d.ts.map +1 -1
  1145. package/dist/esm/validation/RuleBuilder.js.map +1 -1
  1146. package/dist/esm/validation/RuleBuilderExtensions.d.ts +2 -2
  1147. package/dist/esm/validation/RuleBuilderExtensions.d.ts.map +1 -1
  1148. package/dist/esm/validation/RuleBuilderExtensions.js.map +1 -1
  1149. package/dist/esm/validation/ValidationResult.d.ts +2 -2
  1150. package/dist/esm/validation/ValidationResult.d.ts.map +1 -1
  1151. package/dist/esm/validation/ValidationResult.js.map +1 -1
  1152. package/dist/esm/validation/Validator.d.ts +2 -2
  1153. package/dist/esm/validation/Validator.d.ts.map +1 -1
  1154. package/dist/esm/validation/Validator.js.map +1 -1
  1155. package/dist/esm/validation/for_Validator/when_defining_multiple_rules_for_same_property.d.ts +1 -1
  1156. package/dist/esm/validation/for_Validator/when_defining_multiple_rules_for_same_property.d.ts.map +1 -1
  1157. package/dist/esm/validation/for_Validator/when_defining_multiple_rules_for_same_property.js +2 -2
  1158. package/dist/esm/validation/for_Validator/when_defining_multiple_rules_for_same_property.js.map +1 -1
  1159. package/dist/esm/validation/for_Validator/when_using_custom_error_message.d.ts +1 -1
  1160. package/dist/esm/validation/for_Validator/when_using_custom_error_message.d.ts.map +1 -1
  1161. package/dist/esm/validation/for_Validator/when_using_custom_error_message.js +2 -2
  1162. package/dist/esm/validation/for_Validator/when_using_custom_error_message.js.map +1 -1
  1163. package/dist/esm/validation/for_Validator/when_validating/with_all_rules_passing.d.ts +1 -1
  1164. package/dist/esm/validation/for_Validator/when_validating/with_all_rules_passing.d.ts.map +1 -1
  1165. package/dist/esm/validation/for_Validator/when_validating/with_all_rules_passing.js +2 -2
  1166. package/dist/esm/validation/for_Validator/when_validating/with_all_rules_passing.js.map +1 -1
  1167. package/dist/esm/validation/for_Validator/when_validating/with_multiple_rules_failing.d.ts +1 -1
  1168. package/dist/esm/validation/for_Validator/when_validating/with_multiple_rules_failing.d.ts.map +1 -1
  1169. package/dist/esm/validation/for_Validator/when_validating/with_multiple_rules_failing.js +2 -2
  1170. package/dist/esm/validation/for_Validator/when_validating/with_multiple_rules_failing.js.map +1 -1
  1171. package/dist/esm/validation/for_Validator/when_validating/with_one_rule_failing.d.ts +1 -1
  1172. package/dist/esm/validation/for_Validator/when_validating/with_one_rule_failing.d.ts.map +1 -1
  1173. package/dist/esm/validation/for_Validator/when_validating/with_one_rule_failing.js +2 -2
  1174. package/dist/esm/validation/for_Validator/when_validating/with_one_rule_failing.js.map +1 -1
  1175. package/dist/esm/validation/index.d.ts +14 -14
  1176. package/dist/esm/validation/index.d.ts.map +1 -1
  1177. package/dist/esm/validation/index.js.map +1 -1
  1178. package/dist/esm/validation/rules/ComparisonRules.d.ts +1 -1
  1179. package/dist/esm/validation/rules/ComparisonRules.d.ts.map +1 -1
  1180. package/dist/esm/validation/rules/ComparisonRules.js.map +1 -1
  1181. package/dist/esm/validation/rules/EmailRule.d.ts +1 -1
  1182. package/dist/esm/validation/rules/EmailRule.d.ts.map +1 -1
  1183. package/dist/esm/validation/rules/EmailRule.js.map +1 -1
  1184. package/dist/esm/validation/rules/LengthRules.d.ts +1 -1
  1185. package/dist/esm/validation/rules/LengthRules.d.ts.map +1 -1
  1186. package/dist/esm/validation/rules/LengthRules.js.map +1 -1
  1187. package/dist/esm/validation/rules/NotEmptyRule.d.ts +1 -1
  1188. package/dist/esm/validation/rules/NotEmptyRule.d.ts.map +1 -1
  1189. package/dist/esm/validation/rules/NotEmptyRule.js.map +1 -1
  1190. package/dist/esm/validation/rules/PhoneRule.d.ts +1 -1
  1191. package/dist/esm/validation/rules/PhoneRule.d.ts.map +1 -1
  1192. package/dist/esm/validation/rules/PhoneRule.js.map +1 -1
  1193. package/dist/esm/validation/rules/RegexRule.d.ts +1 -1
  1194. package/dist/esm/validation/rules/RegexRule.d.ts.map +1 -1
  1195. package/dist/esm/validation/rules/RegexRule.js.map +1 -1
  1196. package/dist/esm/validation/rules/UrlRule.d.ts +1 -1
  1197. package/dist/esm/validation/rules/UrlRule.d.ts.map +1 -1
  1198. package/dist/esm/validation/rules/UrlRule.js.map +1 -1
  1199. package/dist/esm/validation/rules/for_EmailRule/when_validating/with_empty_string.js +1 -1
  1200. package/dist/esm/validation/rules/for_EmailRule/when_validating/with_empty_string.js.map +1 -1
  1201. package/dist/esm/validation/rules/for_EmailRule/when_validating/with_invalid_email.js +1 -1
  1202. package/dist/esm/validation/rules/for_EmailRule/when_validating/with_invalid_email.js.map +1 -1
  1203. package/dist/esm/validation/rules/for_EmailRule/when_validating/with_valid_email.js +1 -1
  1204. package/dist/esm/validation/rules/for_EmailRule/when_validating/with_valid_email.js.map +1 -1
  1205. package/dist/esm/validation/rules/for_GreaterThanOrEqualRule/when_validating/with_value_equal_to_threshold.js +1 -1
  1206. package/dist/esm/validation/rules/for_GreaterThanOrEqualRule/when_validating/with_value_equal_to_threshold.js.map +1 -1
  1207. package/dist/esm/validation/rules/for_GreaterThanRule/when_validating/with_value_equal_to_threshold.js +1 -1
  1208. package/dist/esm/validation/rules/for_GreaterThanRule/when_validating/with_value_equal_to_threshold.js.map +1 -1
  1209. package/dist/esm/validation/rules/for_GreaterThanRule/when_validating/with_value_greater_than_threshold.js +1 -1
  1210. package/dist/esm/validation/rules/for_GreaterThanRule/when_validating/with_value_greater_than_threshold.js.map +1 -1
  1211. package/dist/esm/validation/rules/for_GreaterThanRule/when_validating/with_value_less_than_threshold.js +1 -1
  1212. package/dist/esm/validation/rules/for_GreaterThanRule/when_validating/with_value_less_than_threshold.js.map +1 -1
  1213. package/dist/esm/validation/rules/for_LengthRule/when_validating/with_string_longer_than_maximum.js +1 -1
  1214. package/dist/esm/validation/rules/for_LengthRule/when_validating/with_string_longer_than_maximum.js.map +1 -1
  1215. package/dist/esm/validation/rules/for_LengthRule/when_validating/with_string_shorter_than_minimum.js +1 -1
  1216. package/dist/esm/validation/rules/for_LengthRule/when_validating/with_string_shorter_than_minimum.js.map +1 -1
  1217. package/dist/esm/validation/rules/for_LengthRule/when_validating/with_string_within_range.js +1 -1
  1218. package/dist/esm/validation/rules/for_LengthRule/when_validating/with_string_within_range.js.map +1 -1
  1219. package/dist/esm/validation/rules/for_LessThanRule/when_validating/with_value_less_than_threshold.js +1 -1
  1220. package/dist/esm/validation/rules/for_LessThanRule/when_validating/with_value_less_than_threshold.js.map +1 -1
  1221. package/dist/esm/validation/rules/for_MaxLengthRule/when_validating/with_string_equal_to_maximum.js +1 -1
  1222. package/dist/esm/validation/rules/for_MaxLengthRule/when_validating/with_string_equal_to_maximum.js.map +1 -1
  1223. package/dist/esm/validation/rules/for_MaxLengthRule/when_validating/with_string_longer_than_maximum.js +1 -1
  1224. package/dist/esm/validation/rules/for_MaxLengthRule/when_validating/with_string_longer_than_maximum.js.map +1 -1
  1225. package/dist/esm/validation/rules/for_MinLengthRule/when_validating/with_string_equal_to_minimum.js +1 -1
  1226. package/dist/esm/validation/rules/for_MinLengthRule/when_validating/with_string_equal_to_minimum.js.map +1 -1
  1227. package/dist/esm/validation/rules/for_MinLengthRule/when_validating/with_string_longer_than_minimum.js +1 -1
  1228. package/dist/esm/validation/rules/for_MinLengthRule/when_validating/with_string_longer_than_minimum.js.map +1 -1
  1229. package/dist/esm/validation/rules/for_MinLengthRule/when_validating/with_string_shorter_than_minimum.js +1 -1
  1230. package/dist/esm/validation/rules/for_MinLengthRule/when_validating/with_string_shorter_than_minimum.js.map +1 -1
  1231. package/dist/esm/validation/rules/for_NotEmptyRule/when_setting_custom_message.js +1 -1
  1232. package/dist/esm/validation/rules/for_NotEmptyRule/when_setting_custom_message.js.map +1 -1
  1233. package/dist/esm/validation/rules/for_NotEmptyRule/when_validating/with_empty_array.js +1 -1
  1234. package/dist/esm/validation/rules/for_NotEmptyRule/when_validating/with_empty_array.js.map +1 -1
  1235. package/dist/esm/validation/rules/for_NotEmptyRule/when_validating/with_empty_string.js +1 -1
  1236. package/dist/esm/validation/rules/for_NotEmptyRule/when_validating/with_empty_string.js.map +1 -1
  1237. package/dist/esm/validation/rules/for_NotEmptyRule/when_validating/with_non_empty_array.js +1 -1
  1238. package/dist/esm/validation/rules/for_NotEmptyRule/when_validating/with_non_empty_array.js.map +1 -1
  1239. package/dist/esm/validation/rules/for_NotEmptyRule/when_validating/with_null_value.js +2 -2
  1240. package/dist/esm/validation/rules/for_NotEmptyRule/when_validating/with_null_value.js.map +1 -1
  1241. package/dist/esm/validation/rules/for_NotEmptyRule/when_validating/with_undefined_value.js +2 -2
  1242. package/dist/esm/validation/rules/for_NotEmptyRule/when_validating/with_undefined_value.js.map +1 -1
  1243. package/dist/esm/validation/rules/for_NotEmptyRule/when_validating/with_valid_string.js +1 -1
  1244. package/dist/esm/validation/rules/for_NotEmptyRule/when_validating/with_valid_string.js.map +1 -1
  1245. package/dist/esm/validation/rules/for_NotEmptyRule/when_validating/with_whitespace_string.js +1 -1
  1246. package/dist/esm/validation/rules/for_NotEmptyRule/when_validating/with_whitespace_string.js.map +1 -1
  1247. package/for_UrlHelpers/when_building_query_params/with_additional_parameters.ts +1 -1
  1248. package/for_UrlHelpers/when_building_query_params/with_array_values.ts +1 -1
  1249. package/for_UrlHelpers/when_building_query_params/with_date_values.ts +1 -1
  1250. package/for_UrlHelpers/when_building_query_params/with_empty_parameters.ts +1 -1
  1251. package/for_UrlHelpers/when_building_query_params/with_mixed_array_and_scalar_values.ts +1 -1
  1252. package/for_UrlHelpers/when_building_query_params/with_null_and_undefined_values.ts +1 -1
  1253. package/for_UrlHelpers/when_building_query_params/with_unused_parameters_only.ts +1 -1
  1254. package/for_UrlHelpers/when_creating_url_from/with_base_path_ending_with_slash.ts +1 -1
  1255. package/for_UrlHelpers/when_creating_url_from/with_empty_origin.ts +1 -1
  1256. package/for_UrlHelpers/when_creating_url_from/with_null_or_undefined_origin.ts +1 -1
  1257. package/for_UrlHelpers/when_creating_url_from/with_relative_route.ts +1 -1
  1258. package/for_UrlHelpers/when_creating_url_from/with_valid_parameters.ts +1 -1
  1259. package/for_UrlHelpers/when_creating_url_from/without_document_object.ts +1 -1
  1260. package/for_UrlHelpers/when_replacing_route_parameters/with_all_parameters_used_in_route.ts +1 -1
  1261. package/for_UrlHelpers/when_replacing_route_parameters/with_array_parameters.ts +1 -1
  1262. package/for_UrlHelpers/when_replacing_route_parameters/with_no_parameters.ts +1 -1
  1263. package/for_UrlHelpers/when_replacing_route_parameters/with_unused_parameters.ts +1 -1
  1264. package/for_UrlHelpers/when_replacing_route_parameters/with_url_encoded_values.ts +1 -1
  1265. package/identity/IIdentityProvider.ts +1 -1
  1266. package/identity/IdentityProvider.ts +8 -8
  1267. package/identity/for_IdentityProvider/given/an_identity_provider.ts +2 -2
  1268. package/identity/for_IdentityProvider/when_getting_current/with_a_details_type_that_declares_no_fields.ts +3 -3
  1269. package/identity/for_IdentityProvider/when_getting_current/with_roles.ts +3 -3
  1270. package/identity/for_IdentityProvider/when_getting_current/with_type_safe_details.ts +3 -3
  1271. package/identity/for_IdentityProvider/when_getting_current/without_roles.ts +3 -3
  1272. package/identity/for_IdentityProvider/when_refreshing/with_api_base_path_set.ts +3 -3
  1273. package/identity/for_IdentityProvider/when_refreshing/with_globals_api_base_path.ts +4 -4
  1274. package/identity/for_IdentityProvider/when_refreshing/with_origin_set.ts +3 -3
  1275. package/identity/for_IdentityProvider/when_refreshing/with_type_safe_details.ts +3 -3
  1276. package/identity/for_IdentityProvider/when_refreshing/with_unauthorized_response.ts +4 -4
  1277. package/identity/for_IdentityProvider/when_refreshing/without_api_base_path.ts +4 -4
  1278. package/identity/for_IdentityProvider/when_setting_api_base_path.ts +3 -3
  1279. package/identity/for_IdentityProvider/when_setting_origin.ts +3 -3
  1280. package/identity/index.ts +5 -5
  1281. package/index.ts +12 -12
  1282. package/messaging/Messenger.ts +2 -2
  1283. package/messaging/for_Messenger/when_scoping_messages.ts +1 -1
  1284. package/messaging/index.ts +3 -3
  1285. package/package.json +58 -22
  1286. package/queries/IChangeStreamFor.ts +1 -1
  1287. package/queries/IObservableQueryConnection.ts +1 -1
  1288. package/queries/IObservableQueryDiagnostics.ts +1 -1
  1289. package/queries/IObservableQueryFor.ts +4 -4
  1290. package/queries/IObservableQueryHubConnection.ts +2 -2
  1291. package/queries/IQuery.ts +4 -4
  1292. package/queries/IQueryFor.ts +3 -3
  1293. package/queries/IQueryProvider.ts +1 -1
  1294. package/queries/IQueryResult.ts +3 -3
  1295. package/queries/NullObservableQueryConnection.ts +3 -3
  1296. package/queries/ObservableQueryConnection.ts +6 -6
  1297. package/queries/ObservableQueryConnectionFactory.ts +10 -10
  1298. package/queries/ObservableQueryConnectionPool.ts +2 -2
  1299. package/queries/ObservableQueryDiagnostics.ts +4 -4
  1300. package/queries/ObservableQueryFor.ts +19 -19
  1301. package/queries/ObservableQueryMultiplexer.ts +6 -6
  1302. package/queries/ObservableQuerySubscription.ts +1 -1
  1303. package/queries/QueryFor.ts +13 -13
  1304. package/queries/QueryHttpMethodResolver.ts +1 -1
  1305. package/queries/QueryHttpRequest.ts +8 -8
  1306. package/queries/QueryInstanceCache.ts +3 -3
  1307. package/queries/QueryProvider.ts +3 -3
  1308. package/queries/QueryResult.ts +5 -5
  1309. package/queries/QueryResultWithState.ts +4 -4
  1310. package/queries/QueryValidator.ts +2 -2
  1311. package/queries/ReconnectPolicy.ts +1 -1
  1312. package/queries/ServerSentEventHubConnection.ts +8 -8
  1313. package/queries/ServerSentEventQueryConnection.ts +4 -4
  1314. package/queries/Sorting.ts +1 -1
  1315. package/queries/SortingActions.ts +2 -2
  1316. package/queries/SortingActionsForObservableQuery.ts +3 -3
  1317. package/queries/SortingActionsForQuery.ts +3 -3
  1318. package/queries/WebSocketHubConnection.ts +6 -6
  1319. package/queries/for_HubConnectionKeepAlive/behavior.ts +1 -1
  1320. package/queries/for_HubConnectionKeepAlive/when_reconfiguring/while_running.ts +1 -1
  1321. package/queries/for_HubConnectionKeepAlive/when_reconfiguring/while_stopped.ts +1 -1
  1322. package/queries/for_HubConnectionKeepAlive/when_started_with_custom_idle_threshold/respects_threshold.ts +1 -1
  1323. package/queries/for_ObservableQueryConnection/given/an_observable_query_connection.ts +1 -1
  1324. package/queries/for_ObservableQueryConnection/given/an_observable_query_connection_with_a_reconnect_policy.ts +2 -2
  1325. package/queries/for_ObservableQueryConnection/given/an_observable_query_connection_with_websocket.ts +1 -1
  1326. package/queries/for_ObservableQueryConnection/when_constructing.ts +2 -2
  1327. package/queries/for_ObservableQueryConnection/when_receiving_data_message_with_type.ts +4 -4
  1328. package/queries/for_ObservableQueryConnection/when_receiving_legacy_data_message.ts +3 -3
  1329. package/queries/for_ObservableQueryConnection/when_receiving_unauthorized/terminates_without_reconnecting.ts +4 -4
  1330. package/queries/for_ObservableQueryConnectionFactory/given/a_descriptor.ts +3 -3
  1331. package/queries/for_ObservableQueryConnectionFactory/when_creating/with_direct_mode_and_sse_transport.ts +7 -7
  1332. package/queries/for_ObservableQueryConnectionFactory/when_creating/with_direct_mode_and_websocket_transport.ts +7 -7
  1333. package/queries/for_ObservableQueryConnectionFactory/when_creating/with_hub_mode_and_sse_transport.ts +8 -8
  1334. package/queries/for_ObservableQueryConnectionFactory/when_creating/with_hub_mode_and_sse_transport_and_connection_count_exceeding_safe_limit.ts +7 -7
  1335. package/queries/for_ObservableQueryConnectionFactory/when_creating/with_hub_mode_and_sse_transport_and_connection_count_within_safe_limit.ts +7 -7
  1336. package/queries/for_ObservableQueryConnectionFactory/when_creating/with_hub_mode_and_websocket_transport.ts +7 -7
  1337. package/queries/for_ObservableQueryConnectionFactory/when_creating/with_hub_mode_and_websocket_transport_and_high_connection_count.ts +7 -7
  1338. package/queries/for_ObservableQueryConnectionPool/when_acquiring/with_multiple_slots/and_least_loaded_slot_is_chosen.ts +3 -3
  1339. package/queries/for_ObservableQueryConnectionPool/when_acquiring/with_multiple_slots/and_size_is_zero.ts +3 -3
  1340. package/queries/for_ObservableQueryConnectionPool/when_acquiring/with_single_slot/and_one_subscriber.ts +3 -3
  1341. package/queries/for_ObservableQueryDiagnostics/when_tracking_owners.ts +1 -1
  1342. package/queries/for_ObservableQueryFor/given/TestQueries.ts +2 -2
  1343. package/queries/for_ObservableQueryFor/given/an_observable_query_for.ts +1 -1
  1344. package/queries/for_ObservableQueryFor/given/an_observable_query_with_validator.ts +4 -4
  1345. package/queries/for_ObservableQueryFor/when_constructing.ts +5 -5
  1346. package/queries/for_ObservableQueryFor/when_constructing_enumerable.ts +4 -4
  1347. package/queries/for_ObservableQueryFor/when_constructing_with_globals_api_base_path.ts +4 -4
  1348. package/queries/for_ObservableQueryFor/when_constructing_with_globals_origin.ts +4 -4
  1349. package/queries/for_ObservableQueryFor/when_disposing.ts +2 -2
  1350. package/queries/for_ObservableQueryFor/when_performing/with_a_not_ready_result.ts +4 -4
  1351. package/queries/for_ObservableQueryFor/when_performing/with_client_validation_failing.ts +3 -3
  1352. package/queries/for_ObservableQueryFor/when_performing/with_enumerable_query.ts +4 -4
  1353. package/queries/for_ObservableQueryFor/when_performing/with_invalid_arguments.ts +3 -3
  1354. package/queries/for_ObservableQueryFor/when_performing/with_paging.ts +4 -4
  1355. package/queries/for_ObservableQueryFor/when_performing/with_parameter_descriptor_values.ts +4 -4
  1356. package/queries/for_ObservableQueryFor/when_performing/with_partial_parameter_descriptor_values.ts +4 -4
  1357. package/queries/for_ObservableQueryFor/when_performing/with_partially_missing_required_arguments.ts +4 -4
  1358. package/queries/for_ObservableQueryFor/when_performing/with_route_parameters_and_unused_parameters.ts +4 -4
  1359. package/queries/for_ObservableQueryFor/when_performing/with_sorting.ts +5 -5
  1360. package/queries/for_ObservableQueryFor/when_performing/with_valid_arguments.ts +4 -4
  1361. package/queries/for_ObservableQueryFor/when_receiving_a_result/and_the_model_has_a_calendar_collection.ts +8 -8
  1362. package/queries/for_ObservableQueryFor/when_receiving_a_result/and_the_model_type_is_a_primitive_collection.ts +7 -7
  1363. package/queries/for_ObservableQueryFor/when_setting_api_base_path.ts +1 -1
  1364. package/queries/for_ObservableQueryFor/when_setting_microservice.ts +1 -1
  1365. package/queries/for_ObservableQueryFor/when_setting_origin.ts +1 -1
  1366. package/queries/for_ObservableQueryFor/when_subscribing/with_client_validation_failing.ts +3 -3
  1367. package/queries/for_ObservableQueryFor/when_subscribing/with_client_validation_passing.ts +3 -3
  1368. package/queries/for_ObservableQueryFor/when_subscribing/with_direct_mode_and_sse_transport.ts +5 -5
  1369. package/queries/for_ObservableQueryFor/when_subscribing/with_direct_mode_disabled_and_sse_transport.ts +8 -8
  1370. package/queries/for_ObservableQueryFor/when_subscribing/with_direct_mode_enabled.ts +4 -4
  1371. package/queries/for_ObservableQueryFor/when_subscribing/with_enumerable_query.ts +3 -3
  1372. package/queries/for_ObservableQueryFor/when_subscribing/with_hub_mode_and_multiple_required_route_parameters.ts +7 -7
  1373. package/queries/for_ObservableQueryFor/when_subscribing/with_hub_mode_and_sse_transport_and_null_or_undefined_args.ts +7 -7
  1374. package/queries/for_ObservableQueryFor/when_subscribing/with_hub_mode_and_sse_transport_and_route_and_query_args.ts +7 -7
  1375. package/queries/for_ObservableQueryFor/when_subscribing/with_hub_mode_and_stale_descriptor_backed_instance_property.ts +7 -7
  1376. package/queries/for_ObservableQueryFor/when_subscribing/with_invalid_arguments.ts +3 -3
  1377. package/queries/for_ObservableQueryFor/when_subscribing/with_paging.ts +4 -4
  1378. package/queries/for_ObservableQueryFor/when_subscribing/with_partially_missing_required_arguments.ts +3 -3
  1379. package/queries/for_ObservableQueryFor/when_subscribing/with_route_and_query_args.ts +4 -4
  1380. package/queries/for_ObservableQueryFor/when_subscribing/with_sorting.ts +5 -5
  1381. package/queries/for_ObservableQueryFor/when_subscribing/with_valid_arguments.ts +3 -3
  1382. package/queries/for_ObservableQueryFor/when_subscribing/with_web_socket_hub_payload_without_readiness.ts +7 -7
  1383. package/queries/for_ObservableQueryMultiplexer/when_getting_or_creating/with_a_changed_cache_key.ts +2 -2
  1384. package/queries/for_ObservableQueryMultiplexer/when_getting_or_creating/with_a_new_cache_key.ts +2 -2
  1385. package/queries/for_ObservableQueryMultiplexer/when_getting_or_creating/with_an_explicit_size.ts +2 -2
  1386. package/queries/for_ObservableQueryMultiplexer/when_getting_or_creating/with_the_same_cache_key.ts +2 -2
  1387. package/queries/for_QueryFor/given/TestQueries.ts +2 -2
  1388. package/queries/for_QueryFor/given/a_query_for.ts +1 -1
  1389. package/queries/for_QueryFor/given/a_query_with_validator.ts +5 -5
  1390. package/queries/for_QueryFor/when_constructing.ts +5 -5
  1391. package/queries/for_QueryFor/when_constructing_enumerable.ts +4 -4
  1392. package/queries/for_QueryFor/when_constructing_with_globals_api_base_path.ts +4 -4
  1393. package/queries/for_QueryFor/when_constructing_with_globals_origin.ts +4 -4
  1394. package/queries/for_QueryFor/when_performing/with_a_nullish_transport_rejection.ts +4 -4
  1395. package/queries/for_QueryFor/when_performing/with_abort_controller.ts +4 -4
  1396. package/queries/for_QueryFor/when_performing/with_an_aborted_request.ts +3 -3
  1397. package/queries/for_QueryFor/when_performing/with_client_validation_failing.ts +5 -5
  1398. package/queries/for_QueryFor/when_performing/with_client_validation_failure_and_custom_message.ts +3 -3
  1399. package/queries/for_QueryFor/when_performing/with_client_validation_passing.ts +5 -5
  1400. package/queries/for_QueryFor/when_performing/with_enumerable_parameter_descriptor_values.ts +4 -4
  1401. package/queries/for_QueryFor/when_performing/with_enumerable_query.ts +4 -4
  1402. package/queries/for_QueryFor/when_performing/with_fetch_error.ts +4 -4
  1403. package/queries/for_QueryFor/when_performing/with_invalid_arguments.ts +3 -3
  1404. package/queries/for_QueryFor/when_performing/with_json_parse_error.ts +4 -4
  1405. package/queries/for_QueryFor/when_performing/with_paging.ts +5 -5
  1406. package/queries/for_QueryFor/when_performing/with_parameter_descriptor_values.ts +4 -4
  1407. package/queries/for_QueryFor/when_performing/with_partial_parameter_descriptor_values.ts +4 -4
  1408. package/queries/for_QueryFor/when_performing/with_partially_missing_required_arguments.ts +4 -4
  1409. package/queries/for_QueryFor/when_performing/with_query_http_method.ts +5 -5
  1410. package/queries/for_QueryFor/when_performing/with_query_without_required_parameters.ts +4 -4
  1411. package/queries/for_QueryFor/when_performing/with_route_parameters_and_unused_parameters.ts +4 -4
  1412. package/queries/for_QueryFor/when_performing/with_sorting.ts +6 -6
  1413. package/queries/for_QueryFor/when_performing/with_valid_arguments.ts +4 -4
  1414. package/queries/for_QueryFor/when_setting_api_base_path.ts +2 -2
  1415. package/queries/for_QueryFor/when_setting_microservice.ts +2 -2
  1416. package/queries/for_QueryFor/when_setting_origin.ts +2 -2
  1417. package/queries/for_QueryInstanceCache/when_acquiring/after_release.ts +1 -1
  1418. package/queries/for_QueryInstanceCache/when_building_key/with_arguments.ts +1 -1
  1419. package/queries/for_QueryInstanceCache/when_building_key/with_empty_arguments_object.ts +1 -1
  1420. package/queries/for_QueryInstanceCache/when_building_key/with_same_arguments_different_order.ts +1 -1
  1421. package/queries/for_QueryInstanceCache/when_building_key/without_arguments.ts +1 -1
  1422. package/queries/for_QueryInstanceCache/when_deferring_dispose/with_cancellation_before_timeout.ts +1 -1
  1423. package/queries/for_QueryInstanceCache/when_deferring_dispose/without_cancellation.ts +1 -1
  1424. package/queries/for_QueryInstanceCache/when_disposing/an_empty_cache.ts +1 -1
  1425. package/queries/for_QueryInstanceCache/when_disposing/with_active_subscriptions.ts +1 -1
  1426. package/queries/for_QueryInstanceCache/when_disposing/with_pending_deferred_cleanup.ts +1 -1
  1427. package/queries/for_QueryInstanceCache/when_getting_last_result/with_no_result_stored.ts +1 -1
  1428. package/queries/for_QueryInstanceCache/when_getting_last_result/with_stored_result.ts +2 -2
  1429. package/queries/for_QueryInstanceCache/when_getting_or_creating/with_existing_entry.ts +1 -1
  1430. package/queries/for_QueryInstanceCache/when_getting_or_creating/with_new_entry.ts +1 -1
  1431. package/queries/for_QueryInstanceCache/when_releasing/a_key_that_does_not_exist.ts +1 -1
  1432. package/queries/for_QueryInstanceCache/when_releasing/one_of_two_subscribers.ts +1 -1
  1433. package/queries/for_QueryInstanceCache/when_releasing/the_only_subscriber.ts +1 -1
  1434. package/queries/for_QueryInstanceCache/when_releasing/with_retention_timeout/after_timeout_elapses.ts +1 -1
  1435. package/queries/for_QueryInstanceCache/when_releasing/with_retention_timeout/before_timeout_elapses.ts +1 -1
  1436. package/queries/for_QueryInstanceCache/when_setting_last_result/with_a_partially_changed_result.ts +2 -2
  1437. package/queries/for_QueryInstanceCache/when_setting_last_result/with_a_re_delivered_identical_result.ts +2 -2
  1438. package/queries/for_QueryInstanceCache/when_setting_last_result/with_a_result.ts +2 -2
  1439. package/queries/for_QueryInstanceCache/when_setting_last_result/with_changed_data.ts +2 -2
  1440. package/queries/for_QueryInstanceCache/when_setting_last_result/with_identical_data_as_previous_result.ts +2 -2
  1441. package/queries/for_QueryInstanceCache/when_setting_last_result/with_only_readiness_changed.ts +3 -3
  1442. package/queries/for_QueryInstanceCache/when_setting_last_result/without_previous_result.ts +2 -2
  1443. package/queries/for_QueryInstanceCache/when_tearing_down_all_subscriptions/with_active_subscriptions.ts +1 -1
  1444. package/queries/for_QueryInstanceCache/when_tearing_down_all_subscriptions/with_no_subscriptions.ts +1 -1
  1445. package/queries/for_QueryInstanceCache/when_tearing_down_all_subscriptions/with_pending_deferred_cleanup.ts +1 -1
  1446. package/queries/for_QueryResult/when_asking_has_data/and_it_an_array_with_items.ts +1 -1
  1447. package/queries/for_QueryResult/when_asking_has_data/and_it_is_defined_instance.ts +1 -1
  1448. package/queries/for_QueryResult/when_asking_has_data/and_it_is_empty_array.ts +1 -1
  1449. package/queries/for_QueryResult/when_asking_has_data/and_it_is_null_for_enumerable.ts +1 -1
  1450. package/queries/for_QueryResult/when_asking_has_data/and_it_is_null_for_non_enumerable.ts +1 -1
  1451. package/queries/for_QueryResult/when_asking_has_data/and_it_is_undefined.ts +1 -1
  1452. package/queries/for_QueryResult/when_constructing_from_a_server_result/with_readiness_false.ts +1 -1
  1453. package/queries/for_QueryResult/when_constructing_from_a_server_result/without_readiness.ts +1 -1
  1454. package/queries/for_QueryResult/when_constructing_from_a_server_result_with_a_constraint_violation.ts +3 -3
  1455. package/queries/for_QueryResult/when_creating_a_validation_failed_result.ts +4 -4
  1456. package/queries/for_QueryResult/when_data_is_single_item_for_enumerable/and_it_is_an_array.ts +1 -1
  1457. package/queries/for_QueryResultWithState/when_creating_empty/with_null_default_value.ts +1 -1
  1458. package/queries/for_QueryResultWithState/when_creating_empty/with_undefined_default_value.ts +1 -1
  1459. package/queries/for_QueryResultWithState/when_creating_from_query_result/with_null_data.ts +2 -2
  1460. package/queries/for_QueryResultWithState/when_creating_from_query_result/with_readiness_false.ts +2 -2
  1461. package/queries/for_QueryResultWithState/when_creating_from_query_result/with_undefined_data.ts +2 -2
  1462. package/queries/for_QueryResultWithState/when_creating_from_query_result/without_readiness.ts +3 -3
  1463. package/queries/for_QueryResultWithState/when_creating_initial/with_null_default_value.ts +1 -1
  1464. package/queries/for_QueryResultWithState/when_creating_initial/with_undefined_default_value.ts +1 -1
  1465. package/queries/for_QueryResultWithState/when_creating_initial/with_valid_default_value.ts +1 -1
  1466. package/queries/for_ReconnectPolicy/when_canceling/with_pending_timer.ts +1 -1
  1467. package/queries/for_ReconnectPolicy/when_cancelling/with_pending_timer.ts +1 -1
  1468. package/queries/for_ReconnectPolicy/when_resetting/after_scheduling.ts +1 -1
  1469. package/queries/for_ReconnectPolicy/when_scheduling/and_max_attempts_not_reached/delay_is_capped_at_max.ts +1 -1
  1470. package/queries/for_ReconnectPolicy/when_scheduling/and_max_attempts_not_reached/first_attempt.ts +1 -1
  1471. package/queries/for_ReconnectPolicy/when_scheduling/and_max_attempts_reached/abandons_reconnect.ts +1 -1
  1472. package/queries/for_ReconnectPolicy/when_scheduling/and_rescheduled_before_first_fires/cancels_previous_timer.ts +1 -1
  1473. package/queries/for_ServerSentEventHubConnection/given/a_server_sent_event_hub_connection.ts +2 -2
  1474. package/queries/for_ServerSentEventHubConnection/when_a_retired_event_source_fires/ignores_connected_and_error_callbacks.ts +3 -3
  1475. package/queries/for_ServerSentEventHubConnection/when_connect_timeout_fires/triggers_reconnect.ts +3 -3
  1476. package/queries/for_ServerSentEventHubConnection/when_connection_changes_while_subscribe_is_in_flight/and_the_query_is_replaced.ts +4 -4
  1477. package/queries/for_ServerSentEventHubConnection/when_connection_changes_while_subscribe_is_in_flight/and_the_query_is_unsubscribed.ts +4 -4
  1478. package/queries/for_ServerSentEventHubConnection/when_connection_changes_while_subscribe_is_in_flight/and_the_stale_request_is_rejected.ts +4 -4
  1479. package/queries/for_ServerSentEventHubConnection/when_connection_changes_while_subscribe_is_in_flight/and_the_stale_request_returns_non_ok.ts +4 -4
  1480. package/queries/for_ServerSentEventHubConnection/when_disposing/cleans_up_resources.ts +3 -3
  1481. package/queries/for_ServerSentEventHubConnection/when_keep_alive_is_idle/triggers_reconnect.ts +4 -4
  1482. package/queries/for_ServerSentEventHubConnection/when_receiving_unauthorized/notifies_subscriber_and_removes_subscription.ts +4 -4
  1483. package/queries/for_ServerSentEventHubConnection/when_reconnecting/after_error.ts +4 -4
  1484. package/queries/for_ServerSentEventHubConnection/when_reconnecting/and_an_immediate_open_wins_the_backoff_race.ts +3 -3
  1485. package/queries/for_ServerSentEventHubConnection/when_replacing_a_subscription/ignores_messages_from_the_retired_generation.ts +3 -3
  1486. package/queries/for_ServerSentEventHubConnection/when_server_advertises_a_longer_keep_alive_interval/does_not_reconnect_at_the_assumed_threshold.ts +4 -4
  1487. package/queries/for_ServerSentEventHubConnection/when_server_reports_keep_alive_disabled/never_reconnects_from_idle.ts +4 -4
  1488. package/queries/for_ServerSentEventHubConnection/when_subscribing/and_subscribe_post_fails.ts +3 -3
  1489. package/queries/for_ServerSentEventHubConnection/when_subscribing/queues_until_connected.ts +3 -3
  1490. package/queries/for_ServerSentEventHubConnection/when_subscribing/sends_subscribe_post.ts +3 -3
  1491. package/queries/for_ServerSentEventHubConnection/when_subscribing/uses_custom_event_source_factory.ts +5 -5
  1492. package/queries/for_ServerSentEventHubConnection/when_subscription_revisions_are_not_advertised/uses_legacy_protocol.ts +3 -3
  1493. package/queries/for_ServerSentEventHubConnection/when_unsubscribing/nulls_event_source_handlers_before_closing.ts +3 -3
  1494. package/queries/for_ServerSentEventHubConnection/when_unsubscribing/the_only_query.ts +3 -3
  1495. package/queries/for_ServerSentEventQueryConnection/when_connecting/with_custom_event_source_factory.ts +4 -4
  1496. package/queries/for_ServerSentEventQueryConnection/when_connecting/with_query_arguments.ts +2 -2
  1497. package/queries/for_ServerSentEventQueryConnection/when_connecting/without_event_source_available.ts +2 -2
  1498. package/queries/for_ServerSentEventQueryConnection/when_disconnecting/after_connecting.ts +2 -2
  1499. package/queries/for_ServerSentEventQueryConnection/when_disconnecting/before_message_arrives.ts +1 -1
  1500. package/queries/for_ServerSentEventQueryConnection/when_receiving_unauthorized/terminates_without_reconnecting.ts +2 -2
  1501. package/queries/for_ValidateRequestArguments/when_validating_arguments/with_empty_string_value.ts +1 -1
  1502. package/queries/for_ValidateRequestArguments/when_validating_arguments/with_missing_property.ts +1 -1
  1503. package/queries/for_ValidateRequestArguments/when_validating_arguments/with_no_required_arguments.ts +1 -1
  1504. package/queries/for_ValidateRequestArguments/when_validating_arguments/with_null_value.ts +1 -1
  1505. package/queries/for_ValidateRequestArguments/when_validating_arguments/with_numeric_zero_value.ts +1 -1
  1506. package/queries/for_ValidateRequestArguments/when_validating_arguments/with_undefined_value.ts +1 -1
  1507. package/queries/for_ValidateRequestArguments/when_validating_arguments/with_valid_string_value.ts +1 -1
  1508. package/queries/for_ValidateRequestArguments/when_validating_arguments/without_arguments_object.ts +1 -1
  1509. package/queries/for_WebSocketHubConnection/given/a_web_socket_hub_connection.ts +3 -3
  1510. package/queries/for_WebSocketHubConnection/when_disposing/cleans_up_resources.ts +2 -2
  1511. package/queries/for_WebSocketHubConnection/when_keep_alive_is_idle/sends_a_ping.ts +4 -4
  1512. package/queries/for_WebSocketHubConnection/when_receiving_a_message/resets_keep_alive_timer.ts +4 -4
  1513. package/queries/for_WebSocketHubConnection/when_receiving_unauthorized/notifies_subscriber_and_removes_subscription.ts +4 -4
  1514. package/queries/for_WebSocketHubConnection/when_reconnecting/after_unexpected_close.ts +3 -3
  1515. package/queries/for_WebSocketHubConnection/when_reconnecting/ignores_a_pending_reconnect_and_stale_socket_callbacks.ts +4 -4
  1516. package/queries/for_WebSocketHubConnection/when_reconnecting/replaces_a_closing_socket_safely.ts +2 -2
  1517. package/queries/for_WebSocketHubConnection/when_reconnecting/resubscribes_all_queries.ts +4 -4
  1518. package/queries/for_WebSocketHubConnection/when_replacing_a_subscription/ignores_stale_result_unauthorized_and_error.ts +3 -3
  1519. package/queries/for_WebSocketHubConnection/when_subscribing/to_a_query.ts +3 -3
  1520. package/queries/for_WebSocketHubConnection/when_subscription_revisions_are_supported/upgrades_active_subscriptions_to_strict_mode.ts +3 -3
  1521. package/queries/for_WebSocketHubConnection/when_unsubscribing/nulls_socket_handlers_before_closing.ts +2 -2
  1522. package/queries/for_WebSocketHubConnection/when_unsubscribing/the_only_query.ts +3 -3
  1523. package/queries/for_WebSocketHubConnection/when_unsubscribing/with_revision_support_not_advertised.ts +3 -3
  1524. package/queries/for_WebSocketMessage/when_creating_messages.ts +1 -1
  1525. package/queries/for_buildQueryHttpRequest/when_building/with_get_method.ts +4 -4
  1526. package/queries/for_buildQueryHttpRequest/when_building/with_query_method.ts +4 -4
  1527. package/queries/for_buildQueryHttpRequest/when_building/with_query_method_and_paging_and_sorting.ts +5 -5
  1528. package/queries/for_deserializeQueryModel/when_deserializing_a_collection_of_models.ts +1 -1
  1529. package/queries/for_deserializeQueryModel/when_deserializing_a_collection_of_numbers.ts +1 -1
  1530. package/queries/for_deserializeQueryModel/when_deserializing_a_collection_of_strings.ts +1 -1
  1531. package/queries/for_deserializeQueryModel/when_deserializing_a_non_array_as_a_collection.ts +1 -1
  1532. package/queries/for_deserializeQueryModel/when_deserializing_a_single_string.ts +1 -1
  1533. package/queries/for_executeQueryHttpRequest/options.ts +3 -3
  1534. package/queries/for_executeQueryHttpRequest/when_performing/with_a_resolver.ts +5 -5
  1535. package/queries/for_executeQueryHttpRequest/when_performing/with_a_resolver_and_an_explicit_override.ts +5 -5
  1536. package/queries/for_executeQueryHttpRequest/when_performing/with_auto_after_query_was_found_unsupported.ts +4 -4
  1537. package/queries/for_executeQueryHttpRequest/when_performing/with_auto_and_a_network_failure.ts +4 -4
  1538. package/queries/for_executeQueryHttpRequest/when_performing/with_auto_and_an_aborted_request.ts +4 -4
  1539. package/queries/for_executeQueryHttpRequest/when_performing/with_auto_and_an_application_error.ts +4 -4
  1540. package/queries/for_executeQueryHttpRequest/when_performing/with_auto_and_multiple_backends.ts +4 -4
  1541. package/queries/for_executeQueryHttpRequest/when_performing/with_auto_and_query_supported.ts +4 -4
  1542. package/queries/for_executeQueryHttpRequest/when_performing/with_auto_and_query_unsupported.ts +4 -4
  1543. package/queries/for_executeQueryHttpRequest/when_performing/with_get_method.ts +4 -4
  1544. package/queries/for_executeQueryHttpRequest/when_performing/with_query_method_and_server_rejecting_the_verb.ts +4 -4
  1545. package/queries/for_lengthBasedQueryHttpMethod/when_resolving/with_a_long_url.ts +2 -2
  1546. package/queries/for_lengthBasedQueryHttpMethod/when_resolving/with_a_long_url_and_a_custom_method.ts +2 -2
  1547. package/queries/for_lengthBasedQueryHttpMethod/when_resolving/with_a_short_url.ts +2 -2
  1548. package/queries/for_reconcileQueryData/when_items_are_added_or_removed/reuses_the_surviving_items.ts +1 -1
  1549. package/queries/for_reconcileQueryData/when_one_item_changed/only_the_changed_item_gets_a_new_reference.ts +1 -1
  1550. package/queries/for_reconcileQueryData/when_reconciling_an_unchanged_collection/preserves_all_references.ts +1 -1
  1551. package/queries/for_reconcileQueryData/when_reconciling_non_collection_payloads/compares_by_value.ts +1 -1
  1552. package/queries/index.ts +43 -43
  1553. package/queries/reconcileQueryData.ts +1 -1
  1554. package/reflection/IHaveParameters.ts +1 -1
  1555. package/reflection/ParametersHelper.ts +1 -1
  1556. package/reflection/index.ts +4 -4
  1557. package/validation/IValidationRule.ts +1 -1
  1558. package/validation/PropertyRule.ts +3 -3
  1559. package/validation/PropertyValidator.ts +2 -2
  1560. package/validation/RuleBuilder.ts +3 -3
  1561. package/validation/RuleBuilderExtensions.ts +9 -9
  1562. package/validation/ValidationResult.ts +2 -2
  1563. package/validation/Validator.ts +3 -3
  1564. package/validation/for_Validator/when_defining_multiple_rules_for_same_property.ts +2 -2
  1565. package/validation/for_Validator/when_using_custom_error_message.ts +2 -2
  1566. package/validation/for_Validator/when_validating/with_all_rules_passing.ts +2 -2
  1567. package/validation/for_Validator/when_validating/with_multiple_rules_failing.ts +2 -2
  1568. package/validation/for_Validator/when_validating/with_one_rule_failing.ts +2 -2
  1569. package/validation/index.ts +14 -14
  1570. package/validation/rules/ComparisonRules.ts +1 -1
  1571. package/validation/rules/EmailRule.ts +1 -1
  1572. package/validation/rules/LengthRules.ts +1 -1
  1573. package/validation/rules/NotEmptyRule.ts +1 -1
  1574. package/validation/rules/PhoneRule.ts +1 -1
  1575. package/validation/rules/RegexRule.ts +1 -1
  1576. package/validation/rules/UrlRule.ts +1 -1
  1577. package/validation/rules/for_EmailRule/when_validating/with_empty_string.ts +1 -1
  1578. package/validation/rules/for_EmailRule/when_validating/with_invalid_email.ts +1 -1
  1579. package/validation/rules/for_EmailRule/when_validating/with_valid_email.ts +1 -1
  1580. package/validation/rules/for_GreaterThanOrEqualRule/when_validating/with_value_equal_to_threshold.ts +1 -1
  1581. package/validation/rules/for_GreaterThanRule/when_validating/with_value_equal_to_threshold.ts +1 -1
  1582. package/validation/rules/for_GreaterThanRule/when_validating/with_value_greater_than_threshold.ts +1 -1
  1583. package/validation/rules/for_GreaterThanRule/when_validating/with_value_less_than_threshold.ts +1 -1
  1584. package/validation/rules/for_LengthRule/when_validating/with_string_longer_than_maximum.ts +1 -1
  1585. package/validation/rules/for_LengthRule/when_validating/with_string_shorter_than_minimum.ts +1 -1
  1586. package/validation/rules/for_LengthRule/when_validating/with_string_within_range.ts +1 -1
  1587. package/validation/rules/for_LessThanRule/when_validating/with_value_less_than_threshold.ts +1 -1
  1588. package/validation/rules/for_MaxLengthRule/when_validating/with_string_equal_to_maximum.ts +1 -1
  1589. package/validation/rules/for_MaxLengthRule/when_validating/with_string_longer_than_maximum.ts +1 -1
  1590. package/validation/rules/for_MinLengthRule/when_validating/with_string_equal_to_minimum.ts +1 -1
  1591. package/validation/rules/for_MinLengthRule/when_validating/with_string_longer_than_minimum.ts +1 -1
  1592. package/validation/rules/for_MinLengthRule/when_validating/with_string_shorter_than_minimum.ts +1 -1
  1593. package/validation/rules/for_NotEmptyRule/when_setting_custom_message.ts +1 -1
  1594. package/validation/rules/for_NotEmptyRule/when_validating/with_empty_array.ts +1 -1
  1595. package/validation/rules/for_NotEmptyRule/when_validating/with_empty_string.ts +1 -1
  1596. package/validation/rules/for_NotEmptyRule/when_validating/with_non_empty_array.ts +1 -1
  1597. package/validation/rules/for_NotEmptyRule/when_validating/with_null_value.ts +2 -2
  1598. package/validation/rules/for_NotEmptyRule/when_validating/with_undefined_value.ts +2 -2
  1599. package/validation/rules/for_NotEmptyRule/when_validating/with_valid_string.ts +1 -1
  1600. package/validation/rules/for_NotEmptyRule/when_validating/with_whitespace_string.ts +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"Command.js","sources":["../../../commands/Command.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 { ICommand, PropertyChanged } from './ICommand';\nimport { CommandResult } from \"./CommandResult\";\nimport { CommandValidator } from './CommandValidator';\nimport { Constructor, JsonSerializer } from '@cratis/fundamentals';\nimport { Globals } from '../Globals';\nimport { joinPaths } from '../joinPaths';\nimport { UrlHelpers } from '../UrlHelpers';\nimport { GetHttpHeaders } from '../GetHttpHeaders';\nimport { PropertyDescriptor } from '../reflection/PropertyDescriptor';\nimport { ValidationResult } from '../validation/ValidationResult';\nimport { ValidationResultSeverity } from '../validation/ValidationResultSeverity';\n\ntype Callback = {\n callback: WeakRef<PropertyChanged>;\n thisArg: WeakRef<object>;\n}\n\n/**\n * Represents an implementation of {@link ICommand} that works with HTTP fetch.\n */\nexport abstract class Command<TCommandContent = object, TCommandResponse = object> implements ICommand<TCommandContent, TCommandResponse> {\n private _microservice: string;\n private _apiBasePath: string;\n private _origin: string;\n private _httpHeadersCallback: GetHttpHeaders;\n abstract readonly route: string;\n /* eslint-disable @typescript-eslint/no-explicit-any */\n readonly validation?: CommandValidator<any>;\n /* eslint-enable @typescript-eslint/no-explicit-any */\n readonly roles: string[] = [];\n /** Inclusive minimum blocking severity declared by a model-bound command proxy. */\n readonly blockOnValidationSeverity?: ValidationResultSeverity;\n abstract readonly propertyDescriptors: PropertyDescriptor[];\n abstract get requestParameters(): string[];\n\n private _initialValues: object = {};\n private _hasChanges = false;\n private _callbacks: Callback[] = [];\n\n /**\n * Initializes a new instance of the {@link Command<,>} class.\n * @param _responseType Type of response.\n * @param _isResponseTypeEnumerable Whether or not the response type is enumerable.\n */\n constructor(readonly _responseType: Constructor = Object, readonly _isResponseTypeEnumerable: boolean) {\n this._microservice = Globals.microservice ?? '';\n this._apiBasePath = Globals.apiBasePath ?? '';\n this._origin = Globals.origin ?? '';\n this._httpHeadersCallback = () => ({});\n }\n\n /** @inheritdoc */\n setMicroservice(microservice: string) {\n this._microservice = microservice;\n }\n\n /** @inheritdoc */\n setApiBasePath(apiBasePath: string): void {\n this._apiBasePath = apiBasePath;\n }\n\n /** @inheritdoc */\n setOrigin(origin: string): void {\n this._origin = origin;\n }\n\n /** @inheritdoc */\n setHttpHeadersCallback(callback: GetHttpHeaders): void {\n this._httpHeadersCallback = callback;\n }\n\n /** @inheritdoc */\n async execute(allowedSeverity?: ValidationResultSeverity, ignoreWarnings?: boolean): Promise<CommandResult<TCommandResponse>> {\n const clientValidationErrors = this.validation?.validate(this) || [];\n const filteredClientErrors = this.filterValidationResultsBySeverity(clientValidationErrors, allowedSeverity, ignoreWarnings);\n if (filteredClientErrors.length > 0) {\n return CommandResult.validationFailed(filteredClientErrors) as CommandResult<TCommandResponse>;\n }\n\n const validationErrors = this.validateRequiredProperties();\n const filteredRequiredErrors = this.filterValidationResultsBySeverity(validationErrors, allowedSeverity, ignoreWarnings);\n if (filteredRequiredErrors.length > 0) {\n return CommandResult.validationFailed(filteredRequiredErrors) as CommandResult<TCommandResponse>;\n }\n\n let actualRoute = this.route;\n\n if (this.requestParameters && this.requestParameters.length > 0) {\n const payload = this.buildPayload();\n const { route } = UrlHelpers.replaceRouteParameters(this.route, payload);\n actualRoute = route;\n }\n\n const result = await this.performRequest(actualRoute, 'Command not found at route', 'Error during server call', allowedSeverity, ignoreWarnings);\n this.setInitialValuesFromCurrentValues();\n return result;\n }\n\n /** @inheritdoc */\n async validate(): Promise<CommandResult<TCommandResponse>> {\n const clientValidationErrors = this.validation?.validate(this) || [];\n const filteredClientErrors = this.blockOnValidationSeverity === undefined\n ? clientValidationErrors\n : this.filterValidationResultsBySeverity(clientValidationErrors);\n if (filteredClientErrors.length > 0) {\n return CommandResult.validationFailed(filteredClientErrors) as CommandResult<TCommandResponse>;\n }\n\n const validationErrors = this.validateRequiredProperties();\n const filteredRequiredErrors = this.blockOnValidationSeverity === undefined\n ? validationErrors\n : this.filterValidationResultsBySeverity(validationErrors);\n if (filteredRequiredErrors.length > 0) {\n return CommandResult.validationFailed(filteredRequiredErrors) as CommandResult<TCommandResponse>;\n }\n\n let actualRoute = this.route;\n\n if (this.requestParameters && this.requestParameters.length > 0) {\n const payload = this.buildPayload();\n const { route } = UrlHelpers.replaceRouteParameters(this.route, payload);\n actualRoute = route;\n }\n\n actualRoute = `${actualRoute}/validate`;\n return this.performRequest(actualRoute, 'Command validation endpoint not found at route', 'Error during validation call');\n }\n\n /** @inheritdoc */\n validateClientSide(): CommandResult<TCommandResponse> {\n const clientValidationErrors = this.validation?.validate(this) || [];\n const filteredClientErrors = this.blockOnValidationSeverity === undefined\n ? clientValidationErrors\n : this.filterValidationResultsBySeverity(clientValidationErrors);\n if (filteredClientErrors.length > 0) {\n return CommandResult.validationFailed(filteredClientErrors) as CommandResult<TCommandResponse>;\n }\n\n const validationErrors = this.validateRequiredProperties();\n const filteredRequiredErrors = this.blockOnValidationSeverity === undefined\n ? validationErrors\n : this.filterValidationResultsBySeverity(validationErrors);\n if (filteredRequiredErrors.length > 0) {\n return CommandResult.validationFailed(filteredRequiredErrors) as CommandResult<TCommandResponse>;\n }\n\n return CommandResult.empty as unknown as CommandResult<TCommandResponse>;\n }\n\n private buildPayload(): object {\n const payload = {};\n this.propertyDescriptors.forEach(propertyDescriptor => {\n const property = propertyDescriptor.name;\n payload[property] = this[property];\n });\n return payload;\n }\n\n private validateRequiredProperties(): ValidationResult[] {\n const validationErrors: ValidationResult[] = [];\n this.propertyDescriptors.forEach(propertyDescriptor => {\n if (!propertyDescriptor.isOptional && !this.requestParameters.includes(propertyDescriptor.name)) {\n const value = this[propertyDescriptor.name];\n if (value === undefined || value === null) {\n validationErrors.push(new ValidationResult(\n ValidationResultSeverity.Error,\n `${propertyDescriptor.name} is required`,\n [propertyDescriptor.name],\n null\n ));\n }\n }\n });\n return validationErrors;\n }\n\n private filterValidationResultsBySeverity(validationResults: ValidationResult[], allowedSeverity?: ValidationResultSeverity, ignoreWarnings?: boolean): ValidationResult[] {\n if (this.blockOnValidationSeverity !== undefined) {\n const effectiveAllowed = Math.min(allowedSeverity ?? ValidationResultSeverity.Error, this.blockOnValidationSeverity - 1);\n return validationResults.filter(result => result.severity === ValidationResultSeverity.Unknown || result.severity > effectiveAllowed);\n }\n if (ignoreWarnings === true) {\n return validationResults.filter(result => result.severity === ValidationResultSeverity.Error);\n }\n if (allowedSeverity === undefined) {\n return validationResults.filter(result => result.severity === ValidationResultSeverity.Error);\n }\n return validationResults.filter(result => result.severity > allowedSeverity);\n }\n\n private buildHeaders(allowedSeverity?: ValidationResultSeverity, ignoreWarnings?: boolean): HeadersInit {\n const customHeaders = this._httpHeadersCallback?.() ?? {};\n const headers = {\n ...customHeaders,\n 'Accept': 'application/json',\n 'Content-Type': 'application/json'\n };\n\n if (this._microservice?.length > 0) {\n headers[Globals.microserviceHttpHeader] = this._microservice;\n }\n\n if (allowedSeverity !== undefined) {\n headers['X-Allowed-Severity'] = allowedSeverity.toString();\n }\n\n if (ignoreWarnings === true) {\n headers['X-Ignore-Warnings'] = 'true';\n }\n\n return headers;\n }\n\n private async performRequest(\n route: string,\n notFoundMessage: string,\n errorMessage: string,\n allowedSeverity?: ValidationResultSeverity,\n ignoreWarnings?: boolean\n ): Promise<CommandResult<TCommandResponse>> {\n const payload = this.buildPayload();\n const headers = this.buildHeaders(allowedSeverity, ignoreWarnings);\n const actualRoute = joinPaths(this._apiBasePath, route);\n const url = UrlHelpers.createUrlFrom(this._origin, this._apiBasePath, actualRoute);\n\n try {\n const response = await fetch(url, {\n method: 'POST',\n headers,\n body: JsonSerializer.serialize(payload)\n });\n\n if (response.status === 404) {\n return CommandResult.failed([`${notFoundMessage} '${actualRoute}'`]) as CommandResult<TCommandResponse>;\n }\n\n const result = await response.json();\n return new CommandResult(result, this._responseType, this._isResponseTypeEnumerable);\n } catch (ex) {\n return CommandResult.failed([`${errorMessage}: ${ex}`]) as CommandResult<TCommandResponse>;\n }\n }\n\n /** @inheritdoc */\n clear(): void {\n this.propertyDescriptors.forEach(propertyDescriptor => {\n const property = propertyDescriptor.name;\n this[property] = undefined;\n });\n this._initialValues = {};\n this._hasChanges = false;\n }\n\n /** @inheritdoc */\n setInitialValues(values: TCommandContent) {\n this.propertyDescriptors.forEach(propertyDescriptor => {\n const property = propertyDescriptor.name;\n if (Object.prototype.hasOwnProperty.call(values, property)) {\n this._initialValues[property] = values[property];\n this[property] = values[property];\n }\n });\n this.updateHasChanges();\n }\n\n /** @inheritdoc */\n setInitialValuesFromCurrentValues() {\n this.propertyDescriptors.forEach(propertyDescriptor => {\n const property = propertyDescriptor.name;\n if (this[property]) {\n this._initialValues[property] = this[property];\n }\n });\n this.updateHasChanges();\n }\n\n /** @inheritdoc */\n revertChanges(): void {\n this.propertyDescriptors.forEach(propertyDescriptor => {\n const property = propertyDescriptor.name;\n this[property] = this._initialValues[property];\n });\n }\n\n /** @inheritdoc */\n get hasChanges() {\n return this._hasChanges;\n }\n\n /** @inheritdoc */\n propertyChanged(property: string) {\n this.updateHasChanges();\n\n this._callbacks.forEach(callbackContainer => {\n const callback = callbackContainer.callback.deref();\n const thisArg = callbackContainer.thisArg.deref();\n if (callback && thisArg) {\n callback.call(thisArg, property);\n } else {\n this._callbacks = this._callbacks.filter(_ => _.callback !== callbackContainer.callback);\n }\n });\n }\n\n /** @inheritdoc */\n onPropertyChanged(callback: PropertyChanged, thisArg: object) {\n this._callbacks.push({\n callback: new WeakRef(callback),\n thisArg: new WeakRef(thisArg)\n });\n }\n\n private updateHasChanges() {\n this._hasChanges = this.propertyDescriptors.some(propertyDescriptor => {\n const property = propertyDescriptor.name;\n return this[property] !== this._initialValues[property];\n });\n }\n}\n"],"names":["Command","_microservice","_apiBasePath","_origin","_httpHeadersCallback","validation","roles","blockOnValidationSeverity","_initialValues","_hasChanges","_callbacks","_responseType","Object","_isResponseTypeEnumerable","Globals","microservice","apiBasePath","origin","setMicroservice","setApiBasePath","setOrigin","setHttpHeadersCallback","callback","execute","allowedSeverity","ignoreWarnings","clientValidationErrors","validate","filteredClientErrors","filterValidationResultsBySeverity","length","CommandResult","validationFailed","validationErrors","validateRequiredProperties","filteredRequiredErrors","actualRoute","route","requestParameters","payload","buildPayload","UrlHelpers","replaceRouteParameters","result","performRequest","setInitialValuesFromCurrentValues","undefined","validateClientSide","empty","propertyDescriptors","forEach","propertyDescriptor","property","name","isOptional","includes","value","push","ValidationResult","ValidationResultSeverity","Error","validationResults","effectiveAllowed","Math","min","filter","severity","Unknown","buildHeaders","customHeaders","headers","microserviceHttpHeader","toString","notFoundMessage","errorMessage","joinPaths","url","createUrlFrom","response","fetch","method","body","JsonSerializer","serialize","status","failed","json","ex","clear","setInitialValues","values","prototype","hasOwnProperty","call","updateHasChanges","revertChanges","hasChanges","propertyChanged","callbackContainer","deref","thisArg","_","onPropertyChanged","WeakRef","some"],"mappings":";;;;;;;;AAAA;AACA;AAmBA;;AAEC,IACM,MAAeA,OAAAA,CAAAA;;;IACVC,aAAAA;IACAC,YAAAA;IACAC,OAAAA;IACAC,oBAAAA;4DAGR,UAASC;AACT,2DACSC,KAAAA,GAAkB,EAAE;wFAE7B,yBAASC;AAIDC,IAAAA,cAAAA,GAAyB,EAAC;AAC1BC,IAAAA,WAAAA,GAAc,KAAA;AACdC,IAAAA,UAAAA,GAAyB,EAAE;AAEnC;;;;AAIC,QACD,YAAY,aAASC,GAA6BC,MAAM,EAAWC,yBAAkC,CAAE;aAAlFF,aAAAA,GAAAA,aAAAA;aAA8CE,yBAAAA,GAAAA,yBAAAA;AAC/D,QAAA,IAAI,CAACZ,aAAa,GAAGa,OAAAA,CAAQC,YAAY,IAAI,EAAA;AAC7C,QAAA,IAAI,CAACb,YAAY,GAAGY,OAAAA,CAAQE,WAAW,IAAI,EAAA;AAC3C,QAAA,IAAI,CAACb,OAAO,GAAGW,OAAAA,CAAQG,MAAM,IAAI,EAAA;AACjC,QAAA,IAAI,CAACb,oBAAoB,GAAG,KAAO,EAAC,CAAA;AACxC,IAAA;uBAGAc,eAAAA,CAAgBH,YAAoB,EAAE;QAClC,IAAI,CAACd,aAAa,GAAGc,YAAAA;AACzB,IAAA;uBAGAI,cAAAA,CAAeH,WAAmB,EAAQ;QACtC,IAAI,CAACd,YAAY,GAAGc,WAAAA;AACxB,IAAA;uBAGAI,SAAAA,CAAUH,MAAc,EAAQ;QAC5B,IAAI,CAACd,OAAO,GAAGc,MAAAA;AACnB,IAAA;uBAGAI,sBAAAA,CAAuBC,QAAwB,EAAQ;QACnD,IAAI,CAAClB,oBAAoB,GAAGkB,QAAAA;AAChC,IAAA;AAEA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AA,MAAMC,OAAAA,GAAUF,iBAAAA,CAAkBE,OAAO,CAACD,KAAK,EAAA;AAC/C,YAAA,IAAI7E,YAAY8E,OAAAA,EAAS;gBACrB9E,QAAAA,CAASuE,IAAI,CAACO,OAAAA,EAAShD,QAAAA,CAAAA;YAC3B,CAAA,MAAO;AACH,gBAAA,IAAI,CAAC1C,UAAU,GAAG,IAAI,CAACA,UAAU,CAACuD,MAAM,CAACoC,CAAAA,CAAAA,GAAKA,CAAAA,CAAE/E,QAAQ,KAAK4E,kBAAkB5E,QAAQ,CAAA;AAC3F,YAAA;AACJ,QAAA,CAAA,CAAA;AACJ,IAAA;AAEA,uBACAgF,iBAAAA,CAAkBhF,QAAyB,EAAE8E,OAAe,EAAE;AAC1D,QAAA,IAAI,CAAC1F,UAAU,CAAC+C,IAAI,CAAC;AACjBnC,YAAAA,QAAAA,EAAU,IAAIiF,OAAAA,CAAQjF,QAAAA,CAAAA;AACtB8E,YAAAA,OAAAA,EAAS,IAAIG,OAAAA,CAAQH,OAAAA;AACzB,SAAA,CAAA;AACJ,IAAA;IAEQN,gBAAAA,GAAmB;QACvB,IAAI,CAACrF,WAAW,GAAG,IAAI,CAACwC,mBAAmB,CAACuD,IAAI,CAACrD,CAAAA,kBAAAA,GAAAA;YAC7C,MAAMC,QAAAA,GAAWD,mBAAmBE,IAAI;YACxC,OAAO,IAAI,CAACD,QAAAA,CAAS,KAAK,IAAI,CAAC5C,cAAc,CAAC4C,QAAAA,CAAS;AAC3D,QAAA,CAAA,CAAA;AACJ,IAAA;AACJ;;"}
1
+ {"version":3,"file":"Command.js","sources":["../../../commands/Command.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 { ICommand, PropertyChanged } from './ICommand.js';\nimport { CommandResult } from \"./CommandResult.js\";\nimport { CommandValidator } from './CommandValidator.js';\nimport { Constructor, JsonSerializer } from '@cratis/fundamentals';\nimport { Globals } from '../Globals.js';\nimport { joinPaths } from '../joinPaths.js';\nimport { UrlHelpers } from '../UrlHelpers.js';\nimport { GetHttpHeaders } from '../GetHttpHeaders.js';\nimport { PropertyDescriptor } from '../reflection/PropertyDescriptor.js';\nimport { ValidationResult } from '../validation/ValidationResult.js';\nimport { ValidationResultSeverity } from '../validation/ValidationResultSeverity.js';\n\ntype Callback = {\n callback: WeakRef<PropertyChanged>;\n thisArg: WeakRef<object>;\n}\n\n/**\n * Represents an implementation of {@link ICommand} that works with HTTP fetch.\n */\nexport abstract class Command<TCommandContent = object, TCommandResponse = object> implements ICommand<TCommandContent, TCommandResponse> {\n private _microservice: string;\n private _apiBasePath: string;\n private _origin: string;\n private _httpHeadersCallback: GetHttpHeaders;\n abstract readonly route: string;\n /* eslint-disable @typescript-eslint/no-explicit-any */\n readonly validation?: CommandValidator<any>;\n /* eslint-enable @typescript-eslint/no-explicit-any */\n readonly roles: string[] = [];\n /** Inclusive minimum blocking severity declared by a model-bound command proxy. */\n readonly blockOnValidationSeverity?: ValidationResultSeverity;\n abstract readonly propertyDescriptors: PropertyDescriptor[];\n abstract get requestParameters(): string[];\n\n private _initialValues: object = {};\n private _hasChanges = false;\n private _callbacks: Callback[] = [];\n\n /**\n * Initializes a new instance of the {@link Command<,>} class.\n * @param _responseType Type of response.\n * @param _isResponseTypeEnumerable Whether or not the response type is enumerable.\n */\n constructor(readonly _responseType: Constructor = Object, readonly _isResponseTypeEnumerable: boolean) {\n this._microservice = Globals.microservice ?? '';\n this._apiBasePath = Globals.apiBasePath ?? '';\n this._origin = Globals.origin ?? '';\n this._httpHeadersCallback = () => ({});\n }\n\n /** @inheritdoc */\n setMicroservice(microservice: string) {\n this._microservice = microservice;\n }\n\n /** @inheritdoc */\n setApiBasePath(apiBasePath: string): void {\n this._apiBasePath = apiBasePath;\n }\n\n /** @inheritdoc */\n setOrigin(origin: string): void {\n this._origin = origin;\n }\n\n /** @inheritdoc */\n setHttpHeadersCallback(callback: GetHttpHeaders): void {\n this._httpHeadersCallback = callback;\n }\n\n /** @inheritdoc */\n async execute(allowedSeverity?: ValidationResultSeverity, ignoreWarnings?: boolean): Promise<CommandResult<TCommandResponse>> {\n const clientValidationErrors = this.validation?.validate(this) || [];\n const filteredClientErrors = this.filterValidationResultsBySeverity(clientValidationErrors, allowedSeverity, ignoreWarnings);\n if (filteredClientErrors.length > 0) {\n return CommandResult.validationFailed(filteredClientErrors) as CommandResult<TCommandResponse>;\n }\n\n const validationErrors = this.validateRequiredProperties();\n const filteredRequiredErrors = this.filterValidationResultsBySeverity(validationErrors, allowedSeverity, ignoreWarnings);\n if (filteredRequiredErrors.length > 0) {\n return CommandResult.validationFailed(filteredRequiredErrors) as CommandResult<TCommandResponse>;\n }\n\n let actualRoute = this.route;\n\n if (this.requestParameters && this.requestParameters.length > 0) {\n const payload = this.buildPayload();\n const { route } = UrlHelpers.replaceRouteParameters(this.route, payload);\n actualRoute = route;\n }\n\n const result = await this.performRequest(actualRoute, 'Command not found at route', 'Error during server call', allowedSeverity, ignoreWarnings);\n this.setInitialValuesFromCurrentValues();\n return result;\n }\n\n /** @inheritdoc */\n async validate(): Promise<CommandResult<TCommandResponse>> {\n const clientValidationErrors = this.validation?.validate(this) || [];\n const filteredClientErrors = this.blockOnValidationSeverity === undefined\n ? clientValidationErrors\n : this.filterValidationResultsBySeverity(clientValidationErrors);\n if (filteredClientErrors.length > 0) {\n return CommandResult.validationFailed(filteredClientErrors) as CommandResult<TCommandResponse>;\n }\n\n const validationErrors = this.validateRequiredProperties();\n const filteredRequiredErrors = this.blockOnValidationSeverity === undefined\n ? validationErrors\n : this.filterValidationResultsBySeverity(validationErrors);\n if (filteredRequiredErrors.length > 0) {\n return CommandResult.validationFailed(filteredRequiredErrors) as CommandResult<TCommandResponse>;\n }\n\n let actualRoute = this.route;\n\n if (this.requestParameters && this.requestParameters.length > 0) {\n const payload = this.buildPayload();\n const { route } = UrlHelpers.replaceRouteParameters(this.route, payload);\n actualRoute = route;\n }\n\n actualRoute = `${actualRoute}/validate`;\n return this.performRequest(actualRoute, 'Command validation endpoint not found at route', 'Error during validation call');\n }\n\n /** @inheritdoc */\n validateClientSide(): CommandResult<TCommandResponse> {\n const clientValidationErrors = this.validation?.validate(this) || [];\n const filteredClientErrors = this.blockOnValidationSeverity === undefined\n ? clientValidationErrors\n : this.filterValidationResultsBySeverity(clientValidationErrors);\n if (filteredClientErrors.length > 0) {\n return CommandResult.validationFailed(filteredClientErrors) as CommandResult<TCommandResponse>;\n }\n\n const validationErrors = this.validateRequiredProperties();\n const filteredRequiredErrors = this.blockOnValidationSeverity === undefined\n ? validationErrors\n : this.filterValidationResultsBySeverity(validationErrors);\n if (filteredRequiredErrors.length > 0) {\n return CommandResult.validationFailed(filteredRequiredErrors) as CommandResult<TCommandResponse>;\n }\n\n return CommandResult.empty as unknown as CommandResult<TCommandResponse>;\n }\n\n private buildPayload(): object {\n const payload = {};\n this.propertyDescriptors.forEach(propertyDescriptor => {\n const property = propertyDescriptor.name;\n payload[property] = this[property];\n });\n return payload;\n }\n\n private validateRequiredProperties(): ValidationResult[] {\n const validationErrors: ValidationResult[] = [];\n this.propertyDescriptors.forEach(propertyDescriptor => {\n if (!propertyDescriptor.isOptional && !this.requestParameters.includes(propertyDescriptor.name)) {\n const value = this[propertyDescriptor.name];\n if (value === undefined || value === null) {\n validationErrors.push(new ValidationResult(\n ValidationResultSeverity.Error,\n `${propertyDescriptor.name} is required`,\n [propertyDescriptor.name],\n null\n ));\n }\n }\n });\n return validationErrors;\n }\n\n private filterValidationResultsBySeverity(validationResults: ValidationResult[], allowedSeverity?: ValidationResultSeverity, ignoreWarnings?: boolean): ValidationResult[] {\n if (this.blockOnValidationSeverity !== undefined) {\n const effectiveAllowed = Math.min(allowedSeverity ?? ValidationResultSeverity.Error, this.blockOnValidationSeverity - 1);\n return validationResults.filter(result => result.severity === ValidationResultSeverity.Unknown || result.severity > effectiveAllowed);\n }\n if (ignoreWarnings === true) {\n return validationResults.filter(result => result.severity === ValidationResultSeverity.Error);\n }\n if (allowedSeverity === undefined) {\n return validationResults.filter(result => result.severity === ValidationResultSeverity.Error);\n }\n return validationResults.filter(result => result.severity > allowedSeverity);\n }\n\n private buildHeaders(allowedSeverity?: ValidationResultSeverity, ignoreWarnings?: boolean): HeadersInit {\n const customHeaders = this._httpHeadersCallback?.() ?? {};\n const headers = {\n ...customHeaders,\n 'Accept': 'application/json',\n 'Content-Type': 'application/json'\n };\n\n if (this._microservice?.length > 0) {\n headers[Globals.microserviceHttpHeader] = this._microservice;\n }\n\n if (allowedSeverity !== undefined) {\n headers['X-Allowed-Severity'] = allowedSeverity.toString();\n }\n\n if (ignoreWarnings === true) {\n headers['X-Ignore-Warnings'] = 'true';\n }\n\n return headers;\n }\n\n private async performRequest(\n route: string,\n notFoundMessage: string,\n errorMessage: string,\n allowedSeverity?: ValidationResultSeverity,\n ignoreWarnings?: boolean\n ): Promise<CommandResult<TCommandResponse>> {\n const payload = this.buildPayload();\n const headers = this.buildHeaders(allowedSeverity, ignoreWarnings);\n const actualRoute = joinPaths(this._apiBasePath, route);\n const url = UrlHelpers.createUrlFrom(this._origin, this._apiBasePath, actualRoute);\n\n try {\n const response = await fetch(url, {\n method: 'POST',\n headers,\n body: JsonSerializer.serialize(payload)\n });\n\n if (response.status === 404) {\n return CommandResult.failed([`${notFoundMessage} '${actualRoute}'`]) as CommandResult<TCommandResponse>;\n }\n\n const result = await response.json();\n return new CommandResult(result, this._responseType, this._isResponseTypeEnumerable);\n } catch (ex) {\n return CommandResult.failed([`${errorMessage}: ${ex}`]) as CommandResult<TCommandResponse>;\n }\n }\n\n /** @inheritdoc */\n clear(): void {\n this.propertyDescriptors.forEach(propertyDescriptor => {\n const property = propertyDescriptor.name;\n this[property] = undefined;\n });\n this._initialValues = {};\n this._hasChanges = false;\n }\n\n /** @inheritdoc */\n setInitialValues(values: TCommandContent) {\n this.propertyDescriptors.forEach(propertyDescriptor => {\n const property = propertyDescriptor.name;\n if (Object.prototype.hasOwnProperty.call(values, property)) {\n this._initialValues[property] = values[property];\n this[property] = values[property];\n }\n });\n this.updateHasChanges();\n }\n\n /** @inheritdoc */\n setInitialValuesFromCurrentValues() {\n this.propertyDescriptors.forEach(propertyDescriptor => {\n const property = propertyDescriptor.name;\n if (this[property]) {\n this._initialValues[property] = this[property];\n }\n });\n this.updateHasChanges();\n }\n\n /** @inheritdoc */\n revertChanges(): void {\n this.propertyDescriptors.forEach(propertyDescriptor => {\n const property = propertyDescriptor.name;\n this[property] = this._initialValues[property];\n });\n }\n\n /** @inheritdoc */\n get hasChanges() {\n return this._hasChanges;\n }\n\n /** @inheritdoc */\n propertyChanged(property: string) {\n this.updateHasChanges();\n\n this._callbacks.forEach(callbackContainer => {\n const callback = callbackContainer.callback.deref();\n const thisArg = callbackContainer.thisArg.deref();\n if (callback && thisArg) {\n callback.call(thisArg, property);\n } else {\n this._callbacks = this._callbacks.filter(_ => _.callback !== callbackContainer.callback);\n }\n });\n }\n\n /** @inheritdoc */\n onPropertyChanged(callback: PropertyChanged, thisArg: object) {\n this._callbacks.push({\n callback: new WeakRef(callback),\n thisArg: new WeakRef(thisArg)\n });\n }\n\n private updateHasChanges() {\n this._hasChanges = this.propertyDescriptors.some(propertyDescriptor => {\n const property = propertyDescriptor.name;\n return this[property] !== this._initialValues[property];\n });\n }\n}\n"],"names":["Command","_microservice","_apiBasePath","_origin","_httpHeadersCallback","validation","roles","blockOnValidationSeverity","_initialValues","_hasChanges","_callbacks","_responseType","Object","_isResponseTypeEnumerable","Globals","microservice","apiBasePath","origin","setMicroservice","setApiBasePath","setOrigin","setHttpHeadersCallback","callback","execute","allowedSeverity","ignoreWarnings","clientValidationErrors","validate","filteredClientErrors","filterValidationResultsBySeverity","length","CommandResult","validationFailed","validationErrors","validateRequiredProperties","filteredRequiredErrors","actualRoute","route","requestParameters","payload","buildPayload","UrlHelpers","replaceRouteParameters","result","performRequest","setInitialValuesFromCurrentValues","undefined","validateClientSide","empty","propertyDescriptors","forEach","propertyDescriptor","property","name","isOptional","includes","value","push","ValidationResult","ValidationResultSeverity","Error","validationResults","effectiveAllowed","Math","min","filter","severity","Unknown","buildHeaders","customHeaders","headers","microserviceHttpHeader","toString","notFoundMessage","errorMessage","joinPaths","url","createUrlFrom","response","fetch","method","body","JsonSerializer","serialize","status","failed","json","ex","clear","setInitialValues","values","prototype","hasOwnProperty","call","updateHasChanges","revertChanges","hasChanges","propertyChanged","callbackContainer","deref","thisArg","_","onPropertyChanged","WeakRef","some"],"mappings":";;;;;;;;AAAA;AACA;AAmBA;;AAEC,IACM,MAAeA,OAAAA,CAAAA;;;IACVC,aAAAA;IACAC,YAAAA;IACAC,OAAAA;IACAC,oBAAAA;4DAGR,UAASC;AACT,2DACSC,KAAAA,GAAkB,EAAE;wFAE7B,yBAASC;AAIDC,IAAAA,cAAAA,GAAyB,EAAC;AAC1BC,IAAAA,WAAAA,GAAc,KAAA;AACdC,IAAAA,UAAAA,GAAyB,EAAE;AAEnC;;;;AAIC,QACD,YAAY,aAASC,GAA6BC,MAAM,EAAWC,yBAAkC,CAAE;aAAlFF,aAAAA,GAAAA,aAAAA;aAA8CE,yBAAAA,GAAAA,yBAAAA;AAC/D,QAAA,IAAI,CAACZ,aAAa,GAAGa,OAAAA,CAAQC,YAAY,IAAI,EAAA;AAC7C,QAAA,IAAI,CAACb,YAAY,GAAGY,OAAAA,CAAQE,WAAW,IAAI,EAAA;AAC3C,QAAA,IAAI,CAACb,OAAO,GAAGW,OAAAA,CAAQG,MAAM,IAAI,EAAA;AACjC,QAAA,IAAI,CAACb,oBAAoB,GAAG,KAAO,EAAC,CAAA;AACxC,IAAA;uBAGAc,eAAAA,CAAgBH,YAAoB,EAAE;QAClC,IAAI,CAACd,aAAa,GAAGc,YAAAA;AACzB,IAAA;uBAGAI,cAAAA,CAAeH,WAAmB,EAAQ;QACtC,IAAI,CAACd,YAAY,GAAGc,WAAAA;AACxB,IAAA;uBAGAI,SAAAA,CAAUH,MAAc,EAAQ;QAC5B,IAAI,CAACd,OAAO,GAAGc,MA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gD,CAAAA,iBAAAA,GAAAA;AACpB,YAAA,MAAM5E,QAAAA,GAAW4E,iBAAAA,CAAkB5E,QAAQ,CAAC6E,KAAK,EAAA;AACjD,YAAA,MAAMC,OAAAA,GAAUF,iBAAAA,CAAkBE,OAAO,CAACD,KAAK,EAAA;AAC/C,YAAA,IAAI7E,YAAY8E,OAAAA,EAAS;gBACrB9E,QAAAA,CAASuE,IAAI,CAACO,OAAAA,EAAShD,QAAAA,CAAAA;YAC3B,CAAA,MAAO;AACH,gBAAA,IAAI,CAAC1C,UAAU,GAAG,IAAI,CAACA,UAAU,CAACuD,MAAM,CAACoC,CAAAA,CAAAA,GAAKA,CAAAA,CAAE/E,QAAQ,KAAK4E,kBAAkB5E,QAAQ,CAAA;AAC3F,YAAA;AACJ,QAAA,CAAA,CAAA;AACJ,IAAA;AAEA,uBACAgF,iBAAAA,CAAkBhF,QAAyB,EAAE8E,OAAe,EAAE;AAC1D,QAAA,IAAI,CAAC1F,UAAU,CAAC+C,IAAI,CAAC;AACjBnC,YAAAA,QAAAA,EAAU,IAAIiF,OAAAA,CAAQjF,QAAAA,CAAAA;AACtB8E,YAAAA,OAAAA,EAAS,IAAIG,OAAAA,CAAQH,OAAAA;AACzB,SAAA,CAAA;AACJ,IAAA;IAEQN,gBAAAA,GAAmB;QACvB,IAAI,CAACrF,WAAW,GAAG,IAAI,CAACwC,mBAAmB,CAACuD,IAAI,CAACrD,CAAAA,kBAAAA,GAAAA;YAC7C,MAAMC,QAAAA,GAAWD,mBAAmBE,IAAI;YACxC,OAAO,IAAI,CAACD,QAAAA,CAAS,KAAK,IAAI,CAAC5C,cAAc,CAAC4C,QAAAA,CAAS;AAC3D,QAAA,CAAA,CAAA;AACJ,IAAA;AACJ;;"}
@@ -1,6 +1,6 @@
1
1
  import { Guid } from '@cratis/fundamentals';
2
- import { ICommandResult } from './ICommandResult';
3
- import { ValidationResult } from '../validation/ValidationResult';
2
+ import { ICommandResult } from './ICommandResult.js';
3
+ import { ValidationResult } from '../validation/ValidationResult.js';
4
4
  import { Constructor } from '@cratis/fundamentals';
5
5
  type OnSuccess = (<TResponse>(response: TResponse) => void) | (() => void);
6
6
  type OnFailed<TResponse> = ((commandResult: CommandResult<TResponse>) => void) | (() => void);
@@ -1 +1 @@
1
- {"version":3,"file":"CommandResult.d.ts","sourceRoot":"","sources":["../../../commands/CommandResult.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAC5C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAClE,OAAO,EAAE,WAAW,EAAkB,MAAM,sBAAsB,CAAC;AAKnE,KAAK,SAAS,GAAG,CAAC,CAAC,SAAS,EAAE,QAAQ,EAAE,SAAS,KAAK,IAAI,CAAC,GAAG,CAAC,MAAM,IAAI,CAAC,CAAC;AAK3E,KAAK,QAAQ,CAAC,SAAS,IAAI,CAAC,CAAC,aAAa,EAAE,aAAa,CAAC,SAAS,CAAC,KAAK,IAAI,CAAC,GAAG,CAAC,MAAM,IAAI,CAAC,CAAC;AAK9F,KAAK,WAAW,GAAG,CAAC,QAAQ,EAAE,MAAM,EAAE,EAAE,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;AAKpE,KAAK,cAAc,GAAG,MAAM,IAAI,CAAC;AAKjC,KAAK,mBAAmB,GAAG,CAAC,iBAAiB,EAAE,gBAAgB,EAAE,KAAK,IAAI,CAAC;AAE3E,KAAK,mBAAmB,GAAG;IACvB,aAAa,EAAE,MAAM,CAAC;IACtB,SAAS,EAAE,OAAO,CAAC;IACnB,YAAY,EAAE,OAAO,CAAC;IACtB,OAAO,EAAE,OAAO,CAAC;IACjB,aAAa,EAAE,OAAO,CAAC;IACvB,iBAAiB,EAAE;QACf,QAAQ,EAAE,MAAM,CAAC;QACjB,OAAO,EAAE,MAAM,CAAC;QAChB,OAAO,EAAE,MAAM,EAAE,CAAC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AAC,QAAQ,EAAE,SAAS,GAAG,aAAa,CAAC,SAAS,CAAC,CAKvD;IAOD,QAAQ,CAAC,QAAQ,EAAE,QAAQ,CAAC,SAAS,CAAC,GAAG,aAAa,CAAC,SAAS,CAAC,CAKhE;IAOD,WAAW,CAAC,QAAQ,EAAE,WAAW,GAAG,aAAa,CAAC,SAAS,CAAC,CAK3D;IAOD,cAAc,CAAC,QAAQ,EAAE,cAAc,GAAG,aAAa,CAAC,SAAS,CAAC,CAKjE;IAOD,mBAAmB,CAAC,QAAQ,EAAE,mBAAmB,GAAG,aAAa,CAAC,SAAS,CAAC,CAK3E;CACJ"}
@@ -1 +1 @@
1
- {"version":3,"file":"CommandResult.js","sources":["../../../commands/CommandResult.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 { Guid } from '@cratis/fundamentals';\nimport { ICommandResult } from './ICommandResult';\nimport { ValidationResult } from '../validation/ValidationResult';\nimport { Constructor, JsonSerializer } from '@cratis/fundamentals';\n\n/**\n * Delegate type for the onSuccess callback.\n */\ntype OnSuccess = (<TResponse>(response: TResponse) => void) | (() => void);\n\n/**\n * Delegate type for the onFailed callback.\n */\ntype OnFailed<TResponse> = ((commandResult: CommandResult<TResponse>) => void) | (() => void);\n\n/**\n * Delegate type for the onException callback.\n */\ntype OnException = (messages: string[], stackTrace: string) => void;\n\n/**\n * Delegate type for the onUnauthorized callback.\n */\ntype OnUnauthorized = () => void;\n\n/**\n * Delegate type for the onValidationFailure callback.\n */\ntype OnValidationFailure = (validationResults: ValidationResult[]) => void;\n\ntype ServerCommandResult = {\n correlationId: string;\n isSuccess: boolean;\n isAuthorized: boolean;\n isValid: boolean;\n hasExceptions: boolean;\n validationResults: {\n severity: number;\n message: string;\n members: string[];\n state: object;\n reason?: string;\n reasonDetail?: string;\n }[];\n exceptionMessages: string[];\n exceptionStackTrace: string;\n authorizationFailureReason: string;\n\n /* eslint-disable @typescript-eslint/no-explicit-any */\n response: any;\n /* eslint-enable @typescript-eslint/no-explicit-any */\n}\n\n/**\n * Represents the result from executing a {@link ICommand}.\n */\nexport class CommandResult<TResponse = object> implements ICommandResult<TResponse> {\n\n static empty: CommandResult = new CommandResult({\n correlationId: Guid.empty.toString(),\n isSuccess: true,\n isAuthorized: true,\n isValid: true,\n hasExceptions: false,\n validationResults: [],\n exceptionMessages: [],\n exceptionStackTrace: '',\n authorizationFailureReason: '',\n response: null\n }, Object, false);\n\n static failed = (exceptionMessages: string[]): CommandResult => {\n return new CommandResult({\n correlationId: Guid.empty.toString(),\n isSuccess: false,\n isAuthorized: true,\n isValid: true,\n hasExceptions: true,\n validationResults: [],\n exceptionMessages: exceptionMessages,\n exceptionStackTrace: '',\n authorizationFailureReason: '',\n response: null\n }, Object, false);\n };\n\n static validationFailed = (validationResults: ValidationResult[]): CommandResult => {\n return new CommandResult({\n correlationId: Guid.empty.toString(),\n isSuccess: false,\n isAuthorized: true,\n isValid: false,\n hasExceptions: false,\n validationResults: validationResults.map(_ => ({\n severity: _.severity,\n message: _.message,\n members: _.members,\n state: _.state,\n reason: _.reason,\n reasonDetail: _.reasonDetail\n })),\n exceptionMessages: [],\n exceptionStackTrace: '',\n authorizationFailureReason: '',\n response: null\n }, Object, false);\n };\n\n /** @inheritdoc */\n readonly correlationId: Guid;\n\n /** @inheritdoc */\n readonly isSuccess: boolean;\n\n /** @inheritdoc */\n readonly isAuthorized: boolean;\n\n /** @inheritdoc */\n readonly isValid: boolean;\n\n /** @inheritdoc */\n readonly hasExceptions: boolean;\n\n /** @inheritdoc */\n readonly validationResults: ValidationResult[];\n\n /** @inheritdoc */\n readonly exceptionMessages: string[];\n\n /** @inheritdoc */\n readonly exceptionStackTrace: string;\n\n /** @inheritdoc */\n readonly authorizationFailureReason: string;\n\n /** @inheritdoc */\n readonly response?: TResponse;\n\n /**\n * Creates an instance of command result.\n * @param {*} result The JSON/any representation of the command result;\n * @param {Constructor} responseInstanceType The {@see Constructor} that represents the type of response, if any. Defaults to {@see Object}.\n * @param {boolean} isResponseTypeEnumerable Whether or not the response type is an enumerable or not.\n */\n constructor(result: ServerCommandResult, responseInstanceType: Constructor = Object, isResponseTypeEnumerable: boolean) {\n this.correlationId = Guid.parse(result.correlationId);\n this.isSuccess = result.isSuccess;\n this.isAuthorized = result.isAuthorized;\n this.isValid = result.isValid;\n this.hasExceptions = result.hasExceptions;\n this.validationResults = result.validationResults.map(_ => new ValidationResult(_.severity, _.message, _.members, _.state, _.reason, _.reasonDetail));\n this.exceptionMessages = result.exceptionMessages;\n this.exceptionStackTrace = result.exceptionStackTrace;\n this.authorizationFailureReason = result.authorizationFailureReason;\n\n if (result.response !== undefined && result.response !== null) {\n const isPrimitive = responseInstanceType === String || responseInstanceType === Number || responseInstanceType === Boolean;\n if (isResponseTypeEnumerable) {\n this.response = (Array.isArray(result.response)\n ? (isPrimitive\n ? Array.from(result.response)\n : JsonSerializer.deserializeArrayFromInstance(responseInstanceType, result.response))\n : []) as TResponse;\n } else {\n this.response = (isPrimitive\n ? result.response\n : JsonSerializer.deserializeFromInstance(responseInstanceType, result.response)) as TResponse;\n }\n }\n }\n\n /**\n * Set up a callback for when the command was successful.\n * @param {OnSuccess} callback The callback to call when the command was successful.\n * @returns {CommandResult} The instance of the command result.\n */\n onSuccess(callback: OnSuccess): CommandResult<TResponse> {\n if (this.isSuccess) {\n callback(this.response as TResponse);\n }\n return this;\n }\n\n /**\n * Set up a callback for when the command failed.\n * @param {OnFailed} callback The callback to call when the command failed.\n * @returns {CommandResult} The instance of the command result.\n */\n onFailed(callback: OnFailed<TResponse>): CommandResult<TResponse> {\n if (!this.isSuccess) {\n callback(this);\n }\n return this;\n }\n\n /**\n * Set up a callback for when the command failed with an exception.\n * @param {OnException} callback The callback to call when the command had an exception.\n * @returns {CommandResult} The instance of the command result.\n */\n onException(callback: OnException): CommandResult<TResponse> {\n if (this.hasExceptions) {\n callback(this.exceptionMessages, this.exceptionStackTrace);\n }\n return this;\n }\n\n /**\n * Set up a callback for when the command was unauthorized.\n * @param {OnUnauthorized} callback The callback to call when the command was unauthorized.\n * @returns {CommandResult} The instance of the command result.\n */\n onUnauthorized(callback: OnUnauthorized): CommandResult<TResponse> {\n if (!this.isAuthorized) {\n callback();\n }\n return this;\n }\n\n /**\n * Set up a callback for when the command had validation errors.\n * @param {OnSuccess} callback The callback to call when the command was invalid.\n * @returns {CommandResult} The instance of the command result.\n */\n onValidationFailure(callback: OnValidationFailure): CommandResult<TResponse> {\n if (!this.isValid) {\n callback(this.validationResults);\n }\n return this;\n }\n}\n"],"names":["CommandResult","empty","correlationId","Guid","toString","isSuccess","isAuthorized","isValid","hasExceptions","validationResults","exceptionMessages","exceptionStackTrace","authorizationFailureReason","response","Object","failed","validationFailed","map","_","severity","message","members","state","reason","reasonDetail","result","responseInstanceType","isResponseTypeEnumerable","parse","ValidationResult","undefined","isPrimitive","String","Number","Boolean","Array","isArray","from","JsonSerializer","deserializeArrayFromInstance","deserializeFromInstance","onSuccess","callback","onFailed","onException","onUnauthorized","onValidationFailure"],"mappings":";;;AAAA;AACA;AAuDA;;AAEC,IACM,MAAMA,aAAAA,CAAAA;IAET,OAAOC,KAAAA,GAAuB,IAAID,aAAAA,CAAc;QAC5CE,aAAAA,EAAeC,IAAAA,CAAKF,KAAK,CAACG,QAAQ,EAAA;QAClCC,SAAAA,EAAW,IAAA;QACXC,YAAAA,EAAc,IAAA;QACdC,OAAAA,EAAS,IAAA;QACTC,aAAAA,EAAe,KAAA;AACfC,QAAAA,iBAAAA,EAAmB,EAAE;AACrBC,QAAAA,iBAAAA,EAAmB,EAAE;QACrBC,mBAAAA,EAAqB,EAAA;QACrBC,0BAAAA,EAA4B,EAAA;QAC5BC,QAAAA,EAAU;AACd,KAAA,EAAGC,QAAQ,KAAA,CAAA;AAEX,IAAA,OAAOC,SAAS,CAACL,iBAAAA,GAAAA;AACb,QAAA,OAAO,IAAIV,aAAAA,CAAc;YACrBE,aAAAA,EAAeC,IAAAA,CAAKF,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YACfmC,QAAAA,CAAS,IAAI,CAACjC,iBAAiB,CAAA;AACnC,QAAA;AACA,QAAA,OAAO,IAAI;AACf,IAAA;AACJ;;"}
1
+ {"version":3,"file":"CommandResult.js","sources":["../../../commands/CommandResult.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 { Guid } from '@cratis/fundamentals';\nimport { ICommandResult } from './ICommandResult.js';\nimport { ValidationResult } from '../validation/ValidationResult.js';\nimport { Constructor, JsonSerializer } from '@cratis/fundamentals';\n\n/**\n * Delegate type for the onSuccess callback.\n */\ntype OnSuccess = (<TResponse>(response: TResponse) => void) | (() => void);\n\n/**\n * Delegate type for the onFailed callback.\n */\ntype OnFailed<TResponse> = ((commandResult: CommandResult<TResponse>) => void) | (() => void);\n\n/**\n * Delegate type for the onException callback.\n */\ntype OnException = (messages: string[], stackTrace: string) => void;\n\n/**\n * Delegate type for the onUnauthorized callback.\n */\ntype OnUnauthorized = () => void;\n\n/**\n * Delegate type for the onValidationFailure callback.\n */\ntype OnValidationFailure = (validationResults: ValidationResult[]) => void;\n\ntype ServerCommandResult = {\n correlationId: string;\n isSuccess: boolean;\n isAuthorized: boolean;\n isValid: boolean;\n hasExceptions: boolean;\n validationResults: {\n severity: number;\n message: string;\n members: string[];\n state: object;\n reason?: string;\n reasonDetail?: string;\n }[];\n exceptionMessages: string[];\n exceptionStackTrace: string;\n authorizationFailureReason: string;\n\n /* eslint-disable @typescript-eslint/no-explicit-any */\n response: any;\n /* eslint-enable @typescript-eslint/no-explicit-any */\n}\n\n/**\n * Represents the result from executing a {@link ICommand}.\n */\nexport class CommandResult<TResponse = object> implements ICommandResult<TResponse> {\n\n static empty: CommandResult = new CommandResult({\n correlationId: Guid.empty.toString(),\n isSuccess: true,\n isAuthorized: true,\n isValid: true,\n hasExceptions: false,\n validationResults: [],\n exceptionMessages: [],\n exceptionStackTrace: '',\n authorizationFailureReason: '',\n response: null\n }, Object, false);\n\n static failed = (exceptionMessages: string[]): CommandResult => {\n return new CommandResult({\n correlationId: Guid.empty.toString(),\n isSuccess: false,\n isAuthorized: true,\n isValid: true,\n hasExceptions: true,\n validationResults: [],\n exceptionMessages: exceptionMessages,\n exceptionStackTrace: '',\n authorizationFailureReason: '',\n response: null\n }, Object, false);\n };\n\n static validationFailed = (validationResults: ValidationResult[]): CommandResult => {\n return new CommandResult({\n correlationId: Guid.empty.toString(),\n isSuccess: false,\n isAuthorized: true,\n isValid: false,\n hasExceptions: false,\n validationResults: validationResults.map(_ => ({\n severity: _.severity,\n message: _.message,\n members: _.members,\n state: _.state,\n reason: _.reason,\n reasonDetail: _.reasonDetail\n })),\n exceptionMessages: [],\n exceptionStackTrace: '',\n authorizationFailureReason: '',\n response: null\n }, Object, false);\n };\n\n /** @inheritdoc */\n readonly correlationId: Guid;\n\n /** @inheritdoc */\n readonly isSuccess: boolean;\n\n /** @inheritdoc */\n readonly isAuthorized: boolean;\n\n /** @inheritdoc */\n readonly isValid: boolean;\n\n /** @inheritdoc */\n readonly hasExceptions: boolean;\n\n /** @inheritdoc */\n readonly validationResults: ValidationResult[];\n\n /** @inheritdoc */\n readonly exceptionMessages: string[];\n\n /** @inheritdoc */\n readonly exceptionStackTrace: string;\n\n /** @inheritdoc */\n readonly authorizationFailureReason: string;\n\n /** @inheritdoc */\n readonly response?: TResponse;\n\n /**\n * Creates an instance of command result.\n * @param {*} result The JSON/any representation of the command result;\n * @param {Constructor} responseInstanceType The {@see Constructor} that represents the type of response, if any. Defaults to {@see Object}.\n * @param {boolean} isResponseTypeEnumerable Whether or not the response type is an enumerable or not.\n */\n constructor(result: ServerCommandResult, responseInstanceType: Constructor = Object, isResponseTypeEnumerable: boolean) {\n this.correlationId = Guid.parse(result.correlationId);\n this.isSuccess = result.isSuccess;\n this.isAuthorized = result.isAuthorized;\n this.isValid = result.isValid;\n this.hasExceptions = result.hasExceptions;\n this.validationResults = result.validationResults.map(_ => new ValidationResult(_.severity, _.message, _.members, _.state, _.reason, _.reasonDetail));\n this.exceptionMessages = result.exceptionMessages;\n this.exceptionStackTrace = result.exceptionStackTrace;\n this.authorizationFailureReason = result.authorizationFailureReason;\n\n if (result.response !== undefined && result.response !== null) {\n const isPrimitive = responseInstanceType === String || responseInstanceType === Number || responseInstanceType === Boolean;\n if (isResponseTypeEnumerable) {\n this.response = (Array.isArray(result.response)\n ? (isPrimitive\n ? Array.from(result.response)\n : JsonSerializer.deserializeArrayFromInstance(responseInstanceType, result.response))\n : []) as TResponse;\n } else {\n this.response = (isPrimitive\n ? result.response\n : JsonSerializer.deserializeFromInstance(responseInstanceType, result.response)) as TResponse;\n }\n }\n }\n\n /**\n * Set up a callback for when the command was successful.\n * @param {OnSuccess} callback The callback to call when the command was successful.\n * @returns {CommandResult} The instance of the command result.\n */\n onSuccess(callback: OnSuccess): CommandResult<TResponse> {\n if (this.isSuccess) {\n callback(this.response as TResponse);\n }\n return this;\n }\n\n /**\n * Set up a callback for when the command failed.\n * @param {OnFailed} callback The callback to call when the command failed.\n * @returns {CommandResult} The instance of the command result.\n */\n onFailed(callback: OnFailed<TResponse>): CommandResult<TResponse> {\n if (!this.isSuccess) {\n callback(this);\n }\n return this;\n }\n\n /**\n * Set up a callback for when the command failed with an exception.\n * @param {OnException} callback The callback to call when the command had an exception.\n * @returns {CommandResult} The instance of the command result.\n */\n onException(callback: OnException): CommandResult<TResponse> {\n if (this.hasExceptions) {\n callback(this.exceptionMessages, this.exceptionStackTrace);\n }\n return this;\n }\n\n /**\n * Set up a callback for when the command was unauthorized.\n * @param {OnUnauthorized} callback The callback to call when the command was unauthorized.\n * @returns {CommandResult} The instance of the command result.\n */\n onUnauthorized(callback: OnUnauthorized): CommandResult<TResponse> {\n if (!this.isAuthorized) {\n callback();\n }\n return this;\n }\n\n /**\n * Set up a callback for when the command had validation errors.\n * @param {OnSuccess} callback The callback to call when the command was invalid.\n * @returns {CommandResult} The instance of the command result.\n */\n onValidationFailure(callback: OnValidationFailure): CommandResult<TResponse> {\n if (!this.isValid) {\n callback(this.validationResults);\n }\n return this;\n }\n}\n"],"names":["CommandResult","empty","correlationId","Guid","toString","isSuccess","isAuthorized","isValid","hasExceptions","validationResults","exceptionMessages","exceptionStackTrace","authorizationFailureReason","response","Object","failed","validationFailed","map","_","severity","message","members","state","reason","reasonDetail","result","responseInstanceType","isResponseTypeEnumerable","parse","ValidationResult","undefined","isPrimitive","String","Number","Boolean","Array","isArray","from","JsonSerializer","deserializeArrayFromInstance","deserializeFromInstance","onSuccess","callback","onFailed","onException","onUnauthorized","onValidationFailure"],"mappings":";;;AAAA;AACA;AAuDA;;AAEC,IACM,MAAMA,aAAAA,CAAAA;IAET,OAAOC,KAAAA,GAAuB,IAAID,aAAAA,CAAc;QAC5CE,aAAAA,EAAeC,IAAAA,CAAKF,KAAK,CAACG,QAAQ,EAAA;QAClCC,SAAAA,EAAW,IAAA;QACXC,YAAAA,EAAc,IAAA;QACdC,OAAAA,EAAS,IAAA;QACTC,aAAAA,EAAe,KAAA;AACfC,QAAAA,iBAAAA,EAAmB,EAAE;AACrBC,QAAAA,iBAAAA,EAAmB,EAAE;QACrBC,mBAAAA,EAAqB,EAAA;QACrBC,0BAAAA,EAA4B,EAAA;QAC5BC,QAAAA,EAAU;AACd,KAAA,EAAGC,QAAQ,KAAA,CAAA;AAEX,IAAA,OAAOC,SAAS,CAACL,iBAAAA,GAAAA;AACb,QAAA,OAAO,IAAIV,aAAAA,CAAc;YACrBE,aAAAA,EAAeC,IAAAA,CAAKF,KAAK,CAACG,QAAQ,EAAA;YAClCC,SAAAA,EAAW,KAAA;YACXC,YAAAA,EAAc,IAAA;YACdC,OAAAA,EAAS,IAAA;YACTC,aAAAA,EAAe,IAAA;AACfC,YAAAA,iBAAAA,EAAmB,EAAE;YACrBC,iBAAAA,EAAmBA,iBAAAA;YACnBC,mBAAAA,EAAqB,EAAA;YACrBC,0BAAAA,EAA4B,EAAA;YAC5BC,QAAAA,EAAU;AACd,SAAA,EAAGC,MAAA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AACd,oBAAAA,EAAsBD,MAAAA,CAAOZ,QAAQ,CAAA;AACtF,YAAA;AACJ,QAAA;AACJ,IAAA;AAEA;;;;QAKA4B,SAAAA,CAAUC,QAAmB,EAA4B;QACrD,IAAI,IAAI,CAACrC,SAAS,EAAE;YAChBqC,QAAAA,CAAS,IAAI,CAAC7B,QAAQ,CAAA;AAC1B,QAAA;AACA,QAAA,OAAO,IAAI;AACf,IAAA;AAEA;;;;QAKA8B,QAAAA,CAASD,QAA6B,EAA4B;AAC9D,QAAA,IAAI,CAAC,IAAI,CAACrC,SAAS,EAAE;AACjBqC,YAAAA,QAAAA,CAAS,IAAI,CAAA;AACjB,QAAA;AACA,QAAA,OAAO,IAAI;AACf,IAAA;AAEA;;;;QAKAE,WAAAA,CAAYF,QAAqB,EAA4B;QACzD,IAAI,IAAI,CAAClC,aAAa,EAAE;AACpBkC,YAAAA,QAAAA,CAAS,IAAI,CAAChC,iBAAiB,EAAE,IAAI,CAACC,mBAAmB,CAAA;AAC7D,QAAA;AACA,QAAA,OAAO,IAAI;AACf,IAAA;AAEA;;;;QAKAkC,cAAAA,CAAeH,QAAwB,EAA4B;AAC/D,QAAA,IAAI,CAAC,IAAI,CAACpC,YAAY,EAAE;AACpBoC,YAAAA,QAAAA,EAAAA;AACJ,QAAA;AACA,QAAA,OAAO,IAAI;AACf,IAAA;AAEA;;;;QAKAI,mBAAAA,CAAoBJ,QAA6B,EAA4B;AACzE,QAAA,IAAI,CAAC,IAAI,CAACnC,OAAO,EAAE;YACfmC,QAAAA,CAAS,IAAI,CAACjC,iBAAiB,CAAA;AACnC,QAAA;AACA,QAAA,OAAO,IAAI;AACf,IAAA;AACJ;;"}
@@ -1,8 +1,8 @@
1
1
  import { Guid } from '@cratis/fundamentals';
2
- import { ValidationResult } from '../validation/ValidationResult';
3
- import { Command } from './Command';
4
- import { CommandResult } from './CommandResult';
5
- import { ICommandResult } from './ICommandResult';
2
+ import { ValidationResult } from '../validation/ValidationResult.js';
3
+ import { Command } from './Command.js';
4
+ import { CommandResult } from './CommandResult.js';
5
+ import { ICommandResult } from './ICommandResult.js';
6
6
  type GetSpecificState = (commandResult: CommandResult) => boolean;
7
7
  export declare class CommandResults implements ICommandResult {
8
8
  private readonly _commandResultsPerCommand;
@@ -1 +1 @@
1
- {"version":3,"file":"CommandResults.d.ts","sourceRoot":"","sources":["../../../commands/CommandResults.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAC5C,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAClE,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,KAAK,gBAAgB,GAAG,CAAC,aAAa,EAAE,aAAa,KAAK,OAAO,CAAC;AAGlE,qBAAa,cAAe,YAAW,cAAc;IACrC,OAAO,CAAC,QAAQ,CAAC,yBAAyB;IAAtD,YAA6B,yBAAyB,EAAE,GAAG,CAAC,OAAO,EAAE,aAAa,CAAC,EAClF;IAGD,QAAQ,CAAC,aAAa,EAAE,IAAI,CAAc;IAG1C,IAAI,SAAS,IAAI,OAAO,CAEvB;IAGD,IAAI,YAAY,IAAI,OAAO,CAE1B;IAGD,IAAI,OAAO,IAAI,OAAO,CAErB;IAGD,IAAI,aAAa,IAAI,OAAO,CAE3B;IAGD,IAAI,iBAAiB,IAAI,gBAAgB,EAAE,CAQ1C;IAGD,IAAI,iBAAiB,IAAI,MAAM,EAAE,CAQhC;IAGD,IAAI,0BAA0B,IAAI,MAAM,CAUvC;IAGD,IAAI,mBAAmB,IAAI,MAAM,CAShC;IAGD,UAAU,CAAC,QAAQ,EAAE,gBAAgB,WAOpC;IAED,SAAS,CAAC,QAAQ,EAAE,gBAAgB,WAOnC;CACJ"}
1
+ {"version":3,"file":"CommandResults.d.ts","sourceRoot":"","sources":["../../../commands/CommandResults.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAC5C,OAAO,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AACrE,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAErD,KAAK,gBAAgB,GAAG,CAAC,aAAa,EAAE,aAAa,KAAK,OAAO,CAAC;AAGlE,qBAAa,cAAe,YAAW,cAAc;IACrC,OAAO,CAAC,QAAQ,CAAC,yBAAyB;IAAtD,YAA6B,yBAAyB,EAAE,GAAG,CAAC,OAAO,EAAE,aAAa,CAAC,EAClF;IAGD,QAAQ,CAAC,aAAa,EAAE,IAAI,CAAc;IAG1C,IAAI,SAAS,IAAI,OAAO,CAEvB;IAGD,IAAI,YAAY,IAAI,OAAO,CAE1B;IAGD,IAAI,OAAO,IAAI,OAAO,CAErB;IAGD,IAAI,aAAa,IAAI,OAAO,CAE3B;IAGD,IAAI,iBAAiB,IAAI,gBAAgB,EAAE,CAQ1C;IAGD,IAAI,iBAAiB,IAAI,MAAM,EAAE,CAQhC;IAGD,IAAI,0BAA0B,IAAI,MAAM,CAUvC;IAGD,IAAI,mBAAmB,IAAI,MAAM,CAShC;IAGD,UAAU,CAAC,QAAQ,EAAE,gBAAgB,WAOpC;IAED,SAAS,CAAC,QAAQ,EAAE,gBAAgB,WAOnC;CACJ"}
@@ -1 +1 @@
1
- {"version":3,"file":"CommandResults.js","sources":["../../../commands/CommandResults.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 { Guid } from '@cratis/fundamentals';\nimport { ValidationResult } from '../validation/ValidationResult';\nimport { Command } from './Command';\nimport { CommandResult } from './CommandResult';\nimport { ICommandResult } from './ICommandResult';\n\ntype GetSpecificState = (commandResult: CommandResult) => boolean;\n\n\nexport class CommandResults implements ICommandResult {\n constructor(private readonly _commandResultsPerCommand: Map<Command, CommandResult>) {\n }\n\n /** @inheritdoc */\n readonly correlationId: Guid = Guid.empty;\n\n /** @inheritdoc */\n get isSuccess(): boolean {\n return this.isAnyFalse(_ => _.isSuccess);\n }\n\n /** @inheritdoc */\n get isAuthorized(): boolean {\n return this.isAnyFalse(_ => _.isAuthorized);\n }\n\n /** @inheritdoc */\n get isValid(): boolean {\n return this.isAnyFalse(_ => _.isValid);\n }\n\n /** @inheritdoc */\n get hasExceptions(): boolean {\n return this.isAnyTrue(_ => _.hasExceptions);\n }\n\n /** @inheritdoc */\n get validationResults(): ValidationResult[] {\n const errors: ValidationResult[] = [];\n\n for (const result of this._commandResultsPerCommand.values()) {\n result.validationResults.forEach(_ => errors.push(_));\n }\n\n return errors;\n }\n\n /** @inheritdoc */\n get exceptionMessages(): string[] {\n const messages: string[] = [];\n\n for (const result of this._commandResultsPerCommand.values()) {\n result.exceptionMessages.forEach(_ => messages.push(_));\n }\n\n return messages;\n }\n\n /** @inheritdoc */\n get authorizationFailureReason(): string {\n const reasons: string[] = [];\n\n for (const result of this._commandResultsPerCommand.values()) {\n if (result.authorizationFailureReason) {\n reasons.push(result.authorizationFailureReason);\n }\n }\n\n return reasons.join('; ');\n }\n\n /** @inheritdoc */\n get exceptionStackTrace(): string {\n let stackTraces = '';\n\n for (const result of this._commandResultsPerCommand.values()) {\n stackTraces = stackTraces + '\\n' + result.exceptionStackTrace;\n }\n\n return stackTraces;\n\n }\n\n\n isAnyFalse(callback: GetSpecificState) {\n for (const result of this._commandResultsPerCommand.values()) {\n if (!callback(result)) {\n return false;\n }\n }\n return true;\n }\n\n isAnyTrue(callback: GetSpecificState) {\n for (const result of this._commandResultsPerCommand.values()) {\n if (callback(result)) {\n return true;\n }\n }\n return false;\n }\n}\n"],"names":["CommandResults","_commandResultsPerCommand","correlationId","Guid","empty","isSuccess","isAnyFalse","_","isAuthorized","isValid","hasExceptions","isAnyTrue","validationResults","errors","result","values","forEach","push","exceptionMessages","messages","authorizationFailureReason","reasons","join","exceptionStackTrace","stackTraces","callback"],"mappings":";;AAAA;AACA;AAWO,MAAMA,cAAAA,CAAAA;;IACT,WAAA,CAA6BC,yBAAsD,CAAE;aAAxDA,yBAAAA,GAAAA,yBAAAA;AAC7B,IAAA;AAEA,uBACSC,aAAAA,GAAsBC,IAAAA,CAAKC,KAAK;uBAGzC,IAAIC,SAAAA,GAAqB;AACrB,QAAA,OAAO,IAAI,CAACC,UAAU,CAACC,CAAAA,CAAAA,GAAKA,EAAEF,SAAS,CAAA;AAC3C,IAAA;uBAGA,IAAIG,YAAAA,GAAwB;AACxB,QAAA,OAAO,IAAI,CAACF,UAAU,CAACC,CAAAA,CAAAA,GAAKA,EAAEC,YAAY,CAAA;AAC9C,IAAA;uBAGA,IAAIC,OAAAA,GAAmB;AACnB,QAAA,OAAO,IAAI,CAACH,UAAU,CAACC,CAAAA,CAAAA,GAAKA,EAAEE,OAAO,CAAA;AACzC,IAAA;uBAGA,IAAIC,aAAAA,GAAyB;AACzB,QAAA,OAAO,IAAI,CAACC,SAAS,CAACJ,CAAAA,CAAAA,GAAKA,EAAEG,aAAa,CAAA;AAC9C,IAAA;uBAGA,IAAIE,iBAAAA,GAAwC;AACxC,QAAA,MAAMC,SAA6B,EAAE;AAErC,QAAA,KAAK,MAAMC,MAAAA,IAAU,IAAI,CAACb,yBAAyB,CAACc,MAAM,EAAA,CAAI;YAC1DD,MAAAA,CAAOF,iBAAiB,CAACI,OAAO,CAACT,CAAAA,CAAAA,GAAKM,MAAAA,CAAOI,IAAI,CAACV,CAAAA,CAAAA,CAAAA;AACtD,QAAA;QAEA,OAAOM,MAAAA;AACX,IAAA;uBAGA,IAAIK,iBAAAA,GAA8B;AAC9B,QAAA,MAAMC,WAAqB,EAAE;AAE7B,QAAA,KAAK,MAAML,MAAAA,IAAU,IAAI,CAACb,yBAAyB,CAACc,MAAM,EA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,QAAA;QACA,OAAO,KAAA;AACX,IAAA;AACJ;;"}
1
+ {"version":3,"file":"CommandResults.js","sources":["../../../commands/CommandResults.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 { Guid } from '@cratis/fundamentals';\nimport { ValidationResult } from '../validation/ValidationResult.js';\nimport { Command } from './Command.js';\nimport { CommandResult } from './CommandResult.js';\nimport { ICommandResult } from './ICommandResult.js';\n\ntype GetSpecificState = (commandResult: CommandResult) => boolean;\n\n\nexport class CommandResults implements ICommandResult {\n constructor(private readonly _commandResultsPerCommand: Map<Command, CommandResult>) {\n }\n\n /** @inheritdoc */\n readonly correlationId: Guid = Guid.empty;\n\n /** @inheritdoc */\n get isSuccess(): boolean {\n return this.isAnyFalse(_ => _.isSuccess);\n }\n\n /** @inheritdoc */\n get isAuthorized(): boolean {\n return this.isAnyFalse(_ => _.isAuthorized);\n }\n\n /** @inheritdoc */\n get isValid(): boolean {\n return this.isAnyFalse(_ => _.isValid);\n }\n\n /** @inheritdoc */\n get hasExceptions(): boolean {\n return this.isAnyTrue(_ => _.hasExceptions);\n }\n\n /** @inheritdoc */\n get validationResults(): ValidationResult[] {\n const errors: ValidationResult[] = [];\n\n for (const result of this._commandResultsPerCommand.values()) {\n result.validationResults.forEach(_ => errors.push(_));\n }\n\n return errors;\n }\n\n /** @inheritdoc */\n get exceptionMessages(): string[] {\n const messages: string[] = [];\n\n for (const result of this._commandResultsPerCommand.values()) {\n result.exceptionMessages.forEach(_ => messages.push(_));\n }\n\n return messages;\n }\n\n /** @inheritdoc */\n get authorizationFailureReason(): string {\n const reasons: string[] = [];\n\n for (const result of this._commandResultsPerCommand.values()) {\n if (result.authorizationFailureReason) {\n reasons.push(result.authorizationFailureReason);\n }\n }\n\n return reasons.join('; ');\n }\n\n /** @inheritdoc */\n get exceptionStackTrace(): string {\n let stackTraces = '';\n\n for (const result of this._commandResultsPerCommand.values()) {\n stackTraces = stackTraces + '\\n' + result.exceptionStackTrace;\n }\n\n return stackTraces;\n\n }\n\n\n isAnyFalse(callback: GetSpecificState) {\n for (const result of this._commandResultsPerCommand.values()) {\n if (!callback(result)) {\n return false;\n }\n }\n return true;\n }\n\n isAnyTrue(callback: GetSpecificState) {\n for (const result of this._commandResultsPerCommand.values()) {\n if (callback(result)) {\n return true;\n }\n }\n return false;\n }\n}\n"],"names":["CommandResults","_commandResultsPerCommand","correlationId","Guid","empty","isSuccess","isAnyFalse","_","isAuthorized","isValid","hasExceptions","isAnyTrue","validationResults","errors","result","values","forEach","push","exceptionMessages","messages","authorizationFailureReason","reasons","join","exceptionStackTrace","stackTraces","callback"],"mappings":";;AAAA;AACA;AAWO,MAAMA,cAAAA,CAAAA;;IACT,WAAA,CAA6BC,yBAAsD,CAAE;aAAxDA,yBAAAA,GAAAA,yBAAAA;AAC7B,IAAA;AAEA,uBACSC,aAAAA,GAAsBC,IAAAA,CAAKC,KAAK;uBAGzC,IAAIC,SAAAA,GAAqB;AACrB,QAAA,OAAO,IAAI,CAACC,UAAU,CAACC,CAAAA,CAAAA,GAAKA,EAAEF,SAAS,CAAA;AAC3C,IAAA;uBAGA,IAAIG,YAAAA,GAAwB;AACxB,QAAA,OAAO,IAAI,CAACF,UAAU,CAACC,CAAAA,CAAAA,GAAKA,EAAEC,YAAY,CAAA;AAC9C,IAAA;uBAGA,IAAIC,OAAAA,GAAmB;AACnB,QAAA,OAAO,IAAI,CAACH,UAAU,CAACC,CAAAA,CAAAA,GAAKA,EAAEE,OAAO,CAAA;AACzC,IAAA;uBAGA,IAAIC,aAAAA,GAAyB;AACzB,QAAA,OAAO,IAAI,CAACC,SAAS,CAACJ,CAAAA,CAAAA,GAAKA,EAAEG,aAAa,CAAA;AAC9C,IAAA;uBAGA,IAAIE,iBAAAA,GAAwC;AACxC,QAAA,MAAMC,SAA6B,EAAE;AAErC,QAAA,KAAK,MAAMC,MAAAA,IAAU,IAAI,CAACb,yBAAyB,CAACc,MAAM,EA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CAACU,SAASX,MAAAA,CAAAA,EAAS;gBACnB,OAAO,KAAA;AACX,YAAA;AACJ,QAAA;QACA,OAAO,IAAA;AACX,IAAA;AAEAH,IAAAA,SAAAA,CAAUc,QAA0B,EAAE;AAClC,QAAA,KAAK,MAAMX,MAAAA,IAAU,IAAI,CAACb,yBAAyB,CAACc,MAAM,EAAA,CAAI;AAC1D,YAAA,IAAIU,SAASX,MAAAA,CAAAA,EAAS;gBAClB,OAAO,IAAA;AACX,YAAA;AACJ,QAAA;QACA,OAAO,KAAA;AACX,IAAA;AACJ;;"}
@@ -1,5 +1,5 @@
1
- import { Validator } from '../validation/Validator';
2
- import { ValidationResult } from '../validation/ValidationResult';
1
+ import { Validator } from '../validation/Validator.js';
2
+ import { ValidationResult } from '../validation/ValidationResult.js';
3
3
  export declare abstract class CommandValidator<T = object> extends Validator<T> {
4
4
  validate(command: T): ValidationResult[];
5
5
  }
@@ -1 +1 @@
1
- {"version":3,"file":"CommandValidator.d.ts","sourceRoot":"","sources":["../../../commands/CommandValidator.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AACpD,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAKlE,8BAAsB,gBAAgB,CAAC,CAAC,GAAG,MAAM,CAAE,SAAQ,SAAS,CAAC,CAAC,CAAC;IAMnE,QAAQ,CAAC,OAAO,EAAE,CAAC,GAAG,gBAAgB,EAAE,CAEvC;CACJ"}
1
+ {"version":3,"file":"CommandValidator.d.ts","sourceRoot":"","sources":["../../../commands/CommandValidator.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AACvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AAKrE,8BAAsB,gBAAgB,CAAC,CAAC,GAAG,MAAM,CAAE,SAAQ,SAAS,CAAC,CAAC,CAAC;IAMnE,QAAQ,CAAC,OAAO,EAAE,CAAC,GAAG,gBAAgB,EAAE,CAEvC;CACJ"}
@@ -1 +1 @@
1
- {"version":3,"file":"CommandValidator.js","sources":["../../../commands/CommandValidator.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { Validator } from '../validation/Validator';\nimport { ValidationResult } from '../validation/ValidationResult';\n\n/**\n * Represents the command validator\n */\nexport abstract class CommandValidator<T = object> extends Validator<T> {\n /**\n * Validate the command.\n * @param command The command to validate.\n * @returns An array of validation results, empty if valid.\n */\n validate(command: T): ValidationResult[] {\n return super.validate(command);\n }\n}\n"],"names":["CommandValidator","Validator","validate","command"],"mappings":";;AAAA;AACA;AAKA;;IAGO,MAAeA,gBAAAA,SAAqCC,SAAAA,CAAAA;AACvD;;;;QAKAC,QAAAA,CAASC,OAAU,EAAsB;QACrC,OAAO,KAAK,CAACD,QAAAA,CAASC,OAAAA,CAAAA;AAC1B,IAAA;AACJ;;"}
1
+ {"version":3,"file":"CommandValidator.js","sources":["../../../commands/CommandValidator.ts"],"sourcesContent":["// Copyright (c) Cratis. All rights reserved.\n// Licensed under the MIT license. See LICENSE file in the project root for full license information.\n\nimport { Validator } from '../validation/Validator.js';\nimport { ValidationResult } from '../validation/ValidationResult.js';\n\n/**\n * Represents the command validator\n */\nexport abstract class CommandValidator<T = object> extends Validator<T> {\n /**\n * Validate the command.\n * @param command The command to validate.\n * @returns An array of validation results, empty if valid.\n */\n validate(command: T): ValidationResult[] {\n return super.validate(command);\n }\n}\n"],"names":["CommandValidator","Validator","validate","command"],"mappings":";;AAAA;AACA;AAKA;;IAGO,MAAeA,gBAAAA,SAAqCC,SAAAA,CAAAA;AACvD;;;;QAKAC,QAAAA,CAASC,OAAU,EAAsB;QACrC,OAAO,KAAK,CAACD,QAAAA,CAASC,OAAAA,CAAAA;AAC1B,IAAA;AACJ;;"}
@@ -1,7 +1,7 @@
1
- import { ICanBeConfigured } from '../ICanBeConfigured';
2
- import { CommandResult } from './CommandResult';
3
- import { PropertyDescriptor } from '../reflection/PropertyDescriptor';
4
- import { ValidationResultSeverity } from '../validation/ValidationResultSeverity';
1
+ import { ICanBeConfigured } from '../ICanBeConfigured.js';
2
+ import { CommandResult } from './CommandResult.js';
3
+ import { PropertyDescriptor } from '../reflection/PropertyDescriptor.js';
4
+ import { ValidationResultSeverity } from '../validation/ValidationResultSeverity.js';
5
5
  export type PropertyChanged = (property: string) => void;
6
6
  export interface ICommand<TCommandContent = object, TCommandResponse = object> extends ICanBeConfigured {
7
7
  readonly route: string;
@@ -1 +1 @@
1
- {"version":3,"file":"ICommand.d.ts","sourceRoot":"","sources":["../../../commands/ICommand.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,wBAAwB,EAAE,MAAM,wCAAwC,CAAC;AAKlF,MAAM,MAAM,eAAe,GAAG,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;AAKzD,MAAM,WAAW,QAAQ,CAAC,eAAe,GAAG,MAAM,EAAE,gBAAgB,GAAG,MAAM,CAAE,SAAQ,gBAAgB;IAInG,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IAKvB,QAAQ,CAAC,KAAK,EAAE,MAAM,EAAE,CAAC;IAKzB,QAAQ,CAAC,mBAAmB,EAAE,kBAAkB,EAAE,CAAC;IAQnD,OAAO,CAAC,eAAe,CAAC,EAAE,wBAAwB,EAAE,cAAc,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,aAAa,CAAC,gBAAgB,CAAC,CAAC,CAAC;IASxH,QAAQ,IAAI,OAAO,CAAC,aAAa,CAAC,gBAAgB,CAAC,CAAC,CAAC;IAUrD,kBAAkB,IAAI,aAAa,CAAC,gBAAgB,CAAC,CAAC;IAMtD,KAAK,IA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gBAAgB,CAAC,MAAM,EAAE,eAAe,GAAG,IAAI,CAAC;IAKhD,iCAAiC,IAAI,IAAI,CAAC;IAK1C,aAAa,IAAI,IAAI,CAAC;IAKtB,QAAQ,CAAC,UAAU,EAAE,OAAO,CAAC;IAM7B,eAAe,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IAOxC,iBAAiB,CAAC,QAAQ,EAAE,eAAe,EAAE,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;CACvE"}
@@ -1,5 +1,5 @@
1
1
  import { Guid } from '@cratis/fundamentals';
2
- import { ValidationResult } from '../validation/ValidationResult';
2
+ import { ValidationResult } from '../validation/ValidationResult.js';
3
3
  export interface ICommandResult<TResponse = object> {
4
4
  readonly correlationId: Guid;
5
5
  readonly isSuccess: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"ICommandResult.d.ts","sourceRoot":"","sources":["../../../commands/ICommandResult.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAC5C,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAKjE,MAAM,WAAW,cAAc,CAAC,SAAS,GAAG,MAAM;IAI9C,QAAQ,CAAC,aAAa,EAAE,IAAI,CAAC;IAK7B,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC;IAK5B,QAAQ,CAAC,YAAY,EAAE,OAAO,CAAC;IAK/B,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAK1B,QAAQ,CAAC,aAAa,EAAE,OAAO,CAAC;IAKhC,QAAQ,CAAC,iBAAiB,EAAE,gBAAgB,EAAE,CAAC;IAK/C,QAAQ,CAAC,iBAAiB,EAAE,MAAM,EAAE,CAAC;IAKrC,QAAQ,CAAC,0BAA0B,EAAE,MAAM,CAAC;IAK5C,QAAQ,CAAC,mBAAmB,EAAE,MAAM,CAAC;IAKrC,QAAQ,CAAC,QAAQ,CAAC,EAAE,SAAS,CAAC;CAClC"}
1
+ {"version":3,"file":"ICommandResult.d.ts","sourceRoot":"","sources":["../../../commands/ICommandResult.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAC;AAC5C,OAAO,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AAKpE,MAAM,WAAW,cAAc,CAAC,SAAS,GAAG,MAAM;IAI9C,QAAQ,CAAC,aAAa,EAAE,IAAI,CAAC;IAK7B,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC;IAK5B,QAAQ,CAAC,YAAY,EAAE,OAAO,CAAC;IAK/B,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAK1B,QAAQ,CAAC,aAAa,EAAE,OAAO,CAAC;IAKhC,QAAQ,CAAC,iBAAiB,EAAE,gBAAgB,EAAE,CAAC;IAK/C,QAAQ,CAAC,iBAAiB,EAAE,MAAM,EAAE,CAAC;IAKrC,QAAQ,CAAC,0BAA0B,EAAE,MAAM,CAAC;IAK5C,QAAQ,CAAC,mBAAmB,EAAE,MAAM,CAAC;IAKrC,QAAQ,CAAC,QAAQ,CAAC,EAAE,SAAS,CAAC;CAClC"}
@@ -1,5 +1,5 @@
1
- import { Command } from '../Command';
2
- import { PropertyDescriptor } from '../../reflection/PropertyDescriptor';
1
+ import { Command } from '../Command.js';
2
+ import { PropertyDescriptor } from '../../reflection/PropertyDescriptor.js';
3
3
  export interface ICommandWithRouteParams {
4
4
  id: string;
5
5
  name: string;
@@ -1 +1 @@
1
- {"version":3,"file":"CommandWithRouteParams.d.ts","sourceRoot":"","sources":["../../../../commands/for_Command/CommandWithRouteParams.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAEzE,MAAM,WAAW,uBAAuB;IACpC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;CAChB;AAED,qBAAa,sBAAuB,SAAQ,OAAO,CAAC,uBAAuB,CAAE,YAAW,uBAAuB;IAC3G,KAAK,SAAqB;IAC1B,mBAAmB,EAAE,kBAAkB,EAAE,CAGvC;IAEF,cAEC;IAED,IAAI,iBAAiB,IAAI,MAAM,EAAE,CAEhC;IACD,IAAI,UAAU,IAAI,MAAM,EAAE,CAEzB;IAED,EAAE,EAAG,MAAM,CAAC;IACZ,IAAI,EAAG,MAAM,CAAC;CACjB"}
1
+ {"version":3,"file":"CommandWithRouteParams.d.ts","sourceRoot":"","sources":["../../../../commands/for_Command/CommandWithRouteParams.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAE5E,MAAM,WAAW,uBAAuB;IACpC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;CAChB;AAED,qBAAa,sBAAuB,SAAQ,OAAO,CAAC,uBAAuB,CAAE,YAAW,uBAAuB;IAC3G,KAAK,SAAqB;IAC1B,mBAAmB,EAAE,kBAAkB,EAAE,CAGvC;IAEF,cAEC;IAED,IAAI,iBAAiB,IAAI,MAAM,EAAE,CAEhC;IACD,IAAI,UAAU,IAAI,MAAM,EAAE,CAEzB;IAED,EAAE,EAAG,MAAM,CAAC;IACZ,IAAI,EAAG,MAAM,CAAC;CACjB"}
@@ -1,5 +1,5 @@
1
- import { Command } from '../Command';
2
- import { PropertyDescriptor } from '../../reflection/PropertyDescriptor';
1
+ import { Command } from '../Command.js';
2
+ import { PropertyDescriptor } from '../../reflection/PropertyDescriptor.js';
3
3
  export class CommandWithRouteParams extends Command {
4
4
  route = '/api/items/{id}';
5
5
  propertyDescriptors = [
@@ -1 +1 @@
1
- {"version":3,"file":"CommandWithRouteParams.js","sourceRoot":"","sources":["../../../../commands/for_Command/CommandWithRouteParams.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAOzE,MAAM,OAAO,sBAAuB,SAAQ,OAAgC;IACxE,KAAK,GAAG,iBAAiB,CAAC;IAC1B,mBAAmB,GAAyB;QACxC,IAAI,kBAAkB,CAAC,IAAI,EAAE,MAAM,CAAC;QACpC,IAAI,kBAAkB,CAAC,MAAM,EAAE,MAAM,CAAC;KACzC,CAAC;IAEF;QACI,KAAK,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;IACzB,CAAC;IAED,IAAI,iBAAiB;QACjB,OAAO,CAAC,IAAI,CAAC,CAAC;IAClB,CAAC;IACD,IAAI,UAAU;QACV,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;IAC1B,CAAC;IAED,EAAE,CAAU;IACZ,IAAI,CAAU;CACjB"}
1
+ {"version":3,"file":"CommandWithRouteParams.js","sourceRoot":"","sources":["../../../../commands/for_Command/CommandWithRouteParams.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAO5E,MAAM,OAAO,sBAAuB,SAAQ,OAAgC;IACxE,KAAK,GAAG,iBAAiB,CAAC;IAC1B,mBAAmB,GAAyB;QACxC,IAAI,kBAAkB,CAAC,IAAI,EAAE,MAAM,CAAC;QACpC,IAAI,kBAAkB,CAAC,MAAM,EAAE,MAAM,CAAC;KACzC,CAAC;IAEF;QACI,KAAK,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;IACzB,CAAC;IAED,IAAI,iBAAiB;QACjB,OAAO,CAAC,IAAI,CAAC,CAAC;IAClB,CAAC;IACD,IAAI,UAAU;QACV,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;IAC1B,CAAC;IAED,EAAE,CAAU;IACZ,IAAI,CAAU;CACjB"}
@@ -1,5 +1,5 @@
1
- import { Command } from '../Command';
2
- import { PropertyDescriptor } from '../../reflection/PropertyDescriptor';
1
+ import { Command } from '../Command.js';
2
+ import { PropertyDescriptor } from '../../reflection/PropertyDescriptor.js';
3
3
  export interface ISomeCommand {
4
4
  someProperty: string;
5
5
  }
@@ -1 +1 @@
1
- {"version":3,"file":"SomeCommand.d.ts","sourceRoot":"","sources":["../../../../commands/for_Command/SomeCommand.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAEzE,MAAM,WAAW,YAAY;IACzB,YAAY,EAAE,MAAM,CAAC;CACxB;AAED,qBAAa,WAAY,SAAQ,OAAO,CAAC,YAAY,CAAE,YAAW,YAAY;IAC1E,KAAK,SAAM;IACX,mBAAmB,EAAE,kBAAkB,EAAE,CAEvC;IAEF,cAEC;IAED,IAAI,iBAAiB,IAAI,MAAM,EAAE,CAEhC;IACD,IAAI,UAAU,IAAI,MAAM,EAAE,CAIzB;IAED,YAAY,EAAG,MAAM,CAAC;CACzB"}
1
+ {"version":3,"file":"SomeCommand.d.ts","sourceRoot":"","sources":["../../../../commands/for_Command/SomeCommand.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAE5E,MAAM,WAAW,YAAY;IACzB,YAAY,EAAE,MAAM,CAAC;CACxB;AAED,qBAAa,WAAY,SAAQ,OAAO,CAAC,YAAY,CAAE,YAAW,YAAY;IAC1E,KAAK,SAAM;IACX,mBAAmB,EAAE,kBAAkB,EAAE,CAEvC;IAEF,cAEC;IAED,IAAI,iBAAiB,IAAI,MAAM,EAAE,CAEhC;IACD,IAAI,UAAU,IAAI,MAAM,EAAE,CAIzB;IAED,YAAY,EAAG,MAAM,CAAC;CACzB"}
@@ -1,5 +1,5 @@
1
- import { Command } from '../Command';
2
- import { PropertyDescriptor } from '../../reflection/PropertyDescriptor';
1
+ import { Command } from '../Command.js';
2
+ import { PropertyDescriptor } from '../../reflection/PropertyDescriptor.js';
3
3
  export class SomeCommand extends Command {
4
4
  route = '';
5
5
  propertyDescriptors = [
@@ -1 +1 @@
1
- {"version":3,"file":"SomeCommand.js","sourceRoot":"","sources":["../../../../commands/for_Command/SomeCommand.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAMzE,MAAM,OAAO,WAAY,SAAQ,OAAqB;IAClD,KAAK,GAAG,EAAE,CAAC;IACX,mBAAmB,GAAyB;QACxC,IAAI,kBAAkB,CAAC,cAAc,EAAE,MAAM,CAAC;KACjD,CAAC;IAEF;QACI,KAAK,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;IACzB,CAAC;IAED,IAAI,iBAAiB;QACjB,OAAO,EAAE,CAAC;IACd,CAAC;IACD,IAAI,UAAU;QACV,OAAO;YACH,cAAc;SACjB,CAAC;IACN,CAAC;IAED,YAAY,CAAU;CACzB"}
1
+ {"version":3,"file":"SomeCommand.js","sourceRoot":"","sources":["../../../../commands/for_Command/SomeCommand.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAM5E,MAAM,OAAO,WAAY,SAAQ,OAAqB;IAClD,KAAK,GAAG,EAAE,CAAC;IACX,mBAAmB,GAAyB;QACxC,IAAI,kBAAkB,CAAC,cAAc,EAAE,MAAM,CAAC;KACjD,CAAC;IAEF;QACI,KAAK,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;IACzB,CAAC;IAED,IAAI,iBAAiB;QACjB,OAAO,EAAE,CAAC;IACd,CAAC;IACD,IAAI,UAAU;QACV,OAAO;YACH,cAAc;SACjB,CAAC;IACN,CAAC;IAED,YAAY,CAAU;CACzB"}
@@ -1,5 +1,5 @@
1
1
  import sinon from 'sinon';
2
- import { SomeCommand } from '../SomeCommand';
2
+ import { SomeCommand } from '../SomeCommand.js';
3
3
  export declare class a_command {
4
4
  command: SomeCommand;
5
5
  fetchStub: sinon.SinonStub;
@@ -1 +1 @@
1
- {"version":3,"file":"a_command.d.ts","sourceRoot":"","sources":["../../../../../commands/for_Command/given/a_command.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAG7C,qBAAa,SAAS;IAClB,OAAO,EAAE,WAAW,CAAC;IACrB,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,WAAW,EAAE;QAAE,SAAS,EAAE,MAAM,KAAK,CAAC,SAAS,CAAC;QAAC,OAAO,EAAE,MAAM,IAAI,CAAA;KAAE,CAAC;IAEvE,cASC;CACJ"}
1
+ {"version":3,"file":"a_command.d.ts","sourceRoot":"","sources":["../../../../../commands/for_Command/given/a_command.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAGhD,qBAAa,SAAS;IAClB,OAAO,EAAE,WAAW,CAAC;IACrB,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,WAAW,EAAE;QAAE,SAAS,EAAE,MAAM,KAAK,CAAC,SAAS,CAAC;QAAC,OAAO,EAAE,MAAM,IAAI,CAAA;KAAE,CAAC;IAEvE,cASC;CACJ"}
@@ -1,5 +1,5 @@
1
- import { SomeCommand } from '../SomeCommand';
2
- import { createFetchHelper } from '../../../helpers/fetchHelper';
1
+ import { SomeCommand } from '../SomeCommand.js';
2
+ import { createFetchHelper } from '../../../helpers/fetchHelper.js';
3
3
  export class a_command {
4
4
  command;
5
5
  fetchStub;
@@ -1 +1 @@
1
- {"version":3,"file":"a_command.js","sourceRoot":"","sources":["../../../../../commands/for_Command/given/a_command.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAEjE,MAAM,OAAO,SAAS;IAClB,OAAO,CAAc;IACrB,SAAS,CAAkB;IAC3B,WAAW,CAA4D;IAEvE;QACI,IAAI,CAAC,OAAO,GAAG,IAAI,WAAW,EAAE,CAAC;QACjC,IAAI,CAAC,OAAO,CAAC,KAAK,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,kBAAkB,CAAC,CAAC;QAC3C,IAAI,CAAC,OAAO,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC;QACpC,IAAI,CAAC,OAAO,CAAC,YAAY,GAAG,YAAY,CAAC;QAEzC,IAAI,CAAC,WAAW,GAAG,iBAAiB,EAAE,CAAC;QACvC,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,WAAW,CAAC,SAAS,EAAE,CAAC;IAClD,CAAC;CACJ"}
1
+ {"version":3,"file":"a_command.js","sourceRoot":"","sources":["../../../../../commands/for_Command/given/a_command.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AAEpE,MAAM,OAAO,SAAS;IAClB,OAAO,CAAc;IACrB,SAAS,CAAkB;IAC3B,WAAW,CAA4D;IAEvE;QACI,IAAI,CAAC,OAAO,GAAG,IAAI,WAAW,EAAE,CAAC;QACjC,IAAI,CAAC,OAAO,CAAC,KAAK,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,kBAAkB,CAAC,CAAC;QAC3C,IAAI,CAAC,OAAO,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC;QACpC,IAAI,CAAC,OAAO,CAAC,YAAY,GAAG,YAAY,CAAC;QAEzC,IAAI,CAAC,WAAW,GAAG,iBAAiB,EAAE,CAAC;QACvC,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,WAAW,CAAC,SAAS,EAAE,CAAC;IAClD,CAAC;CACJ"}
@@ -1,8 +1,8 @@
1
- import { Command } from '../../Command';
2
- import { CommandValidator } from '../../CommandValidator';
3
- import { PropertyDescriptor } from '../../../reflection/PropertyDescriptor';
1
+ import { Command } from '../../Command.js';
2
+ import { CommandValidator } from '../../CommandValidator.js';
3
+ import { PropertyDescriptor } from '../../../reflection/PropertyDescriptor.js';
4
4
  import sinon from 'sinon';
5
- import '../../../validation/RuleBuilderExtensions';
5
+ import '../../../validation/RuleBuilderExtensions.js';
6
6
  interface ITestCommand {
7
7
  email: string;
8
8
  age: number;
@@ -1 +1 @@
1
- {"version":3,"file":"a_command_with_validator.d.ts","sourceRoot":"","sources":["../../../../../commands/for_Command/given/a_command_with_validator.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,kBAAkB,EAAE,MAAM,wCAAwC,CAAC;AAE5E,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,2CAA2C,CAAC;AAEnD,UAAU,YAAY;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;CACf;AAED,cAAM,oBAAqB,SAAQ,gBAAgB,CAAC,YAAY,CAAC;IAC7D,cAIC;CACJ;AAED,cAAM,WAAY,SAAQ,OAAO,CAAC,YAAY,CAAC;IAC3C,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAuB;IAC7C,QAAQ,CAAC,UAAU,uBAA8B;IACjD,QAAQ,CAAC,mBAAmB,EAAE,kBAAkB,EAAE,CAAM;IAExD,KAAK,EAAE,MAAM,CAAM;IACnB,GAAG,EAAE,MAAM,CAAK;IAEhB,cAEC;IAED,IAAI,iBAAiB,IAAI,MAAM,EAAE,CAEhC;IAED,IAAI,UAAU,IAAI,MAAM,EAAE,CAEzB;CACJ;AAED,qBAAa,wBAAwB;IACjC,OAAO,EAAE,WAAW,CAAC;IACrB,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,WAAW,EAAE;QAAE,SAAS,EAAE,MAAM,KAAK,CAAC,SAAS,CAAC;QAAC,OAAO,EAAE,MAAM,IAAI,CAAA;KAAE,CAAC;IAEvE,cAIC;CACJ"}
1
+ {"version":3,"file":"a_command_with_validator.d.ts","sourceRoot":"","sources":["../../../../../commands/for_Command/given/a_command_with_validator.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAC3C,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAAE,kBAAkB,EAAE,MAAM,2CAA2C,CAAC;AAE/E,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,8CAA8C,CAAC;AAEtD,UAAU,YAAY;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;CACf;AAED,cAAM,oBAAqB,SAAQ,gBAAgB,CAAC,YAAY,CAAC;IAC7D,cAIC;CACJ;AAED,cAAM,WAAY,SAAQ,OAAO,CAAC,YAAY,CAAC;IAC3C,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAuB;IAC7C,QAAQ,CAAC,UAAU,uBAA8B;IACjD,QAAQ,CAAC,mBAAmB,EAAE,kBAAkB,EAAE,CAAM;IAExD,KAAK,EAAE,MAAM,CAAM;IACnB,GAAG,EAAE,MAAM,CAAK;IAEhB,cAEC;IAED,IAAI,iBAAiB,IAAI,MAAM,EAAE,CAEhC;IAED,IAAI,UAAU,IAAI,MAAM,EAAE,CAEzB;CACJ;AAED,qBAAa,wBAAwB;IACjC,OAAO,EAAE,WAAW,CAAC;IACrB,SAAS,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,WAAW,EAAE;QAAE,SAAS,EAAE,MAAM,KAAK,CAAC,SAAS,CAAC;QAAC,OAAO,EAAE,MAAM,IAAI,CAAA;KAAE,CAAC;IAEvE,cAIC;CACJ"}
@@ -1,7 +1,7 @@
1
- import { Command } from '../../Command';
2
- import { CommandValidator } from '../../CommandValidator';
3
- import { createFetchHelper } from '../../../helpers/fetchHelper';
4
- import '../../../validation/RuleBuilderExtensions';
1
+ import { Command } from '../../Command.js';
2
+ import { CommandValidator } from '../../CommandValidator.js';
3
+ import { createFetchHelper } from '../../../helpers/fetchHelper.js';
4
+ import '../../../validation/RuleBuilderExtensions.js';
5
5
  class TestCommandValidator extends CommandValidator {
6
6
  constructor() {
7
7
  super();
@@ -1 +1 @@
1
- {"version":3,"file":"a_command_with_validator.js","sourceRoot":"","sources":["../../../../../commands/for_Command/given/a_command_with_validator.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAE1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAEjE,OAAO,2CAA2C,CAAC;AAOnD,MAAM,oBAAqB,SAAQ,gBAA8B;IAC7D;QACI,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,QAAQ,EAAE,CAAC,WAAW,CAAC,mBAAmB,CAAC,CAAC;QACvE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,kBAAkB,CAAC,EAAE,CAAC,CAAC,WAAW,CAAC,+BAA+B,CAAC,CAAC;IACjG,CAAC;CACJ;AAED,MAAM,WAAY,SAAQ,OAAqB;IAClC,KAAK,GAAW,mBAAmB,CAAC;IACpC,UAAU,GAAG,IAAI,oBAAoB,EAAE,CAAC;IACxC,mBAAmB,GAAyB,EAAE,CAAC;IAExD,KAAK,GAAW,EAAE,CAAC;IACnB,GAAG,GAAW,CAAC,CAAC;IAEhB;QACI,KAAK,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;IACzB,CAAC;IAED,IAAI,iBAAiB;QACjB,OAAO,EAAE,CAAC;IACd,CAAC;IAED,IAAI,UAAU;QACV,OAAO,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACJ;AAED,MAAM,OAAO,wBAAwB;IACjC,OAAO,CAAc;IACrB,SAAS,CAAkB;IAC3B,WAAW,CAA4D;IAEvE;QACI,IAAI,CAAC,OAAO,GAAG,IAAI,WAAW,EAAE,CAAC;QACjC,IAAI,CAAC,WAAW,GAAG,iBAAiB,EAAE,CAAC;QACvC,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,WAAW,CAAC,SAAS,EAAE,CAAC;IAClD,CAAC;CACJ"}
1
+ {"version":3,"file":"a_command_with_validator.js","sourceRoot":"","sources":["../../../../../commands/for_Command/given/a_command_with_validator.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAC3C,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAE7D,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AAEpE,OAAO,8CAA8C,CAAC;AAOtD,MAAM,oBAAqB,SAAQ,gBAA8B;IAC7D;QACI,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,QAAQ,EAAE,CAAC,WAAW,CAAC,mBAAmB,CAAC,CAAC;QACvE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,kBAAkB,CAAC,EAAE,CAAC,CAAC,WAAW,CAAC,+BAA+B,CAAC,CAAC;IACjG,CAAC;CACJ;AAED,MAAM,WAAY,SAAQ,OAAqB;IAClC,KAAK,GAAW,mBAAmB,CAAC;IACpC,UAAU,GAAG,IAAI,oBAAoB,EAAE,CAAC;IACxC,mBAAmB,GAAyB,EAAE,CAAC;IAExD,KAAK,GAAW,EAAE,CAAC;IACnB,GAAG,GAAW,CAAC,CAAC;IAEhB;QACI,KAAK,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;IACzB,CAAC;IAED,IAAI,iBAAiB;QACjB,OAAO,EAAE,CAAC;IACd,CAAC;IAED,IAAI,UAAU;QACV,OAAO,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACJ;AAED,MAAM,OAAO,wBAAwB;IACjC,OAAO,CAAc;IACrB,SAAS,CAAkB;IAC3B,WAAW,CAA4D;IAEvE;QACI,IAAI,CAAC,OAAO,GAAG,IAAI,WAAW,EAAE,CAAC;QACjC,IAAI,CAAC,WAAW,GAAG,iBAAiB,EAAE,CAAC;QACvC,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,WAAW,CAAC,SAAS,EAAE,CAAC;IAClD,CAAC;CACJ"}
@@ -1,4 +1,4 @@
1
- import { SomeCommand } from './SomeCommand';
1
+ import { SomeCommand } from './SomeCommand.js';
2
2
  describe('when clearing the command', () => {
3
3
  const command = new SomeCommand();
4
4
  command.setInitialValues({
@@ -1 +1 @@
1
- {"version":3,"file":"when_clearing_the_command.js","sourceRoot":"","sources":["../../../../commands/for_Command/when_clearing_the_command.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,QAAQ,CAAC,2BAA2B,EAAE,GAAG,EAAE;IACvC,MAAM,OAAO,GAAG,IAAI,WAAW,EAAE,CAAC;IAClC,OAAO,CAAC,gBAAgB,CAAC;QACrB,YAAY,EAAE,EAAE;KACnB,CAAC,CAAC;IACH,OAAO,CAAC,YAAY,GAAG,IAAI,CAAC;IAC5B,OAAO,CAAC,eAAe,CAAC,cAAc,CAAC,CAAC;IACxC,OAAO,CAAC,KAAK,EAAE,CAAC;IAEhB,EAAE,CAAC,6BAA6B,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,UAAU,CAAC,MAAM,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC;IAC5E,EAAE,CAAC,2BAA2B,EAAE,GAAG,EAAE,CAAC,CAAC,OAAO,CAAC,YAAY,KAAK,SAAS,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC;AAC/F,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"when_clearing_the_command.js","sourceRoot":"","sources":["../../../../commands/for_Command/when_clearing_the_command.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C,QAAQ,CAAC,2BAA2B,EAAE,GAAG,EAAE;IACvC,MAAM,OAAO,GAAG,IAAI,WAAW,EAAE,CAAC;IAClC,OAAO,CAAC,gBAAgB,CAAC;QACrB,YAAY,EAAE,EAAE;KACnB,CAAC,CAAC;IACH,OAAO,CAAC,YAAY,GAAG,IAAI,CAAC;IAC5B,OAAO,CAAC,eAAe,CAAC,cAAc,CAAC,CAAC;IACxC,OAAO,CAAC,KAAK,EAAE,CAAC;IAEhB,EAAE,CAAC,6BAA6B,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,UAAU,CAAC,MAAM,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC;IAC5E,EAAE,CAAC,2BAA2B,EAAE,GAAG,EAAE,CAAC,CAAC,OAAO,CAAC,YAAY,KAAK,SAAS,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC;AAC/F,CAAC,CAAC,CAAC"}
@@ -1,7 +1,7 @@
1
- import { a_command } from './given/a_command';
2
- import { given } from '../../given';
3
- import { Globals } from '../../Globals';
4
- import { SomeCommand } from './SomeCommand';
1
+ import { a_command } from './given/a_command.js';
2
+ import { given } from '../../given.js';
3
+ import { Globals } from '../../Globals.js';
4
+ import { SomeCommand } from './SomeCommand.js';
5
5
  describe('when constructing command', given(a_command, () => {
6
6
  let originalMicroservice;
7
7
  let originalApiBasePath;
@@ -1 +1 @@
1
- {"version":3,"file":"when_constructing_command.js","sourceRoot":"","sources":["../../../../commands/for_Command/when_constructing_command.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,QAAQ,CAAC,2BAA2B,EAAE,KAAK,CAAC,SAAS,EAAE,GAAG,EAAE;IACxD,IAAI,oBAAwC,CAAC;IAC7C,IAAI,mBAAuC,CAAC;IAC5C,IAAI,cAAkC,CAAC;IACvC,IAAI,OAAoB,CAAC;IAEzB,UAAU,CAAC,GAAG,EAAE;QACZ,oBAAoB,GAAG,OAAO,CAAC,YAAY,CAAC;QAC5C,mBAAmB,GAAG,OAAO,CAAC,WAAW,CAAC;QAC1C,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC;QAChC,OAAO,CAAC,YAAY,GAAG,mBAAmB,CAAC;QAC3C,OAAO,CAAC,WAAW,GAAG,WAAW,CAAC;QAClC,OAAO,CAAC,MAAM,GAAG,oBAAoB,CAAC;QACtC,OAAO,GAAG,IAAI,WAAW,EAAE,CAAC;IAChC,CAAC,CAAC,CAAC;IAEH,SAAS,CAAC,GAAG,EAAE;QACX,IAAI,oBAAoB,KAAK,SAAS,EAAE,CAAC;YACrC,OAAO,CAAC,YAAY,GAAG,oBAAoB,CAAC;QAChD,CAAC;QACD,IAAI,mBAAmB,KAAK,SAAS,EAAE,CAAC;YACpC,OAAO,CAAC,WAAW,GAAG,mBAAmB,CAAC;QAC9C,CAAC;QACD,IAAI,cAAc,KAAK,SAAS,EAAE,CAAC;YAC/B,OAAO,CAAC,MAAM,GAAG,cAAc,CAAC;QACpC,CAAC;IACL,CAAC,CAAC,CAAC;IAGH,EAAE,CAAC,6CAA6C,EAAE,GAAG,EAAE,CAAE,OAAe,CAAC,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC,CAAC;IAE1H,EAAE,CAAC,8CAA8C,EAAE,GAAG,EAAE,CAAE,OAAe,CAAC,YAAY,CAAC,MAAM,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC;IAElH,EAAE,CAAC,uCAAuC,EAAE,GAAG,EAAE,CAAE,OAAe,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,CAAC;AACnH,CAAC,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"when_constructing_command.js","sourceRoot":"","sources":["../../../../commands/for_Command/when_constructing_command.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACjD,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AACvC,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C,QAAQ,CAAC,2BAA2B,EAAE,KAAK,CAAC,SAAS,EAAE,GAAG,EAAE;IACxD,IAAI,oBAAwC,CAAC;IAC7C,IAAI,mBAAuC,CAAC;IAC5C,IAAI,cAAkC,CAAC;IACvC,IAAI,OAAoB,CAAC;IAEzB,UAAU,CAAC,GAAG,EAAE;QACZ,oBAAoB,GAAG,OAAO,CAAC,YAAY,CAAC;QAC5C,mBAAmB,GAAG,OAAO,CAAC,WAAW,CAAC;QAC1C,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC;QAChC,OAAO,CAAC,YAAY,GAAG,mBAAmB,CAAC;QAC3C,OAAO,CAAC,WAAW,GAAG,WAAW,CAAC;QAClC,OAAO,CAAC,MAAM,GAAG,oBAAoB,CAAC;QACtC,OAAO,GAAG,IAAI,WAAW,EAAE,CAAC;IAChC,CAAC,CAAC,CAAC;IAEH,SAAS,CAAC,GAAG,EAAE;QACX,IAAI,oBAAoB,KAAK,SAAS,EAAE,CAAC;YACrC,OAAO,CAAC,YAAY,GAAG,oBAAoB,CAAC;QAChD,CAAC;QACD,IAAI,mBAAmB,KAAK,SAAS,EAAE,CAAC;YACpC,OAAO,CAAC,WAAW,GAAG,mBAAmB,CAAC;QAC9C,CAAC;QACD,IAAI,cAAc,KAAK,SAAS,EAAE,CAAC;YAC/B,OAAO,CAAC,MAAM,GAAG,cAAc,CAAC;QACpC,CAAC;IACL,CAAC,CAAC,CAAC;IAGH,EAAE,CAAC,6CAA6C,EAAE,GAAG,EAAE,CAAE,OAAe,CAAC,aAAa,CAAC,MAAM,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC,CAAC;IAE1H,EAAE,CAAC,8CAA8C,EAAE,GAAG,EAAE,CAAE,OAAe,CAAC,YAAY,CAAC,MAAM,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC;IAElH,EAAE,CAAC,uCAAuC,EAAE,GAAG,EAAE,CAAE,OAAe,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,oBAAoB,CAAC,CAAC,CAAC;AACnH,CAAC,CAAC,CAAC,CAAC"}
@@ -1,7 +1,7 @@
1
- import { a_command } from './given/a_command';
2
- import { given } from '../../given';
3
- import { Globals } from '../../Globals';
4
- import { SomeCommand } from './SomeCommand';
1
+ import { a_command } from './given/a_command.js';
2
+ import { given } from '../../given.js';
3
+ import { Globals } from '../../Globals.js';
4
+ import { SomeCommand } from './SomeCommand.js';
5
5
  describe('when constructing command with globals api base path', given(a_command, () => {
6
6
  let originalApiBasePath;
7
7
  let command;
@@ -1 +1 @@
1
- {"version":3,"file":"when_constructing_command_with_globals_api_base_path.js","sourceRoot":"","sources":["../../../../commands/for_Command/when_constructing_command_with_globals_api_base_path.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,QAAQ,CAAC,sDAAsD,EAAE,KAAK,CAAC,SAAS,EAAE,GAAG,EAAE;IACnF,IAAI,mBAAuC,CAAC;IAC5C,IAAI,OAAoB,CAAC;IAEzB,UAAU,CAAC,GAAG,EAAE;QACZ,mBAAmB,GAAG,OAAO,CAAC,WAAW,CAAC;QAC1C,OAAO,CAAC,WAAW,GAAG,aAAa,CAAC;QACpC,OAAO,GAAG,IAAI,WAAW,EAAE,CAAC;IAChC,CAAC,CAAC,CAAC;IAEH,SAAS,CAAC,GAAG,EAAE;QACX,IAAI,mBAAmB,KAAK,SAAS,EAAE,CAAC;YACpC,OAAO,CAAC,WAAW,GAAG,mBAAmB,CAAC;QAC9C,CAAC;IACL,CAAC,CAAC,CAAC;IAGH,EAAE,CAAC,8CAA8C,EAAE,GAAG,EAAE,CAAE,OAAe,CAAC,YAAY,CAAC,MAAM,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC;AACxH,CAAC,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"when_constructing_command_with_globals_api_base_path.js","sourceRoot":"","sources":["../../../../commands/for_Command/when_constructing_command_with_globals_api_base_path.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACjD,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AACvC,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C,QAAQ,CAAC,sDAAsD,EAAE,KAAK,CAAC,SAAS,EAAE,GAAG,EAAE;IACnF,IAAI,mBAAuC,CAAC;IAC5C,IAAI,OAAoB,CAAC;IAEzB,UAAU,CAAC,GAAG,EAAE;QACZ,mBAAmB,GAAG,OAAO,CAAC,WAAW,CAAC;QAC1C,OAAO,CAAC,WAAW,GAAG,aAAa,CAAC;QACpC,OAAO,GAAG,IAAI,WAAW,EAAE,CAAC;IAChC,CAAC,CAAC,CAAC;IAEH,SAAS,CAAC,GAAG,EAAE;QACX,IAAI,mBAAmB,KAAK,SAAS,EAAE,CAAC;YACpC,OAAO,CAAC,WAAW,GAAG,mBAAmB,CAAC;QAC9C,CAAC;IACL,CAAC,CAAC,CAAC;IAGH,EAAE,CAAC,8CAA8C,EAAE,GAAG,EAAE,CAAE,OAAe,CAAC,YAAY,CAAC,MAAM,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC;AACxH,CAAC,CAAC,CAAC,CAAC"}
@@ -1,7 +1,7 @@
1
- import { a_command } from './given/a_command';
2
- import { given } from '../../given';
3
- import { Globals } from '../../Globals';
4
- import { SomeCommand } from './SomeCommand';
1
+ import { a_command } from './given/a_command.js';
2
+ import { given } from '../../given.js';
3
+ import { Globals } from '../../Globals.js';
4
+ import { SomeCommand } from './SomeCommand.js';
5
5
  describe('when constructing command with globals origin', given(a_command, () => {
6
6
  let originalOrigin;
7
7
  let command;
@@ -1 +1 @@
1
- {"version":3,"file":"when_constructing_command_with_globals_origin.js","sourceRoot":"","sources":["../../../../commands/for_Command/when_constructing_command_with_globals_origin.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,QAAQ,CAAC,+CAA+C,EAAE,KAAK,CAAC,SAAS,EAAE,GAAG,EAAE;IAC5E,IAAI,cAAkC,CAAC;IACvC,IAAI,OAAoB,CAAC;IAEzB,UAAU,CAAC,GAAG,EAAE;QACZ,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC;QAChC,OAAO,CAAC,MAAM,GAAG,qBAAqB,CAAC;QACvC,OAAO,GAAG,IAAI,WAAW,EAAE,CAAC;IAChC,CAAC,CAAC,CAAC;IAEH,SAAS,CAAC,GAAG,EAAE;QACX,IAAI,cAAc,KAAK,SAAS,EAAE,CAAC;YAC/B,OAAO,CAAC,MAAM,GAAG,cAAc,CAAC;QACpC,CAAC;IACL,CAAC,CAAC,CAAC;IAGH,EAAE,CAAC,uCAAuC,EAAE,GAAG,EAAE,CAAE,OAAe,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAAC,CAAC;AACpH,CAAC,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"when_constructing_command_with_globals_origin.js","sourceRoot":"","sources":["../../../../commands/for_Command/when_constructing_command_with_globals_origin.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACjD,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AACvC,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAE/C,QAAQ,CAAC,+CAA+C,EAAE,KAAK,CAAC,SAAS,EAAE,GAAG,EAAE;IAC5E,IAAI,cAAkC,CAAC;IACvC,IAAI,OAAoB,CAAC;IAEzB,UAAU,CAAC,GAAG,EAAE;QACZ,cAAc,GAAG,OAAO,CAAC,MAAM,CAAC;QAChC,OAAO,CAAC,MAAM,GAAG,qBAAqB,CAAC;QACvC,OAAO,GAAG,IAAI,WAAW,EAAE,CAAC;IAChC,CAAC,CAAC,CAAC;IAEH,SAAS,CAAC,GAAG,EAAE;QACX,IAAI,cAAc,KAAK,SAAS,EAAE,CAAC;YAC/B,OAAO,CAAC,MAAM,GAAG,cAAc,CAAC;QACpC,CAAC;IACL,CAAC,CAAC,CAAC;IAGH,EAAE,CAAC,uCAAuC,EAAE,GAAG,EAAE,CAAE,OAAe,CAAC,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAAC,CAAC;AACpH,CAAC,CAAC,CAAC,CAAC"}
@@ -1,5 +1,5 @@
1
- import { a_command } from '../given/a_command';
2
- import { given } from '../../../given';
1
+ import { a_command } from '../given/a_command.js';
2
+ import { given } from '../../../given.js';
3
3
  describe("when executing and command route not found", given(a_command, context => {
4
4
  let result;
5
5
  beforeEach(async () => {
@@ -1 +1 @@
1
- {"version":3,"file":"and_command_route_not_found.js","sourceRoot":"","sources":["../../../../../commands/for_Command/when_executing/and_command_route_not_found.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAGvC,QAAQ,CAAC,4CAA4C,EAAE,KAAK,CAAC,SAAS,EAAE,OAAO,CAAC,EAAE;IAC9E,IAAI,MAA6B,CAAC;IAElC,UAAU,CAAC,KAAK,IAAI,EAAE;QAClB,OAAO,CAAC,SAAS,CAAC,QAAQ,CAAC;YACvB,MAAM,EAAE,GAAG;YACX,IAAI,EAAE,KAAK,IAAI,EAAE,CAAC,CAAC,EAAE,CAAC;SACzB,CAAC,CAAC;QAEH,MAAM,GAAG,MAAM,OAAO,CAAC,OAAO,CAAC,OAAO,EAAE,CAAC;IAC7C,CAAC,CAAC,CAAC;IAEH,SAAS,CAAC,GAAG,EAAE;QACX,OAAO,CAAC,SAAS,CAAC,OAAO,EAAE,CAAC;IAChC,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,6BAA6B,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,SAAS,CAAC,MAAM,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC;IAC1E,EAAE,CAAC,gCAAgC,EAAE,GAAG,EAAE,CAAC,CAAC,MAAM,CAAC,iBAAiB,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC;AACrG,CAAC,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"and_command_route_not_found.js","sourceRoot":"","sources":["../../../../../commands/for_Command/when_executing/and_command_route_not_found.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAG1C,QAAQ,CAAC,4CAA4C,EAAE,KAAK,CAAC,SAAS,EAAE,OAAO,CAAC,EAAE;IAC9E,IAAI,MAA6B,CAAC;IAElC,UAAU,CAAC,KAAK,IAAI,EAAE;QAClB,OAAO,CAAC,SAAS,CAAC,QAAQ,CAAC;YACvB,MAAM,EAAE,GAAG;YACX,IAAI,EAAE,KAAK,IAAI,EAAE,CAAC,CAAC,EAAE,CAAC;SACzB,CAAC,CAAC;QAEH,MAAM,GAAG,MAAM,OAAO,CAAC,OAAO,CAAC,OAAO,EAAE,CAAC;IAC7C,CAAC,CAAC,CAAC;IAEH,SAAS,CAAC,GAAG,EAAE;QACX,OAAO,CAAC,SAAS,CAAC,OAAO,EAAE,CAAC;IAChC,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,6BAA6B,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,SAAS,CAAC,MAAM,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC;IAC1E,EAAE,CAAC,gCAAgC,EAAE,GAAG,EAAE,CAAC,CAAC,MAAM,CAAC,iBAAiB,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC;AACrG,CAAC,CAAC,CAAC,CAAC"}
@@ -1,5 +1,5 @@
1
- import { a_command } from '../given/a_command';
2
- import { given } from '../../../given';
1
+ import { a_command } from '../given/a_command.js';
2
+ import { given } from '../../../given.js';
3
3
  describe("when executing and fetch throws exception", given(a_command, context => {
4
4
  let result;
5
5
  beforeEach(async () => {