@ahoo-wang/wow-client 9.9.0 → 10.0.0-alpha.4

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 (385) hide show
  1. package/README.md +85 -230
  2. package/README.zh-CN.md +74 -209
  3. package/dist/commands.cjs +2 -0
  4. package/dist/commands.cjs.map +1 -0
  5. package/dist/commands.d.cts +123 -0
  6. package/dist/commands.d.ts +123 -0
  7. package/dist/commands.es.js +96 -0
  8. package/dist/commands.es.js.map +1 -0
  9. package/dist/dsl/aggregation/types.cjs.map +1 -1
  10. package/dist/dsl/aggregation/types.d.cts +1 -1
  11. package/dist/dsl/aggregation/types.d.ts +1 -1
  12. package/dist/dsl/aggregation/types.es.js.map +1 -1
  13. package/dist/dsl/cursorQuery.cjs.map +1 -1
  14. package/dist/dsl/cursorQuery.d.cts +7 -8
  15. package/dist/dsl/cursorQuery.d.ts +7 -8
  16. package/dist/dsl/cursorQuery.es.js.map +1 -1
  17. package/dist/dsl/descriptor.cjs.map +1 -1
  18. package/dist/dsl/descriptor.d.cts +8 -1
  19. package/dist/dsl/descriptor.d.ts +8 -1
  20. package/dist/dsl/descriptor.es.js.map +1 -1
  21. package/dist/dsl/documents.d.cts +1 -1
  22. package/dist/dsl/documents.d.ts +1 -1
  23. package/dist/dsl/filter/types.d.cts +2 -1
  24. package/dist/dsl/filter/types.d.ts +2 -1
  25. package/dist/dsl/projection.cjs.map +1 -1
  26. package/dist/dsl/projection.d.cts +22 -0
  27. package/dist/dsl/projection.d.ts +22 -0
  28. package/dist/dsl/projection.es.js.map +1 -1
  29. package/dist/dsl/queryErrorCodes.cjs +2 -0
  30. package/dist/dsl/queryErrorCodes.cjs.map +1 -0
  31. package/dist/{error → dsl}/queryErrorCodes.d.cts +25 -24
  32. package/dist/{error → dsl}/queryErrorCodes.d.ts +25 -24
  33. package/dist/{error → dsl}/queryErrorCodes.es.js +2 -1
  34. package/dist/{error/queryErrorCodes.cjs.map → dsl/queryErrorCodes.es.js.map} +1 -1
  35. package/dist/dsl.cjs +1 -1
  36. package/dist/dsl.d.cts +1 -2
  37. package/dist/dsl.d.ts +1 -2
  38. package/dist/dsl.es.js +2 -3
  39. package/dist/exactJson.cjs +3 -0
  40. package/dist/exactJson.cjs.map +1 -0
  41. package/dist/exactJson.d.cts +54 -0
  42. package/dist/exactJson.d.ts +54 -0
  43. package/dist/exactJson.es.js +213 -0
  44. package/dist/exactJson.es.js.map +1 -0
  45. package/dist/http.cjs +2 -0
  46. package/dist/http.cjs.map +1 -0
  47. package/dist/http.d.cts +96 -0
  48. package/dist/http.d.ts +96 -0
  49. package/dist/http.es.js +77 -0
  50. package/dist/http.es.js.map +1 -0
  51. package/dist/index.cjs +1 -1
  52. package/dist/index.d.cts +19 -17
  53. package/dist/index.d.ts +19 -17
  54. package/dist/index.es.js +10 -36
  55. package/dist/manifest.cjs +2 -0
  56. package/dist/manifest.cjs.map +1 -0
  57. package/dist/manifest.d.cts +109 -0
  58. package/dist/manifest.d.ts +109 -0
  59. package/dist/manifest.es.js +14 -0
  60. package/dist/manifest.es.js.map +1 -0
  61. package/dist/problem.cjs +2 -0
  62. package/dist/problem.cjs.map +1 -0
  63. package/dist/problem.d.cts +211 -0
  64. package/dist/problem.d.ts +211 -0
  65. package/dist/problem.es.js +138 -0
  66. package/dist/problem.es.js.map +1 -0
  67. package/dist/queries.cjs +2 -0
  68. package/dist/queries.cjs.map +1 -0
  69. package/dist/queries.d.cts +182 -0
  70. package/dist/queries.d.ts +182 -0
  71. package/dist/queries.es.js +112 -0
  72. package/dist/queries.es.js.map +1 -0
  73. package/dist/state.cjs +2 -0
  74. package/dist/state.cjs.map +1 -0
  75. package/dist/state.d.cts +75 -0
  76. package/dist/state.d.ts +75 -0
  77. package/dist/state.es.js +70 -0
  78. package/dist/state.es.js.map +1 -0
  79. package/dist/streams.cjs +2 -0
  80. package/dist/streams.cjs.map +1 -0
  81. package/dist/streams.d.cts +74 -0
  82. package/dist/streams.d.ts +74 -0
  83. package/dist/streams.es.js +103 -0
  84. package/dist/streams.es.js.map +1 -0
  85. package/dist/wait.cjs +2 -0
  86. package/dist/wait.cjs.map +1 -0
  87. package/dist/wait.d.cts +61 -0
  88. package/dist/wait.d.ts +61 -0
  89. package/dist/wait.es.js +44 -0
  90. package/dist/wait.es.js.map +1 -0
  91. package/dist/wire.cjs +2 -0
  92. package/dist/wire.cjs.map +1 -0
  93. package/dist/wire.d.cts +326 -0
  94. package/dist/wire.d.ts +326 -0
  95. package/dist/wire.es.js +10 -0
  96. package/dist/wire.es.js.map +1 -0
  97. package/package.json +4 -16
  98. package/dist/_virtual/_@oxc-project_runtime@0.153.0/helpers/esm/decorate.cjs +0 -1
  99. package/dist/_virtual/_@oxc-project_runtime@0.153.0/helpers/esm/decorate.es.js +0 -9
  100. package/dist/_virtual/_@oxc-project_runtime@0.153.0/helpers/esm/decorateMetadata.cjs +0 -1
  101. package/dist/_virtual/_@oxc-project_runtime@0.153.0/helpers/esm/decorateMetadata.es.js +0 -6
  102. package/dist/_virtual/_@oxc-project_runtime@0.153.0/helpers/esm/decorateParam.cjs +0 -1
  103. package/dist/_virtual/_@oxc-project_runtime@0.153.0/helpers/esm/decorateParam.es.js +0 -8
  104. package/dist/client/bindMethods.cjs +0 -2
  105. package/dist/client/bindMethods.cjs.map +0 -1
  106. package/dist/client/bindMethods.d.cts +0 -13
  107. package/dist/client/bindMethods.d.ts +0 -13
  108. package/dist/client/bindMethods.es.js +0 -19
  109. package/dist/client/bindMethods.es.js.map +0 -1
  110. package/dist/client/command/commandClient.cjs +0 -2
  111. package/dist/client/command/commandClient.cjs.map +0 -1
  112. package/dist/client/command/commandClient.d.cts +0 -67
  113. package/dist/client/command/commandClient.d.ts +0 -67
  114. package/dist/client/command/commandClient.es.js +0 -38
  115. package/dist/client/command/commandClient.es.js.map +0 -1
  116. package/dist/client/command/commandHeaders.cjs +0 -2
  117. package/dist/client/command/commandHeaders.cjs.map +0 -1
  118. package/dist/client/command/commandHeaders.d.cts +0 -75
  119. package/dist/client/command/commandHeaders.d.ts +0 -75
  120. package/dist/client/command/commandHeaders.es.js +0 -31
  121. package/dist/client/command/commandHeaders.es.js.map +0 -1
  122. package/dist/client/command/commandRequest.cjs +0 -2
  123. package/dist/client/command/commandRequest.cjs.map +0 -1
  124. package/dist/client/command/commandRequest.d.cts +0 -180
  125. package/dist/client/command/commandRequest.d.ts +0 -180
  126. package/dist/client/command/commandRequest.es.js +0 -31
  127. package/dist/client/command/commandRequest.es.js.map +0 -1
  128. package/dist/client/command/commandResult.d.cts +0 -15
  129. package/dist/client/command/commandResult.d.ts +0 -15
  130. package/dist/client/command/index.d.cts +0 -5
  131. package/dist/client/command/index.d.ts +0 -5
  132. package/dist/client/command/types.d.cts +0 -71
  133. package/dist/client/command/types.d.ts +0 -71
  134. package/dist/client/metadata/index.d.cts +0 -2
  135. package/dist/client/metadata/index.d.ts +0 -2
  136. package/dist/client/metadata/wowMetadata.d.cts +0 -48
  137. package/dist/client/metadata/wowMetadata.d.ts +0 -48
  138. package/dist/client/metadata/wowMetadataClient.cjs +0 -2
  139. package/dist/client/metadata/wowMetadataClient.cjs.map +0 -1
  140. package/dist/client/metadata/wowMetadataClient.d.cts +0 -23
  141. package/dist/client/metadata/wowMetadataClient.d.ts +0 -23
  142. package/dist/client/metadata/wowMetadataClient.es.js +0 -25
  143. package/dist/client/metadata/wowMetadataClient.es.js.map +0 -1
  144. package/dist/client/query/dataset/datasetDescriptorEndpoint.cjs +0 -2
  145. package/dist/client/query/dataset/datasetDescriptorEndpoint.cjs.map +0 -1
  146. package/dist/client/query/dataset/datasetDescriptorEndpoint.d.cts +0 -8
  147. package/dist/client/query/dataset/datasetDescriptorEndpoint.d.ts +0 -8
  148. package/dist/client/query/dataset/datasetDescriptorEndpoint.es.js +0 -34
  149. package/dist/client/query/dataset/datasetDescriptorEndpoint.es.js.map +0 -1
  150. package/dist/client/query/dataset/datasetDirectoryClient.cjs +0 -2
  151. package/dist/client/query/dataset/datasetDirectoryClient.cjs.map +0 -1
  152. package/dist/client/query/dataset/datasetDirectoryClient.d.cts +0 -29
  153. package/dist/client/query/dataset/datasetDirectoryClient.d.ts +0 -29
  154. package/dist/client/query/dataset/datasetDirectoryClient.es.js +0 -25
  155. package/dist/client/query/dataset/datasetDirectoryClient.es.js.map +0 -1
  156. package/dist/client/query/dataset/datasetQueryApi.d.cts +0 -40
  157. package/dist/client/query/dataset/datasetQueryApi.d.ts +0 -40
  158. package/dist/client/query/dataset/datasetQueryClient.cjs +0 -2
  159. package/dist/client/query/dataset/datasetQueryClient.cjs.map +0 -1
  160. package/dist/client/query/dataset/datasetQueryClient.d.cts +0 -57
  161. package/dist/client/query/dataset/datasetQueryClient.d.ts +0 -57
  162. package/dist/client/query/dataset/datasetQueryClient.es.js +0 -154
  163. package/dist/client/query/dataset/datasetQueryClient.es.js.map +0 -1
  164. package/dist/client/query/dataset/endpointPaths.cjs +0 -2
  165. package/dist/client/query/dataset/endpointPaths.cjs.map +0 -1
  166. package/dist/client/query/dataset/endpointPaths.d.cts +0 -9
  167. package/dist/client/query/dataset/endpointPaths.d.ts +0 -9
  168. package/dist/client/query/dataset/endpointPaths.es.js +0 -14
  169. package/dist/client/query/dataset/endpointPaths.es.js.map +0 -1
  170. package/dist/client/query/dataset/index.d.cts +0 -3
  171. package/dist/client/query/dataset/index.d.ts +0 -3
  172. package/dist/client/query/descriptor/descriptorEndpoints.cjs +0 -2
  173. package/dist/client/query/descriptor/descriptorEndpoints.cjs.map +0 -1
  174. package/dist/client/query/descriptor/descriptorEndpoints.d.cts +0 -29
  175. package/dist/client/query/descriptor/descriptorEndpoints.d.ts +0 -29
  176. package/dist/client/query/descriptor/descriptorEndpoints.es.js +0 -69
  177. package/dist/client/query/descriptor/descriptorEndpoints.es.js.map +0 -1
  178. package/dist/client/query/descriptor/endpointPaths.cjs +0 -2
  179. package/dist/client/query/descriptor/endpointPaths.cjs.map +0 -1
  180. package/dist/client/query/descriptor/endpointPaths.d.cts +0 -4
  181. package/dist/client/query/descriptor/endpointPaths.d.ts +0 -4
  182. package/dist/client/query/descriptor/endpointPaths.es.js +0 -9
  183. package/dist/client/query/descriptor/endpointPaths.es.js.map +0 -1
  184. package/dist/client/query/descriptor/index.d.cts +0 -2
  185. package/dist/client/query/descriptor/index.d.ts +0 -2
  186. package/dist/client/query/descriptor/queryDescriptorApi.d.cts +0 -58
  187. package/dist/client/query/descriptor/queryDescriptorApi.d.ts +0 -58
  188. package/dist/client/query/descriptor/queryDescriptorClient.cjs +0 -2
  189. package/dist/client/query/descriptor/queryDescriptorClient.cjs.map +0 -1
  190. package/dist/client/query/descriptor/queryDescriptorClient.d.cts +0 -61
  191. package/dist/client/query/descriptor/queryDescriptorClient.d.ts +0 -61
  192. package/dist/client/query/descriptor/queryDescriptorClient.es.js +0 -20
  193. package/dist/client/query/descriptor/queryDescriptorClient.es.js.map +0 -1
  194. package/dist/client/query/event/endpointPaths.cjs +0 -2
  195. package/dist/client/query/event/endpointPaths.cjs.map +0 -1
  196. package/dist/client/query/event/endpointPaths.d.cts +0 -8
  197. package/dist/client/query/event/endpointPaths.d.ts +0 -8
  198. package/dist/client/query/event/endpointPaths.es.js +0 -13
  199. package/dist/client/query/event/endpointPaths.es.js.map +0 -1
  200. package/dist/client/query/event/eventStreamQueryApi.d.cts +0 -29
  201. package/dist/client/query/event/eventStreamQueryApi.d.ts +0 -29
  202. package/dist/client/query/event/eventStreamQueryClient.cjs +0 -2
  203. package/dist/client/query/event/eventStreamQueryClient.cjs.map +0 -1
  204. package/dist/client/query/event/eventStreamQueryClient.d.cts +0 -193
  205. package/dist/client/query/event/eventStreamQueryClient.d.ts +0 -193
  206. package/dist/client/query/event/eventStreamQueryClient.es.js +0 -160
  207. package/dist/client/query/event/eventStreamQueryClient.es.js.map +0 -1
  208. package/dist/client/query/event/index.d.cts +0 -2
  209. package/dist/client/query/event/index.d.ts +0 -2
  210. package/dist/client/query/factory.cjs +0 -2
  211. package/dist/client/query/factory.cjs.map +0 -1
  212. package/dist/client/query/factory.d.cts +0 -165
  213. package/dist/client/query/factory.d.ts +0 -165
  214. package/dist/client/query/factory.es.js +0 -45
  215. package/dist/client/query/factory.es.js.map +0 -1
  216. package/dist/client/query/index.d.cts +0 -7
  217. package/dist/client/query/index.d.ts +0 -7
  218. package/dist/client/query/queryApi.d.cts +0 -68
  219. package/dist/client/query/queryApi.d.ts +0 -68
  220. package/dist/client/query/requests.d.cts +0 -24
  221. package/dist/client/query/requests.d.ts +0 -24
  222. package/dist/client/query/snapshot/endpointPaths.cjs +0 -2
  223. package/dist/client/query/snapshot/endpointPaths.cjs.map +0 -1
  224. package/dist/client/query/snapshot/endpointPaths.d.cts +0 -12
  225. package/dist/client/query/snapshot/endpointPaths.d.ts +0 -12
  226. package/dist/client/query/snapshot/endpointPaths.es.js +0 -17
  227. package/dist/client/query/snapshot/endpointPaths.es.js.map +0 -1
  228. package/dist/client/query/snapshot/index.d.cts +0 -2
  229. package/dist/client/query/snapshot/index.d.ts +0 -2
  230. package/dist/client/query/snapshot/snapshotQueryApi.d.cts +0 -101
  231. package/dist/client/query/snapshot/snapshotQueryApi.d.ts +0 -101
  232. package/dist/client/query/snapshot/snapshotQueryClient.cjs +0 -2
  233. package/dist/client/query/snapshot/snapshotQueryClient.cjs.map +0 -1
  234. package/dist/client/query/snapshot/snapshotQueryClient.d.cts +0 -372
  235. package/dist/client/query/snapshot/snapshotQueryClient.d.ts +0 -372
  236. package/dist/client/query/snapshot/snapshotQueryClient.es.js +0 -239
  237. package/dist/client/query/snapshot/snapshotQueryClient.es.js.map +0 -1
  238. package/dist/client/query/state/endpointPaths.cjs +0 -2
  239. package/dist/client/query/state/endpointPaths.cjs.map +0 -1
  240. package/dist/client/query/state/endpointPaths.d.cts +0 -10
  241. package/dist/client/query/state/endpointPaths.d.ts +0 -10
  242. package/dist/client/query/state/endpointPaths.es.js +0 -14
  243. package/dist/client/query/state/endpointPaths.es.js.map +0 -1
  244. package/dist/client/query/state/index.d.cts +0 -4
  245. package/dist/client/query/state/index.d.ts +0 -4
  246. package/dist/client/query/state/loadOwnerStateAggregateApi.d.cts +0 -36
  247. package/dist/client/query/state/loadOwnerStateAggregateApi.d.ts +0 -36
  248. package/dist/client/query/state/loadOwnerStateAggregateClient.cjs +0 -2
  249. package/dist/client/query/state/loadOwnerStateAggregateClient.cjs.map +0 -1
  250. package/dist/client/query/state/loadOwnerStateAggregateClient.d.cts +0 -58
  251. package/dist/client/query/state/loadOwnerStateAggregateClient.d.ts +0 -58
  252. package/dist/client/query/state/loadOwnerStateAggregateClient.es.js +0 -56
  253. package/dist/client/query/state/loadOwnerStateAggregateClient.es.js.map +0 -1
  254. package/dist/client/query/state/loadStateAggregateApi.d.cts +0 -37
  255. package/dist/client/query/state/loadStateAggregateApi.d.ts +0 -37
  256. package/dist/client/query/state/loadStateAggregateClient.cjs +0 -2
  257. package/dist/client/query/state/loadStateAggregateClient.cjs.map +0 -1
  258. package/dist/client/query/state/loadStateAggregateClient.d.cts +0 -62
  259. package/dist/client/query/state/loadStateAggregateClient.d.ts +0 -62
  260. package/dist/client/query/state/loadStateAggregateClient.es.js +0 -65
  261. package/dist/client/query/state/loadStateAggregateClient.es.js.map +0 -1
  262. package/dist/client/routing.cjs +0 -2
  263. package/dist/client/routing.cjs.map +0 -1
  264. package/dist/client/routing.d.cts +0 -47
  265. package/dist/client/routing.d.ts +0 -47
  266. package/dist/client/routing.es.js +0 -8
  267. package/dist/client/routing.es.js.map +0 -1
  268. package/dist/error/errorInfo.cjs +0 -2
  269. package/dist/error/errorInfo.cjs.map +0 -1
  270. package/dist/error/errorInfo.d.cts +0 -139
  271. package/dist/error/errorInfo.d.ts +0 -139
  272. package/dist/error/errorInfo.es.js +0 -32
  273. package/dist/error/errorInfo.es.js.map +0 -1
  274. package/dist/error/headers.cjs +0 -2
  275. package/dist/error/headers.cjs.map +0 -1
  276. package/dist/error/headers.d.cts +0 -39
  277. package/dist/error/headers.d.ts +0 -39
  278. package/dist/error/headers.es.js +0 -10
  279. package/dist/error/headers.es.js.map +0 -1
  280. package/dist/error/index.d.cts +0 -21
  281. package/dist/error/index.d.ts +0 -21
  282. package/dist/error/queryErrorCodes.cjs +0 -2
  283. package/dist/error/queryErrorCodes.es.js.map +0 -1
  284. package/dist/error/wowError.cjs +0 -2
  285. package/dist/error/wowError.cjs.map +0 -1
  286. package/dist/error/wowError.d.cts +0 -99
  287. package/dist/error/wowError.d.ts +0 -99
  288. package/dist/error/wowError.es.js +0 -53
  289. package/dist/error/wowError.es.js.map +0 -1
  290. package/dist/legacy/condition.cjs +0 -2
  291. package/dist/legacy/condition.cjs.map +0 -1
  292. package/dist/legacy/condition.d.cts +0 -517
  293. package/dist/legacy/condition.d.ts +0 -517
  294. package/dist/legacy/condition.es.js +0 -338
  295. package/dist/legacy/condition.es.js.map +0 -1
  296. package/dist/legacy/index.d.cts +0 -16
  297. package/dist/legacy/index.d.ts +0 -16
  298. package/dist/legacy/locale/en_US.cjs +0 -2
  299. package/dist/legacy/locale/en_US.cjs.map +0 -1
  300. package/dist/legacy/locale/en_US.d.cts +0 -7
  301. package/dist/legacy/locale/en_US.d.ts +0 -7
  302. package/dist/legacy/locale/en_US.es.js +0 -50
  303. package/dist/legacy/locale/en_US.es.js.map +0 -1
  304. package/dist/legacy/locale/operatorLocale.d.cts +0 -10
  305. package/dist/legacy/locale/operatorLocale.d.ts +0 -10
  306. package/dist/legacy/locale/zh_CN.cjs +0 -2
  307. package/dist/legacy/locale/zh_CN.cjs.map +0 -1
  308. package/dist/legacy/locale/zh_CN.d.cts +0 -7
  309. package/dist/legacy/locale/zh_CN.d.ts +0 -7
  310. package/dist/legacy/locale/zh_CN.es.js +0 -50
  311. package/dist/legacy/locale/zh_CN.es.js.map +0 -1
  312. package/dist/legacy/operator.cjs +0 -2
  313. package/dist/legacy/operator.cjs.map +0 -1
  314. package/dist/legacy/operator.d.cts +0 -218
  315. package/dist/legacy/operator.d.ts +0 -218
  316. package/dist/legacy/operator.es.js +0 -25
  317. package/dist/legacy/operator.es.js.map +0 -1
  318. package/dist/legacy/queryable.cjs +0 -2
  319. package/dist/legacy/queryable.cjs.map +0 -1
  320. package/dist/legacy/queryable.d.cts +0 -61
  321. package/dist/legacy/queryable.d.ts +0 -61
  322. package/dist/legacy/queryable.es.js +0 -34
  323. package/dist/legacy/queryable.es.js.map +0 -1
  324. package/dist/legacy.cjs +0 -1
  325. package/dist/legacy.es.js +0 -6
  326. package/dist/model/abac.cjs +0 -2
  327. package/dist/model/abac.cjs.map +0 -1
  328. package/dist/model/abac.d.cts +0 -33
  329. package/dist/model/abac.d.ts +0 -33
  330. package/dist/model/abac.es.js +0 -6
  331. package/dist/model/abac.es.js.map +0 -1
  332. package/dist/model/bi.cjs +0 -2
  333. package/dist/model/bi.cjs.map +0 -1
  334. package/dist/model/bi.d.cts +0 -12
  335. package/dist/model/bi.d.ts +0 -12
  336. package/dist/model/bi.es.js +0 -8
  337. package/dist/model/bi.es.js.map +0 -1
  338. package/dist/model/command.cjs +0 -2
  339. package/dist/model/command.cjs.map +0 -1
  340. package/dist/model/command.d.cts +0 -137
  341. package/dist/model/command.d.ts +0 -137
  342. package/dist/model/command.es.js +0 -8
  343. package/dist/model/command.es.js.map +0 -1
  344. package/dist/model/common.d.cts +0 -19
  345. package/dist/model/common.d.ts +0 -19
  346. package/dist/model/domainEventStream.cjs +0 -2
  347. package/dist/model/domainEventStream.cjs.map +0 -1
  348. package/dist/model/domainEventStream.d.cts +0 -109
  349. package/dist/model/domainEventStream.d.ts +0 -109
  350. package/dist/model/domainEventStream.es.js +0 -23
  351. package/dist/model/domainEventStream.es.js.map +0 -1
  352. package/dist/model/function.cjs +0 -2
  353. package/dist/model/function.cjs.map +0 -1
  354. package/dist/model/function.d.cts +0 -41
  355. package/dist/model/function.d.ts +0 -41
  356. package/dist/model/function.es.js +0 -8
  357. package/dist/model/function.es.js.map +0 -1
  358. package/dist/model/index.d.cts +0 -24
  359. package/dist/model/index.d.ts +0 -24
  360. package/dist/model/messaging.d.cts +0 -5
  361. package/dist/model/messaging.d.ts +0 -5
  362. package/dist/model/modeling.d.cts +0 -145
  363. package/dist/model/modeling.d.ts +0 -145
  364. package/dist/model/naming.d.cts +0 -27
  365. package/dist/model/naming.d.ts +0 -27
  366. package/dist/model/snapshot.cjs +0 -2
  367. package/dist/model/snapshot.cjs.map +0 -1
  368. package/dist/model/snapshot.d.cts +0 -53
  369. package/dist/model/snapshot.d.ts +0 -53
  370. package/dist/model/snapshot.es.js +0 -20
  371. package/dist/model/snapshot.es.js.map +0 -1
  372. package/dist/transport/endpoints.cjs +0 -2
  373. package/dist/transport/endpoints.cjs.map +0 -1
  374. package/dist/transport/endpoints.d.cts +0 -79
  375. package/dist/transport/endpoints.d.ts +0 -79
  376. package/dist/transport/endpoints.es.js +0 -14
  377. package/dist/transport/endpoints.es.js.map +0 -1
  378. package/dist/transport/eventStreams.cjs +0 -2
  379. package/dist/transport/eventStreams.cjs.map +0 -1
  380. package/dist/transport/eventStreams.d.cts +0 -25
  381. package/dist/transport/eventStreams.d.ts +0 -25
  382. package/dist/transport/eventStreams.es.js +0 -21
  383. package/dist/transport/eventStreams.es.js.map +0 -1
  384. package/dist/transport/index.d.cts +0 -1
  385. package/dist/transport/index.d.ts +0 -1
