@ptc-org/nestjs-query-core 0.30.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +471 -0
- package/README.md +22 -0
- package/package.json +37 -0
- package/src/index.js +44 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,471 @@
|
|
|
1
|
+
# Change Log
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
|
+
|
|
6
|
+
# [0.30.0](https://github.com/doug-martin/nestjs-query/compare/v0.29.0...v0.30.0) (2021-09-30)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @nestjs-query/core
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [0.29.0](https://github.com/doug-martin/nestjs-query/compare/v0.28.1...v0.29.0) (2021-09-09)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @nestjs-query/core
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
## [0.28.1](https://github.com/doug-martin/nestjs-query/compare/v0.28.0...v0.28.1) (2021-07-27)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @nestjs-query/core
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
# [0.28.0](https://github.com/doug-martin/nestjs-query/compare/v0.27.0...v0.28.0) (2021-07-19)
|
|
31
|
+
|
|
32
|
+
**Note:** Version bump only for package @nestjs-query/core
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
# [0.27.0](https://github.com/doug-martin/nestjs-query/compare/v0.26.0...v0.27.0) (2021-05-12)
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
### Features
|
|
42
|
+
|
|
43
|
+
* **graphql,#1058:** Allow declaration of custom ID scalar type ([fb2ed7a](https://github.com/doug-martin/nestjs-query/commit/fb2ed7aca59d66fa8827522cf81b6e31e77161d3)), closes [#1058](https://github.com/doug-martin/nestjs-query/issues/1058)
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
# [0.26.0](https://github.com/doug-martin/nestjs-query/compare/v0.25.1...v0.26.0) (2021-04-13)
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
### Features
|
|
53
|
+
|
|
54
|
+
* **core:** Add new `setRelations` to set oneToMany/manyToMany relations ([4c73591](https://github.com/doug-martin/nestjs-query/commit/4c7359168c0713723d18ae2dc302366fd820dc7b))
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
## [0.25.1](https://github.com/doug-martin/nestjs-query/compare/v0.25.0...v0.25.1) (2021-04-07)
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
### Bug Fixes
|
|
64
|
+
|
|
65
|
+
* **mongoose,typegoose,#881:** Allow string objectId filters ([11098c4](https://github.com/doug-martin/nestjs-query/commit/11098c441de41462fe6c45742bc317f52ea09711)), closes [#881](https://github.com/doug-martin/nestjs-query/issues/881)
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
# [0.25.0](https://github.com/doug-martin/nestjs-query/compare/v0.24.5...v0.25.0) (2021-03-31)
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
### Bug Fixes
|
|
75
|
+
|
|
76
|
+
* Add consistent sorting for aggregate queries ([4ac7a14](https://github.com/doug-martin/nestjs-query/commit/4ac7a1485c7dcd83569951298606f487608806b1))
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
### Features
|
|
80
|
+
|
|
81
|
+
* **core:** Add aggregate group by ([d5eb73b](https://github.com/doug-martin/nestjs-query/commit/d5eb73b9e7a193f664f46486435b7d8d76087b55))
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
## [0.24.4](https://github.com/doug-martin/nestjs-query/compare/v0.24.3...v0.24.4) (2021-03-18)
|
|
88
|
+
|
|
89
|
+
**Note:** Version bump only for package @nestjs-query/core
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
# [0.24.0](https://github.com/doug-martin/nestjs-query/compare/v0.23.1...v0.24.0) (2021-03-15)
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
### Features
|
|
99
|
+
|
|
100
|
+
* **typegoose:** Add typegoose package ([#846](https://github.com/doug-martin/nestjs-query/issues/846)) ([73cf5cd](https://github.com/doug-martin/nestjs-query/commit/73cf5cdbf11496ad3a3ce3f6bb69975510de26e2))
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
# [0.23.0](https://github.com/doug-martin/nestjs-query/compare/v0.22.0...v0.23.0) (2021-02-26)
|
|
107
|
+
|
|
108
|
+
**Note:** Version bump only for package @nestjs-query/core
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
# [0.22.0](https://github.com/doug-martin/nestjs-query/compare/v0.21.2...v0.22.0) (2021-02-08)
|
|
115
|
+
|
|
116
|
+
**Note:** Version bump only for package @nestjs-query/core
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
## [0.21.2](https://github.com/doug-martin/nestjs-query/compare/v0.21.1...v0.21.2) (2020-10-23)
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
### Features
|
|
126
|
+
|
|
127
|
+
* **core:** added two new filter helpers ([031012e](https://github.com/doug-martin/nestjs-query/commit/031012e96bf99e1eb08c155059fd5106b38e9faf))
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
# [0.21.0](https://github.com/doug-martin/nestjs-query/compare/v0.20.2...v0.21.0) (2020-10-16)
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
### Bug Fixes
|
|
137
|
+
|
|
138
|
+
* **core:** Look up the proper assembler with inheritance ([8bd22c5](https://github.com/doug-martin/nestjs-query/commit/8bd22c5a40974c9011d0b472dc1ebe1328ba83f6))
|
|
139
|
+
* **eslint:** Fix eslint to recognize sub packages ([13fdd2b](https://github.com/doug-martin/nestjs-query/commit/13fdd2b31289dbc80316cbdb5aa32edbe596bad4))
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
### Features
|
|
143
|
+
|
|
144
|
+
* **mongoose:** Hardening reference support ([107bba0](https://github.com/doug-martin/nestjs-query/commit/107bba040a2b1d423deb4f1e428a43cecab48e79))
|
|
145
|
+
* **mongoose:** Switch to native mongoose support ([5cdfa39](https://github.com/doug-martin/nestjs-query/commit/5cdfa39b7d91cf0f8438ef3387a89aac850f4452))
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
## [0.20.2](https://github.com/doug-martin/nestjs-query/compare/v0.20.1...v0.20.2) (2020-10-01)
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
### Features
|
|
155
|
+
|
|
156
|
+
* **core:** parallelize queries within relation query service ([b339a2a](https://github.com/doug-martin/nestjs-query/commit/b339a2a9a3d1ad315d92eec67ab31af18617f6ca))
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
## [0.20.1](https://github.com/doug-martin/nestjs-query/compare/v0.20.0...v0.20.1) (2020-09-28)
|
|
163
|
+
|
|
164
|
+
**Note:** Version bump only for package @nestjs-query/core
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
# [0.20.0](https://github.com/doug-martin/nestjs-query/compare/v0.19.4...v0.20.0) (2020-09-17)
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
### Features
|
|
174
|
+
|
|
175
|
+
* **core:** Update assemblers to allow transforming create/update dtos ([5085d11](https://github.com/doug-martin/nestjs-query/commit/5085d1193a84396c9016821347c04f0e15eb04da))
|
|
176
|
+
* **core:** Update query service decorator to have correct generics ([74dc618](https://github.com/doug-martin/nestjs-query/commit/74dc618b61d1ce5575843accf5ea01066020f073))
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
## [0.19.4](https://github.com/doug-martin/nestjs-query/compare/v0.19.3...v0.19.4) (2020-09-15)
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
### Features
|
|
186
|
+
|
|
187
|
+
* **graphql:** Add keyset connections ([36bdbdd](https://github.com/doug-martin/nestjs-query/commit/36bdbdd9fda8b1db531ceb65c3a7c604c3da23fe))
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
## [0.19.3](https://github.com/doug-martin/nestjs-query/compare/v0.19.2...v0.19.3) (2020-09-09)
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
### Bug Fixes
|
|
197
|
+
|
|
198
|
+
* **graphql,hooks:** Allow getting hooks from parent classes ([59a0aeb](https://github.com/doug-martin/nestjs-query/commit/59a0aebc3dabd7d23ffde576a94bc588e768efbe))
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
## [0.19.2](https://github.com/doug-martin/nestjs-query/compare/v0.19.1...v0.19.2) (2020-09-03)
|
|
205
|
+
|
|
206
|
+
**Note:** Version bump only for package @nestjs-query/core
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
# [0.19.0](https://github.com/doug-martin/nestjs-query/compare/v0.18.1...v0.19.0) (2020-09-01)
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
### Features
|
|
216
|
+
|
|
217
|
+
* **core:** Update QueryService to allow additional filtering ([474369b](https://github.com/doug-martin/nestjs-query/commit/474369bd46ee82e3c8510f0564019627367d467c))
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
## [0.18.1](https://github.com/doug-martin/nestjs-query/compare/v0.18.0...v0.18.1) (2020-08-14)
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
### Bug Fixes
|
|
227
|
+
|
|
228
|
+
* **core:** Fix potential stack overflow with filter comparison ([f498802](https://github.com/doug-martin/nestjs-query/commit/f49880274a32e681d9072253135a8669bec7b3b2))
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
### Features
|
|
232
|
+
|
|
233
|
+
* **core:** refactor null compares and improve tests ([3582ed2](https://github.com/doug-martin/nestjs-query/commit/3582ed2f6b4aa5e3fa78bd9986621b9816566156))
|
|
234
|
+
* refactored filter builder to support nested object filters ([1ee8dbf](https://github.com/doug-martin/nestjs-query/commit/1ee8dbf5a0ae1a1258b203da1e68901e2b8d20f8))
|
|
235
|
+
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
# [0.18.0](https://github.com/doug-martin/nestjs-query/compare/v0.17.10...v0.18.0) (2020-08-11)
|
|
241
|
+
|
|
242
|
+
**Note:** Version bump only for package @nestjs-query/core
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
## [0.17.10](https://github.com/doug-martin/nestjs-query/compare/v0.17.9...v0.17.10) (2020-08-01)
|
|
249
|
+
|
|
250
|
+
**Note:** Version bump only for package @nestjs-query/core
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
## [0.17.8](https://github.com/doug-martin/nestjs-query/compare/v0.17.7...v0.17.8) (2020-07-28)
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
### Features
|
|
260
|
+
|
|
261
|
+
* **graphql:** Allow specifying allowed comparisons on filterable fields ([ced2792](https://github.com/doug-martin/nestjs-query/commit/ced27920e5c2278c2a04c027a692e25b3306f6cb))
|
|
262
|
+
|
|
263
|
+
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
## [0.17.7](https://github.com/doug-martin/nestjs-query/compare/v0.17.6...v0.17.7) (2020-07-27)
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
### Features
|
|
271
|
+
|
|
272
|
+
* **core:** Added applySort, applyPaging and applyQuery [#405](https://github.com/doug-martin/nestjs-query/issues/405) ([9f9ae0d](https://github.com/doug-martin/nestjs-query/commit/9f9ae0d0722c685483f1b2e1bd501a0f3df3ff85))
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
|
|
276
|
+
|
|
277
|
+
|
|
278
|
+
## [0.17.2](https://github.com/doug-martin/nestjs-query/compare/v0.17.1...v0.17.2) (2020-07-17)
|
|
279
|
+
|
|
280
|
+
**Note:** Version bump only for package @nestjs-query/core
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
|
|
284
|
+
|
|
285
|
+
|
|
286
|
+
# [0.17.0](https://github.com/doug-martin/nestjs-query/compare/v0.16.2...v0.17.0) (2020-07-16)
|
|
287
|
+
|
|
288
|
+
|
|
289
|
+
### Features
|
|
290
|
+
|
|
291
|
+
* **aggregations:** Add aggregations interfaces ([d67e733](https://github.com/doug-martin/nestjs-query/commit/d67e73393d2cb8d2f0dc131a8455bb798a270e14))
|
|
292
|
+
* **aggregations:** Add aggregations to graphql ([af075d2](https://github.com/doug-martin/nestjs-query/commit/af075d2e93b6abbbfbe32afcc917350f803fadaa))
|
|
293
|
+
* **aggregations,relations,core:** Add relation aggregation to core ([a489588](https://github.com/doug-martin/nestjs-query/commit/a4895881a1e9ff76811b264cc58eeea116b3edfd))
|
|
294
|
+
|
|
295
|
+
|
|
296
|
+
|
|
297
|
+
|
|
298
|
+
|
|
299
|
+
## [0.16.2](https://github.com/doug-martin/nestjs-query/compare/v0.16.1...v0.16.2) (2020-07-09)
|
|
300
|
+
|
|
301
|
+
**Note:** Version bump only for package @nestjs-query/core
|
|
302
|
+
|
|
303
|
+
|
|
304
|
+
|
|
305
|
+
|
|
306
|
+
|
|
307
|
+
# [0.16.0](https://github.com/doug-martin/nestjs-query/compare/v0.15.1...v0.16.0) (2020-07-05)
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
### Features
|
|
311
|
+
|
|
312
|
+
* **core:** Add type support for nest objects in filter ([cd9d0b5](https://github.com/doug-martin/nestjs-query/commit/cd9d0b524c1f4c384dc9e5ac6baeb5a49bc068e7))
|
|
313
|
+
|
|
314
|
+
|
|
315
|
+
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
# [0.15.0](https://github.com/doug-martin/nestjs-query/compare/v0.14.3...v0.15.0) (2020-06-23)
|
|
319
|
+
|
|
320
|
+
|
|
321
|
+
### Features
|
|
322
|
+
|
|
323
|
+
* **graphql,connection:** Add totalCount to connections ([ed1e84a](https://github.com/doug-martin/nestjs-query/commit/ed1e84a2feb6f89c3b270fcbc1d0eaf6aec5e575))
|
|
324
|
+
|
|
325
|
+
|
|
326
|
+
|
|
327
|
+
|
|
328
|
+
|
|
329
|
+
# [0.14.0](https://github.com/doug-martin/nestjs-query/compare/v0.13.2...v0.14.0) (2020-06-18)
|
|
330
|
+
|
|
331
|
+
**Note:** Version bump only for package @nestjs-query/core
|
|
332
|
+
|
|
333
|
+
|
|
334
|
+
|
|
335
|
+
|
|
336
|
+
|
|
337
|
+
# [0.13.0](https://github.com/doug-martin/nestjs-query/compare/v0.12.0...v0.13.0) (2020-06-12)
|
|
338
|
+
|
|
339
|
+
**Note:** Version bump only for package @nestjs-query/core
|
|
340
|
+
|
|
341
|
+
|
|
342
|
+
|
|
343
|
+
|
|
344
|
+
|
|
345
|
+
# [0.12.0](https://github.com/doug-martin/nestjs-query/compare/v0.11.8...v0.12.0) (2020-06-07)
|
|
346
|
+
|
|
347
|
+
|
|
348
|
+
### Features
|
|
349
|
+
|
|
350
|
+
* **graphql:** Add graphql subscriptions ([5dc987f](https://github.com/doug-martin/nestjs-query/commit/5dc987f435e0680192313e208359839f9c21d70b))
|
|
351
|
+
|
|
352
|
+
|
|
353
|
+
|
|
354
|
+
|
|
355
|
+
|
|
356
|
+
## [0.11.8](https://github.com/doug-martin/nestjs-query/compare/v0.11.7...v0.11.8) (2020-05-30)
|
|
357
|
+
|
|
358
|
+
**Note:** Version bump only for package @nestjs-query/core
|
|
359
|
+
|
|
360
|
+
|
|
361
|
+
|
|
362
|
+
|
|
363
|
+
|
|
364
|
+
## [0.11.7](https://github.com/doug-martin/nestjs-query/compare/v0.11.6...v0.11.7) (2020-05-29)
|
|
365
|
+
|
|
366
|
+
**Note:** Version bump only for package @nestjs-query/core
|
|
367
|
+
|
|
368
|
+
|
|
369
|
+
|
|
370
|
+
|
|
371
|
+
|
|
372
|
+
## [0.11.6](https://github.com/doug-martin/nestjs-query/compare/v0.11.5...v0.11.6) (2020-05-26)
|
|
373
|
+
|
|
374
|
+
**Note:** Version bump only for package @nestjs-query/core
|
|
375
|
+
|
|
376
|
+
|
|
377
|
+
|
|
378
|
+
|
|
379
|
+
|
|
380
|
+
## [0.11.5](https://github.com/doug-martin/nestjs-query/compare/v0.11.4...v0.11.5) (2020-05-21)
|
|
381
|
+
|
|
382
|
+
**Note:** Version bump only for package @nestjs-query/core
|
|
383
|
+
|
|
384
|
+
|
|
385
|
+
|
|
386
|
+
|
|
387
|
+
|
|
388
|
+
## [0.11.4](https://github.com/doug-martin/nestjs-query/compare/v0.11.3...v0.11.4) (2020-05-19)
|
|
389
|
+
|
|
390
|
+
**Note:** Version bump only for package @nestjs-query/core
|
|
391
|
+
|
|
392
|
+
|
|
393
|
+
|
|
394
|
+
|
|
395
|
+
|
|
396
|
+
## [0.11.3](https://github.com/doug-martin/nestjs-query/compare/v0.11.2...v0.11.3) (2020-05-16)
|
|
397
|
+
|
|
398
|
+
**Note:** Version bump only for package @nestjs-query/core
|
|
399
|
+
|
|
400
|
+
|
|
401
|
+
|
|
402
|
+
|
|
403
|
+
|
|
404
|
+
## [0.11.2](https://github.com/doug-martin/nestjs-query/compare/v0.11.1...v0.11.2) (2020-05-14)
|
|
405
|
+
|
|
406
|
+
|
|
407
|
+
### Bug Fixes
|
|
408
|
+
|
|
409
|
+
* Fix lint issues ([c3407c0](https://github.com/doug-martin/nestjs-query/commit/c3407c0abfebe2ed6563cf754bab646af124a661))
|
|
410
|
+
|
|
411
|
+
|
|
412
|
+
### Features
|
|
413
|
+
|
|
414
|
+
* **graphql,core:** Add support for custom services and assemblers ([85e8658](https://github.com/doug-martin/nestjs-query/commit/85e8658c6acd495233cabb576c3458afcb8fff12))
|
|
415
|
+
|
|
416
|
+
|
|
417
|
+
|
|
418
|
+
|
|
419
|
+
|
|
420
|
+
## [0.11.1](https://github.com/doug-martin/nestjs-query/compare/v0.11.0...v0.11.1) (2020-05-11)
|
|
421
|
+
|
|
422
|
+
|
|
423
|
+
### Features
|
|
424
|
+
|
|
425
|
+
* **graphql:** Add support for auto-generated federations ([238f641](https://github.com/doug-martin/nestjs-query/commit/238f641967ea6668dfb7bd9034fec732da7fe38b))
|
|
426
|
+
|
|
427
|
+
|
|
428
|
+
|
|
429
|
+
|
|
430
|
+
|
|
431
|
+
# [0.11.0](https://github.com/doug-martin/nestjs-query/compare/v0.10.2...v0.11.0) (2020-05-09)
|
|
432
|
+
|
|
433
|
+
|
|
434
|
+
### Features
|
|
435
|
+
|
|
436
|
+
* **graphql:** Add graphql module ([282c421](https://github.com/doug-martin/nestjs-query/commit/282c421d0e6f67fe750fa6005f6cb7d960c8fbd0))
|
|
437
|
+
|
|
438
|
+
|
|
439
|
+
|
|
440
|
+
|
|
441
|
+
|
|
442
|
+
# [0.10.0](https://github.com/doug-martin/nestjs-query/compare/v0.9.0...v0.10.0) (2020-04-29)
|
|
443
|
+
|
|
444
|
+
|
|
445
|
+
### Features
|
|
446
|
+
|
|
447
|
+
* **sequelize:** Initial Sequelize support ([bfcf436](https://github.com/doug-martin/nestjs-query/commit/bfcf4368b96617113c0334cd78a8881e4952eb99))
|
|
448
|
+
|
|
449
|
+
|
|
450
|
+
|
|
451
|
+
|
|
452
|
+
|
|
453
|
+
# [0.9.0](https://github.com/doug-martin/nestjs-query/compare/v0.8.9...v0.9.0) (2020-04-26)
|
|
454
|
+
|
|
455
|
+
**Note:** Version bump only for package @nestjs-query/core
|
|
456
|
+
|
|
457
|
+
|
|
458
|
+
|
|
459
|
+
|
|
460
|
+
|
|
461
|
+
## [0.8.9](https://github.com/doug-martin/nestjs-query/compare/v0.8.8...v0.8.9) (2020-04-24)
|
|
462
|
+
|
|
463
|
+
**Note:** Version bump only for package @nestjs-query/core
|
|
464
|
+
|
|
465
|
+
|
|
466
|
+
|
|
467
|
+
|
|
468
|
+
|
|
469
|
+
## [0.8.7](https://github.com/doug-martin/nestjs-query/compare/v0.8.6...v0.8.7) (2020-04-23)
|
|
470
|
+
|
|
471
|
+
**Note:** Version bump only for package @nestjs-query/core
|
package/README.md
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<p align="center">
|
|
2
|
+
<a href="https://doug-martin.github.io/nestjs-query" target="blank"><img src="https://doug-martin.github.io/nestjs-query/img/logo.svg" width="120" alt="Nestjs-query Logo" /></a>
|
|
3
|
+
</p>
|
|
4
|
+
|
|
5
|
+
[](https://www.npmjs.org/package/@nestjs-query/core)
|
|
6
|
+
[](https://github.com/doug-martin/nestjs-query/actions?query=workflow%3ATest+and+branch%3Amaster+)
|
|
7
|
+
[](https://coveralls.io/github/doug-martin/nestjs-query?branch=master)
|
|
8
|
+
[](https://snyk.io/test/github/doug-martin/nestjs-query?targetFile=packages/core/package.json)
|
|
9
|
+
|
|
10
|
+
# `@nestjs-query/core`
|
|
11
|
+
|
|
12
|
+
Core package that contains interfaces for types used by [`@nestjs-query/query-graphql`](../query-graphql) and [`@nestjs-query/query-typeorm`](../query-typeorm)
|
|
13
|
+
|
|
14
|
+
## Installation
|
|
15
|
+
|
|
16
|
+
[Install Guide](https://doug-martin.github.io/nestjs-query/docs/introduction/install)
|
|
17
|
+
|
|
18
|
+
## Docs
|
|
19
|
+
|
|
20
|
+
* [Nestjs-query Docs](https://doug-martin.github.io/nestjs-query/docs/introduction/getting-started)
|
|
21
|
+
|
|
22
|
+
|
package/package.json
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@ptc-org/nestjs-query-core",
|
|
3
|
+
"version": "0.30.1",
|
|
4
|
+
"description": "Base query package",
|
|
5
|
+
"author": "doug-martin <doug@dougamartin.com>",
|
|
6
|
+
"homepage": "https://github.com/doug-martin/nestjs-query#readme",
|
|
7
|
+
"license": "MIT",
|
|
8
|
+
"main": "src/index.js",
|
|
9
|
+
"types": "src/index.d.ts",
|
|
10
|
+
"directories": {
|
|
11
|
+
"lib": "src",
|
|
12
|
+
"test": "__tests__"
|
|
13
|
+
},
|
|
14
|
+
"files": [
|
|
15
|
+
"dist/src/**"
|
|
16
|
+
],
|
|
17
|
+
"publishConfig": {
|
|
18
|
+
"access": "public"
|
|
19
|
+
},
|
|
20
|
+
"repository": {
|
|
21
|
+
"type": "git",
|
|
22
|
+
"url": "git+https://github.com/doug-martin/nestjs-query.git"
|
|
23
|
+
},
|
|
24
|
+
"bugs": {
|
|
25
|
+
"url": "https://github.com/doug-martin/nestjs-query/issues"
|
|
26
|
+
},
|
|
27
|
+
"dependencies": {
|
|
28
|
+
"lodash.merge": "^4.6.2",
|
|
29
|
+
"reflect-metadata": "^0.1.13",
|
|
30
|
+
"tslib": "^2.1.0"
|
|
31
|
+
},
|
|
32
|
+
"peerDependencies": {
|
|
33
|
+
"@nestjs/common": "^8.0.4",
|
|
34
|
+
"class-transformer": "^0.2.3 || 0.3.1 || 0.4"
|
|
35
|
+
},
|
|
36
|
+
"typings": "./src/index.d.ts"
|
|
37
|
+
}
|
package/src/index.js
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NestjsQueryCoreModule = exports.AssemblerFactory = exports.AssemblerDeserializer = exports.AssemblerSerializer = exports.Assembler = exports.AbstractAssembler = exports.DefaultAssembler = exports.ClassTransformerAssembler = exports.getFilterOmitting = exports.getFilterComparisons = exports.invertSort = exports.mergeFilter = exports.mergeQuery = exports.applyQuery = exports.applyPaging = exports.applySort = exports.transformAggregateResponse = exports.transformAggregateQuery = exports.getFilterFields = exports.applyFilter = exports.transformSort = exports.transformQuery = exports.transformFilter = exports.ProxyQueryService = exports.NoOpQueryService = exports.RelationQueryService = exports.AssemblerQueryService = exports.QueryService = exports.getQueryServiceToken = exports.InjectQueryService = exports.InjectAssemblerQueryService = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
/* eslint-disable import/export */
|
|
6
|
+
(0, tslib_1.__exportStar)(require("./interfaces"), exports);
|
|
7
|
+
(0, tslib_1.__exportStar)(require("./common"), exports);
|
|
8
|
+
var decorators_1 = require("./decorators");
|
|
9
|
+
Object.defineProperty(exports, "InjectAssemblerQueryService", { enumerable: true, get: function () { return decorators_1.InjectAssemblerQueryService; } });
|
|
10
|
+
Object.defineProperty(exports, "InjectQueryService", { enumerable: true, get: function () { return decorators_1.InjectQueryService; } });
|
|
11
|
+
Object.defineProperty(exports, "getQueryServiceToken", { enumerable: true, get: function () { return decorators_1.getQueryServiceToken; } });
|
|
12
|
+
var services_1 = require("./services");
|
|
13
|
+
Object.defineProperty(exports, "QueryService", { enumerable: true, get: function () { return services_1.QueryService; } });
|
|
14
|
+
Object.defineProperty(exports, "AssemblerQueryService", { enumerable: true, get: function () { return services_1.AssemblerQueryService; } });
|
|
15
|
+
Object.defineProperty(exports, "RelationQueryService", { enumerable: true, get: function () { return services_1.RelationQueryService; } });
|
|
16
|
+
Object.defineProperty(exports, "NoOpQueryService", { enumerable: true, get: function () { return services_1.NoOpQueryService; } });
|
|
17
|
+
Object.defineProperty(exports, "ProxyQueryService", { enumerable: true, get: function () { return services_1.ProxyQueryService; } });
|
|
18
|
+
var helpers_1 = require("./helpers");
|
|
19
|
+
Object.defineProperty(exports, "transformFilter", { enumerable: true, get: function () { return helpers_1.transformFilter; } });
|
|
20
|
+
Object.defineProperty(exports, "transformQuery", { enumerable: true, get: function () { return helpers_1.transformQuery; } });
|
|
21
|
+
Object.defineProperty(exports, "transformSort", { enumerable: true, get: function () { return helpers_1.transformSort; } });
|
|
22
|
+
Object.defineProperty(exports, "applyFilter", { enumerable: true, get: function () { return helpers_1.applyFilter; } });
|
|
23
|
+
Object.defineProperty(exports, "getFilterFields", { enumerable: true, get: function () { return helpers_1.getFilterFields; } });
|
|
24
|
+
Object.defineProperty(exports, "transformAggregateQuery", { enumerable: true, get: function () { return helpers_1.transformAggregateQuery; } });
|
|
25
|
+
Object.defineProperty(exports, "transformAggregateResponse", { enumerable: true, get: function () { return helpers_1.transformAggregateResponse; } });
|
|
26
|
+
Object.defineProperty(exports, "applySort", { enumerable: true, get: function () { return helpers_1.applySort; } });
|
|
27
|
+
Object.defineProperty(exports, "applyPaging", { enumerable: true, get: function () { return helpers_1.applyPaging; } });
|
|
28
|
+
Object.defineProperty(exports, "applyQuery", { enumerable: true, get: function () { return helpers_1.applyQuery; } });
|
|
29
|
+
Object.defineProperty(exports, "mergeQuery", { enumerable: true, get: function () { return helpers_1.mergeQuery; } });
|
|
30
|
+
Object.defineProperty(exports, "mergeFilter", { enumerable: true, get: function () { return helpers_1.mergeFilter; } });
|
|
31
|
+
Object.defineProperty(exports, "invertSort", { enumerable: true, get: function () { return helpers_1.invertSort; } });
|
|
32
|
+
Object.defineProperty(exports, "getFilterComparisons", { enumerable: true, get: function () { return helpers_1.getFilterComparisons; } });
|
|
33
|
+
Object.defineProperty(exports, "getFilterOmitting", { enumerable: true, get: function () { return helpers_1.getFilterOmitting; } });
|
|
34
|
+
var assemblers_1 = require("./assemblers");
|
|
35
|
+
Object.defineProperty(exports, "ClassTransformerAssembler", { enumerable: true, get: function () { return assemblers_1.ClassTransformerAssembler; } });
|
|
36
|
+
Object.defineProperty(exports, "DefaultAssembler", { enumerable: true, get: function () { return assemblers_1.DefaultAssembler; } });
|
|
37
|
+
Object.defineProperty(exports, "AbstractAssembler", { enumerable: true, get: function () { return assemblers_1.AbstractAssembler; } });
|
|
38
|
+
Object.defineProperty(exports, "Assembler", { enumerable: true, get: function () { return assemblers_1.Assembler; } });
|
|
39
|
+
Object.defineProperty(exports, "AssemblerSerializer", { enumerable: true, get: function () { return assemblers_1.AssemblerSerializer; } });
|
|
40
|
+
Object.defineProperty(exports, "AssemblerDeserializer", { enumerable: true, get: function () { return assemblers_1.AssemblerDeserializer; } });
|
|
41
|
+
Object.defineProperty(exports, "AssemblerFactory", { enumerable: true, get: function () { return assemblers_1.AssemblerFactory; } });
|
|
42
|
+
var module_1 = require("./module");
|
|
43
|
+
Object.defineProperty(exports, "NestjsQueryCoreModule", { enumerable: true, get: function () { return module_1.NestjsQueryCoreModule; } });
|
|
44
|
+
//# sourceMappingURL=index.js.map
|