@ahoo-wang/wow-client 9.2.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (404) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +291 -0
  3. package/README.zh-CN.md +267 -0
  4. package/dist/_virtual/_@oxc-project_runtime@0.151.0/helpers/esm/decorate.cjs +1 -0
  5. package/dist/_virtual/_@oxc-project_runtime@0.151.0/helpers/esm/decorate.es.js +9 -0
  6. package/dist/_virtual/_@oxc-project_runtime@0.151.0/helpers/esm/decorateMetadata.cjs +1 -0
  7. package/dist/_virtual/_@oxc-project_runtime@0.151.0/helpers/esm/decorateMetadata.es.js +6 -0
  8. package/dist/_virtual/_@oxc-project_runtime@0.151.0/helpers/esm/decorateParam.cjs +1 -0
  9. package/dist/_virtual/_@oxc-project_runtime@0.151.0/helpers/esm/decorateParam.es.js +8 -0
  10. package/dist/client/bindMethods.cjs +2 -0
  11. package/dist/client/bindMethods.cjs.map +1 -0
  12. package/dist/client/bindMethods.d.cts +13 -0
  13. package/dist/client/bindMethods.d.ts +13 -0
  14. package/dist/client/bindMethods.es.js +19 -0
  15. package/dist/client/bindMethods.es.js.map +1 -0
  16. package/dist/client/command/commandClient.cjs +2 -0
  17. package/dist/client/command/commandClient.cjs.map +1 -0
  18. package/dist/client/command/commandClient.d.cts +67 -0
  19. package/dist/client/command/commandClient.d.ts +67 -0
  20. package/dist/client/command/commandClient.es.js +38 -0
  21. package/dist/client/command/commandClient.es.js.map +1 -0
  22. package/dist/client/command/commandHeaders.cjs +2 -0
  23. package/dist/client/command/commandHeaders.cjs.map +1 -0
  24. package/dist/client/command/commandHeaders.d.cts +75 -0
  25. package/dist/client/command/commandHeaders.d.ts +75 -0
  26. package/dist/client/command/commandHeaders.es.js +31 -0
  27. package/dist/client/command/commandHeaders.es.js.map +1 -0
  28. package/dist/client/command/commandRequest.cjs +2 -0
  29. package/dist/client/command/commandRequest.cjs.map +1 -0
  30. package/dist/client/command/commandRequest.d.cts +180 -0
  31. package/dist/client/command/commandRequest.d.ts +180 -0
  32. package/dist/client/command/commandRequest.es.js +31 -0
  33. package/dist/client/command/commandRequest.es.js.map +1 -0
  34. package/dist/client/command/commandResult.d.cts +15 -0
  35. package/dist/client/command/commandResult.d.ts +15 -0
  36. package/dist/client/command/index.d.cts +5 -0
  37. package/dist/client/command/index.d.ts +5 -0
  38. package/dist/client/command/types.d.cts +71 -0
  39. package/dist/client/command/types.d.ts +71 -0
  40. package/dist/client/metadata/index.d.cts +2 -0
  41. package/dist/client/metadata/index.d.ts +2 -0
  42. package/dist/client/metadata/wowMetadata.d.cts +48 -0
  43. package/dist/client/metadata/wowMetadata.d.ts +48 -0
  44. package/dist/client/metadata/wowMetadataClient.cjs +2 -0
  45. package/dist/client/metadata/wowMetadataClient.cjs.map +1 -0
  46. package/dist/client/metadata/wowMetadataClient.d.cts +23 -0
  47. package/dist/client/metadata/wowMetadataClient.d.ts +23 -0
  48. package/dist/client/metadata/wowMetadataClient.es.js +25 -0
  49. package/dist/client/metadata/wowMetadataClient.es.js.map +1 -0
  50. package/dist/client/query/descriptor/descriptorEndpoints.cjs +2 -0
  51. package/dist/client/query/descriptor/descriptorEndpoints.cjs.map +1 -0
  52. package/dist/client/query/descriptor/descriptorEndpoints.d.cts +29 -0
  53. package/dist/client/query/descriptor/descriptorEndpoints.d.ts +29 -0
  54. package/dist/client/query/descriptor/descriptorEndpoints.es.js +69 -0
  55. package/dist/client/query/descriptor/descriptorEndpoints.es.js.map +1 -0
  56. package/dist/client/query/descriptor/endpointPaths.cjs +2 -0
  57. package/dist/client/query/descriptor/endpointPaths.cjs.map +1 -0
  58. package/dist/client/query/descriptor/endpointPaths.d.cts +4 -0
  59. package/dist/client/query/descriptor/endpointPaths.d.ts +4 -0
  60. package/dist/client/query/descriptor/endpointPaths.es.js +9 -0
  61. package/dist/client/query/descriptor/endpointPaths.es.js.map +1 -0
  62. package/dist/client/query/descriptor/index.d.cts +2 -0
  63. package/dist/client/query/descriptor/index.d.ts +2 -0
  64. package/dist/client/query/descriptor/queryDescriptorApi.d.cts +58 -0
  65. package/dist/client/query/descriptor/queryDescriptorApi.d.ts +58 -0
  66. package/dist/client/query/descriptor/queryDescriptorClient.cjs +2 -0
  67. package/dist/client/query/descriptor/queryDescriptorClient.cjs.map +1 -0
  68. package/dist/client/query/descriptor/queryDescriptorClient.d.cts +61 -0
  69. package/dist/client/query/descriptor/queryDescriptorClient.d.ts +61 -0
  70. package/dist/client/query/descriptor/queryDescriptorClient.es.js +20 -0
  71. package/dist/client/query/descriptor/queryDescriptorClient.es.js.map +1 -0
  72. package/dist/client/query/event/domainEventStream.cjs +2 -0
  73. package/dist/client/query/event/domainEventStream.cjs.map +1 -0
  74. package/dist/client/query/event/domainEventStream.d.cts +105 -0
  75. package/dist/client/query/event/domainEventStream.d.ts +105 -0
  76. package/dist/client/query/event/domainEventStream.es.js +23 -0
  77. package/dist/client/query/event/domainEventStream.es.js.map +1 -0
  78. package/dist/client/query/event/endpointPaths.cjs +2 -0
  79. package/dist/client/query/event/endpointPaths.cjs.map +1 -0
  80. package/dist/client/query/event/endpointPaths.d.cts +8 -0
  81. package/dist/client/query/event/endpointPaths.d.ts +8 -0
  82. package/dist/client/query/event/endpointPaths.es.js +13 -0
  83. package/dist/client/query/event/endpointPaths.es.js.map +1 -0
  84. package/dist/client/query/event/eventStreamQueryApi.d.cts +29 -0
  85. package/dist/client/query/event/eventStreamQueryApi.d.ts +29 -0
  86. package/dist/client/query/event/eventStreamQueryClient.cjs +2 -0
  87. package/dist/client/query/event/eventStreamQueryClient.cjs.map +1 -0
  88. package/dist/client/query/event/eventStreamQueryClient.d.cts +190 -0
  89. package/dist/client/query/event/eventStreamQueryClient.d.ts +190 -0
  90. package/dist/client/query/event/eventStreamQueryClient.es.js +160 -0
  91. package/dist/client/query/event/eventStreamQueryClient.es.js.map +1 -0
  92. package/dist/client/query/event/index.d.cts +3 -0
  93. package/dist/client/query/event/index.d.ts +3 -0
  94. package/dist/client/query/factory.cjs +2 -0
  95. package/dist/client/query/factory.cjs.map +1 -0
  96. package/dist/client/query/factory.d.cts +165 -0
  97. package/dist/client/query/factory.d.ts +165 -0
  98. package/dist/client/query/factory.es.js +45 -0
  99. package/dist/client/query/factory.es.js.map +1 -0
  100. package/dist/client/query/index.d.cts +6 -0
  101. package/dist/client/query/index.d.ts +6 -0
  102. package/dist/client/query/queryApi.d.cts +68 -0
  103. package/dist/client/query/queryApi.d.ts +68 -0
  104. package/dist/client/query/requests.d.cts +24 -0
  105. package/dist/client/query/requests.d.ts +24 -0
  106. package/dist/client/query/snapshot/endpointPaths.cjs +2 -0
  107. package/dist/client/query/snapshot/endpointPaths.cjs.map +1 -0
  108. package/dist/client/query/snapshot/endpointPaths.d.cts +12 -0
  109. package/dist/client/query/snapshot/endpointPaths.d.ts +12 -0
  110. package/dist/client/query/snapshot/endpointPaths.es.js +17 -0
  111. package/dist/client/query/snapshot/endpointPaths.es.js.map +1 -0
  112. package/dist/client/query/snapshot/index.d.cts +3 -0
  113. package/dist/client/query/snapshot/index.d.ts +3 -0
  114. package/dist/client/query/snapshot/snapshot.cjs +2 -0
  115. package/dist/client/query/snapshot/snapshot.cjs.map +1 -0
  116. package/dist/client/query/snapshot/snapshot.d.cts +51 -0
  117. package/dist/client/query/snapshot/snapshot.d.ts +51 -0
  118. package/dist/client/query/snapshot/snapshot.es.js +20 -0
  119. package/dist/client/query/snapshot/snapshot.es.js.map +1 -0
  120. package/dist/client/query/snapshot/snapshotQueryApi.d.cts +101 -0
  121. package/dist/client/query/snapshot/snapshotQueryApi.d.ts +101 -0
  122. package/dist/client/query/snapshot/snapshotQueryClient.cjs +2 -0
  123. package/dist/client/query/snapshot/snapshotQueryClient.cjs.map +1 -0
  124. package/dist/client/query/snapshot/snapshotQueryClient.d.cts +369 -0
  125. package/dist/client/query/snapshot/snapshotQueryClient.d.ts +369 -0
  126. package/dist/client/query/snapshot/snapshotQueryClient.es.js +239 -0
  127. package/dist/client/query/snapshot/snapshotQueryClient.es.js.map +1 -0
  128. package/dist/client/query/state/endpointPaths.cjs +2 -0
  129. package/dist/client/query/state/endpointPaths.cjs.map +1 -0
  130. package/dist/client/query/state/endpointPaths.d.cts +10 -0
  131. package/dist/client/query/state/endpointPaths.d.ts +10 -0
  132. package/dist/client/query/state/endpointPaths.es.js +14 -0
  133. package/dist/client/query/state/endpointPaths.es.js.map +1 -0
  134. package/dist/client/query/state/index.d.cts +4 -0
  135. package/dist/client/query/state/index.d.ts +4 -0
  136. package/dist/client/query/state/loadOwnerStateAggregateApi.d.cts +36 -0
  137. package/dist/client/query/state/loadOwnerStateAggregateApi.d.ts +36 -0
  138. package/dist/client/query/state/loadOwnerStateAggregateClient.cjs +2 -0
  139. package/dist/client/query/state/loadOwnerStateAggregateClient.cjs.map +1 -0
  140. package/dist/client/query/state/loadOwnerStateAggregateClient.d.cts +58 -0
  141. package/dist/client/query/state/loadOwnerStateAggregateClient.d.ts +58 -0
  142. package/dist/client/query/state/loadOwnerStateAggregateClient.es.js +56 -0
  143. package/dist/client/query/state/loadOwnerStateAggregateClient.es.js.map +1 -0
  144. package/dist/client/query/state/loadStateAggregateApi.d.cts +37 -0
  145. package/dist/client/query/state/loadStateAggregateApi.d.ts +37 -0
  146. package/dist/client/query/state/loadStateAggregateClient.cjs +2 -0
  147. package/dist/client/query/state/loadStateAggregateClient.cjs.map +1 -0
  148. package/dist/client/query/state/loadStateAggregateClient.d.cts +62 -0
  149. package/dist/client/query/state/loadStateAggregateClient.d.ts +62 -0
  150. package/dist/client/query/state/loadStateAggregateClient.es.js +65 -0
  151. package/dist/client/query/state/loadStateAggregateClient.es.js.map +1 -0
  152. package/dist/client/routing.cjs +2 -0
  153. package/dist/client/routing.cjs.map +1 -0
  154. package/dist/client/routing.d.cts +47 -0
  155. package/dist/client/routing.d.ts +47 -0
  156. package/dist/client/routing.es.js +8 -0
  157. package/dist/client/routing.es.js.map +1 -0
  158. package/dist/dsl/aggregation/admit.cjs +2 -0
  159. package/dist/dsl/aggregation/admit.cjs.map +1 -0
  160. package/dist/dsl/aggregation/admit.d.cts +6 -0
  161. package/dist/dsl/aggregation/admit.d.ts +6 -0
  162. package/dist/dsl/aggregation/admit.es.js +142 -0
  163. package/dist/dsl/aggregation/admit.es.js.map +1 -0
  164. package/dist/dsl/aggregation/builders.cjs +2 -0
  165. package/dist/dsl/aggregation/builders.cjs.map +1 -0
  166. package/dist/dsl/aggregation/builders.d.cts +309 -0
  167. package/dist/dsl/aggregation/builders.d.ts +309 -0
  168. package/dist/dsl/aggregation/builders.es.js +188 -0
  169. package/dist/dsl/aggregation/builders.es.js.map +1 -0
  170. package/dist/dsl/aggregation/derived.cjs +2 -0
  171. package/dist/dsl/aggregation/derived.cjs.map +1 -0
  172. package/dist/dsl/aggregation/derived.d.cts +33 -0
  173. package/dist/dsl/aggregation/derived.d.ts +33 -0
  174. package/dist/dsl/aggregation/derived.es.js +31 -0
  175. package/dist/dsl/aggregation/derived.es.js.map +1 -0
  176. package/dist/dsl/aggregation/expressionTrees.cjs +2 -0
  177. package/dist/dsl/aggregation/expressionTrees.cjs.map +1 -0
  178. package/dist/dsl/aggregation/expressionTrees.d.cts +10 -0
  179. package/dist/dsl/aggregation/expressionTrees.d.ts +10 -0
  180. package/dist/dsl/aggregation/expressionTrees.es.js +44 -0
  181. package/dist/dsl/aggregation/expressionTrees.es.js.map +1 -0
  182. package/dist/dsl/aggregation/having.cjs +2 -0
  183. package/dist/dsl/aggregation/having.cjs.map +1 -0
  184. package/dist/dsl/aggregation/having.d.cts +94 -0
  185. package/dist/dsl/aggregation/having.d.ts +94 -0
  186. package/dist/dsl/aggregation/having.es.js +62 -0
  187. package/dist/dsl/aggregation/having.es.js.map +1 -0
  188. package/dist/dsl/aggregation/index.d.cts +4 -0
  189. package/dist/dsl/aggregation/index.d.ts +4 -0
  190. package/dist/dsl/aggregation/sort.cjs +2 -0
  191. package/dist/dsl/aggregation/sort.cjs.map +1 -0
  192. package/dist/dsl/aggregation/sort.d.cts +7 -0
  193. package/dist/dsl/aggregation/sort.d.ts +7 -0
  194. package/dist/dsl/aggregation/sort.es.js +10 -0
  195. package/dist/dsl/aggregation/sort.es.js.map +1 -0
  196. package/dist/dsl/aggregation/types.cjs +2 -0
  197. package/dist/dsl/aggregation/types.cjs.map +1 -0
  198. package/dist/dsl/aggregation/types.d.cts +608 -0
  199. package/dist/dsl/aggregation/types.d.ts +608 -0
  200. package/dist/dsl/aggregation/types.es.js +37 -0
  201. package/dist/dsl/aggregation/types.es.js.map +1 -0
  202. package/dist/dsl/cursorQuery.cjs +2 -0
  203. package/dist/dsl/cursorQuery.cjs.map +1 -0
  204. package/dist/dsl/cursorQuery.d.cts +69 -0
  205. package/dist/dsl/cursorQuery.d.ts +69 -0
  206. package/dist/dsl/cursorQuery.es.js +19 -0
  207. package/dist/dsl/cursorQuery.es.js.map +1 -0
  208. package/dist/dsl/deletionState.cjs +2 -0
  209. package/dist/dsl/deletionState.cjs.map +1 -0
  210. package/dist/dsl/deletionState.d.cts +19 -0
  211. package/dist/dsl/deletionState.d.ts +19 -0
  212. package/dist/dsl/deletionState.es.js +8 -0
  213. package/dist/dsl/deletionState.es.js.map +1 -0
  214. package/dist/dsl/descriptor.cjs +2 -0
  215. package/dist/dsl/descriptor.cjs.map +1 -0
  216. package/dist/dsl/descriptor.d.cts +629 -0
  217. package/dist/dsl/descriptor.d.ts +629 -0
  218. package/dist/dsl/descriptor.es.js +37 -0
  219. package/dist/dsl/descriptor.es.js.map +1 -0
  220. package/dist/dsl/documents.d.cts +8 -0
  221. package/dist/dsl/documents.d.ts +8 -0
  222. package/dist/dsl/field.cjs +2 -0
  223. package/dist/dsl/field.cjs.map +1 -0
  224. package/dist/dsl/field.d.cts +2 -0
  225. package/dist/dsl/field.d.ts +2 -0
  226. package/dist/dsl/field.es.js +10 -0
  227. package/dist/dsl/field.es.js.map +1 -0
  228. package/dist/dsl/filter/builders.cjs +2 -0
  229. package/dist/dsl/filter/builders.cjs.map +1 -0
  230. package/dist/dsl/filter/builders.d.cts +962 -0
  231. package/dist/dsl/filter/builders.d.ts +962 -0
  232. package/dist/dsl/filter/builders.es.js +289 -0
  233. package/dist/dsl/filter/builders.es.js.map +1 -0
  234. package/dist/dsl/filter/datePattern.cjs +2 -0
  235. package/dist/dsl/filter/datePattern.cjs.map +1 -0
  236. package/dist/dsl/filter/datePattern.d.cts +8 -0
  237. package/dist/dsl/filter/datePattern.d.ts +8 -0
  238. package/dist/dsl/filter/datePattern.es.js +100 -0
  239. package/dist/dsl/filter/datePattern.es.js.map +1 -0
  240. package/dist/dsl/filter/index.d.cts +3 -0
  241. package/dist/dsl/filter/index.d.ts +3 -0
  242. package/dist/dsl/filter/operator.cjs +2 -0
  243. package/dist/dsl/filter/operator.cjs.map +1 -0
  244. package/dist/dsl/filter/operator.d.cts +113 -0
  245. package/dist/dsl/filter/operator.d.ts +113 -0
  246. package/dist/dsl/filter/operator.es.js +14 -0
  247. package/dist/dsl/filter/operator.es.js.map +1 -0
  248. package/dist/dsl/filter/scope.cjs +2 -0
  249. package/dist/dsl/filter/scope.cjs.map +1 -0
  250. package/dist/dsl/filter/scope.d.cts +15 -0
  251. package/dist/dsl/filter/scope.d.ts +15 -0
  252. package/dist/dsl/filter/scope.es.js +32 -0
  253. package/dist/dsl/filter/scope.es.js.map +1 -0
  254. package/dist/dsl/filter/types.d.cts +274 -0
  255. package/dist/dsl/filter/types.d.ts +274 -0
  256. package/dist/dsl/filter/validate.cjs +2 -0
  257. package/dist/dsl/filter/validate.cjs.map +1 -0
  258. package/dist/dsl/filter/validate.d.cts +18 -0
  259. package/dist/dsl/filter/validate.d.ts +18 -0
  260. package/dist/dsl/filter/validate.es.js +56 -0
  261. package/dist/dsl/filter/validate.es.js.map +1 -0
  262. package/dist/dsl/pagination.cjs +2 -0
  263. package/dist/dsl/pagination.cjs.map +1 -0
  264. package/dist/dsl/pagination.d.cts +28 -0
  265. package/dist/dsl/pagination.d.ts +28 -0
  266. package/dist/dsl/pagination.es.js +15 -0
  267. package/dist/dsl/pagination.es.js.map +1 -0
  268. package/dist/dsl/projection.cjs +2 -0
  269. package/dist/dsl/projection.cjs.map +1 -0
  270. package/dist/dsl/projection.d.cts +27 -0
  271. package/dist/dsl/projection.d.ts +27 -0
  272. package/dist/dsl/projection.es.js +12 -0
  273. package/dist/dsl/projection.es.js.map +1 -0
  274. package/dist/dsl/queryable.cjs +2 -0
  275. package/dist/dsl/queryable.cjs.map +1 -0
  276. package/dist/dsl/queryable.d.cts +101 -0
  277. package/dist/dsl/queryable.d.ts +101 -0
  278. package/dist/dsl/queryable.es.js +40 -0
  279. package/dist/dsl/queryable.es.js.map +1 -0
  280. package/dist/dsl/sort.cjs +2 -0
  281. package/dist/dsl/sort.cjs.map +1 -0
  282. package/dist/dsl/sort.d.cts +33 -0
  283. package/dist/dsl/sort.d.ts +33 -0
  284. package/dist/dsl/sort.es.js +21 -0
  285. package/dist/dsl/sort.es.js.map +1 -0
  286. package/dist/dsl.cjs +1 -0
  287. package/dist/dsl.d.cts +23 -0
  288. package/dist/dsl.d.ts +23 -0
  289. package/dist/dsl.es.js +14 -0
  290. package/dist/error/errorInfo.cjs +2 -0
  291. package/dist/error/errorInfo.cjs.map +1 -0
  292. package/dist/error/errorInfo.d.cts +139 -0
  293. package/dist/error/errorInfo.d.ts +139 -0
  294. package/dist/error/errorInfo.es.js +32 -0
  295. package/dist/error/errorInfo.es.js.map +1 -0
  296. package/dist/error/headers.cjs +2 -0
  297. package/dist/error/headers.cjs.map +1 -0
  298. package/dist/error/headers.d.cts +38 -0
  299. package/dist/error/headers.d.ts +38 -0
  300. package/dist/error/headers.es.js +10 -0
  301. package/dist/error/headers.es.js.map +1 -0
  302. package/dist/error/index.d.cts +21 -0
  303. package/dist/error/index.d.ts +21 -0
  304. package/dist/error/queryErrorCodes.cjs +2 -0
  305. package/dist/error/queryErrorCodes.cjs.map +1 -0
  306. package/dist/error/queryErrorCodes.d.cts +199 -0
  307. package/dist/error/queryErrorCodes.d.ts +199 -0
  308. package/dist/error/queryErrorCodes.es.js +53 -0
  309. package/dist/error/queryErrorCodes.es.js.map +1 -0
  310. package/dist/error/wowError.cjs +2 -0
  311. package/dist/error/wowError.cjs.map +1 -0
  312. package/dist/error/wowError.d.cts +99 -0
  313. package/dist/error/wowError.d.ts +99 -0
  314. package/dist/error/wowError.es.js +53 -0
  315. package/dist/error/wowError.es.js.map +1 -0
  316. package/dist/index.cjs +1 -0
  317. package/dist/index.d.cts +17 -0
  318. package/dist/index.d.ts +17 -0
  319. package/dist/index.es.js +34 -0
  320. package/dist/legacy/condition.cjs +2 -0
  321. package/dist/legacy/condition.cjs.map +1 -0
  322. package/dist/legacy/condition.d.cts +517 -0
  323. package/dist/legacy/condition.d.ts +517 -0
  324. package/dist/legacy/condition.es.js +338 -0
  325. package/dist/legacy/condition.es.js.map +1 -0
  326. package/dist/legacy/index.d.cts +16 -0
  327. package/dist/legacy/index.d.ts +16 -0
  328. package/dist/legacy/locale/en_US.cjs +2 -0
  329. package/dist/legacy/locale/en_US.cjs.map +1 -0
  330. package/dist/legacy/locale/en_US.d.cts +7 -0
  331. package/dist/legacy/locale/en_US.d.ts +7 -0
  332. package/dist/legacy/locale/en_US.es.js +50 -0
  333. package/dist/legacy/locale/en_US.es.js.map +1 -0
  334. package/dist/legacy/locale/operatorLocale.d.cts +10 -0
  335. package/dist/legacy/locale/operatorLocale.d.ts +10 -0
  336. package/dist/legacy/locale/zh_CN.cjs +2 -0
  337. package/dist/legacy/locale/zh_CN.cjs.map +1 -0
  338. package/dist/legacy/locale/zh_CN.d.cts +7 -0
  339. package/dist/legacy/locale/zh_CN.d.ts +7 -0
  340. package/dist/legacy/locale/zh_CN.es.js +50 -0
  341. package/dist/legacy/locale/zh_CN.es.js.map +1 -0
  342. package/dist/legacy/operator.cjs +2 -0
  343. package/dist/legacy/operator.cjs.map +1 -0
  344. package/dist/legacy/operator.d.cts +218 -0
  345. package/dist/legacy/operator.d.ts +218 -0
  346. package/dist/legacy/operator.es.js +25 -0
  347. package/dist/legacy/operator.es.js.map +1 -0
  348. package/dist/legacy/queryable.cjs +2 -0
  349. package/dist/legacy/queryable.cjs.map +1 -0
  350. package/dist/legacy/queryable.d.cts +61 -0
  351. package/dist/legacy/queryable.d.ts +61 -0
  352. package/dist/legacy/queryable.es.js +34 -0
  353. package/dist/legacy/queryable.es.js.map +1 -0
  354. package/dist/legacy.cjs +1 -0
  355. package/dist/legacy.es.js +6 -0
  356. package/dist/model/abac.cjs +2 -0
  357. package/dist/model/abac.cjs.map +1 -0
  358. package/dist/model/abac.d.cts +33 -0
  359. package/dist/model/abac.d.ts +33 -0
  360. package/dist/model/abac.es.js +6 -0
  361. package/dist/model/abac.es.js.map +1 -0
  362. package/dist/model/bi.cjs +2 -0
  363. package/dist/model/bi.cjs.map +1 -0
  364. package/dist/model/bi.d.cts +12 -0
  365. package/dist/model/bi.d.ts +12 -0
  366. package/dist/model/bi.es.js +8 -0
  367. package/dist/model/bi.es.js.map +1 -0
  368. package/dist/model/command.cjs +2 -0
  369. package/dist/model/command.cjs.map +1 -0
  370. package/dist/model/command.d.cts +137 -0
  371. package/dist/model/command.d.ts +137 -0
  372. package/dist/model/command.es.js +8 -0
  373. package/dist/model/command.es.js.map +1 -0
  374. package/dist/model/common.d.cts +19 -0
  375. package/dist/model/common.d.ts +19 -0
  376. package/dist/model/function.cjs +2 -0
  377. package/dist/model/function.cjs.map +1 -0
  378. package/dist/model/function.d.cts +41 -0
  379. package/dist/model/function.d.ts +41 -0
  380. package/dist/model/function.es.js +8 -0
  381. package/dist/model/function.es.js.map +1 -0
  382. package/dist/model/index.d.cts +22 -0
  383. package/dist/model/index.d.ts +22 -0
  384. package/dist/model/messaging.d.cts +5 -0
  385. package/dist/model/messaging.d.ts +5 -0
  386. package/dist/model/modeling.d.cts +145 -0
  387. package/dist/model/modeling.d.ts +145 -0
  388. package/dist/model/naming.d.cts +27 -0
  389. package/dist/model/naming.d.ts +27 -0
  390. package/dist/transport/endpoints.cjs +2 -0
  391. package/dist/transport/endpoints.cjs.map +1 -0
  392. package/dist/transport/endpoints.d.cts +79 -0
  393. package/dist/transport/endpoints.d.ts +79 -0
  394. package/dist/transport/endpoints.es.js +14 -0
  395. package/dist/transport/endpoints.es.js.map +1 -0
  396. package/dist/transport/eventStreams.cjs +2 -0
  397. package/dist/transport/eventStreams.cjs.map +1 -0
  398. package/dist/transport/eventStreams.d.cts +23 -0
  399. package/dist/transport/eventStreams.d.ts +23 -0
  400. package/dist/transport/eventStreams.es.js +22 -0
  401. package/dist/transport/eventStreams.es.js.map +1 -0
  402. package/dist/transport/index.d.cts +1 -0
  403. package/dist/transport/index.d.ts +1 -0
  404. package/package.json +110 -0