@@ -1,7 +0,0 @@
1
- export * from './queryApi.js';
2
- export * from './event/index.js';
3
- export * from './snapshot/index.js';
4
- export * from './state/index.js';
5
- export * from './descriptor/index.js';
6
- export * from './dataset/index.js';
7
- export * from './factory.js';
@@ -1,68 +0,0 @@
1
- import { Condition, ListQueryRequest, PagedQueryRequest, SingleQueryRequest } from './requests.cjs';
2
- import { PagedList } from '../../dsl/queryable.cjs';
3
- import { AggregationQuery } from '../../dsl/aggregation/index.cjs';
4
- import { FilterExpression } from '../../dsl/filter/index.cjs';
5
- import { DynamicDocument } from '../../dsl/documents.cjs';
6
- import { CursorPage, CursorQuery } from '../../dsl/cursorQuery.cjs';
7
- /**
8
- * Interface for generic query API operations.
9
- * Provides methods for querying resources in different ways including single item retrieval,
10
- * list retrieval, streaming lists, paged retrieval, and counting.
11
- *
12
- * @see {@link EventStreamQueryApi}
13
- * @see {@link SnapshotQueryApi}
14
- * @template R - The type of resource being queried
15
- */
16
- export interface QueryApi<R, FIELDS extends string = string> {
17
- /** Retrieves the next forward-only cursor page. */
18
- cursor<T extends Partial<R> = R>(query: CursorQuery<FIELDS>, attributes?: Record<string, unknown>, abort?: AbortController | AbortSignal): Promise<CursorPage<T>>;
19
- /** Runs an aggregation and returns all result rows. */
20
- aggregate<Row extends object = DynamicDocument, AGGREGATION_FIELDS extends string = string>(query: AggregationQuery<FIELDS, AGGREGATION_FIELDS>, attributes?: Record<string, unknown>, abort?: AbortController | AbortSignal): Promise<Row[]>;
21
- /** Runs an aggregation and streams the result rows, one per server-sent event. */
22
- aggregateStream<Row extends object = DynamicDocument, AGGREGATION_FIELDS extends string = string>(query: AggregationQuery<FIELDS, AGGREGATION_FIELDS>, attributes?: Record<string, unknown>, abort?: AbortController | AbortSignal): Promise<ReadableStream<Row>>;
23
- /**
24
- * Retrieves a single resource based on the provided query parameters.
25
- * @param singleQuery - The query parameters for retrieving a single resource
26
- * @param attributes - Optional shared attributes that can be accessed by interceptors
27
- * throughout the request lifecycle. These attributes allow passing
28
- * custom data between different interceptors.
29
- * @returns A promise that resolves to a partial resource
30
- */
31
- single<T extends Partial<R> = R>(singleQuery: SingleQueryRequest<FIELDS>, attributes?: Record<string, unknown>, abort?: AbortController | AbortSignal): Promise<T>;
32
- /**
33
- * Retrieves a list of resources based on the provided query parameters.
34
- * @param listQuery - The query parameters for listing resources
35
- * @param attributes - Optional shared attributes that can be accessed by interceptors
36
- * throughout the request lifecycle. These attributes allow passing
37
- * custom data between different interceptors.
38
- * @returns A promise that resolves to an array of partial resources
39
- */
40
- list<T extends Partial<R> = R>(listQuery: ListQueryRequest<FIELDS>, attributes?: Record<string, unknown>, abort?: AbortController | AbortSignal): Promise<T[]>;
41
- /**
42
- * Retrieves a stream of resources based on the provided query parameters.
43
- * @param listQuery - The query parameters for listing resources
44
- * @param attributes - Optional shared attributes that can be accessed by interceptors
45
- * throughout the request lifecycle. These attributes allow passing
46
- * custom data between different interceptors.
47
- * @returns A promise that resolves to a readable stream of partial resources
48
- */
49
- listStream<T extends Partial<R> = R>(listQuery: ListQueryRequest<FIELDS>, attributes?: Record<string, unknown>, abort?: AbortController | AbortSignal): Promise<ReadableStream<T>>;
50
- /**
51
- * Retrieves a paged list of resources based on the provided query parameters.
52
- * @param pagedQuery - The query parameters for paging resources
53
- * @param attributes - Optional shared attributes that can be accessed by interceptors
54
- * throughout the request lifecycle. These attributes allow passing
55
- * custom data between different interceptors.
56
- * @returns A promise that resolves to a paged list of partial resources
57
- */
58
- paged<T extends Partial<R> = R>(pagedQuery: PagedQueryRequest<FIELDS>, attributes?: Record<string, unknown>, abort?: AbortController | AbortSignal): Promise<PagedList<T>>;
59
- /**
60
- * Counts the number of resources that match the given filter or legacy condition.
61
- * @param filter - The filter expression or legacy condition
62
- * @param attributes - Optional shared attributes that can be accessed by interceptors
63
- * throughout the request lifecycle. These attributes allow passing
64
- * custom data between different interceptors.
65
- * @returns A promise that resolves to the count of matching resources
66
- */
67
- count(filter: FilterExpression<FIELDS> | Condition<FIELDS>, attributes?: Record<string, unknown>, abort?: AbortController | AbortSignal): Promise<number>;
68
- }
@@ -1,68 +0,0 @@
1
- import { Condition, ListQueryRequest, PagedQueryRequest, SingleQueryRequest } from './requests.js';
2
- import { PagedList } from '../../dsl/queryable.js';
3
- import { AggregationQuery } from '../../dsl/aggregation/index.js';
4
- import { FilterExpression } from '../../dsl/filter/index.js';
5
- import { DynamicDocument } from '../../dsl/documents.js';
6
- import { CursorPage, CursorQuery } from '../../dsl/cursorQuery.js';
7
- /**
8
- * Interface for generic query API operations.
9
- * Provides methods for querying resources in different ways including single item retrieval,
10
- * list retrieval, streaming lists, paged retrieval, and counting.
11
- *
12
- * @see {@link EventStreamQueryApi}
13
- * @see {@link SnapshotQueryApi}
14
- * @template R - The type of resource being queried
15
- */
16
- export interface QueryApi<R, FIELDS extends string = string> {
17
- /** Retrieves the next forward-only cursor page. */
18
- cursor<T extends Partial<R> = R>(query: CursorQuery<FIELDS>, attributes?: Record<string, unknown>, abort?: AbortController | AbortSignal): Promise<CursorPage<T>>;
19
- /** Runs an aggregation and returns all result rows. */
20
- aggregate<Row extends object = DynamicDocument, AGGREGATION_FIELDS extends string = string>(query: AggregationQuery<FIELDS, AGGREGATION_FIELDS>, attributes?: Record<string, unknown>, abort?: AbortController | AbortSignal): Promise<Row[]>;
21
- /** Runs an aggregation and streams the result rows, one per server-sent event. */
22
- aggregateStream<Row extends object = DynamicDocument, AGGREGATION_FIELDS extends string = string>(query: AggregationQuery<FIELDS, AGGREGATION_FIELDS>, attributes?: Record<string, unknown>, abort?: AbortController | AbortSignal): Promise<ReadableStream<Row>>;
23
- /**
24
- * Retrieves a single resource based on the provided query parameters.
25
- * @param singleQuery - The query parameters for retrieving a single resource
26
- * @param attributes - Optional shared attributes that can be accessed by interceptors
27
- * throughout the request lifecycle. These attributes allow passing
28
- * custom data between different interceptors.
29
- * @returns A promise that resolves to a partial resource
30
- */
31
- single<T extends Partial<R> = R>(singleQuery: SingleQueryRequest<FIELDS>, attributes?: Record<string, unknown>, abort?: AbortController | AbortSignal): Promise<T>;
32
- /**
33
- * Retrieves a list of resources based on the provided query parameters.
34
- * @param listQuery - The query parameters for listing resources
35
- * @param attributes - Optional shared attributes that can be accessed by interceptors
36
- * throughout the request lifecycle. These attributes allow passing
37
- * custom data between different interceptors.
38
- * @returns A promise that resolves to an array of partial resources
39
- */
40
- list<T extends Partial<R> = R>(listQuery: ListQueryRequest<FIELDS>, attributes?: Record<string, unknown>, abort?: AbortController | AbortSignal): Promise<T[]>;
41
- /**
42
- * Retrieves a stream of resources based on the provided query parameters.
43
- * @param listQuery - The query parameters for listing resources
44
- * @param attributes - Optional shared attributes that can be accessed by interceptors
45
- * throughout the request lifecycle. These attributes allow passing
46
- * custom data between different interceptors.
47
- * @returns A promise that resolves to a readable stream of partial resources
48
- */
49
- listStream<T extends Partial<R> = R>(listQuery: ListQueryRequest<FIELDS>, attributes?: Record<string, unknown>, abort?: AbortController | AbortSignal): Promise<ReadableStream<T>>;
50
- /**
51
- * Retrieves a paged list of resources based on the provided query parameters.
52
- * @param pagedQuery - The query parameters for paging resources
53
- * @param attributes - Optional shared attributes that can be accessed by interceptors
54
- * throughout the request lifecycle. These attributes allow passing
55
- * custom data between different interceptors.
56
- * @returns A promise that resolves to a paged list of partial resources
57
- */
58
- paged<T extends Partial<R> = R>(pagedQuery: PagedQueryRequest<FIELDS>, attributes?: Record<string, unknown>, abort?: AbortController | AbortSignal): Promise<PagedList<T>>;
59
- /**
60
- * Counts the number of resources that match the given filter or legacy condition.
61
- * @param filter - The filter expression or legacy condition
62
- * @param attributes - Optional shared attributes that can be accessed by interceptors
63
- * throughout the request lifecycle. These attributes allow passing
64
- * custom data between different interceptors.
65
- * @returns A promise that resolves to the count of matching resources
66
- */
67
- count(filter: FilterExpression<FIELDS> | Condition<FIELDS>, attributes?: Record<string, unknown>, abort?: AbortController | AbortSignal): Promise<number>;
68
- }
@@ -1,24 +0,0 @@
1
- import { ListQuery, PagedQuery, SingleQuery } from '../../legacy/queryable.cjs';
2
- import { FilterListQuery, FilterPagedQuery, FilterSingleQuery } from '../../dsl/queryable.cjs';
3
- export type { Condition } from '../../legacy/condition.cjs';
4
- /**
5
- * The `single` query bodies the query clients send: a `FilterSingleQuery`, or
6
- * the Condition-based `SingleQuery` a Wow 8.10 server needs.
7
- *
8
- * @deprecated Use FilterSingleQuery instead. Removed in v10.
9
- */
10
- export type SingleQueryRequest<FIELDS extends string = string> = FilterSingleQuery<FIELDS> | SingleQuery<FIELDS>;
11
- /**
12
- * The `list` query bodies the query clients send: a `FilterListQuery`, or the
13
- * Condition-based `ListQuery` a Wow 8.10 server needs.
14
- *
15
- * @deprecated Use FilterListQuery instead. Removed in v10.
16
- */
17
- export type ListQueryRequest<FIELDS extends string = string> = FilterListQuery<FIELDS> | ListQuery<FIELDS>;
18
- /**
19
- * The `paged` query bodies the query clients send: a `FilterPagedQuery`, or
20
- * the Condition-based `PagedQuery` a Wow 8.10 server needs.
21
- *
22
- * @deprecated Use FilterPagedQuery instead. Removed in v10.
23
- */
24
- export type PagedQueryRequest<FIELDS extends string = string> = FilterPagedQuery<FIELDS> | PagedQuery<FIELDS>;
@@ -1,24 +0,0 @@
1
- import { ListQuery, PagedQuery, SingleQuery } from '../../legacy/queryable.js';
2
- import { FilterListQuery, FilterPagedQuery, FilterSingleQuery } from '../../dsl/queryable.js';
3
- export type { Condition } from '../../legacy/condition.js';
4
- /**
5
- * The `single` query bodies the query clients send: a `FilterSingleQuery`, or
6
- * the Condition-based `SingleQuery` a Wow 8.10 server needs.
7
- *
8
- * @deprecated Use FilterSingleQuery instead. Removed in v10.
9
- */
10
- export type SingleQueryRequest<FIELDS extends string = string> = FilterSingleQuery<FIELDS> | SingleQuery<FIELDS>;
11
- /**
12
- * The `list` query bodies the query clients send: a `FilterListQuery`, or the
13
- * Condition-based `ListQuery` a Wow 8.10 server needs.
14
- *
15
- * @deprecated Use FilterListQuery instead. Removed in v10.
16
- */
17
- export type ListQueryRequest<FIELDS extends string = string> = FilterListQuery<FIELDS> | ListQuery<FIELDS>;
18
- /**
19
- * The `paged` query bodies the query clients send: a `FilterPagedQuery`, or
20
- * the Condition-based `PagedQuery` a Wow 8.10 server needs.
21
- *
22
- * @deprecated Use FilterPagedQuery instead. Removed in v10.
23
- */
24
- export type PagedQueryRequest<FIELDS extends string = string> = FilterPagedQuery<FIELDS> | PagedQuery<FIELDS>;
@@ -1,2 +0,0 @@
1
- var e=Object.freeze({AGGREGATION:`snapshot/aggregation`,COUNT:`snapshot/count`,LIST:`snapshot/list`,LIST_STATE:`snapshot/list/state`,PAGED:`snapshot/paged`,PAGED_STATE:`snapshot/paged/state`,CURSOR:`snapshot/cursor`,CURSOR_STATE:`snapshot/cursor/state`,SINGLE:`snapshot/single`,SINGLE_STATE:`snapshot/single/state`});exports.SnapshotQueryEndpointPaths=e;
2
- //# sourceMappingURL=endpointPaths.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"endpointPaths.cjs","names":["SnapshotQueryEndpointPaths"],"sources":["../../../../src/client/query/snapshot/endpointPaths.ts"],"sourcesContent":["/*\n * Copyright [2021-present] [ahoo wang <ahoowang@qq.com> (https://github.com/Ahoo-Wang)].\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * http://www.apache.org/licenses/LICENSE-2.0\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n// Internal: the index of this folder does not re-export this file. The\n// paths are relative to the client's base path.\nexport const SnapshotQueryEndpointPaths = Object.freeze({\n AGGREGATION: 'snapshot/aggregation',\n COUNT: 'snapshot/count',\n LIST: 'snapshot/list',\n LIST_STATE: 'snapshot/list/state',\n PAGED: 'snapshot/paged',\n PAGED_STATE: 'snapshot/paged/state',\n CURSOR: 'snapshot/cursor',\n CURSOR_STATE: 'snapshot/cursor/state',\n SINGLE: 'snapshot/single',\n SINGLE_STATE: 'snapshot/single/state',\n} as const);\n"],"mappings":"AAeA,IAAaA,EAA6B,OAAO,OAAO,CACtD,YAAa,uBACb,MAAO,iBACP,KAAM,gBACN,WAAY,sBACZ,MAAO,iBACP,YAAa,uBACb,OAAQ,kBACR,aAAc,wBACd,OAAQ,kBACR,aAAc,uBAChB,CAAU"}
@@ -1,12 +0,0 @@
1
- export declare const SnapshotQueryEndpointPaths: Readonly<{
2
- readonly AGGREGATION: "snapshot/aggregation";
3
- readonly COUNT: "snapshot/count";
4
- readonly LIST: "snapshot/list";
5
- readonly LIST_STATE: "snapshot/list/state";
6
- readonly PAGED: "snapshot/paged";
7
- readonly PAGED_STATE: "snapshot/paged/state";
8
- readonly CURSOR: "snapshot/cursor";
9
- readonly CURSOR_STATE: "snapshot/cursor/state";
10
- readonly SINGLE: "snapshot/single";
11
- readonly SINGLE_STATE: "snapshot/single/state";
12
- }>;
@@ -1,12 +0,0 @@
1
- export declare const SnapshotQueryEndpointPaths: Readonly<{
2
- readonly AGGREGATION: "snapshot/aggregation";
3
- readonly COUNT: "snapshot/count";
4
- readonly LIST: "snapshot/list";
5
- readonly LIST_STATE: "snapshot/list/state";
6
- readonly PAGED: "snapshot/paged";
7
- readonly PAGED_STATE: "snapshot/paged/state";
8
- readonly CURSOR: "snapshot/cursor";
9
- readonly CURSOR_STATE: "snapshot/cursor/state";
10
- readonly SINGLE: "snapshot/single";
11
- readonly SINGLE_STATE: "snapshot/single/state";
12
- }>;
@@ -1,17 +0,0 @@
1
- //#region src/client/query/snapshot/endpointPaths.ts
2
- var e = Object.freeze({
3
- AGGREGATION: "snapshot/aggregation",
4
- COUNT: "snapshot/count",
5
- LIST: "snapshot/list",
6
- LIST_STATE: "snapshot/list/state",
7
- PAGED: "snapshot/paged",
8
- PAGED_STATE: "snapshot/paged/state",
9
- CURSOR: "snapshot/cursor",
10
- CURSOR_STATE: "snapshot/cursor/state",
11
- SINGLE: "snapshot/single",
12
- SINGLE_STATE: "snapshot/single/state"
13
- });
14
- //#endregion
15
- export { e as SnapshotQueryEndpointPaths };
16
-
17
- //# sourceMappingURL=endpointPaths.es.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"endpointPaths.es.js","names":["SnapshotQueryEndpointPaths"],"sources":["../../../../src/client/query/snapshot/endpointPaths.ts"],"sourcesContent":["/*\n * Copyright [2021-present] [ahoo wang <ahoowang@qq.com> (https://github.com/Ahoo-Wang)].\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * http://www.apache.org/licenses/LICENSE-2.0\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n// Internal: the index of this folder does not re-export this file. The\n// paths are relative to the client's base path.\nexport const SnapshotQueryEndpointPaths = Object.freeze({\n AGGREGATION: 'snapshot/aggregation',\n COUNT: 'snapshot/count',\n LIST: 'snapshot/list',\n LIST_STATE: 'snapshot/list/state',\n PAGED: 'snapshot/paged',\n PAGED_STATE: 'snapshot/paged/state',\n CURSOR: 'snapshot/cursor',\n CURSOR_STATE: 'snapshot/cursor/state',\n SINGLE: 'snapshot/single',\n SINGLE_STATE: 'snapshot/single/state',\n} as const);\n"],"mappings":";AAeA,IAAaA,IAA6B,OAAO,OAAO;CACtD,aAAa;CACb,OAAO;CACP,MAAM;CACN,YAAY;CACZ,OAAO;CACP,aAAa;CACb,QAAQ;CACR,cAAc;CACd,QAAQ;CACR,cAAc;AAChB,CAAU"}
@@ -1,2 +0,0 @@
1
- export * from './snapshotQueryApi.cjs';
2
- export * from './snapshotQueryClient.cjs';
@@ -1,2 +0,0 @@
1
- export * from './snapshotQueryApi.js';
2
- export * from './snapshotQueryClient.js';
@@ -1,101 +0,0 @@
1
- import { QueryApi } from '../queryApi.cjs';
2
- import { MaterializedSnapshot } from '../../../model/snapshot.cjs';
3
- import { ListQueryRequest, PagedQueryRequest, SingleQueryRequest } from '../requests.cjs';
4
- import { PagedList } from '../../../dsl/queryable.cjs';
5
- import { CursorPage, CursorQuery } from '../../../dsl/cursorQuery.cjs';
6
- /**
7
- * Interface for snapshot query API operations.
8
- * Extends the base QueryApi interface for MaterializedSnapshot and adds methods
9
- * for querying snapshot states directly without the full MaterializedSnapshot wrapper.
10
- * @template S - The type of the snapshot state
11
- */
12
- export interface SnapshotQueryApi<S, FIELDS extends string = string> extends QueryApi<MaterializedSnapshot<S>, FIELDS> {
13
- /** Retrieves the next cursor page of snapshot states. */
14
- cursorState<T extends Partial<S> = S>(query: CursorQuery<FIELDS>, attributes?: Record<string, unknown>, abort?: AbortController | AbortSignal): Promise<CursorPage<T>>;
15
- /**
16
- * Retrieves a single snapshot state based on the provided query parameters.
17
- * @param singleQuery - The query parameters for retrieving a single snapshot state
18
- * @param attributes - Optional shared attributes that can be accessed by interceptors
19
- * throughout the request lifecycle. These attributes allow passing
20
- * custom data between different interceptors.
21
- * @param abort - Cancels the request: an `AbortController`, or an `AbortSignal` such as `AbortSignal.timeout(ms)` or the `signal` a data-fetching library passes.
22
- * @returns A promise that resolves to a partial snapshot state
23
- */
24
- singleState<T extends Partial<S> = S>(singleQuery: SingleQueryRequest<FIELDS>, attributes?: Record<string, unknown>, abort?: AbortController | AbortSignal): Promise<T>;
25
- /**
26
- * Retrieves a list of snapshot states based on the provided query parameters.
27
- * @param listQuery - The query parameters for listing snapshot states
28
- * @param attributes - Optional shared attributes that can be accessed by interceptors
29
- * throughout the request lifecycle. These attributes allow passing
30
- * custom data between different interceptors.
31
- * @param abort - Cancels the request: an `AbortController`, or an `AbortSignal` such as `AbortSignal.timeout(ms)` or the `signal` a data-fetching library passes.
32
- * @returns A promise that resolves to an array of partial snapshot states
33
- */
34
- listState<T extends Partial<S> = S>(listQuery: ListQueryRequest<FIELDS>, attributes?: Record<string, unknown>, abort?: AbortController | AbortSignal): Promise<T[]>;
35
- /**
36
- * Retrieves a stream of snapshot states based on the provided query parameters.
37
- * @param listQuery - The query parameters for listing snapshot states
38
- * @param attributes - Optional shared attributes that can be accessed by interceptors
39
- * throughout the request lifecycle. These attributes allow passing
40
- * custom data between different interceptors.
41
- * @param abort - Cancels the request: an `AbortController`, or an `AbortSignal` such as `AbortSignal.timeout(ms)` or the `signal` a data-fetching library passes.
42
- * @returns A promise that resolves to a readable stream of partial snapshot states
43
- */
44
- listStateStream<T extends Partial<S> = S>(listQuery: ListQueryRequest<FIELDS>, attributes?: Record<string, unknown>, abort?: AbortController | AbortSignal): Promise<ReadableStream<T>>;
45
- /**
46
- * Retrieves a paged list of snapshot states based on the provided query parameters.
47
- * @param pagedQuery - The query parameters for paging snapshot states
48
- * @param attributes - Optional shared attributes that can be accessed by interceptors
49
- * throughout the request lifecycle. These attributes allow passing
50
- * custom data between different interceptors.
51
- * @param abort - Cancels the request: an `AbortController`, or an `AbortSignal` such as `AbortSignal.timeout(ms)` or the `signal` a data-fetching library passes.
52
- * @returns A promise that resolves to a paged list of partial snapshot states
53
- */
54
- pagedState<T extends Partial<S> = S>(pagedQuery: PagedQueryRequest<FIELDS>, attributes?: Record<string, unknown>, abort?: AbortController | AbortSignal): Promise<PagedList<T>>;
55
- /**
56
- * Retrieves the materialized snapshot of one aggregate: `single` filtered
57
- * by `filter.aggregateId(id)`.
58
- * @param id - The aggregate ID
59
- * @param attributes - Optional shared attributes that can be accessed by interceptors
60
- * throughout the request lifecycle. These attributes allow passing
61
- * custom data between different interceptors.
62
- * @param abort - Cancels the request: an `AbortController`, or an `AbortSignal` such as `AbortSignal.timeout(ms)` or the `signal` a data-fetching library passes.
63
- * @returns A promise that resolves to the materialized snapshot
64
- */
65
- getById(id: string, attributes?: Record<string, unknown>, abort?: AbortController | AbortSignal): Promise<MaterializedSnapshot<S>>;
66
- /**
67
- * Retrieves the state of one aggregate: `singleState` filtered by
68
- * `filter.aggregateId(id)`.
69
- * @param id - The aggregate ID
70
- * @param attributes - Optional shared attributes that can be accessed by interceptors
71
- * throughout the request lifecycle. These attributes allow passing
72
- * custom data between different interceptors.
73
- * @param abort - Cancels the request: an `AbortController`, or an `AbortSignal` such as `AbortSignal.timeout(ms)` or the `signal` a data-fetching library passes.
74
- * @returns A promise that resolves to the snapshot state
75
- */
76
- getStateById(id: string, attributes?: Record<string, unknown>, abort?: AbortController | AbortSignal): Promise<S>;
77
- /**
78
- * Retrieves the materialized snapshots of several aggregates in one
79
- * request: `list` filtered by `filter.aggregateIds(ids)`, limited to
80
- * `ids.length`. An empty `ids` sends nothing and resolves to `[]`.
81
- * @param ids - The aggregate IDs
82
- * @param attributes - Optional shared attributes that can be accessed by interceptors
83
- * throughout the request lifecycle. These attributes allow passing
84
- * custom data between different interceptors.
85
- * @param abort - Cancels the request: an `AbortController`, or an `AbortSignal` such as `AbortSignal.timeout(ms)` or the `signal` a data-fetching library passes.
86
- * @returns A promise that resolves to the materialized snapshots found
87
- */
88
- getByIds(ids: string[], attributes?: Record<string, unknown>, abort?: AbortController | AbortSignal): Promise<MaterializedSnapshot<S>[]>;
89
- /**
90
- * Retrieves the states of several aggregates in one request: `listState`
91
- * filtered by `filter.aggregateIds(ids)`, limited to `ids.length`. An empty
92
- * `ids` sends nothing and resolves to `[]`.
93
- * @param ids - The aggregate IDs
94
- * @param attributes - Optional shared attributes that can be accessed by interceptors
95
- * throughout the request lifecycle. These attributes allow passing
96
- * custom data between different interceptors.
97
- * @param abort - Cancels the request: an `AbortController`, or an `AbortSignal` such as `AbortSignal.timeout(ms)` or the `signal` a data-fetching library passes.
98
- * @returns A promise that resolves to the states found
99
- */
100
- getStateByIds(ids: string[], attributes?: Record<string, unknown>, abort?: AbortController | AbortSignal): Promise<S[]>;
101
- }
@@ -1,101 +0,0 @@
1
- import { QueryApi } from '../queryApi.js';
2
- import { MaterializedSnapshot } from '../../../model/snapshot.js';
3
- import { ListQueryRequest, PagedQueryRequest, SingleQueryRequest } from '../requests.js';
4
- import { PagedList } from '../../../dsl/queryable.js';
5
- import { CursorPage, CursorQuery } from '../../../dsl/cursorQuery.js';
6
- /**
7
- * Interface for snapshot query API operations.
8
- * Extends the base QueryApi interface for MaterializedSnapshot and adds methods
9
- * for querying snapshot states directly without the full MaterializedSnapshot wrapper.
10
- * @template S - The type of the snapshot state
11
- */
12
- export interface SnapshotQueryApi<S, FIELDS extends string = string> extends QueryApi<MaterializedSnapshot<S>, FIELDS> {
13
- /** Retrieves the next cursor page of snapshot states. */
14
- cursorState<T extends Partial<S> = S>(query: CursorQuery<FIELDS>, attributes?: Record<string, unknown>, abort?: AbortController | AbortSignal): Promise<CursorPage<T>>;
15
- /**
16
- * Retrieves a single snapshot state based on the provided query parameters.
17
- * @param singleQuery - The query parameters for retrieving a single snapshot state
18
- * @param attributes - Optional shared attributes that can be accessed by interceptors
19
- * throughout the request lifecycle. These attributes allow passing
20
- * custom data between different interceptors.
21
- * @param abort - Cancels the request: an `AbortController`, or an `AbortSignal` such as `AbortSignal.timeout(ms)` or the `signal` a data-fetching library passes.
22
- * @returns A promise that resolves to a partial snapshot state
23
- */
24
- singleState<T extends Partial<S> = S>(singleQuery: SingleQueryRequest<FIELDS>, attributes?: Record<string, unknown>, abort?: AbortController | AbortSignal): Promise<T>;
25
- /**
26
- * Retrieves a list of snapshot states based on the provided query parameters.
27
- * @param listQuery - The query parameters for listing snapshot states
28
- * @param attributes - Optional shared attributes that can be accessed by interceptors
29
- * throughout the request lifecycle. These attributes allow passing
30
- * custom data between different interceptors.
31
- * @param abort - Cancels the request: an `AbortController`, or an `AbortSignal` such as `AbortSignal.timeout(ms)` or the `signal` a data-fetching library passes.
32
- * @returns A promise that resolves to an array of partial snapshot states
33
- */
34
- listState<T extends Partial<S> = S>(listQuery: ListQueryRequest<FIELDS>, attributes?: Record<string, unknown>, abort?: AbortController | AbortSignal): Promise<T[]>;
35
- /**
36
- * Retrieves a stream of snapshot states based on the provided query parameters.
37
- * @param listQuery - The query parameters for listing snapshot states
38
- * @param attributes - Optional shared attributes that can be accessed by interceptors
39
- * throughout the request lifecycle. These attributes allow passing
40
- * custom data between different interceptors.
41
- * @param abort - Cancels the request: an `AbortController`, or an `AbortSignal` such as `AbortSignal.timeout(ms)` or the `signal` a data-fetching library passes.
42
- * @returns A promise that resolves to a readable stream of partial snapshot states
43
- */
44
- listStateStream<T extends Partial<S> = S>(listQuery: ListQueryRequest<FIELDS>, attributes?: Record<string, unknown>, abort?: AbortController | AbortSignal): Promise<ReadableStream<T>>;
45
- /**
46
- * Retrieves a paged list of snapshot states based on the provided query parameters.
47
- * @param pagedQuery - The query parameters for paging snapshot states
48
- * @param attributes - Optional shared attributes that can be accessed by interceptors
49
- * throughout the request lifecycle. These attributes allow passing
50
- * custom data between different interceptors.
51
- * @param abort - Cancels the request: an `AbortController`, or an `AbortSignal` such as `AbortSignal.timeout(ms)` or the `signal` a data-fetching library passes.
52
- * @returns A promise that resolves to a paged list of partial snapshot states
53
- */
54
- pagedState<T extends Partial<S> = S>(pagedQuery: PagedQueryRequest<FIELDS>, attributes?: Record<string, unknown>, abort?: AbortController | AbortSignal): Promise<PagedList<T>>;
55
- /**
56
- * Retrieves the materialized snapshot of one aggregate: `single` filtered
57
- * by `filter.aggregateId(id)`.
58
- * @param id - The aggregate ID
59
- * @param attributes - Optional shared attributes that can be accessed by interceptors
60
- * throughout the request lifecycle. These attributes allow passing
61
- * custom data between different interceptors.
62
- * @param abort - Cancels the request: an `AbortController`, or an `AbortSignal` such as `AbortSignal.timeout(ms)` or the `signal` a data-fetching library passes.
63
- * @returns A promise that resolves to the materialized snapshot
64
- */
65
- getById(id: string, attributes?: Record<string, unknown>, abort?: AbortController | AbortSignal): Promise<MaterializedSnapshot<S>>;
66
- /**
67
- * Retrieves the state of one aggregate: `singleState` filtered by
68
- * `filter.aggregateId(id)`.
69
- * @param id - The aggregate ID
70
- * @param attributes - Optional shared attributes that can be accessed by interceptors
71
- * throughout the request lifecycle. These attributes allow passing
72
- * custom data between different interceptors.
73
- * @param abort - Cancels the request: an `AbortController`, or an `AbortSignal` such as `AbortSignal.timeout(ms)` or the `signal` a data-fetching library passes.
74
- * @returns A promise that resolves to the snapshot state
75
- */
76
- getStateById(id: string, attributes?: Record<string, unknown>, abort?: AbortController | AbortSignal): Promise<S>;
77
- /**
78
- * Retrieves the materialized snapshots of several aggregates in one
79
- * request: `list` filtered by `filter.aggregateIds(ids)`, limited to
80
- * `ids.length`. An empty `ids` sends nothing and resolves to `[]`.
81
- * @param ids - The aggregate IDs
82
- * @param attributes - Optional shared attributes that can be accessed by interceptors
83
- * throughout the request lifecycle. These attributes allow passing
84
- * custom data between different interceptors.
85
- * @param abort - Cancels the request: an `AbortController`, or an `AbortSignal` such as `AbortSignal.timeout(ms)` or the `signal` a data-fetching library passes.
86
- * @returns A promise that resolves to the materialized snapshots found
87
- */
88
- getByIds(ids: string[], attributes?: Record<string, unknown>, abort?: AbortController | AbortSignal): Promise<MaterializedSnapshot<S>[]>;
89
- /**
90
- * Retrieves the states of several aggregates in one request: `listState`
91
- * filtered by `filter.aggregateIds(ids)`, limited to `ids.length`. An empty
92
- * `ids` sends nothing and resolves to `[]`.
93
- * @param ids - The aggregate IDs
94
- * @param attributes - Optional shared attributes that can be accessed by interceptors
95
- * throughout the request lifecycle. These attributes allow passing
96
- * custom data between different interceptors.
97
- * @param abort - Cancels the request: an `AbortController`, or an `AbortSignal` such as `AbortSignal.timeout(ms)` or the `signal` a data-fetching library passes.
98
- * @returns A promise that resolves to the states found
99
- */
100
- getStateByIds(ids: string[], attributes?: Record<string, unknown>, abort?: AbortController | AbortSignal): Promise<S[]>;
101
- }
@@ -1,2 +0,0 @@
1
- const e=require("../../../dsl/filter/builders.cjs"),t=require("../../../dsl/queryable.cjs"),n=require("../../../transport/endpoints.cjs"),r=require("../../bindMethods.cjs"),i=require("../../../_virtual/_@oxc-project_runtime@0.153.0/helpers/esm/decorateMetadata.cjs"),a=require("../../../_virtual/_@oxc-project_runtime@0.153.0/helpers/esm/decorateParam.cjs"),o=require("../../../_virtual/_@oxc-project_runtime@0.153.0/helpers/esm/decorate.cjs"),s=require("./endpointPaths.cjs");let c=require("@ahoo-wang/fetcher-decorator");var l=class{constructor(e){this.apiMetadata=e,r.bindMethods(this)}aggregate(e,t,n){throw(0,c.autoGeneratedError)(e,t,n)}aggregateStream(e,t,n){throw(0,c.autoGeneratedError)(e,t,n)}cursor(e,t,n){throw(0,c.autoGeneratedError)(e,t,n)}cursorState(e,t,n){throw(0,c.autoGeneratedError)(e,t,n)}count(e,t,n){throw(0,c.autoGeneratedError)(e,t,n)}list(e,t,n){throw(0,c.autoGeneratedError)(e,t,n)}listStream(e,t,n){throw(0,c.autoGeneratedError)(e,t,n)}listState(e,t,n){throw(0,c.autoGeneratedError)(e,t,n)}listStateStream(e,t,n){throw(0,c.autoGeneratedError)(e,t,n)}paged(e,t,n){throw(0,c.autoGeneratedError)(e,t,n)}pagedState(e,t,n){throw(0,c.autoGeneratedError)(e,t,n)}single(e,t,n){throw(0,c.autoGeneratedError)(e,t,n)}singleState(e,t,n){throw(0,c.autoGeneratedError)(e,t,n)}getById(n,r,i){let a=t.singleQuery({filter:e.filter.aggregateId(n)});return this.single(a,r,i)}getStateById(n,r,i){let a=t.singleQuery({filter:e.filter.aggregateId(n)});return this.singleState(a,r,i)}getByIds(n,r,i){if(n.length===0)return Promise.resolve([]);let a=t.listQuery({filter:e.filter.aggregateIds(n),limit:n.length});return this.list(a,r,i)}getStateByIds(n,r,i){if(n.length===0)return Promise.resolve([]);let a=t.listQuery({filter:e.filter.aggregateIds(n),limit:n.length});return this.listState(a,r,i)}};o.default([(0,c.post)(s.SnapshotQueryEndpointPaths.AGGREGATION),a.default(0,(0,c.body)()),a.default(1,(0,c.attribute)()),i.default(`design:type`,Function),i.default(`design:paramtypes`,[Object,typeof Record>`u`?Object:Record,Object]),i.default(`design:returntype`,typeof Promise>`u`?Object:Promise)],l.prototype,`aggregate`,null),o.default([(0,c.post)(s.SnapshotQueryEndpointPaths.AGGREGATION,n.QUERY_STREAM_ENDPOINT),a.default(0,(0,c.body)()),a.default(1,(0,c.attribute)()),i.default(`design:type`,Function),i.default(`design:paramtypes`,[Object,typeof Record>`u`?Object:Record,Object]),i.default(`design:returntype`,typeof Promise>`u`?Object:Promise)],l.prototype,`aggregateStream`,null),o.default([(0,c.post)(s.SnapshotQueryEndpointPaths.CURSOR),a.default(0,(0,c.body)()),a.default(1,(0,c.attribute)()),i.default(`design:type`,Function),i.default(`design:paramtypes`,[Object,typeof Record>`u`?Object:Record,Object]),i.default(`design:returntype`,typeof Promise>`u`?Object:Promise)],l.prototype,`cursor`,null),o.default([(0,c.post)(s.SnapshotQueryEndpointPaths.CURSOR_STATE),a.default(0,(0,c.body)()),a.default(1,(0,c.attribute)()),i.default(`design:type`,Function),i.default(`design:paramtypes`,[Object,typeof Record>`u`?Object:Record,Object]),i.default(`design:returntype`,typeof Promise>`u`?Object:Promise)],l.prototype,`cursorState`,null),o.default([(0,c.post)(s.SnapshotQueryEndpointPaths.COUNT),a.default(0,(0,c.body)()),a.default(1,(0,c.attribute)()),i.default(`design:type`,Function),i.default(`design:paramtypes`,[Object,typeof Record>`u`?Object:Record,Object]),i.default(`design:returntype`,typeof Promise>`u`?Object:Promise)],l.prototype,`count`,null),o.default([(0,c.post)(s.SnapshotQueryEndpointPaths.LIST),a.default(0,(0,c.body)()),a.default(1,(0,c.attribute)()),i.default(`design:type`,Function),i.default(`design:paramtypes`,[Object,typeof Record>`u`?Object:Record,Object]),i.default(`design:returntype`,typeof Promise>`u`?Object:Promise)],l.prototype,`list`,null),o.default([(0,c.post)(s.SnapshotQueryEndpointPaths.LIST,n.QUERY_STREAM_ENDPOINT),a.default(0,(0,c.body)()),a.default(1,(0,c.attribute)()),i.default(`design:type`,Function),i.default(`design:paramtypes`,[Object,typeof Record>`u`?Object:Record,Object]),i.default(`design:returntype`,typeof Promise>`u`?Object:Promise)],l.prototype,`listStream`,null),o.default([(0,c.post)(s.SnapshotQueryEndpointPaths.LIST_STATE),a.default(0,(0,c.body)()),a.default(1,(0,c.attribute)()),i.default(`design:type`,Function),i.default(`design:paramtypes`,[Object,typeof Record>`u`?Object:Record,Object]),i.default(`design:returntype`,typeof Promise>`u`?Object:Promise)],l.prototype,`listState`,null),o.default([(0,c.post)(s.SnapshotQueryEndpointPaths.LIST_STATE,n.QUERY_STREAM_ENDPOINT),a.default(0,(0,c.body)()),a.default(1,(0,c.attribute)()),i.default(`design:type`,Function),i.default(`design:paramtypes`,[Object,typeof Record>`u`?Object:Record,Object]),i.default(`design:returntype`,typeof Promise>`u`?Object:Promise)],l.prototype,`listStateStream`,null),o.default([(0,c.post)(s.SnapshotQueryEndpointPaths.PAGED),a.default(0,(0,c.body)()),a.default(1,(0,c.attribute)()),i.default(`design:type`,Function),i.default(`design:paramtypes`,[Object,typeof Record>`u`?Object:Record,Object]),i.default(`design:returntype`,typeof Promise>`u`?Object:Promise)],l.prototype,`paged`,null),o.default([(0,c.post)(s.SnapshotQueryEndpointPaths.PAGED_STATE),a.default(0,(0,c.body)()),a.default(1,(0,c.attribute)()),i.default(`design:type`,Function),i.default(`design:paramtypes`,[Object,typeof Record>`u`?Object:Record,Object]),i.default(`design:returntype`,typeof Promise>`u`?Object:Promise)],l.prototype,`pagedState`,null),o.default([(0,c.post)(s.SnapshotQueryEndpointPaths.SINGLE),a.default(0,(0,c.body)()),a.default(1,(0,c.attribute)()),i.default(`design:type`,Function),i.default(`design:paramtypes`,[Object,typeof Record>`u`?Object:Record,Object]),i.default(`design:returntype`,typeof Promise>`u`?Object:Promise)],l.prototype,`single`,null),o.default([(0,c.post)(s.SnapshotQueryEndpointPaths.SINGLE_STATE),a.default(0,(0,c.body)()),a.default(1,(0,c.attribute)()),i.default(`design:type`,Function),i.default(`design:paramtypes`,[Object,typeof Record>`u`?Object:Record,Object]),i.default(`design:returntype`,typeof Promise>`u`?Object:Promise)],l.prototype,`singleState`,null),l=o.default([(0,c.api)(),i.default(`design:paramtypes`,[Object])],l),Object.defineProperty(exports,"SnapshotQueryClient",{enumerable:!0,get:function(){return l}});
2
- //# sourceMappingURL=snapshotQueryClient.cjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"snapshotQueryClient.cjs","names":["autoGeneratedError","singleQuery","filter","listQuery","_decorate","post","SnapshotQueryEndpointPaths","_decorateParam","body","attribute","_decorateMetadata","QUERY_STREAM_ENDPOINT","api","require_builders","require_queryable","require_endpoints","require_bindMethods","require_decorateMetadata","require_decorateParam","require_decorate","require_endpointPaths","_ahoo_wang_fetcher_decorator","SnapshotQueryClient","apiMetadata","query","attributes","abort","filter","listQuery","pagedQuery","singleQuery","id","ids"],"sources":["../../../../src/client/query/snapshot/snapshotQueryClient.ts"],"sourcesContent":["/*\n * Copyright [2021-present] [ahoo wang <ahoowang@qq.com> (https://github.com/Ahoo-Wang)].\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n * http://www.apache.org/licenses/LICENSE-2.0\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport type { SnapshotQueryApi } from './snapshotQueryApi.js';\nimport { SnapshotQueryEndpointPaths } from './endpointPaths.js';\nimport type { AggregationQuery } from '../../../dsl/aggregation/index.js';\nimport { filter, type FilterExpression } from '../../../dsl/filter/index.js';\nimport type {\n Condition,\n ListQueryRequest,\n PagedQueryRequest,\n SingleQueryRequest,\n} from '../requests.js';\nimport {\n listQuery,\n type PagedList,\n singleQuery,\n} from '../../../dsl/queryable.js';\nimport type { MaterializedSnapshot } from '../../../model/snapshot.js';\nimport type { DynamicDocument } from '../../../dsl/documents.js';\nimport type { CursorPage, CursorQuery } from '../../../dsl/cursorQuery.js';\nimport { QUERY_STREAM_ENDPOINT } from '../../../transport/endpoints.js';\nimport type {\n ApiMetadata,\n ApiMetadataCapable,\n} from '@ahoo-wang/fetcher-decorator';\nimport {\n api,\n attribute,\n autoGeneratedError,\n body,\n post,\n} from '@ahoo-wang/fetcher-decorator';\nimport { bindMethods } from '../../bindMethods.js';\n\n/**\n * A client for querying snapshot data through HTTP endpoints.\n * Provides methods for various query operations such as counting, listing, paging, and retrieving single snapshots.\n *\n * @example\n * ```typescript\n * import { Fetcher } from '@ahoo-wang/fetcher';\n * import type { ApiMetadata } from '@ahoo-wang/fetcher-decorator';\n *\n * // Define the state interface\n * interface CartItem {\n * productId: string;\n * quantity: number;\n * }\n *\n * interface CartState {\n * items: CartItem[];\n * }\n *\n * // Create client options configuration\n * const clientOptions: ApiMetadata = {\n * fetcher: new Fetcher({ baseURL: 'http://localhost:8080/' }),\n * basePath: 'owner/{ownerId}/cart'\n * };\n *\n * // Create a snapshot query client instance\n * const snapshotQueryClient = new SnapshotQueryClient<CartState>(clientOptions);\n *\n * // Count snapshots\n * const count = await snapshotQueryClient.count(filter.matchAll());\n *\n * // List snapshots\n * const listQuery: FilterListQuery = {\n * filter: filter.matchAll()\n * };\n * const list = await snapshotQueryClient.list(listQuery);\n *\n * // List snapshots as stream\n * const listStream = await snapshotQueryClient.listStream(listQuery);\n * for await (const snapshot of listStream) {\n * console.log('Received:', snapshot);\n * }\n *\n * // List snapshot states\n * const stateList = await snapshotQueryClient.listState(listQuery);\n *\n * // List snapshot states as stream\n * const stateListStream = await snapshotQueryClient.listStateStream(listQuery);\n * for await (const state of stateListStream) {\n * console.log('Received state:', state);\n * }\n *\n * // Paged snapshots\n * const pagedQuery: FilterPagedQuery = {\n * filter: filter.matchAll(),\n * pagination: { index: 1, size: 10 }\n * };\n * const paged = await snapshotQueryClient.paged(pagedQuery);\n *\n * // Paged snapshot states\n * const pagedState = await snapshotQueryClient.pagedState(pagedQuery);\n *\n * // Single snapshot\n * const singleQuery: FilterSingleQuery = {\n * filter: filter.matchAll()\n * };\n * const single = await snapshotQueryClient.single(singleQuery);\n *\n * // Single snapshot state\n * const singleState = await snapshotQueryClient.singleState(singleQuery);\n * ```\n *\n * @template S The type of the snapshot state\n */\n@api()\nexport class SnapshotQueryClient<S, FIELDS extends string = string>\n implements SnapshotQueryApi<S, FIELDS>, ApiMetadataCapable\n{\n /**\n * Creates a new SnapshotQueryClient instance.\n */\n constructor(public readonly apiMetadata?: ApiMetadata) {\n bindMethods(this);\n }\n\n /** Runs a snapshot aggregation and returns all result rows. */\n @post(SnapshotQueryEndpointPaths.AGGREGATION)\n /* v8 ignore start */\n aggregate<\n Row extends object = DynamicDocument,\n AGGREGATION_FIELDS extends string = string,\n >(\n @body() query: AggregationQuery<FIELDS, AGGREGATION_FIELDS>,\n @attribute() attributes?: Record<string, unknown>,\n abort?: AbortController | AbortSignal,\n ): Promise<Row[]> {\n throw autoGeneratedError(query, attributes, abort);\n }\n /* v8 ignore stop */\n\n /** Runs a snapshot aggregation and streams the result rows, one per server-sent event. */\n @post(SnapshotQueryEndpointPaths.AGGREGATION, QUERY_STREAM_ENDPOINT)\n /* v8 ignore start */\n aggregateStream<\n Row extends object = DynamicDocument,\n AGGREGATION_FIELDS extends string = string,\n >(\n @body() query: AggregationQuery<FIELDS, AGGREGATION_FIELDS>,\n @attribute() attributes?: Record<string, unknown>,\n abort?: AbortController | AbortSignal,\n ): Promise<ReadableStream<Row>> {\n throw autoGeneratedError(query, attributes, abort);\n }\n /* v8 ignore stop */\n\n /** Retrieves the next cursor page of materialized snapshots. */\n @post(SnapshotQueryEndpointPaths.CURSOR)\n /* v8 ignore start */\n cursor<T extends Partial<MaterializedSnapshot<S>> = MaterializedSnapshot<S>>(\n @body() query: CursorQuery<FIELDS>,\n @attribute() attributes?: Record<string, unknown>,\n abort?: AbortController | AbortSignal,\n ): Promise<CursorPage<T>> {\n throw autoGeneratedError(query, attributes, abort);\n }\n /* v8 ignore stop */\n\n /** Retrieves the next cursor page of snapshot states. */\n @post(SnapshotQueryEndpointPaths.CURSOR_STATE)\n /* v8 ignore start */\n cursorState<T extends Partial<S> = S>(\n @body() query: CursorQuery<FIELDS>,\n @attribute() attributes?: Record<string, unknown>,\n abort?: AbortController | AbortSignal,\n ): Promise<CursorPage<T>> {\n throw autoGeneratedError(query, attributes, abort);\n }\n /* v8 ignore stop */\n\n /**\n * Counts the number of snapshots that match the given filter.\n *\n * @param filter - The filter expression or legacy condition\n * @param attributes - Optional shared attributes that can be accessed by interceptors\n * throughout the request lifecycle. These attributes allow passing\n * custom data between different interceptors.\n * @param abort - Cancels the request: an `AbortController`, or an `AbortSignal` such as `AbortSignal.timeout(ms)` or the `signal` a data-fetching library passes.\n * @returns A promise that resolves to the count of matching snapshots\n *\n * @example\n * ```typescript\n * const count = await snapshotQueryClient.count(filter.matchAll());\n * console.log('Total snapshots:', count);\n * ```\n */\n @post(SnapshotQueryEndpointPaths.COUNT)\n /* v8 ignore start */\n count(\n // compat(wow<9): accepts the deprecated Condition, which Wow < 8.11 needs; narrow to FilterExpression in v10.\n @body() filter: FilterExpression<FIELDS> | Condition<FIELDS>,\n @attribute() attributes?: Record<string, unknown>,\n abort?: AbortController | AbortSignal,\n ): Promise<number> {\n throw autoGeneratedError(filter, attributes, abort);\n }\n /* v8 ignore stop */\n\n /**\n * Retrieves a list of materialized snapshots based on the provided query parameters.\n *\n * @param listQuery - The query parameters for listing snapshots\n * @param attributes - Optional shared attributes that can be accessed by interceptors\n * throughout the request lifecycle. These attributes allow passing\n * custom data between different interceptors.\n * @param abort - Cancels the request: an `AbortController`, or an `AbortSignal` such as `AbortSignal.timeout(ms)` or the `signal` a data-fetching library passes.\n * @returns A promise that resolves to an array of partial materialized snapshots\n *\n * @example\n * ```typescript\n * const listQuery: FilterListQuery = {\n * filter: filter.matchAll()\n * };\n * const list = await snapshotQueryClient.list(listQuery);\n * for (const snapshot of list) {\n * console.log('Snapshot:', snapshot);\n * }\n * ```\n */\n @post(SnapshotQueryEndpointPaths.LIST)\n /* v8 ignore start */\n list<T extends Partial<MaterializedSnapshot<S>> = MaterializedSnapshot<S>>(\n @body() listQuery: ListQueryRequest<FIELDS>,\n @attribute() attributes?: Record<string, unknown>,\n abort?: AbortController | AbortSignal,\n ): Promise<T[]> {\n throw autoGeneratedError(listQuery, attributes, abort);\n }\n /* v8 ignore stop */\n\n /**\n * Retrieves a stream of materialized snapshots based on the provided query parameters.\n *\n * @param listQuery - The query parameters for listing snapshots\n * @param attributes - Optional shared attributes that can be accessed by interceptors\n * throughout the request lifecycle. These attributes allow passing\n * custom data between different interceptors.\n * @param abort - Cancels the request: an `AbortController`, or an `AbortSignal` such as `AbortSignal.timeout(ms)` or the `signal` a data-fetching library passes.\n * @returns A promise that resolves to a readable stream of partial materialized snapshots\n *\n * @example\n * ```typescript\n * const listQuery: FilterListQuery = {\n * filter: filter.matchAll()\n * };\n * const listStream = await snapshotQueryClient.listStream(listQuery);\n * for await (const snapshot of listStream) {\n * console.log('Received snapshot:', snapshot);\n * }\n * ```\n */\n @post(SnapshotQueryEndpointPaths.LIST, QUERY_STREAM_ENDPOINT)\n /* v8 ignore start */\n listStream<\n T extends Partial<MaterializedSnapshot<S>> = MaterializedSnapshot<S>,\n >(\n @body() listQuery: ListQueryRequest<FIELDS>,\n @attribute() attributes?: Record<string, unknown>,\n abort?: AbortController | AbortSignal,\n ): Promise<ReadableStream<T>> {\n throw autoGeneratedError(listQuery, attributes, abort);\n }\n /* v8 ignore stop */\n\n /**\n * Retrieves a list of snapshot states based on the provided query parameters.\n *\n * @param listQuery - The query parameters for listing snapshot states\n * @param attributes - Optional shared attributes that can be accessed by interceptors\n * throughout the request lifecycle. These attributes allow passing\n * custom data between different interceptors.\n * @param abort - Cancels the request: an `AbortController`, or an `AbortSignal` such as `AbortSignal.timeout(ms)` or the `signal` a data-fetching library passes.\n * @returns A promise that resolves to an array of partial snapshot states\n *\n * @example\n * ```typescript\n * const listQuery: FilterListQuery = {\n * filter: filter.matchAll()\n * };\n * const list = await snapshotQueryClient.listState(listQuery);\n * for (const state of list) {\n * console.log('State:', state);\n * }\n * ```\n */\n @post(SnapshotQueryEndpointPaths.LIST_STATE)\n /* v8 ignore start */\n listState<T extends Partial<S> = S>(\n @body() listQuery: ListQueryRequest<FIELDS>,\n @attribute() attributes?: Record<string, unknown>,\n abort?: AbortController | AbortSignal,\n ): Promise<T[]> {\n throw autoGeneratedError(listQuery, attributes, abort);\n }\n /* v8 ignore stop */\n\n /**\n * Retrieves a stream of snapshot states based on the provided query parameters.\n *\n * @param listQuery - The query parameters for listing snapshot states\n * @param attributes - Optional shared attributes that can be accessed by interceptors\n * throughout the request lifecycle. These attributes allow passing\n * custom data between different interceptors.\n * @param abort - Cancels the request: an `AbortController`, or an `AbortSignal` such as `AbortSignal.timeout(ms)` or the `signal` a data-fetching library passes.\n * @returns A promise that resolves to a readable stream of partial snapshot states\n *\n * @example\n * ```typescript\n * const listQuery: FilterListQuery = {\n * filter: filter.matchAll()\n * };\n * const listStream = await snapshotQueryClient.listStateStream(listQuery);\n * for await (const state of listStream) {\n * console.log('Received state:', state);\n * }\n * ```\n */\n @post(SnapshotQueryEndpointPaths.LIST_STATE, QUERY_STREAM_ENDPOINT)\n /* v8 ignore start */\n listStateStream<T extends Partial<S> = S>(\n @body() listQuery: ListQueryRequest<FIELDS>,\n @attribute() attributes?: Record<string, unknown>,\n abort?: AbortController | AbortSignal,\n ): Promise<ReadableStream<T>> {\n throw autoGeneratedError(listQuery, attributes, abort);\n }\n /* v8 ignore stop */\n\n /**\n * Retrieves a paged list of materialized snapshots based on the provided query parameters.\n *\n * @param pagedQuery - The query parameters for paging snapshots\n * @param attributes - Optional shared attributes that can be accessed by interceptors\n * throughout the request lifecycle. These attributes allow passing\n * custom data between different interceptors.\n * @param abort - Cancels the request: an `AbortController`, or an `AbortSignal` such as `AbortSignal.timeout(ms)` or the `signal` a data-fetching library passes.\n * @returns A promise that resolves to a paged list of partial materialized snapshots\n *\n * @example\n * ```typescript\n * const pagedQuery: FilterPagedQuery = {\n * filter: filter.matchAll(),\n * pagination: { index: 1, size: 10 }\n * };\n * const paged = await snapshotQueryClient.paged(pagedQuery);\n * console.log('Total:', paged.total);\n * for (const snapshot of paged.list) {\n * console.log('Snapshot:', snapshot);\n * }\n * ```\n */\n @post(SnapshotQueryEndpointPaths.PAGED)\n /* v8 ignore start */\n paged<T extends Partial<MaterializedSnapshot<S>> = MaterializedSnapshot<S>>(\n @body() pagedQuery: PagedQueryRequest<FIELDS>,\n @attribute() attributes?: Record<string, unknown>,\n abort?: AbortController | AbortSignal,\n ): Promise<PagedList<T>> {\n throw autoGeneratedError(pagedQuery, attributes, abort);\n }\n /* v8 ignore stop */\n\n /**\n * Retrieves a paged list of snapshot states based on the provided query parameters.\n *\n * @param pagedQuery - The query parameters for paging snapshot states\n * @param attributes - Optional shared attributes that can be accessed by interceptors\n * throughout the request lifecycle. These attributes allow passing\n * custom data between different interceptors.\n * @param abort - Cancels the request: an `AbortController`, or an `AbortSignal` such as `AbortSignal.timeout(ms)` or the `signal` a data-fetching library passes.\n * @returns A promise that resolves to a paged list of partial snapshot states\n *\n * @example\n * ```typescript\n * const pagedQuery: FilterPagedQuery = {\n * filter: filter.matchAll(),\n * pagination: { index: 1, size: 10 }\n * };\n * const pagedState = await snapshotQueryClient.pagedState(pagedQuery);\n * for (const state of pagedState.list) {\n * console.log('State:', state);\n * }\n * ```\n */\n @post(SnapshotQueryEndpointPaths.PAGED_STATE)\n /* v8 ignore start */\n pagedState<T extends Partial<S> = S>(\n @body() pagedQuery: PagedQueryRequest<FIELDS>,\n @attribute() attributes?: Record<string, unknown>,\n abort?: AbortController | AbortSignal,\n ): Promise<PagedList<T>> {\n throw autoGeneratedError(pagedQuery, attributes, abort);\n }\n /* v8 ignore stop */\n\n /**\n * Retrieves a single materialized snapshot based on the provided query parameters.\n *\n * @param singleQuery - The query parameters for retrieving a single snapshot\n * @param attributes - Optional shared attributes that can be accessed by interceptors\n * throughout the request lifecycle. These attributes allow passing\n * custom data between different interceptors.\n * @param abort - Cancels the request: an `AbortController`, or an `AbortSignal` such as `AbortSignal.timeout(ms)` or the `signal` a data-fetching library passes.\n * @returns A promise that resolves to a partial materialized snapshot\n *\n * @example\n * ```typescript\n * const singleQuery: FilterSingleQuery = {\n * filter: filter.matchAll()\n * };\n * const single = await snapshotQueryClient.single(singleQuery);\n * console.log('Snapshot:', single);\n * ```\n */\n @post(SnapshotQueryEndpointPaths.SINGLE)\n /* v8 ignore start */\n single<T extends Partial<MaterializedSnapshot<S>> = MaterializedSnapshot<S>>(\n @body() singleQuery: SingleQueryRequest<FIELDS>,\n @attribute() attributes?: Record<string, unknown>,\n abort?: AbortController | AbortSignal,\n ): Promise<T> {\n throw autoGeneratedError(singleQuery, attributes, abort);\n }\n /* v8 ignore stop */\n\n /**\n * Retrieves a single snapshot state based on the provided query parameters.\n *\n * @param singleQuery - The query parameters for retrieving a single snapshot state\n * @param attributes - Optional shared attributes that can be accessed by interceptors\n * throughout the request lifecycle. These attributes allow passing\n * custom data between different interceptors.\n * @param abort - Cancels the request: an `AbortController`, or an `AbortSignal` such as `AbortSignal.timeout(ms)` or the `signal` a data-fetching library passes.\n * @returns A promise that resolves to a partial snapshot state\n *\n * @example\n * ```typescript\n * const singleQuery: FilterSingleQuery = {\n * filter: filter.matchAll()\n * };\n * const singleState = await snapshotQueryClient.singleState(singleQuery);\n * console.log('State:', singleState);\n * ```\n */\n @post(SnapshotQueryEndpointPaths.SINGLE_STATE)\n /* v8 ignore start */\n singleState<T extends Partial<S> = S>(\n @body() singleQuery: SingleQueryRequest<FIELDS>,\n @attribute() attributes?: Record<string, unknown>,\n abort?: AbortController | AbortSignal,\n ): Promise<T> {\n throw autoGeneratedError(singleQuery, attributes, abort);\n }\n /* v8 ignore stop */\n\n /**\n * Retrieves a single materialized snapshot by its ID.\n *\n * @param id - The unique identifier of the snapshot to retrieve\n * @param attributes - Optional shared attributes that can be accessed by interceptors\n * throughout the request lifecycle. These attributes allow passing\n * custom data between different interceptors.\n * @param abort - Cancels the request: an `AbortController`, or an `AbortSignal` such as `AbortSignal.timeout(ms)` or the `signal` a data-fetching library passes.\n * @returns A promise that resolves to the materialized snapshot with the specified ID\n *\n * @example\n * ```typescript\n * const snapshot = await snapshotQueryClient.getById('snapshot-123');\n * console.log('Snapshot:', snapshot);\n * ```\n */\n getById(\n id: string,\n attributes?: Record<string, unknown>,\n abort?: AbortController | AbortSignal,\n ): Promise<MaterializedSnapshot<S>> {\n const query = singleQuery<FIELDS>({ filter: filter.aggregateId(id) });\n return this.single(query, attributes, abort);\n }\n\n /**\n * Retrieves a single snapshot state by its ID.\n *\n * @param id - The unique identifier of the snapshot whose state to retrieve\n * @param attributes - Optional shared attributes that can be accessed by interceptors\n * throughout the request lifecycle. These attributes allow passing\n * custom data between different interceptors.\n * @param abort - Cancels the request: an `AbortController`, or an `AbortSignal` such as `AbortSignal.timeout(ms)` or the `signal` a data-fetching library passes.\n * @returns A promise that resolves to the snapshot state with the specified ID\n *\n * @example\n * ```typescript\n * const state = await snapshotQueryClient.getStateById('snapshot-123');\n * console.log('State:', state);\n * ```\n */\n getStateById(\n id: string,\n attributes?: Record<string, unknown>,\n abort?: AbortController | AbortSignal,\n ): Promise<S> {\n const query = singleQuery<FIELDS>({ filter: filter.aggregateId(id) });\n return this.singleState(query, attributes, abort);\n }\n\n /**\n * Retrieves multiple materialized snapshots by their IDs.\n *\n * One request, filtered by `filter.aggregateIds(ids)` with `limit` set to\n * the number of ids; an empty `ids` sends nothing and resolves to `[]`. The\n * server refuses more ids than its filter value limit and its maximum list\n * size (1000 each by default), so split a larger set into batches.\n *\n * @param ids - An array of unique identifiers of the snapshots to retrieve\n * @param attributes - Optional shared attributes that can be accessed by interceptors\n * throughout the request lifecycle. These attributes allow passing\n * custom data between different interceptors.\n * @param abort - Cancels the request: an `AbortController`, or an `AbortSignal` such as `AbortSignal.timeout(ms)` or the `signal` a data-fetching library passes.\n * @returns A promise that resolves to an array of materialized snapshots with the specified IDs\n *\n * @example\n * ```typescript\n * const snapshots = await snapshotQueryClient.getByIds(['snapshot-123', 'snapshot-456']);\n * for (const snapshot of snapshots) {\n * console.log('Snapshot:', snapshot);\n * }\n * ```\n */\n getByIds(\n ids: string[],\n attributes?: Record<string, unknown>,\n abort?: AbortController | AbortSignal,\n ): Promise<MaterializedSnapshot<S>[]> {\n if (ids.length === 0) return Promise.resolve([]);\n const query = listQuery<FIELDS>({\n filter: filter.aggregateIds(ids),\n limit: ids.length,\n });\n return this.list(query, attributes, abort);\n }\n\n /**\n * Retrieves multiple snapshot states by their IDs.\n *\n * One request, filtered by `filter.aggregateIds(ids)` with `limit` set to\n * the number of ids; an empty `ids` sends nothing and resolves to `[]`. The\n * server refuses more ids than its filter value limit and its maximum list\n * size (1000 each by default), so split a larger set into batches.\n *\n * @param ids - An array of unique identifiers of the snapshots whose states to retrieve\n * @param attributes - Optional shared attributes that can be accessed by interceptors\n * throughout the request lifecycle. These attributes allow passing\n * custom data between different interceptors.\n * @param abort - Cancels the request: an `AbortController`, or an `AbortSignal` such as `AbortSignal.timeout(ms)` or the `signal` a data-fetching library passes.\n * @returns A promise that resolves to an array of snapshot states with the specified IDs\n *\n * @example\n * ```typescript\n * const states = await snapshotQueryClient.getStateByIds(['snapshot-123', 'snapshot-456']);\n * for (const state of states) {\n * console.log('State:', state);\n * }\n * ```\n */\n getStateByIds(\n ids: string[],\n attributes?: Record<string, unknown>,\n abort?: AbortController | AbortSignal,\n ): Promise<S[]> {\n if (ids.length === 0) return Promise.resolve([]);\n const query = listQuery<FIELDS>({\n filter: filter.aggregateIds(ids),\n limit: ids.length,\n });\n return this.listState(query, attributes, abort);\n }\n}\n"],"mappings":"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"}