@@ -0,0 +1,338 @@
1
+ import { DeletionState as e } from "../dsl/deletionState.es.js";
2
+ import { Operator as t } from "./operator.es.js";
3
+ //#region src/legacy/condition.ts
4
+ function n(e) {
5
+ return !!e;
6
+ }
7
+ var r = class {
8
+ static {
9
+ this.IGNORE_CASE_OPTION_KEY = "ignoreCase";
10
+ }
11
+ static {
12
+ this.ZONE_ID_OPTION_KEY = "zoneId";
13
+ }
14
+ static {
15
+ this.DATE_PATTERN_OPTION_KEY = "datePattern";
16
+ }
17
+ };
18
+ function i(e) {
19
+ if (e !== void 0) return { ignoreCase: e };
20
+ }
21
+ function a(e, t) {
22
+ if (e === void 0 && t === void 0) return;
23
+ let n = {};
24
+ return e !== void 0 && (n.datePattern = e), t !== void 0 && (n.zoneId = t), n;
25
+ }
26
+ function o(...e) {
27
+ if (e.length === 0) return v();
28
+ if (e.length === 1) return n(e[0]) ? e[0] : v();
29
+ let r = [];
30
+ return e.forEach((e) => {
31
+ e?.operator !== t.ALL && n(e) && (e.operator === t.AND && e.children ? r.push(...e.children) : r.push(e));
32
+ }), r.length === 0 ? v() : {
33
+ operator: t.AND,
34
+ children: r
35
+ };
36
+ }
37
+ function s(...e) {
38
+ let r = e?.filter((e) => n(e));
39
+ return r.length === 0 ? v() : {
40
+ operator: t.OR,
41
+ children: r
42
+ };
43
+ }
44
+ function c(...e) {
45
+ return e.length === 0 ? v() : {
46
+ operator: t.NOR,
47
+ children: e
48
+ };
49
+ }
50
+ function l(e) {
51
+ return {
52
+ operator: t.ID,
53
+ value: e
54
+ };
55
+ }
56
+ function u(e) {
57
+ return {
58
+ operator: t.IDS,
59
+ value: e
60
+ };
61
+ }
62
+ function d(e) {
63
+ return {
64
+ operator: t.AGGREGATE_ID,
65
+ value: e
66
+ };
67
+ }
68
+ function f(e) {
69
+ return {
70
+ operator: t.AGGREGATE_IDS,
71
+ value: e
72
+ };
73
+ }
74
+ function p(e) {
75
+ return {
76
+ operator: t.TENANT_ID,
77
+ value: e
78
+ };
79
+ }
80
+ function m(e) {
81
+ return {
82
+ operator: t.OWNER_ID,
83
+ value: e
84
+ };
85
+ }
86
+ function h(e) {
87
+ return {
88
+ operator: t.SPACE_ID,
89
+ value: e
90
+ };
91
+ }
92
+ function g(e) {
93
+ return {
94
+ operator: t.DELETED,
95
+ value: e
96
+ };
97
+ }
98
+ function _() {
99
+ return g(e.ACTIVE);
100
+ }
101
+ function v() {
102
+ return { operator: t.ALL };
103
+ }
104
+ function y(e, n) {
105
+ return {
106
+ field: e,
107
+ operator: t.EQ,
108
+ value: n
109
+ };
110
+ }
111
+ function b(e, n) {
112
+ return {
113
+ field: e,
114
+ operator: t.NE,
115
+ value: n
116
+ };
117
+ }
118
+ function x(e, n) {
119
+ return {
120
+ field: e,
121
+ operator: t.GT,
122
+ value: n
123
+ };
124
+ }
125
+ function S(e, n) {
126
+ return {
127
+ field: e,
128
+ operator: t.LT,
129
+ value: n
130
+ };
131
+ }
132
+ function C(e, n) {
133
+ return {
134
+ field: e,
135
+ operator: t.GTE,
136
+ value: n
137
+ };
138
+ }
139
+ function w(e, n) {
140
+ return {
141
+ field: e,
142
+ operator: t.LTE,
143
+ value: n
144
+ };
145
+ }
146
+ function T(e, n, r) {
147
+ let a = i(r);
148
+ return {
149
+ field: e,
150
+ operator: t.CONTAINS,
151
+ value: n,
152
+ options: a
153
+ };
154
+ }
155
+ function E(e, ...n) {
156
+ return {
157
+ field: e,
158
+ operator: t.IN,
159
+ value: n
160
+ };
161
+ }
162
+ function D(e, ...n) {
163
+ return {
164
+ field: e,
165
+ operator: t.NOT_IN,
166
+ value: n
167
+ };
168
+ }
169
+ function O(e, n, r) {
170
+ return {
171
+ field: e,
172
+ operator: t.BETWEEN,
173
+ value: [n, r]
174
+ };
175
+ }
176
+ function k(e, ...n) {
177
+ return {
178
+ field: e,
179
+ operator: t.ALL_IN,
180
+ value: n
181
+ };
182
+ }
183
+ function A(e, n, r) {
184
+ let a = i(r);
185
+ return {
186
+ field: e,
187
+ operator: t.STARTS_WITH,
188
+ value: n,
189
+ options: a
190
+ };
191
+ }
192
+ function j(e, n) {
193
+ return {
194
+ field: e,
195
+ operator: t.MATCH,
196
+ value: n
197
+ };
198
+ }
199
+ function M(e, n, r) {
200
+ let a = i(r);
201
+ return {
202
+ field: e,
203
+ operator: t.ENDS_WITH,
204
+ value: n,
205
+ options: a
206
+ };
207
+ }
208
+ function N(e, n) {
209
+ return {
210
+ field: e,
211
+ operator: t.ELEM_MATCH,
212
+ children: [n]
213
+ };
214
+ }
215
+ function P(e) {
216
+ return {
217
+ field: e,
218
+ operator: t.NULL
219
+ };
220
+ }
221
+ function F(e) {
222
+ return {
223
+ field: e,
224
+ operator: t.NOT_NULL
225
+ };
226
+ }
227
+ function I(e) {
228
+ return {
229
+ field: e,
230
+ operator: t.TRUE
231
+ };
232
+ }
233
+ function L(e) {
234
+ return {
235
+ field: e,
236
+ operator: t.FALSE
237
+ };
238
+ }
239
+ function R(e, n = !0) {
240
+ return {
241
+ field: e,
242
+ operator: t.EXISTS,
243
+ value: n
244
+ };
245
+ }
246
+ function z(e, n, r) {
247
+ let i = a(n, r);
248
+ return {
249
+ field: e,
250
+ operator: t.TODAY,
251
+ options: i
252
+ };
253
+ }
254
+ function B(e, n, r, i) {
255
+ let o = a(r, i);
256
+ return {
257
+ field: e,
258
+ operator: t.BEFORE_TODAY,
259
+ value: n,
260
+ options: o
261
+ };
262
+ }
263
+ function V(e, n, r) {
264
+ let i = a(n, r);
265
+ return {
266
+ field: e,
267
+ operator: t.TOMORROW,
268
+ options: i
269
+ };
270
+ }
271
+ function H(e, n, r) {
272
+ let i = a(n, r);
273
+ return {
274
+ field: e,
275
+ operator: t.THIS_WEEK,
276
+ options: i
277
+ };
278
+ }
279
+ function U(e, n, r) {
280
+ let i = a(n, r);
281
+ return {
282
+ field: e,
283
+ operator: t.NEXT_WEEK,
284
+ options: i
285
+ };
286
+ }
287
+ function W(e, n, r) {
288
+ let i = a(n, r);
289
+ return {
290
+ field: e,
291
+ operator: t.LAST_WEEK,
292
+ options: i
293
+ };
294
+ }
295
+ function G(e, n, r) {
296
+ let i = a(n, r);
297
+ return {
298
+ field: e,
299
+ operator: t.THIS_MONTH,
300
+ options: i
301
+ };
302
+ }
303
+ function K(e, n, r) {
304
+ let i = a(n, r);
305
+ return {
306
+ field: e,
307
+ operator: t.LAST_MONTH,
308
+ options: i
309
+ };
310
+ }
311
+ function q(e, n, r, i) {
312
+ let o = a(r, i);
313
+ return {
314
+ field: e,
315
+ operator: t.RECENT_DAYS,
316
+ value: n,
317
+ options: o
318
+ };
319
+ }
320
+ function J(e, n, r, i) {
321
+ let o = a(r, i);
322
+ return {
323
+ field: e,
324
+ operator: t.EARLIER_DAYS,
325
+ value: n,
326
+ options: o
327
+ };
328
+ }
329
+ function Y(e) {
330
+ return {
331
+ operator: t.RAW,
332
+ value: e
333
+ };
334
+ }
335
+ //#endregion
336
+ export { r as ConditionOptionKey, _ as active, d as aggregateId, f as aggregateIds, v as all, k as allIn, o as and, B as beforeToday, O as between, T as contains, a as dateOptions, g as deleted, J as earlierDays, N as elemMatch, M as endsWith, y as eq, R as exists, x as gt, C as gte, l as id, u as ids, i as ignoreCaseOptions, L as isFalse, E as isIn, P as isNull, I as isTrue, n as isValidateCondition, K as lastMonth, W as lastWeek, S as lt, w as lte, j as match, b as ne, U as nextWeek, c as nor, D as notIn, F as notNull, s as or, m as ownerId, Y as raw, q as recentDays, h as spaceId, A as startsWith, p as tenantId, G as thisMonth, H as thisWeek, z as today, V as tomorrow };
337
+
338
+ //# sourceMappingURL=condition.es.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"condition.es.js","names":["isValidateCondition","condition","ConditionOptionKey","ignoreCaseOptions","ignoreCase","dateOptions","datePattern","zoneId","options","and","conditions","all","andChildren","Operator","or","validateConditions","nor","id","ids","aggregateId","aggregateIds","tenantId","ownerId","spaceId","deleted","active","DeletionState","eq","ne","gt","lt","gte","lte","contains","isIn","value","notIn","between","start","end","allIn","startsWith","match","endsWith","elemMatch","isNull","notNull","isTrue","isFalse","exists","today","beforeToday","time","tomorrow","thisWeek","nextWeek","lastWeek","thisMonth","lastMonth","recentDays","days","earlierDays","raw"],"sources":["../../src/legacy/condition.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 { DeletionState } from '../dsl/deletionState.js';\nimport { Operator } from './operator.js';\n\n/**\n * Helper function to detect condition is validate or not\n *\n * @param condition - Condition\n * @returns If condition is validate return true, otherwise return false\n * @deprecated Use FilterExpression and filter.* instead. Removed in v10.\n */\nexport function isValidateCondition(\n condition: Condition | undefined | null,\n): condition is Condition {\n return !!condition;\n}\n\n/**\n * Condition option keys enumeration\n *\n * Defines standard option keys used in query conditions for special handling.\n *\n * @deprecated Use FilterExpression and filter.* instead. Removed in v10.\n */\nexport class ConditionOptionKey {\n /**\n * Ignore case option key for string comparisons\n */\n static readonly IGNORE_CASE_OPTION_KEY = 'ignoreCase';\n\n /**\n * Time zone ID option key for date operations\n */\n static readonly ZONE_ID_OPTION_KEY = 'zoneId';\n\n /**\n * Date pattern option key for date formatting\n */\n static readonly DATE_PATTERN_OPTION_KEY = 'datePattern';\n}\n\n/**\n * Condition options interface\n *\n * Represents additional options that can be applied to query conditions,\n * such as case sensitivity, date patterns, and time zones.\n *\n * @deprecated Use FilterExpression and filter.* instead. Removed in v10.\n */\nexport interface ConditionOptions {\n /**\n * Whether to ignore case in string comparisons\n */\n ignoreCase?: boolean;\n\n /**\n * Date pattern for date formatting\n */\n datePattern?: string;\n\n /**\n * Time zone ID for date operations\n */\n zoneId?: string;\n\n /**\n * Additional custom options\n */\n [key: string]: any;\n}\n\n/**\n * Helper function to create condition options with ignoreCase flag.\n *\n * @param ignoreCase - Whether to ignore case\n * @returns Condition options or undefined if ignoreCase is undefined\n * @deprecated Use StringComparison with filter.* instead. Removed in v10.\n */\nexport function ignoreCaseOptions(\n ignoreCase?: boolean,\n): ConditionOptions | undefined {\n if (typeof ignoreCase === 'undefined') {\n return undefined;\n }\n return { ignoreCase };\n}\n\n/**\n * Helper function to create condition options with date pattern and zone ID.\n *\n * @param datePattern - Date pattern\n * @param zoneId - Time zone ID\n * @returns Condition options or undefined if both parameters are undefined\n * @deprecated Pass RelativeTimeFilterOptions to filter.* instead.\n * Removed in v10.\n */\nexport function dateOptions(\n datePattern?: string,\n zoneId?: string,\n): ConditionOptions | undefined {\n if (typeof datePattern === 'undefined' && typeof zoneId === 'undefined') {\n return undefined;\n }\n const options: ConditionOptions = {};\n if (typeof datePattern !== 'undefined') {\n options.datePattern = datePattern;\n }\n if (typeof zoneId !== 'undefined') {\n options.zoneId = zoneId;\n }\n return options;\n}\n\n/**\n * Interface for query conditions.\n *\n * When `operator` is `AND` or `OR` or `NOR`, `children` cannot be empty.\n *\n * @deprecated Use FilterExpression instead. Removed in v10.\n */\nexport interface Condition<FIELDS extends string = string> {\n /**\n * Field name for the condition\n */\n field?: FIELDS;\n\n /**\n * Operator for the condition\n */\n operator?: Operator;\n\n /**\n * Value for the condition\n */\n value?: any;\n\n /**\n * Child conditions for logical operators (AND, OR, NOR)\n */\n children?: Condition<FIELDS>[];\n\n /**\n * Additional options for the condition\n */\n options?: ConditionOptions;\n}\n\n/**\n * Interface for objects that have a condition.\n *\n * @deprecated Use FilterCapable instead. Removed in v10.\n */\nexport interface ConditionCapable<FIELDS extends string = string> {\n /** @deprecated Use filter instead. Removed in v10. */\n condition: Condition<FIELDS>;\n}\n\n/**\n * Creates an AND condition with the specified conditions.\n *\n * This function combines multiple conditions using the logical AND operator.\n * It provides optimizations such as returning the condition directly when\n * only one is provided, and flattening nested AND conditions.\n *\n * @param conditions - Conditions to combine with AND. If empty, returns an ALL condition.\n * If exactly one, returns that condition directly.\n * If multiple, combines them into an AND condition with flattening optimization.\n * @returns A condition with AND operator or an optimized condition based on the input\n * @deprecated Use filter.and instead. Removed in v10.\n */\nexport function and<FIELDS extends string = string>(\n ...conditions: Array<Condition<FIELDS> | undefined | null>\n): Condition<FIELDS> {\n if (conditions.length === 0) {\n return all();\n }\n if (conditions.length === 1) {\n return isValidateCondition(conditions[0]) ? conditions[0] : all();\n }\n const andChildren: Condition<FIELDS>[] = [];\n conditions.forEach(condition => {\n if (\n condition?.operator === Operator.ALL ||\n !isValidateCondition(condition)\n ) {\n return;\n }\n if (condition.operator === Operator.AND && condition.children) {\n andChildren.push(...condition.children);\n } else {\n andChildren.push(condition);\n }\n });\n if (andChildren.length === 0) {\n return all();\n }\n return { operator: Operator.AND, children: andChildren };\n}\n\n/**\n * Creates an OR condition with the specified conditions.\n *\n * @param conditions - Conditions to combine with OR\n * @returns A condition with OR operator\n * @deprecated Use filter.or instead. Removed in v10.\n */\nexport function or<FIELDS extends string = string>(\n ...conditions: Array<Condition<FIELDS> | undefined | null>\n): Condition<FIELDS> {\n const validateConditions = conditions?.filter(condition =>\n isValidateCondition(condition),\n );\n if (validateConditions.length === 0) {\n return all();\n }\n return { operator: Operator.OR, children: validateConditions };\n}\n\n/**\n * Creates a NOR condition with the specified conditions.\n *\n * @param conditions - Conditions to combine with NOR\n * @returns A condition with NOR operator\n * @deprecated Use filter.nor instead. Removed in v10.\n */\nexport function nor<FIELDS extends string = string>(\n ...conditions: Condition<FIELDS>[]\n): Condition<FIELDS> {\n if (conditions.length === 0) {\n return all();\n }\n return { operator: Operator.NOR, children: conditions };\n}\n\n/**\n * Creates an ID condition with the specified value.\n *\n * @param value - The ID value to match\n * @returns A condition with ID operator\n * @deprecated Use filter.id instead. Removed in v10.\n */\nexport function id<FIELDS extends string = string>(\n value: string,\n): Condition<FIELDS> {\n return { operator: Operator.ID, value: value };\n}\n\n/**\n * Creates an IDS condition with the specified values.\n *\n * @param value - The ID values to match\n * @returns A condition with IDS operator\n * @deprecated Use filter.ids instead. Removed in v10.\n */\nexport function ids<FIELDS extends string = string>(\n value: string[],\n): Condition<FIELDS> {\n return { operator: Operator.IDS, value: value };\n}\n\n/**\n * Creates an AGGREGATE_ID condition with the specified value.\n *\n * @param value - The aggregate ID value to match\n * @returns A condition with AGGREGATE_ID operator\n * @deprecated Use filter.aggregateId instead. Removed in v10.\n */\nexport function aggregateId<FIELDS extends string = string>(\n value: string,\n): Condition<FIELDS> {\n return { operator: Operator.AGGREGATE_ID, value: value };\n}\n\n/**\n * Creates an AGGREGATE_IDS condition with the specified values.\n *\n * @param value - The aggregate ID values to match\n * @returns A condition with AGGREGATE_IDS operator\n * @deprecated Use filter.aggregateIds instead. Removed in v10.\n */\nexport function aggregateIds<FIELDS extends string = string>(\n value: string[],\n): Condition<FIELDS> {\n return { operator: Operator.AGGREGATE_IDS, value: value };\n}\n\n/**\n * Creates a TENANT_ID condition with the specified value.\n *\n * @param value - The tenant ID value to match\n * @returns A condition with TENANT_ID operator\n * @deprecated Use filter.tenantId instead. Removed in v10.\n */\nexport function tenantId<FIELDS extends string = string>(\n value: string,\n): Condition<FIELDS> {\n return { operator: Operator.TENANT_ID, value: value };\n}\n\n/**\n * Creates an OWNER_ID condition with the specified value.\n *\n * @param value - The owner ID value to match\n * @returns A condition with OWNER_ID operator\n * @deprecated Use filter.ownerId instead. Removed in v10.\n */\nexport function ownerId<FIELDS extends string = string>(\n value: string,\n): Condition<FIELDS> {\n return { operator: Operator.OWNER_ID, value: value };\n}\n\n/**\n * Creates a SPACE_ID condition with the specified value.\n *\n * @param value - The space ID value to match\n * @returns A condition with SPACE_ID operator\n * @deprecated Use filter.spaceId instead. Removed in v10.\n */\nexport function spaceId<FIELDS extends string = string>(\n value: string,\n): Condition<FIELDS> {\n return { operator: Operator.SPACE_ID, value: value };\n}\n\n/**\n * Creates a DELETED condition with the specified value.\n *\n * @param value - The deletion state value to match\n * @returns A condition with DELETED operator\n * @deprecated Use filter.deletion instead. Removed in v10.\n */\nexport function deleted<FIELDS extends string = string>(\n value: DeletionState,\n): Condition<FIELDS> {\n return { operator: Operator.DELETED, value: value };\n}\n\n/**\n * Creates an ACTIVE deletion state condition.\n *\n * @returns A condition with DELETED operator set to ACTIVE\n * @deprecated Use filter.deletion(DeletionState.ACTIVE) instead.\n * Removed in v10.\n */\nexport function active<FIELDS extends string = string>(): Condition<FIELDS> {\n return deleted(DeletionState.ACTIVE);\n}\n\n/**\n * Creates an ALL condition.\n *\n * @returns A condition with ALL operator\n * @deprecated Use filter.matchAll instead. Removed in v10.\n */\nexport function all<FIELDS extends string = string>(): Condition<FIELDS> {\n return {\n operator: Operator.ALL,\n };\n}\n\n/**\n * Creates an EQ (equals) condition with the specified field and value.\n *\n * @param field - The field name to compare\n * @param value - The value to compare against\n * @returns A condition with EQ operator\n * @deprecated Use filter.eq instead. Removed in v10.\n */\nexport function eq<FIELDS extends string = string>(\n field: FIELDS,\n value: any,\n): Condition<FIELDS> {\n return { field, operator: Operator.EQ, value };\n}\n\n/**\n * Creates a NE (not equals) condition with the specified field and value.\n *\n * @param field - The field name to compare\n * @param value - The value to compare against\n * @returns A condition with NE operator\n * @deprecated Use filter.ne instead. Removed in v10.\n */\nexport function ne<FIELDS extends string = string>(\n field: FIELDS,\n value: any,\n): Condition<FIELDS> {\n return { field, operator: Operator.NE, value };\n}\n\n/**\n * Creates a GT (greater than) condition with the specified field and value.\n *\n * @param field - The field name to compare\n * @param value - The value to compare against\n * @returns A condition with GT operator\n * @deprecated Use filter.gt instead. Removed in v10.\n */\nexport function gt<FIELDS extends string = string>(\n field: FIELDS,\n value: any,\n): Condition<FIELDS> {\n return { field, operator: Operator.GT, value };\n}\n\n/**\n * Creates a LT (less than) condition with the specified field and value.\n *\n * @param field - The field name to compare\n * @param value - The value to compare against\n * @returns A condition with LT operator\n * @deprecated Use filter.lt instead. Removed in v10.\n */\nexport function lt<FIELDS extends string = string>(\n field: FIELDS,\n value: any,\n): Condition<FIELDS> {\n return { field, operator: Operator.LT, value };\n}\n\n/**\n * Creates a GTE (greater than or equal) condition with the specified field and value.\n *\n * @param field - The field name to compare\n * @param value - The value to compare against\n * @returns A condition with GTE operator\n * @deprecated Use filter.gte instead. Removed in v10.\n */\nexport function gte<FIELDS extends string = string>(\n field: FIELDS,\n value: any,\n): Condition<FIELDS> {\n return { field, operator: Operator.GTE, value };\n}\n\n/**\n * Creates a LTE (less than or equal) condition with the specified field and value.\n *\n * @param field - The field name to compare\n * @param value - The value to compare against\n * @returns A condition with LTE operator\n * @deprecated Use filter.lte instead. Removed in v10.\n */\nexport function lte<FIELDS extends string = string>(\n field: FIELDS,\n value: any,\n): Condition<FIELDS> {\n return { field, operator: Operator.LTE, value };\n}\n\n/**\n * Creates a CONTAINS condition with the specified field and value.\n *\n * @param field - The field name to search in\n * @param value - The value to search for\n * @param ignoreCase - Whether to ignore case in the search\n * @returns A condition with CONTAINS operator\n * @deprecated Use filter.contains instead. Removed in v10.\n */\nexport function contains<FIELDS extends string = string>(\n field: FIELDS,\n value: any,\n ignoreCase?: boolean,\n): Condition<FIELDS> {\n const options: Record<string, any> | undefined =\n ignoreCaseOptions(ignoreCase);\n return { field, operator: Operator.CONTAINS, value, options };\n}\n\n/**\n * Creates an IN condition with the specified field and values.\n *\n * @param field - The field name to compare\n * @param value - The values to compare against\n * @returns A condition with IN operator\n * @deprecated Use filter.isIn instead. Removed in v10.\n */\nexport function isIn<FIELDS extends string = string>(\n field: FIELDS,\n ...value: any[]\n): Condition<FIELDS> {\n return { field, operator: Operator.IN, value };\n}\n\n/**\n * Creates a NOT_IN condition with the specified field and values.\n *\n * @param field - The field name to compare\n * @param value - The values to compare against\n * @returns A condition with NOT_IN operator\n * @deprecated Use filter.notIn instead. Removed in v10.\n */\nexport function notIn<FIELDS extends string = string>(\n field: FIELDS,\n ...value: any[]\n): Condition<FIELDS> {\n return { field, operator: Operator.NOT_IN, value };\n}\n\n/**\n * Creates a BETWEEN condition with the specified field and range.\n *\n * @param field - The field name to compare\n * @param start - The start value of the range\n * @param end - The end value of the range\n * @returns A condition with BETWEEN operator\n * @deprecated Use filter.between instead. Removed in v10.\n */\nexport function between<FIELDS extends string = string>(\n field: FIELDS,\n start: any,\n end: any,\n): Condition<FIELDS> {\n return { field, operator: Operator.BETWEEN, value: [start, end] };\n}\n\n/**\n * Creates an ALL_IN condition with the specified field and values.\n *\n * @param field - The field name to compare\n * @param value - The values to compare against\n * @returns A condition with ALL_IN operator\n * @deprecated Use filter.containsAll instead. Removed in v10.\n */\nexport function allIn<FIELDS extends string = string>(\n field: FIELDS,\n ...value: any[]\n): Condition<FIELDS> {\n return { field, operator: Operator.ALL_IN, value };\n}\n\n/**\n * Creates a STARTS_WITH condition with the specified field and value.\n *\n * @param field - The field name to compare\n * @param value - The value to compare against\n * @param ignoreCase - Whether to ignore case in the comparison\n * @returns A condition with STARTS_WITH operator\n * @deprecated Use filter.startsWith instead. Removed in v10.\n */\nexport function startsWith<FIELDS extends string = string>(\n field: FIELDS,\n value: any,\n ignoreCase?: boolean,\n): Condition<FIELDS> {\n const options: Record<string, any> | undefined =\n ignoreCaseOptions(ignoreCase);\n return { field, operator: Operator.STARTS_WITH, value, options };\n}\n\n/**\n * Creates a MATCH condition for full-text search.\n *\n * @param field - The field name to search\n * @param value - The search keywords\n * @returns A condition with MATCH operator\n * @deprecated Use filter.search instead. Removed in v10.\n */\nexport function match<FIELDS extends string = string>(\n field: FIELDS,\n value: string,\n): Condition<FIELDS> {\n return { field, operator: Operator.MATCH, value };\n}\n\n/**\n * Creates an ENDS_WITH condition with the specified field and value.\n *\n * @param field - The field name to compare\n * @param value - The value to compare against\n * @param ignoreCase - Whether to ignore case in the comparison\n * @returns A condition with ENDS_WITH operator\n * @deprecated Use filter.endsWith instead. Removed in v10.\n */\nexport function endsWith<FIELDS extends string = string>(\n field: FIELDS,\n value: any,\n ignoreCase?: boolean,\n): Condition<FIELDS> {\n const options: Record<string, any> | undefined =\n ignoreCaseOptions(ignoreCase);\n return { field, operator: Operator.ENDS_WITH, value, options };\n}\n\n/**\n * Creates an ELEM_MATCH condition with the specified field and child condition.\n *\n * @param field - The field name to match elements in\n * @param value - The condition to match elements against\n * @returns A condition with ELEM_MATCH operator\n * @deprecated Use filter.elementMatch instead. Removed in v10.\n */\nexport function elemMatch<FIELDS extends string = string>(\n field: FIELDS,\n value: Condition<FIELDS>,\n): Condition<FIELDS> {\n return { field, operator: Operator.ELEM_MATCH, children: [value] };\n}\n\n/**\n * Creates a NULL condition with the specified field.\n *\n * @param field - The field name to check\n * @returns A condition with NULL operator\n * @deprecated Use filter.isNull instead. Removed in v10.\n */\nexport function isNull<FIELDS extends string = string>(\n field: FIELDS,\n): Condition<FIELDS> {\n return { field, operator: Operator.NULL };\n}\n\n/**\n * Creates a NOT_NULL condition with the specified field.\n *\n * @param field - The field name to check\n * @returns A condition with NOT_NULL operator\n * @deprecated Use filter.isNotNull instead. Removed in v10.\n */\nexport function notNull<FIELDS extends string = string>(\n field: FIELDS,\n): Condition<FIELDS> {\n return { field, operator: Operator.NOT_NULL };\n}\n\n/**\n * Creates a TRUE condition with the specified field.\n *\n * @param field - The field name to check\n * @returns A condition with TRUE operator\n * @deprecated Use filter.eq(field, true) instead. Removed in v10.\n */\nexport function isTrue<FIELDS extends string = string>(\n field: FIELDS,\n): Condition<FIELDS> {\n return { field, operator: Operator.TRUE };\n}\n\n/**\n * Creates a FALSE condition with the specified field.\n *\n * @param field - The field name to check\n * @returns A condition with FALSE operator\n * @deprecated Use filter.eq(field, false) instead. Removed in v10.\n */\nexport function isFalse<FIELDS extends string = string>(\n field: FIELDS,\n): Condition<FIELDS> {\n return { field, operator: Operator.FALSE };\n}\n\n/**\n * Creates an EXISTS condition with the specified field and existence flag.\n *\n * @param field - The field name to check\n * @param exists - Whether the field should exist (default: true)\n * @returns A condition with EXISTS operator\n * @deprecated Use filter.exists or filter.notExists instead. Removed in v10.\n */\nexport function exists<FIELDS extends string = string>(\n field: FIELDS,\n exists: boolean = true,\n): Condition<FIELDS> {\n return { field, operator: Operator.EXISTS, value: exists };\n}\n\n/**\n * Creates a TODAY condition with the specified field.\n *\n * @param field - The field name to check\n * @param datePattern - The date pattern to use\n * @param zoneId - The time zone ID to use\n * @returns A condition with TODAY operator\n * @deprecated Use filter.today instead. Removed in v10.\n */\nexport function today<FIELDS extends string = string>(\n field: FIELDS,\n datePattern?: string,\n zoneId?: string,\n): Condition<FIELDS> {\n const options = dateOptions(datePattern, zoneId);\n return { field, operator: Operator.TODAY, options };\n}\n\n/**\n * Creates a BEFORE_TODAY condition with the specified field and time.\n *\n * @param field - The field name to check\n * @param time - The time to compare against\n * @param datePattern - The date pattern to use\n * @param zoneId - The time zone ID to use\n * @returns A condition with BEFORE_TODAY operator\n * @deprecated Use filter.beforeToday instead. Removed in v10.\n */\nexport function beforeToday<FIELDS extends string = string>(\n field: FIELDS,\n time: any,\n datePattern?: string,\n zoneId?: string,\n): Condition<FIELDS> {\n const options = dateOptions(datePattern, zoneId);\n return { field, operator: Operator.BEFORE_TODAY, value: time, options };\n}\n\n/**\n * Creates a TOMORROW condition with the specified field.\n *\n * @param field - The field name to check\n * @param datePattern - The date pattern to use\n * @param zoneId - The time zone ID to use\n * @returns A condition with TOMORROW operator\n * @deprecated Use filter.tomorrow instead. Removed in v10.\n */\nexport function tomorrow<FIELDS extends string = string>(\n field: FIELDS,\n datePattern?: string,\n zoneId?: string,\n): Condition<FIELDS> {\n const options = dateOptions(datePattern, zoneId);\n return { field, operator: Operator.TOMORROW, options };\n}\n\n/**\n * Creates a THIS_WEEK condition with the specified field.\n *\n * @param field - The field name to check\n * @param datePattern - The date pattern to use\n * @param zoneId - The time zone ID to use\n * @returns A condition with THIS_WEEK operator\n * @deprecated Use filter.thisWeek instead. Removed in v10.\n */\nexport function thisWeek<FIELDS extends string = string>(\n field: FIELDS,\n datePattern?: string,\n zoneId?: string,\n): Condition<FIELDS> {\n const options = dateOptions(datePattern, zoneId);\n return { field, operator: Operator.THIS_WEEK, options };\n}\n\n/**\n * Creates a NEXT_WEEK condition with the specified field.\n *\n * @param field - The field name to check\n * @param datePattern - The date pattern to use\n * @param zoneId - The time zone ID to use\n * @returns A condition with NEXT_WEEK operator\n * @deprecated Use filter.nextWeek instead. Removed in v10.\n */\nexport function nextWeek<FIELDS extends string = string>(\n field: FIELDS,\n datePattern?: string,\n zoneId?: string,\n): Condition<FIELDS> {\n const options = dateOptions(datePattern, zoneId);\n return { field, operator: Operator.NEXT_WEEK, options };\n}\n\n/**\n * Creates a LAST_WEEK condition with the specified field.\n *\n * @param field - The field name to check\n * @param datePattern - The date pattern to use\n * @param zoneId - The time zone ID to use\n * @returns A condition with LAST_WEEK operator\n * @deprecated Use filter.lastWeek instead. Removed in v10.\n */\nexport function lastWeek<FIELDS extends string = string>(\n field: FIELDS,\n datePattern?: string,\n zoneId?: string,\n): Condition<FIELDS> {\n const options = dateOptions(datePattern, zoneId);\n return { field, operator: Operator.LAST_WEEK, options };\n}\n\n/**\n * Creates a THIS_MONTH condition with the specified field.\n *\n * @param field - The field name to check\n * @param datePattern - The date pattern to use\n * @param zoneId - The time zone ID to use\n * @returns A condition with THIS_MONTH operator\n * @deprecated Use filter.thisMonth instead. Removed in v10.\n */\nexport function thisMonth<FIELDS extends string = string>(\n field: FIELDS,\n datePattern?: string,\n zoneId?: string,\n): Condition<FIELDS> {\n const options = dateOptions(datePattern, zoneId);\n return { field, operator: Operator.THIS_MONTH, options };\n}\n\n/**\n * Creates a LAST_MONTH condition with the specified field.\n *\n * @param field - The field name to check\n * @param datePattern - The date pattern to use\n * @param zoneId - The time zone ID to use\n * @returns A condition with LAST_MONTH operator\n * @deprecated Use filter.lastMonth instead. Removed in v10.\n */\nexport function lastMonth<FIELDS extends string = string>(\n field: FIELDS,\n datePattern?: string,\n zoneId?: string,\n): Condition<FIELDS> {\n const options = dateOptions(datePattern, zoneId);\n return { field, operator: Operator.LAST_MONTH, options };\n}\n\n/**\n * Creates a RECENT_DAYS condition with the specified field and number of days.\n *\n * @param field - The field name to check\n * @param days - The number of recent days to include\n * @param datePattern - The date pattern to use\n * @param zoneId - The time zone ID to use\n * @returns A condition with RECENT_DAYS operator\n * @deprecated Use filter.recentDays instead. Removed in v10.\n */\nexport function recentDays<FIELDS extends string = string>(\n field: FIELDS,\n days: number,\n datePattern?: string,\n zoneId?: string,\n): Condition<FIELDS> {\n const options = dateOptions(datePattern, zoneId);\n return { field, operator: Operator.RECENT_DAYS, value: days, options };\n}\n\n/**\n * Creates an EARLIER_DAYS condition with the specified field and number of days.\n *\n * @param field - The field name to check\n * @param days - The number of days to look back\n * @param datePattern - The date pattern to use\n * @param zoneId - The time zone ID to use\n * @returns A condition with EARLIER_DAYS operator\n * @deprecated Use filter.earlierDays instead. Removed in v10.\n */\nexport function earlierDays<FIELDS extends string = string>(\n field: FIELDS,\n days: number,\n datePattern?: string,\n zoneId?: string,\n): Condition<FIELDS> {\n const options = dateOptions(datePattern, zoneId);\n return { field, operator: Operator.EARLIER_DAYS, value: days, options };\n}\n\n/**\n * Creates a RAW condition with the specified raw value.\n *\n * @param raw - The raw condition value\n * @returns A condition with RAW operator\n * @deprecated RAW has no FilterExpression replacement, and current Wow refuses\n * it: the operator was removed in Wow #2999. It is kept for servers older than\n * that, which the Condition API exists to reach and which still accept it.\n * Against a current server this condition is answered with a 400.\n * Removed in v10.\n */\nexport function raw<FIELDS extends string = string>(\n raw: any,\n): Condition<FIELDS> {\n return { operator: Operator.RAW, value: raw };\n}\n"],"mappings":"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"}
@@ -0,0 +1,16 @@
1
+ /**
2
+ * `@ahoo-wang/wow-client/legacy`: the deprecated Condition query model, for
3
+ * Wow servers before 8.11, which understand nothing else.
4
+ *
5
+ * The query clients of the root entry accept the request shapes built here, so
6
+ * an application that talks to an 8.10 server imports its queries from this
7
+ * entry and everything else from the root. The whole entry is removed in v10;
8
+ * see docs/compat-debt.md.
9
+ */
10
+ export * from './condition.cjs';
11
+ export * from './operator.cjs';
12
+ export * from './queryable.cjs';
13
+ export type { ListQueryRequest, PagedQueryRequest, SingleQueryRequest, } from '../client/query/requests.cjs';
14
+ export * from './locale/operatorLocale.cjs';
15
+ export * from './locale/en_US.cjs';
16
+ export * from './locale/zh_CN.cjs';
@@ -0,0 +1,16 @@
1
+ /**
2
+ * `@ahoo-wang/wow-client/legacy`: the deprecated Condition query model, for
3
+ * Wow servers before 8.11, which understand nothing else.
4
+ *
5
+ * The query clients of the root entry accept the request shapes built here, so
6
+ * an application that talks to an 8.10 server imports its queries from this
7
+ * entry and everything else from the root. The whole entry is removed in v10;
8
+ * see docs/compat-debt.md.
9
+ */
10
+ export * from './condition.js';
11
+ export * from './operator.js';
12
+ export * from './queryable.js';
13
+ export type { ListQueryRequest, PagedQueryRequest, SingleQueryRequest, } from '../client/query/requests.js';
14
+ export * from './locale/operatorLocale.js';
15
+ export * from './locale/en_US.js';
16
+ export * from './locale/zh_CN.js';
@@ -0,0 +1,2 @@
1
+ var e={AND:`AND`,OR:`OR`,NOR:`NOR`,ID:`ID Equals`,IDS:`ID In`,AGGREGATE_ID:`Aggregate ID Equals`,AGGREGATE_IDS:`Aggregate ID In`,TENANT_ID:`Tenant ID Equals`,OWNER_ID:`Owner ID Equals`,SPACE_ID:`SPACE ID Equals`,DELETED:`Deleted`,ALL:`All`,EQ:`Equals`,NE:`Not Equals`,GT:`Greater Than`,LT:`Less Than`,GTE:`Greater Than or Equal`,LTE:`Less Than or Equal`,CONTAINS:`Contains`,IN:`In`,NOT_IN:`Not In`,BETWEEN:`Between`,ALL_IN:`All In`,STARTS_WITH:`Starts With`,ENDS_WITH:`Ends With`,MATCH:`Match`,ELEM_MATCH:`Element Match`,NULL:`Is Null`,NOT_NULL:`Is Not Null`,TRUE:`Is True`,FALSE:`Is False`,EXISTS:`Exists`,TODAY:`Today`,BEFORE_TODAY:`Before Today`,TOMORROW:`Tomorrow`,THIS_WEEK:`This Week`,NEXT_WEEK:`Next Week`,LAST_WEEK:`Last Week`,THIS_MONTH:`This Month`,LAST_MONTH:`Last Month`,RECENT_DAYS:`Recent Days`,EARLIER_DAYS:`Earlier Days`,RAW:`Raw Query`};exports.en_US=e;
2
+ //# sourceMappingURL=en_US.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"en_US.cjs","names":["en_US"],"sources":["../../../src/legacy/locale/en_US.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 { OperatorLocale } from './operatorLocale.js';\n\n/**\n * The English display names of the `Operator`s.\n *\n * @deprecated This locale belongs to the legacy Condition API. Removed in v10.\n */\nexport const en_US: OperatorLocale = {\n AND: 'AND',\n OR: 'OR',\n NOR: 'NOR',\n ID: 'ID Equals',\n IDS: 'ID In',\n AGGREGATE_ID: 'Aggregate ID Equals',\n AGGREGATE_IDS: 'Aggregate ID In',\n TENANT_ID: 'Tenant ID Equals',\n OWNER_ID: 'Owner ID Equals',\n SPACE_ID: 'SPACE ID Equals',\n DELETED: 'Deleted',\n ALL: 'All',\n EQ: 'Equals',\n NE: 'Not Equals',\n GT: 'Greater Than',\n LT: 'Less Than',\n GTE: 'Greater Than or Equal',\n LTE: 'Less Than or Equal',\n CONTAINS: 'Contains',\n IN: 'In',\n NOT_IN: 'Not In',\n BETWEEN: 'Between',\n ALL_IN: 'All In',\n STARTS_WITH: 'Starts With',\n ENDS_WITH: 'Ends With',\n MATCH: 'Match',\n ELEM_MATCH: 'Element Match',\n NULL: 'Is Null',\n NOT_NULL: 'Is Not Null',\n TRUE: 'Is True',\n FALSE: 'Is False',\n EXISTS: 'Exists',\n TODAY: 'Today',\n BEFORE_TODAY: 'Before Today',\n TOMORROW: 'Tomorrow',\n THIS_WEEK: 'This Week',\n NEXT_WEEK: 'Next Week',\n LAST_WEEK: 'Last Week',\n THIS_MONTH: 'This Month',\n LAST_MONTH: 'Last Month',\n RECENT_DAYS: 'Recent Days',\n EARLIER_DAYS: 'Earlier Days',\n RAW: 'Raw Query',\n};\n"],"mappings":"AAoBA,IAAaA,EAAwB,CACnC,IAAK,MACL,GAAI,KACJ,IAAK,MACL,GAAI,YACJ,IAAK,QACL,aAAc,sBACd,cAAe,kBACf,UAAW,mBACX,SAAU,kBACV,SAAU,kBACV,QAAS,UACT,IAAK,MACL,GAAI,SACJ,GAAI,aACJ,GAAI,eACJ,GAAI,YACJ,IAAK,wBACL,IAAK,qBACL,SAAU,WACV,GAAI,KACJ,OAAQ,SACR,QAAS,UACT,OAAQ,SACR,YAAa,cACb,UAAW,YACX,MAAO,QACP,WAAY,gBACZ,KAAM,UACN,SAAU,cACV,KAAM,UACN,MAAO,WACP,OAAQ,SACR,MAAO,QACP,aAAc,eACd,SAAU,WACV,UAAW,YACX,UAAW,YACX,UAAW,YACX,WAAY,aACZ,WAAY,aACZ,YAAa,cACb,aAAc,eACd,IAAK,WACP"}
@@ -0,0 +1,7 @@
1
+ import { OperatorLocale } from './operatorLocale.cjs';
2
+ /**
3
+ * The English display names of the `Operator`s.
4
+ *
5
+ * @deprecated This locale belongs to the legacy Condition API. Removed in v10.
6
+ */
7
+ export declare const en_US: OperatorLocale;
@@ -0,0 +1,7 @@
1
+ import { OperatorLocale } from './operatorLocale.js';
2
+ /**
3
+ * The English display names of the `Operator`s.
4
+ *
5
+ * @deprecated This locale belongs to the legacy Condition API. Removed in v10.
6
+ */
7
+ export declare const en_US: OperatorLocale;
@@ -0,0 +1,50 @@
1
+ //#region src/legacy/locale/en_US.ts
2
+ var e = {
3
+ AND: "AND",
4
+ OR: "OR",
5
+ NOR: "NOR",
6
+ ID: "ID Equals",
7
+ IDS: "ID In",
8
+ AGGREGATE_ID: "Aggregate ID Equals",
9
+ AGGREGATE_IDS: "Aggregate ID In",
10
+ TENANT_ID: "Tenant ID Equals",
11
+ OWNER_ID: "Owner ID Equals",
12
+ SPACE_ID: "SPACE ID Equals",
13
+ DELETED: "Deleted",
14
+ ALL: "All",
15
+ EQ: "Equals",
16
+ NE: "Not Equals",
17
+ GT: "Greater Than",
18
+ LT: "Less Than",
19
+ GTE: "Greater Than or Equal",
20
+ LTE: "Less Than or Equal",
21
+ CONTAINS: "Contains",
22
+ IN: "In",
23
+ NOT_IN: "Not In",
24
+ BETWEEN: "Between",
25
+ ALL_IN: "All In",
26
+ STARTS_WITH: "Starts With",
27
+ ENDS_WITH: "Ends With",
28
+ MATCH: "Match",
29
+ ELEM_MATCH: "Element Match",
30
+ NULL: "Is Null",
31
+ NOT_NULL: "Is Not Null",
32
+ TRUE: "Is True",
33
+ FALSE: "Is False",
34
+ EXISTS: "Exists",
35
+ TODAY: "Today",
36
+ BEFORE_TODAY: "Before Today",
37
+ TOMORROW: "Tomorrow",
38
+ THIS_WEEK: "This Week",
39
+ NEXT_WEEK: "Next Week",
40
+ LAST_WEEK: "Last Week",
41
+ THIS_MONTH: "This Month",
42
+ LAST_MONTH: "Last Month",
43
+ RECENT_DAYS: "Recent Days",
44
+ EARLIER_DAYS: "Earlier Days",
45
+ RAW: "Raw Query"
46
+ };
47
+ //#endregion
48
+ export { e as en_US };
49
+
50
+ //# sourceMappingURL=en_US.es.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"en_US.es.js","names":["en_US"],"sources":["../../../src/legacy/locale/en_US.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 { OperatorLocale } from './operatorLocale.js';\n\n/**\n * The English display names of the `Operator`s.\n *\n * @deprecated This locale belongs to the legacy Condition API. Removed in v10.\n */\nexport const en_US: OperatorLocale = {\n AND: 'AND',\n OR: 'OR',\n NOR: 'NOR',\n ID: 'ID Equals',\n IDS: 'ID In',\n AGGREGATE_ID: 'Aggregate ID Equals',\n AGGREGATE_IDS: 'Aggregate ID In',\n TENANT_ID: 'Tenant ID Equals',\n OWNER_ID: 'Owner ID Equals',\n SPACE_ID: 'SPACE ID Equals',\n DELETED: 'Deleted',\n ALL: 'All',\n EQ: 'Equals',\n NE: 'Not Equals',\n GT: 'Greater Than',\n LT: 'Less Than',\n GTE: 'Greater Than or Equal',\n LTE: 'Less Than or Equal',\n CONTAINS: 'Contains',\n IN: 'In',\n NOT_IN: 'Not In',\n BETWEEN: 'Between',\n ALL_IN: 'All In',\n STARTS_WITH: 'Starts With',\n ENDS_WITH: 'Ends With',\n MATCH: 'Match',\n ELEM_MATCH: 'Element Match',\n NULL: 'Is Null',\n NOT_NULL: 'Is Not Null',\n TRUE: 'Is True',\n FALSE: 'Is False',\n EXISTS: 'Exists',\n TODAY: 'Today',\n BEFORE_TODAY: 'Before Today',\n TOMORROW: 'Tomorrow',\n THIS_WEEK: 'This Week',\n NEXT_WEEK: 'Next Week',\n LAST_WEEK: 'Last Week',\n THIS_MONTH: 'This Month',\n LAST_MONTH: 'Last Month',\n RECENT_DAYS: 'Recent Days',\n EARLIER_DAYS: 'Earlier Days',\n RAW: 'Raw Query',\n};\n"],"mappings":";AAoBA,IAAaA,IAAwB;CACnC,KAAK;CACL,IAAI;CACJ,KAAK;CACL,IAAI;CACJ,KAAK;CACL,cAAc;CACd,eAAe;CACf,WAAW;CACX,UAAU;CACV,UAAU;CACV,SAAS;CACT,KAAK;CACL,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,KAAK;CACL,KAAK;CACL,UAAU;CACV,IAAI;CACJ,QAAQ;CACR,SAAS;CACT,QAAQ;CACR,aAAa;CACb,WAAW;CACX,OAAO;CACP,YAAY;CACZ,MAAM;CACN,UAAU;CACV,MAAM;CACN,OAAO;CACP,QAAQ;CACR,OAAO;CACP,cAAc;CACd,UAAU;CACV,WAAW;CACX,WAAW;CACX,WAAW;CACX,YAAY;CACZ,YAAY;CACZ,aAAa;CACb,cAAc;CACd,KAAK;AACP"}
@@ -0,0 +1,10 @@
1
+ import { Operator } from '../operator.cjs';
2
+ /**
3
+ * A display name for each `Operator`, for a UI that lists Condition
4
+ * operators.
5
+ *
6
+ * @deprecated Operator locale metadata belongs to the legacy Condition API. Removed in v10.
7
+ */
8
+ export type OperatorLocale = {
9
+ [K in Operator]: string;
10
+ };
@@ -0,0 +1,10 @@
1
+ import { Operator } from '../operator.js';
2
+ /**
3
+ * A display name for each `Operator`, for a UI that lists Condition
4
+ * operators.
5
+ *
6
+ * @deprecated Operator locale metadata belongs to the legacy Condition API. Removed in v10.
7
+ */
8
+ export type OperatorLocale = {
9
+ [K in Operator]: string;
10
+ };
@@ -0,0 +1,2 @@
1
+ var e={AND:`与`,OR:`或`,NOR:`非或`,ID:`ID 等于`,IDS:`ID 包含`,AGGREGATE_ID:`聚合 ID 等于`,AGGREGATE_IDS:`聚合 ID 包含`,TENANT_ID:`租户 ID 等于`,OWNER_ID:`所有者 ID 等于`,SPACE_ID:` 空间 ID 等于`,DELETED:`已删除`,ALL:`全部`,EQ:`等于`,NE:`不等于`,GT:`大于`,LT:`小于`,GTE:`大于等于`,LTE:`小于等于`,CONTAINS:`包含`,IN:`包含`,NOT_IN:`不包含`,BETWEEN:`在范围内`,ALL_IN:`全部包含`,STARTS_WITH:`以...开头`,ENDS_WITH:`以...结尾`,MATCH:`匹配`,ELEM_MATCH:`元素匹配`,NULL:`为空`,NOT_NULL:`不为空`,TRUE:`为真`,FALSE:`为假`,EXISTS:`存在`,TODAY:`今天`,BEFORE_TODAY:`今天之前`,TOMORROW:`明天`,THIS_WEEK:`本周`,NEXT_WEEK:`下周`,LAST_WEEK:`上周`,THIS_MONTH:`本月`,LAST_MONTH:`上月`,RECENT_DAYS:`最近几天`,EARLIER_DAYS:`几天前`,RAW:`原始查询`};exports.zh_CN=e;
2
+ //# sourceMappingURL=zh_CN.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"zh_CN.cjs","names":["zh_CN"],"sources":["../../../src/legacy/locale/zh_CN.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 { OperatorLocale } from './operatorLocale.js';\n\n/**\n * The Simplified Chinese display names of the `Operator`s.\n *\n * @deprecated This locale belongs to the legacy Condition API. Removed in v10.\n */\nexport const zh_CN: OperatorLocale = {\n AND: '与',\n OR: '或',\n NOR: '非或',\n ID: 'ID 等于',\n IDS: 'ID 包含',\n AGGREGATE_ID: '聚合 ID 等于',\n AGGREGATE_IDS: '聚合 ID 包含',\n TENANT_ID: '租户 ID 等于',\n OWNER_ID: '所有者 ID 等于',\n SPACE_ID: ' 空间 ID 等于',\n DELETED: '已删除',\n ALL: '全部',\n EQ: '等于',\n NE: '不等于',\n GT: '大于',\n LT: '小于',\n GTE: '大于等于',\n LTE: '小于等于',\n CONTAINS: '包含',\n IN: '包含',\n NOT_IN: '不包含',\n BETWEEN: '在范围内',\n ALL_IN: '全部包含',\n STARTS_WITH: '以...开头',\n ENDS_WITH: '以...结尾',\n MATCH: '匹配',\n ELEM_MATCH: '元素匹配',\n NULL: '为空',\n NOT_NULL: '不为空',\n TRUE: '为真',\n FALSE: '为假',\n EXISTS: '存在',\n TODAY: '今天',\n BEFORE_TODAY: '今天之前',\n TOMORROW: '明天',\n THIS_WEEK: '本周',\n NEXT_WEEK: '下周',\n LAST_WEEK: '上周',\n THIS_MONTH: '本月',\n LAST_MONTH: '上月',\n RECENT_DAYS: '最近几天',\n EARLIER_DAYS: '几天前',\n RAW: '原始查询',\n};\n"],"mappings":"AAoBA,IAAaA,EAAwB,CACnC,IAAK,IACL,GAAI,IACJ,IAAK,KACL,GAAI,QACJ,IAAK,QACL,aAAc,WACd,cAAe,WACf,UAAW,WACX,SAAU,YACV,SAAU,YACV,QAAS,MACT,IAAK,KACL,GAAI,KACJ,GAAI,MACJ,GAAI,KACJ,GAAI,KACJ,IAAK,OACL,IAAK,OACL,SAAU,KACV,GAAI,KACJ,OAAQ,MACR,QAAS,OACT,OAAQ,OACR,YAAa,SACb,UAAW,SACX,MAAO,KACP,WAAY,OACZ,KAAM,KACN,SAAU,MACV,KAAM,KACN,MAAO,KACP,OAAQ,KACR,MAAO,KACP,aAAc,OACd,SAAU,KACV,UAAW,KACX,UAAW,KACX,UAAW,KACX,WAAY,KACZ,WAAY,KACZ,YAAa,OACb,aAAc,MACd,IAAK,MACP"}
@@ -0,0 +1,7 @@
1
+ import { OperatorLocale } from './operatorLocale.cjs';
2
+ /**
3
+ * The Simplified Chinese display names of the `Operator`s.
4
+ *
5
+ * @deprecated This locale belongs to the legacy Condition API. Removed in v10.
6
+ */
7
+ export declare const zh_CN: OperatorLocale;
@@ -0,0 +1,7 @@
1
+ import { OperatorLocale } from './operatorLocale.js';
2
+ /**
3
+ * The Simplified Chinese display names of the `Operator`s.
4
+ *
5
+ * @deprecated This locale belongs to the legacy Condition API. Removed in v10.
6
+ */
7
+ export declare const zh_CN: OperatorLocale;
@@ -0,0 +1,50 @@
1
+ //#region src/legacy/locale/zh_CN.ts
2
+ var e = {
3
+ AND: "与",
4
+ OR: "或",
5
+ NOR: "非或",
6
+ ID: "ID 等于",
7
+ IDS: "ID 包含",
8
+ AGGREGATE_ID: "聚合 ID 等于",
9
+ AGGREGATE_IDS: "聚合 ID 包含",
10
+ TENANT_ID: "租户 ID 等于",
11
+ OWNER_ID: "所有者 ID 等于",
12
+ SPACE_ID: " 空间 ID 等于",
13
+ DELETED: "已删除",
14
+ ALL: "全部",
15
+ EQ: "等于",
16
+ NE: "不等于",
17
+ GT: "大于",
18
+ LT: "小于",
19
+ GTE: "大于等于",
20
+ LTE: "小于等于",
21
+ CONTAINS: "包含",
22
+ IN: "包含",
23
+ NOT_IN: "不包含",
24
+ BETWEEN: "在范围内",
25
+ ALL_IN: "全部包含",
26
+ STARTS_WITH: "以...开头",
27
+ ENDS_WITH: "以...结尾",
28
+ MATCH: "匹配",
29
+ ELEM_MATCH: "元素匹配",
30
+ NULL: "为空",
31
+ NOT_NULL: "不为空",
32
+ TRUE: "为真",
33
+ FALSE: "为假",
34
+ EXISTS: "存在",
35
+ TODAY: "今天",
36
+ BEFORE_TODAY: "今天之前",
37
+ TOMORROW: "明天",
38
+ THIS_WEEK: "本周",
39
+ NEXT_WEEK: "下周",
40
+ LAST_WEEK: "上周",
41
+ THIS_MONTH: "本月",
42
+ LAST_MONTH: "上月",
43
+ RECENT_DAYS: "最近几天",
44
+ EARLIER_DAYS: "几天前",
45
+ RAW: "原始查询"
46
+ };
47
+ //#endregion
48
+ export { e as zh_CN };
49
+
50
+ //# sourceMappingURL=zh_CN.es.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"zh_CN.es.js","names":["zh_CN"],"sources":["../../../src/legacy/locale/zh_CN.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 { OperatorLocale } from './operatorLocale.js';\n\n/**\n * The Simplified Chinese display names of the `Operator`s.\n *\n * @deprecated This locale belongs to the legacy Condition API. Removed in v10.\n */\nexport const zh_CN: OperatorLocale = {\n AND: '与',\n OR: '或',\n NOR: '非或',\n ID: 'ID 等于',\n IDS: 'ID 包含',\n AGGREGATE_ID: '聚合 ID 等于',\n AGGREGATE_IDS: '聚合 ID 包含',\n TENANT_ID: '租户 ID 等于',\n OWNER_ID: '所有者 ID 等于',\n SPACE_ID: ' 空间 ID 等于',\n DELETED: '已删除',\n ALL: '全部',\n EQ: '等于',\n NE: '不等于',\n GT: '大于',\n LT: '小于',\n GTE: '大于等于',\n LTE: '小于等于',\n CONTAINS: '包含',\n IN: '包含',\n NOT_IN: '不包含',\n BETWEEN: '在范围内',\n ALL_IN: '全部包含',\n STARTS_WITH: '以...开头',\n ENDS_WITH: '以...结尾',\n MATCH: '匹配',\n ELEM_MATCH: '元素匹配',\n NULL: '为空',\n NOT_NULL: '不为空',\n TRUE: '为真',\n FALSE: '为假',\n EXISTS: '存在',\n TODAY: '今天',\n BEFORE_TODAY: '今天之前',\n TOMORROW: '明天',\n THIS_WEEK: '本周',\n NEXT_WEEK: '下周',\n LAST_WEEK: '上周',\n THIS_MONTH: '本月',\n LAST_MONTH: '上月',\n RECENT_DAYS: '最近几天',\n EARLIER_DAYS: '几天前',\n RAW: '原始查询',\n};\n"],"mappings":";AAoBA,IAAaA,IAAwB;CACnC,KAAK;CACL,IAAI;CACJ,KAAK;CACL,IAAI;CACJ,KAAK;CACL,cAAc;CACd,eAAe;CACf,WAAW;CACX,UAAU;CACV,UAAU;CACV,SAAS;CACT,KAAK;CACL,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,KAAK;CACL,KAAK;CACL,UAAU;CACV,IAAI;CACJ,QAAQ;CACR,SAAS;CACT,QAAQ;CACR,aAAa;CACb,WAAW;CACX,OAAO;CACP,YAAY;CACZ,MAAM;CACN,UAAU;CACV,MAAM;CACN,OAAO;CACP,QAAQ;CACR,OAAO;CACP,cAAc;CACd,UAAU;CACV,WAAW;CACX,WAAW;CACX,WAAW;CACX,YAAY;CACZ,YAAY;CACZ,aAAa;CACb,cAAc;CACd,KAAK;AACP"}
@@ -0,0 +1,2 @@
1
+ var e=function(e){return e.AND=`AND`,e.OR=`OR`,e.NOR=`NOR`,e.ID=`ID`,e.IDS=`IDS`,e.AGGREGATE_ID=`AGGREGATE_ID`,e.AGGREGATE_IDS=`AGGREGATE_IDS`,e.TENANT_ID=`TENANT_ID`,e.OWNER_ID=`OWNER_ID`,e.SPACE_ID=`SPACE_ID`,e.DELETED=`DELETED`,e.ALL=`ALL`,e.EQ=`EQ`,e.NE=`NE`,e.GT=`GT`,e.LT=`LT`,e.GTE=`GTE`,e.LTE=`LTE`,e.CONTAINS=`CONTAINS`,e.IN=`IN`,e.NOT_IN=`NOT_IN`,e.BETWEEN=`BETWEEN`,e.ALL_IN=`ALL_IN`,e.STARTS_WITH=`STARTS_WITH`,e.ENDS_WITH=`ENDS_WITH`,e.ELEM_MATCH=`ELEM_MATCH`,e.NULL=`NULL`,e.NOT_NULL=`NOT_NULL`,e.TRUE=`TRUE`,e.FALSE=`FALSE`,e.EXISTS=`EXISTS`,e.TODAY=`TODAY`,e.BEFORE_TODAY=`BEFORE_TODAY`,e.TOMORROW=`TOMORROW`,e.THIS_WEEK=`THIS_WEEK`,e.NEXT_WEEK=`NEXT_WEEK`,e.LAST_WEEK=`LAST_WEEK`,e.THIS_MONTH=`THIS_MONTH`,e.LAST_MONTH=`LAST_MONTH`,e.RECENT_DAYS=`RECENT_DAYS`,e.EARLIER_DAYS=`EARLIER_DAYS`,e.MATCH=`MATCH`,e.RAW=`RAW`,e}({}),t=new Set([`AND`,`OR`,`NOR`]),n=new Set([`NULL`,`NOT_NULL`,`TRUE`,`FALSE`,`EXISTS`,`TODAY`,`TOMORROW`,`THIS_WEEK`,`NEXT_WEEK`,`LAST_WEEK`,`THIS_MONTH`,`LAST_MONTH`]);exports.EMPTY_VALUE_OPERATORS=n,exports.LOGICAL_OPERATORS=t,exports.Operator=e;
2
+ //# sourceMappingURL=operator.cjs.map