@ptc-org/nestjs-query-graphql 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 ADDED
@@ -0,0 +1,680 @@
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
+
9
+ ### Bug Fixes
10
+
11
+ * **deps:** update apollo graphql packages ([6d40b9d](https://github.com/doug-martin/nestjs-query/commit/6d40b9d10de522d7950fca8279ee2d763c17e3a5))
12
+ * **query-graphql:** Custom authorizers now behave like auth decorators ([ff92b9a](https://github.com/doug-martin/nestjs-query/commit/ff92b9ae7a0ae4fb9585bead9b778e26fbd6b95a))
13
+ * **query-graphql:** fix eslint errors ([73acbc3](https://github.com/doug-martin/nestjs-query/commit/73acbc3557d3e8cccbe7cb7e8e01dde9d4218208))
14
+
15
+
16
+
17
+
18
+
19
+ # [0.29.0](https://github.com/doug-martin/nestjs-query/compare/v0.28.1...v0.29.0) (2021-09-09)
20
+
21
+
22
+ ### Bug Fixes
23
+
24
+ * **query-graphql:** adapt createFromPromise typings and add tests for passing additional query params ([d81e531](https://github.com/doug-martin/nestjs-query/commit/d81e5315cbc6e2d665256fd6dcfa09689cadd2b1))
25
+ * **query-graphql:** pass original query in keyset pager strategy ([07f9e7b](https://github.com/doug-martin/nestjs-query/commit/07f9e7b78cccc788c772776a4ced336eec016164))
26
+
27
+
28
+ ### Features
29
+
30
+ * **graphql:** propagate correct query types throughout paging ([348044f](https://github.com/doug-martin/nestjs-query/commit/348044f8509d8aef21e4a5f55b93bd28793b0fcc))
31
+
32
+
33
+
34
+
35
+
36
+ ## [0.28.1](https://github.com/doug-martin/nestjs-query/compare/v0.28.0...v0.28.1) (2021-07-27)
37
+
38
+
39
+ ### Features
40
+
41
+ * **graphql,#958,#1160:** Enable authorizers on subscriptions ([d2f857f](https://github.com/doug-martin/nestjs-query/commit/d2f857f73540ee400f5dcc79cbb25dfba81c2963)), closes [#958](https://github.com/doug-martin/nestjs-query/issues/958) [#1160](https://github.com/doug-martin/nestjs-query/issues/1160)
42
+
43
+
44
+
45
+
46
+
47
+ # [0.28.0](https://github.com/doug-martin/nestjs-query/compare/v0.27.0...v0.28.0) (2021-07-19)
48
+
49
+
50
+ ### Bug Fixes
51
+
52
+ * NestjsQueryGraphqlModuleOpts ([984f591](https://github.com/doug-martin/nestjs-query/commit/984f5917db5971a336054186f8a7fddc522745cc))
53
+
54
+
55
+
56
+
57
+
58
+ # [0.27.0](https://github.com/doug-martin/nestjs-query/compare/v0.26.0...v0.27.0) (2021-05-12)
59
+
60
+
61
+ ### Features
62
+
63
+ * **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)
64
+
65
+
66
+
67
+
68
+
69
+ # [0.26.0](https://github.com/doug-martin/nestjs-query/compare/v0.25.1...v0.26.0) (2021-04-13)
70
+
71
+
72
+ ### Bug Fixes
73
+
74
+ * **graphql,auth,#1026:** Fixed auth context on deleteMany ([3d4efd4](https://github.com/doug-martin/nestjs-query/commit/3d4efd44fae7e2ee119e53884519e5b2700e9e72))
75
+ * **graphql,auth,#1026:** Fixed renamed export ([24b1193](https://github.com/doug-martin/nestjs-query/commit/24b11936014312d435b0d7f17c4237fd48c5dc52))
76
+ * **graphql,federation,#1051:** check for undefined as well ([298150a](https://github.com/doug-martin/nestjs-query/commit/298150a73571e08b9d4c3d24278a24b8aec8e62b)), closes [#1051](https://github.com/doug-martin/nestjs-query/issues/1051)
77
+ * **graphql,federation,#1051:** return null for references ([6cb832e](https://github.com/doug-martin/nestjs-query/commit/6cb832ebe03c4b4cc1ec133e93a39c4637c87685)), closes [#1051](https://github.com/doug-martin/nestjs-query/issues/1051)
78
+
79
+
80
+ ### Features
81
+
82
+ * **graphql:** Expose setRelations mutation ([676a4d5](https://github.com/doug-martin/nestjs-query/commit/676a4d5fc16717ae10c8f9f8e71550f1a42d6b2e))
83
+ * **graphql,#1048:** added filter-only option to filterable fields ([55cb010](https://github.com/doug-martin/nestjs-query/commit/55cb0105a11224db1e61023762f030d5c2dae6bc)), closes [#1048](https://github.com/doug-martin/nestjs-query/issues/1048)
84
+ * **graphql,auth:** Pass operation name to authorizer [#1026](https://github.com/doug-martin/nestjs-query/issues/1026) ([4343821](https://github.com/doug-martin/nestjs-query/commit/43438218d286791059a7a5f8eb40110320bdcfca))
85
+ * **graphql,auth,#1026:** Added convenience fields to auth context ([32df50e](https://github.com/doug-martin/nestjs-query/commit/32df50e502483bd3492a2d3481786d8931556438)), closes [#1026](https://github.com/doug-martin/nestjs-query/issues/1026)
86
+ * **graphql,auth,#1026:** Enable authorization on create methods as well ([4c7905e](https://github.com/doug-martin/nestjs-query/commit/4c7905e2c96bf3aab1841091d44599b917ecdd56)), closes [#1026](https://github.com/doug-martin/nestjs-query/issues/1026)
87
+
88
+
89
+
90
+
91
+
92
+ ## [0.25.1](https://github.com/doug-martin/nestjs-query/compare/v0.25.0...v0.25.1) (2021-04-07)
93
+
94
+ **Note:** Version bump only for package @nestjs-query/query-graphql
95
+
96
+
97
+
98
+
99
+
100
+ # [0.25.0](https://github.com/doug-martin/nestjs-query/compare/v0.24.5...v0.25.0) (2021-03-31)
101
+
102
+
103
+ ### Features
104
+
105
+ * **graphql:** Add new aggregate groupBy ([922e696](https://github.com/doug-martin/nestjs-query/commit/922e696df1c56d5d0181cbb769ffbfba943157dd))
106
+
107
+
108
+
109
+
110
+
111
+ ## [0.24.5](https://github.com/doug-martin/nestjs-query/compare/v0.24.4...v0.24.5) (2021-03-19)
112
+
113
+ **Note:** Version bump only for package @nestjs-query/query-graphql
114
+
115
+
116
+
117
+
118
+
119
+ ## [0.24.4](https://github.com/doug-martin/nestjs-query/compare/v0.24.3...v0.24.4) (2021-03-18)
120
+
121
+ **Note:** Version bump only for package @nestjs-query/query-graphql
122
+
123
+
124
+
125
+
126
+
127
+ ## [0.24.3](https://github.com/doug-martin/nestjs-query/compare/v0.24.2...v0.24.3) (2021-03-17)
128
+
129
+
130
+ ### Features
131
+
132
+ * **graphql,#609:** Allow disabling maxResultSize ([a3cd664](https://github.com/doug-martin/nestjs-query/commit/a3cd664eb3cd2ebf81a110b7218fb69d4b4a3955)), closes [#609](https://github.com/doug-martin/nestjs-query/issues/609)
133
+
134
+
135
+
136
+
137
+
138
+ ## [0.24.2](https://github.com/doug-martin/nestjs-query/compare/v0.24.1...v0.24.2) (2021-03-17)
139
+
140
+
141
+ ### Bug Fixes
142
+
143
+ * **graphql,hooks,#957:** Fix HookInterceptor not working with custom resolvers ([c947b3a](https://github.com/doug-martin/nestjs-query/commit/c947b3a509d9ba12310680baf8382d8ec7116fd7))
144
+
145
+
146
+
147
+
148
+
149
+ # [0.24.0](https://github.com/doug-martin/nestjs-query/compare/v0.23.1...v0.24.0) (2021-03-15)
150
+
151
+
152
+ ### Features
153
+
154
+ * **graphql:** Allow disabling `and`/`or` filters ([c20fdbd](https://github.com/doug-martin/nestjs-query/commit/c20fdbd9774a541cf4ada8df1c5981e12ede7e8d))
155
+ * **typegoose:** Add typegoose package ([#846](https://github.com/doug-martin/nestjs-query/issues/846)) ([73cf5cd](https://github.com/doug-martin/nestjs-query/commit/73cf5cdbf11496ad3a3ce3f6bb69975510de26e2))
156
+
157
+
158
+
159
+
160
+
161
+ # [0.23.0](https://github.com/doug-martin/nestjs-query/compare/v0.22.0...v0.23.0) (2021-02-26)
162
+
163
+
164
+ ### Features
165
+
166
+ * **graphql:** Added new offset connection with totalCount ([2780e7e](https://github.com/doug-martin/nestjs-query/commit/2780e7ebfefbcee010797b244fcb46a182a4102e))
167
+ * **graphql:** Enabling registering DTOs without auto-generating a resolver ([2f18142](https://github.com/doug-martin/nestjs-query/commit/2f18142edf5a0dc0563099b532d54f4a44ac7e56))
168
+ * **graphql,hooks:** Provide support for injectable hooks ([d100de8](https://github.com/doug-martin/nestjs-query/commit/d100de8306113c044bcbbdc0ceb373c977354255))
169
+ * **graphql,relations:** Revert back to unPagedRelation ([cb3dc62](https://github.com/doug-martin/nestjs-query/commit/cb3dc624328077267eded288f7cfbd5a6e9b7806))
170
+
171
+
172
+
173
+
174
+
175
+ # [0.22.0](https://github.com/doug-martin/nestjs-query/compare/v0.21.2...v0.22.0) (2021-02-08)
176
+
177
+ **Note:** Version bump only for package @nestjs-query/query-graphql
178
+
179
+
180
+
181
+
182
+
183
+ ## [0.21.2](https://github.com/doug-martin/nestjs-query/compare/v0.21.1...v0.21.2) (2020-10-23)
184
+
185
+
186
+ ### Bug Fixes
187
+
188
+ * dataloader cacheKeyFn bigint problem ([92171dc](https://github.com/doug-martin/nestjs-query/commit/92171dcc76563c563e2586809aec6f12f00aadfa))
189
+
190
+
191
+
192
+
193
+
194
+ ## [0.21.1](https://github.com/doug-martin/nestjs-query/compare/v0.21.0...v0.21.1) (2020-10-18)
195
+
196
+
197
+ ### Features
198
+
199
+ * **graphql, #586:** Allow overriding endpoint name ([1634e71](https://github.com/doug-martin/nestjs-query/commit/1634e71e7d8eca5b3a2422b7514fea8c2f72220e)), closes [#586](https://github.com/doug-martin/nestjs-query/issues/586)
200
+
201
+
202
+
203
+
204
+
205
+ # [0.21.0](https://github.com/doug-martin/nestjs-query/compare/v0.20.2...v0.21.0) (2020-10-16)
206
+
207
+
208
+ ### Bug Fixes
209
+
210
+ * **eslint:** Fix eslint to recognize sub packages ([13fdd2b](https://github.com/doug-martin/nestjs-query/commit/13fdd2b31289dbc80316cbdb5aa32edbe596bad4))
211
+
212
+
213
+
214
+
215
+
216
+ ## [0.20.2](https://github.com/doug-martin/nestjs-query/compare/v0.20.1...v0.20.2) (2020-10-01)
217
+
218
+ **Note:** Version bump only for package @nestjs-query/query-graphql
219
+
220
+
221
+
222
+
223
+
224
+ ## [0.20.1](https://github.com/doug-martin/nestjs-query/compare/v0.20.0...v0.20.1) (2020-09-28)
225
+
226
+
227
+ ### Bug Fixes
228
+
229
+ * **graphql:** Fix assemblers type for module passthrough ([713c41c](https://github.com/doug-martin/nestjs-query/commit/713c41cd770068f2242a380593e4a22601d6560b))
230
+
231
+
232
+
233
+
234
+
235
+ # [0.20.0](https://github.com/doug-martin/nestjs-query/compare/v0.19.4...v0.20.0) (2020-09-17)
236
+
237
+
238
+ ### Features
239
+
240
+ * **core:** Update assemblers to allow transforming create/update dtos ([5085d11](https://github.com/doug-martin/nestjs-query/commit/5085d1193a84396c9016821347c04f0e15eb04da))
241
+
242
+
243
+
244
+
245
+
246
+ ## [0.19.4](https://github.com/doug-martin/nestjs-query/compare/v0.19.3...v0.19.4) (2020-09-15)
247
+
248
+
249
+ ### Features
250
+
251
+ * **graphql:** Add keyset connections ([36bdbdd](https://github.com/doug-martin/nestjs-query/commit/36bdbdd9fda8b1db531ceb65c3a7c604c3da23fe))
252
+
253
+
254
+
255
+
256
+
257
+ ## [0.19.3](https://github.com/doug-martin/nestjs-query/compare/v0.19.2...v0.19.3) (2020-09-09)
258
+
259
+
260
+ ### Bug Fixes
261
+
262
+ * **graphql,hooks:** Allow getting hooks from parent classes ([59a0aeb](https://github.com/doug-martin/nestjs-query/commit/59a0aebc3dabd7d23ffde576a94bc588e768efbe))
263
+
264
+
265
+
266
+
267
+
268
+ ## [0.19.2](https://github.com/doug-martin/nestjs-query/compare/v0.19.1...v0.19.2) (2020-09-03)
269
+
270
+
271
+ ### Bug Fixes
272
+
273
+ * **graphql, #505:** Less restrictive readResolverOpts for auto crud ([b4e6862](https://github.com/doug-martin/nestjs-query/commit/b4e68620a973caf4a6bc9ddc9947c0be7464fb11)), closes [#505](https://github.com/doug-martin/nestjs-query/issues/505)
274
+
275
+
276
+
277
+
278
+
279
+ # [0.19.0](https://github.com/doug-martin/nestjs-query/compare/v0.18.1...v0.19.0) (2020-09-01)
280
+
281
+
282
+ ### Features
283
+
284
+ * **graphql,auth:** Add authorization to resolvers and relations ([9d76787](https://github.com/doug-martin/nestjs-query/commit/9d76787d031e6a731f28877c0df46cf4472b2faf))
285
+
286
+
287
+
288
+
289
+
290
+ ## [0.18.1](https://github.com/doug-martin/nestjs-query/compare/v0.18.0...v0.18.1) (2020-08-14)
291
+
292
+ **Note:** Version bump only for package @nestjs-query/query-graphql
293
+
294
+
295
+
296
+
297
+
298
+ # [0.18.0](https://github.com/doug-martin/nestjs-query/compare/v0.17.10...v0.18.0) (2020-08-11)
299
+
300
+ **Note:** Version bump only for package @nestjs-query/query-graphql
301
+
302
+
303
+
304
+
305
+
306
+ ## [0.17.10](https://github.com/doug-martin/nestjs-query/compare/v0.17.9...v0.17.10) (2020-08-01)
307
+
308
+ **Note:** Version bump only for package @nestjs-query/query-graphql
309
+
310
+
311
+
312
+
313
+
314
+ ## [0.17.9](https://github.com/doug-martin/nestjs-query/compare/v0.17.8...v0.17.9) (2020-07-29)
315
+
316
+
317
+ ### Features
318
+
319
+ * **graphql:** Allow specifying fields that are required when querying ([a425ba7](https://github.com/doug-martin/nestjs-query/commit/a425ba73b0fc5a184db5b10a709ed78fd234ba7a))
320
+
321
+
322
+
323
+
324
+
325
+ ## [0.17.8](https://github.com/doug-martin/nestjs-query/compare/v0.17.7...v0.17.8) (2020-07-28)
326
+
327
+
328
+ ### Features
329
+
330
+ * **graphql:** Allow specifying allowed comparisons on filterable fields ([ced2792](https://github.com/doug-martin/nestjs-query/commit/ced27920e5c2278c2a04c027a692e25b3306f6cb))
331
+
332
+
333
+
334
+
335
+
336
+ ## [0.17.7](https://github.com/doug-martin/nestjs-query/compare/v0.17.6...v0.17.7) (2020-07-27)
337
+
338
+ **Note:** Version bump only for package @nestjs-query/query-graphql
339
+
340
+
341
+
342
+
343
+
344
+ ## [0.17.6](https://github.com/doug-martin/nestjs-query/compare/v0.17.5...v0.17.6) (2020-07-24)
345
+
346
+
347
+ ### Bug Fixes
348
+
349
+ * **graphql:** Include inherited references and relations ([26dd6f9](https://github.com/doug-martin/nestjs-query/commit/26dd6f972379cad736f483912c7a2cf44d0ba966))
350
+
351
+
352
+
353
+
354
+
355
+ ## [0.17.5](https://github.com/doug-martin/nestjs-query/compare/v0.17.4...v0.17.5) (2020-07-24)
356
+
357
+
358
+ ### Bug Fixes
359
+
360
+ * **graphql,aggregations:** Exclude __typename in aggregations ([3897673](https://github.com/doug-martin/nestjs-query/commit/3897673681b30425debc329ad5d5bb442b3838fe))
361
+
362
+
363
+
364
+
365
+
366
+ ## [0.17.4](https://github.com/doug-martin/nestjs-query/compare/v0.17.3...v0.17.4) (2020-07-23)
367
+
368
+
369
+ ### Features
370
+
371
+ * **graphql,hooks:** Add before hooks to graphql mutations ([3448955](https://github.com/doug-martin/nestjs-query/commit/3448955331ae24f3b08c1d8b459b13e0ae96c79f))
372
+
373
+
374
+
375
+
376
+
377
+ ## [0.17.3](https://github.com/doug-martin/nestjs-query/compare/v0.17.2...v0.17.3) (2020-07-17)
378
+
379
+
380
+ ### Bug Fixes
381
+
382
+ * **graphql:** Fix filters to transform to expected type [#317](https://github.com/doug-martin/nestjs-query/issues/317) ([0d28b0b](https://github.com/doug-martin/nestjs-query/commit/0d28b0b968468f821e9b6cf7d53e6d95af22e710))
383
+
384
+
385
+
386
+
387
+
388
+ ## [0.17.2](https://github.com/doug-martin/nestjs-query/compare/v0.17.1...v0.17.2) (2020-07-17)
389
+
390
+ **Note:** Version bump only for package @nestjs-query/query-graphql
391
+
392
+
393
+
394
+
395
+
396
+ ## [0.17.1](https://github.com/doug-martin/nestjs-query/compare/v0.17.0...v0.17.1) (2020-07-17)
397
+
398
+
399
+ ### Features
400
+
401
+ * **complexity:** Add complexity support for relations ([aa85325](https://github.com/doug-martin/nestjs-query/commit/aa853257e693cc656d6ef00d08d547f1988f16c5))
402
+
403
+
404
+
405
+
406
+
407
+ # [0.17.0](https://github.com/doug-martin/nestjs-query/compare/v0.16.2...v0.17.0) (2020-07-16)
408
+
409
+
410
+ ### Features
411
+
412
+ * **aggregations:** Add aggregations to graphql ([af075d2](https://github.com/doug-martin/nestjs-query/commit/af075d2e93b6abbbfbe32afcc917350f803fadaa))
413
+ * **aggregations,relations:** Add relation aggregation graphql enpoints ([56bb7e0](https://github.com/doug-martin/nestjs-query/commit/56bb7e0be3298ebe76159327ce54229818a6067b))
414
+
415
+
416
+
417
+
418
+
419
+ ## [0.16.2](https://github.com/doug-martin/nestjs-query/compare/v0.16.1...v0.16.2) (2020-07-09)
420
+
421
+
422
+ ### Bug Fixes
423
+
424
+ * **imports:** Remove additional /src references ([9528772](https://github.com/doug-martin/nestjs-query/commit/9528772fd4f9b4448112d912e913d07fddf4b619))
425
+
426
+
427
+
428
+
429
+
430
+ ## [0.16.1](https://github.com/doug-martin/nestjs-query/compare/v0.16.0...v0.16.1) (2020-07-07)
431
+
432
+ **Note:** Version bump only for package @nestjs-query/query-graphql
433
+
434
+
435
+
436
+
437
+
438
+ # [0.16.0](https://github.com/doug-martin/nestjs-query/compare/v0.15.1...v0.16.0) (2020-07-05)
439
+
440
+
441
+ ### Features
442
+
443
+ * **graphql:** Enable filtering on ORM relations ([60229b8](https://github.com/doug-martin/nestjs-query/commit/60229b8fe981a863e8f31f1734c0b9a1aa001cf2))
444
+
445
+
446
+
447
+
448
+
449
+ ## [0.15.1](https://github.com/doug-martin/nestjs-query/compare/v0.15.0...v0.15.1) (2020-06-27)
450
+
451
+ **Note:** Version bump only for package @nestjs-query/query-graphql
452
+
453
+
454
+
455
+
456
+
457
+ # [0.15.0](https://github.com/doug-martin/nestjs-query/compare/v0.14.3...v0.15.0) (2020-06-23)
458
+
459
+
460
+ ### Features
461
+
462
+ * **graphql,connection:** Add totalCount to connections ([ed1e84a](https://github.com/doug-martin/nestjs-query/commit/ed1e84a2feb6f89c3b270fcbc1d0eaf6aec5e575))
463
+
464
+
465
+
466
+
467
+
468
+ ## [0.14.3](https://github.com/doug-martin/nestjs-query/compare/v0.14.2...v0.14.3) (2020-06-20)
469
+
470
+
471
+ ### Bug Fixes
472
+
473
+ * **graphql,subscriptions:** Expose InjectPubSub decorator ([867022e](https://github.com/doug-martin/nestjs-query/commit/867022e1967e63659b5df24b13eb04c829569372))
474
+
475
+
476
+
477
+
478
+
479
+ ## [0.14.1](https://github.com/doug-martin/nestjs-query/compare/v0.14.0...v0.14.1) (2020-06-19)
480
+
481
+
482
+ ### Bug Fixes
483
+
484
+ * **graphql:** Allow custom scalars for comparisons ([57cbe38](https://github.com/doug-martin/nestjs-query/commit/57cbe38cdd941bafab75a660803be6ae5c0afb2c))
485
+
486
+
487
+
488
+
489
+
490
+ # [0.14.0](https://github.com/doug-martin/nestjs-query/compare/v0.13.2...v0.14.0) (2020-06-18)
491
+
492
+
493
+ ### Features
494
+
495
+ * **graphql,paging:** Add NONE paging strategy ([216d926](https://github.com/doug-martin/nestjs-query/commit/216d926a11bb7f4929fe9394c04af826cd3fa52f))
496
+
497
+
498
+
499
+
500
+
501
+ ## [0.13.2](https://github.com/doug-martin/nestjs-query/compare/v0.13.1...v0.13.2) (2020-06-14)
502
+
503
+
504
+ ### Bug Fixes
505
+
506
+ * **graphl,filters:** Allow for enums when filtering ([60dcc30](https://github.com/doug-martin/nestjs-query/commit/60dcc3074b36a2aeffbf4e30b04d0af3631ae02a))
507
+
508
+
509
+
510
+
511
+
512
+ ## [0.13.1](https://github.com/doug-martin/nestjs-query/compare/v0.13.0...v0.13.1) (2020-06-12)
513
+
514
+
515
+ ### Bug Fixes
516
+
517
+ * **graphql,paging:** Fix for [#281](https://github.com/doug-martin/nestjs-query/issues/281) paging backwards windowing ([c319344](https://github.com/doug-martin/nestjs-query/commit/c3193440504f55ef8b8b08b486ae01c1b54595bc))
518
+
519
+
520
+
521
+
522
+
523
+ # [0.13.0](https://github.com/doug-martin/nestjs-query/compare/v0.12.0...v0.13.0) (2020-06-12)
524
+
525
+
526
+ ### Features
527
+
528
+ * **graphql:** Add limit offset paging without connections ([5fc3e90](https://github.com/doug-martin/nestjs-query/commit/5fc3e90c0c738cc653eab57eb0be3c98dae51c3e))
529
+
530
+
531
+
532
+
533
+
534
+ # [0.12.0](https://github.com/doug-martin/nestjs-query/compare/v0.11.8...v0.12.0) (2020-06-07)
535
+
536
+
537
+ ### Features
538
+
539
+ * **graphql:** Add graphql subscriptions ([5dc987f](https://github.com/doug-martin/nestjs-query/commit/5dc987f435e0680192313e208359839f9c21d70b))
540
+
541
+
542
+
543
+
544
+
545
+ ## [0.11.8](https://github.com/doug-martin/nestjs-query/compare/v0.11.7...v0.11.8) (2020-05-30)
546
+
547
+ **Note:** Version bump only for package @nestjs-query/query-graphql
548
+
549
+
550
+
551
+
552
+
553
+ ## [0.11.7](https://github.com/doug-martin/nestjs-query/compare/v0.11.6...v0.11.7) (2020-05-29)
554
+
555
+ **Note:** Version bump only for package @nestjs-query/query-graphql
556
+
557
+
558
+
559
+
560
+
561
+ ## [0.11.6](https://github.com/doug-martin/nestjs-query/compare/v0.11.5...v0.11.6) (2020-05-26)
562
+
563
+ **Note:** Version bump only for package @nestjs-query/query-graphql
564
+
565
+
566
+
567
+
568
+
569
+ ## [0.11.5](https://github.com/doug-martin/nestjs-query/compare/v0.11.4...v0.11.5) (2020-05-21)
570
+
571
+ **Note:** Version bump only for package @nestjs-query/query-graphql
572
+
573
+
574
+
575
+
576
+
577
+ ## [0.11.4](https://github.com/doug-martin/nestjs-query/compare/v0.11.3...v0.11.4) (2020-05-19)
578
+
579
+ **Note:** Version bump only for package @nestjs-query/query-graphql
580
+
581
+
582
+
583
+
584
+
585
+ ## [0.11.3](https://github.com/doug-martin/nestjs-query/compare/v0.11.2...v0.11.3) (2020-05-16)
586
+
587
+ **Note:** Version bump only for package @nestjs-query/query-graphql
588
+
589
+
590
+
591
+
592
+
593
+ ## [0.11.2](https://github.com/doug-martin/nestjs-query/compare/v0.11.1...v0.11.2) (2020-05-14)
594
+
595
+
596
+ ### Bug Fixes
597
+
598
+ * Fix lint issues ([c3407c0](https://github.com/doug-martin/nestjs-query/commit/c3407c0abfebe2ed6563cf754bab646af124a661))
599
+
600
+
601
+ ### Features
602
+
603
+ * **graphql,core:** Add support for custom services and assemblers ([85e8658](https://github.com/doug-martin/nestjs-query/commit/85e8658c6acd495233cabb576c3458afcb8fff12))
604
+
605
+
606
+
607
+
608
+
609
+ ## [0.11.1](https://github.com/doug-martin/nestjs-query/compare/v0.11.0...v0.11.1) (2020-05-11)
610
+
611
+
612
+ ### Features
613
+
614
+ * **graphql:** Add support for auto-generated federations ([238f641](https://github.com/doug-martin/nestjs-query/commit/238f641967ea6668dfb7bd9034fec732da7fe38b))
615
+
616
+
617
+
618
+
619
+
620
+ # [0.11.0](https://github.com/doug-martin/nestjs-query/compare/v0.10.2...v0.11.0) (2020-05-09)
621
+
622
+
623
+ ### Features
624
+
625
+ * **graphql:** Add graphql module ([282c421](https://github.com/doug-martin/nestjs-query/commit/282c421d0e6f67fe750fa6005f6cb7d960c8fbd0))
626
+ * **graphql:** Add relation/connection decorators ([a75cf96](https://github.com/doug-martin/nestjs-query/commit/a75cf96c18dcc3fb1f8899933959753f66b68d7e))
627
+
628
+
629
+
630
+
631
+
632
+ ## [0.10.1](https://github.com/doug-martin/nestjs-query/compare/v0.10.0...v0.10.1) (2020-05-02)
633
+
634
+
635
+ ### Bug Fixes
636
+
637
+ * **graphql:** Fix paging to properly check next/previous page ([13c7bd9](https://github.com/doug-martin/nestjs-query/commit/13c7bd90dae9e5d6ffd33a8813b2cdfcc75ae131))
638
+
639
+
640
+
641
+
642
+
643
+ # [0.10.0](https://github.com/doug-martin/nestjs-query/compare/v0.9.0...v0.10.0) (2020-04-29)
644
+
645
+
646
+ ### Features
647
+
648
+ * **sequelize:** Initial Sequelize support ([bfcf436](https://github.com/doug-martin/nestjs-query/commit/bfcf4368b96617113c0334cd78a8881e4952eb99))
649
+
650
+
651
+
652
+
653
+
654
+ # [0.9.0](https://github.com/doug-martin/nestjs-query/compare/v0.8.9...v0.9.0) (2020-04-26)
655
+
656
+ **Note:** Version bump only for package @nestjs-query/query-graphql
657
+
658
+
659
+
660
+
661
+
662
+ ## [0.8.9](https://github.com/doug-martin/nestjs-query/compare/v0.8.8...v0.8.9) (2020-04-24)
663
+
664
+ **Note:** Version bump only for package @nestjs-query/query-graphql
665
+
666
+
667
+
668
+
669
+
670
+ ## [0.8.8](https://github.com/doug-martin/nestjs-query/compare/v0.8.7...v0.8.8) (2020-04-23)
671
+
672
+ **Note:** Version bump only for package @nestjs-query/query-graphql
673
+
674
+
675
+
676
+
677
+
678
+ ## [0.8.7](https://github.com/doug-martin/nestjs-query/compare/v0.8.6...v0.8.7) (2020-04-23)
679
+
680
+ **Note:** Version bump only for package @nestjs-query/query-graphql
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
+ [![npm version](https://img.shields.io/npm/v/@nestjs-query/query-graphql.svg)](https://www.npmjs.org/package/@nestjs-query/query-graphql)
6
+ [![Test](https://github.com/doug-martin/nestjs-query/workflows/Test/badge.svg?branch=master)](https://github.com/doug-martin/nestjs-query/actions?query=workflow%3ATest+and+branch%3Amaster+)
7
+ [![Coverage Status](https://coveralls.io/repos/github/doug-martin/nestjs-query/badge.svg?branch=master)](https://coveralls.io/github/doug-martin/nestjs-query?branch=master)
8
+ [![Known Vulnerabilities](https://snyk.io/test/github/doug-martin/nestjs-query/badge.svg?targetFile=packages/query-graphql/package.json)](https://snyk.io/test/github/doug-martin/nestjs-query?targetFile=packages/query-graphql/package.json)
9
+
10
+ # `@nestjs-query/query-graphql`
11
+
12
+ This package provides a code first implementation of graphql CRUD endpoints. It is built on top of of [nestjs](https://nestjs.com/).
13
+
14
+ ## Installation
15
+
16
+ [Install Guide](https://doug-martin.github.io/nestjs-query/docs/introduction/install)
17
+
18
+ ## Getting Started
19
+
20
+ The get started with the `@nestjs-query/query-graphql` package checkout the [Getting Started](https://doug-martin.github.io/nestjs-query/docs/graphql/getting-started) docs.
21
+
22
+
package/package.json ADDED
@@ -0,0 +1,56 @@
1
+ {
2
+ "name": "@ptc-org/nestjs-query-graphql",
3
+ "version": "0.30.1",
4
+ "description": "Nestjs graphql query adapter",
5
+ "author": "doug-martin <doug@dougamartin.com>",
6
+ "homepage": "https://github.com/doug-martin/nestjs-query#readme",
7
+ "keywords": [
8
+ "graphql",
9
+ "crud",
10
+ "nestjs",
11
+ "dataloader"
12
+ ],
13
+ "license": "MIT",
14
+ "main": "src/index.js",
15
+ "types": "src/index.d.ts",
16
+ "directories": {
17
+ "lib": "src",
18
+ "test": "__tests__"
19
+ },
20
+ "files": [
21
+ "dist/src/**"
22
+ ],
23
+ "publishConfig": {
24
+ "access": "public"
25
+ },
26
+ "repository": {
27
+ "type": "git",
28
+ "url": "git+https://github.com/doug-martin/nestjs-query.git",
29
+ "directory": "packages/query-graphql"
30
+ },
31
+ "bugs": {
32
+ "url": "https://github.com/doug-martin/nestjs-query/issues"
33
+ },
34
+ "dependencies": {
35
+ "graphql-fields": "^2.0.3",
36
+ "lodash.omit": "^4.5.0",
37
+ "lower-case-first": "^2.0.1",
38
+ "pluralize": "^8.0.0",
39
+ "tslib": "^2.1.0",
40
+ "upper-case-first": "^2.0.1",
41
+ "@ptc-org/nestjs-query-core": "0.30.1"
42
+ },
43
+ "peerDependencies": {
44
+ "@apollo/gateway": "^0.41.0 || ^0.42.0",
45
+ "@nestjs/common": "^8.0.4",
46
+ "@nestjs/core": "^8.0.4",
47
+ "@nestjs/graphql": "^9.0.0",
48
+ "class-transformer": "^0.2.3 || 0.3.1 || 0.4",
49
+ "class-validator": "^0.13.0",
50
+ "dataloader": "^2.0.0",
51
+ "graphql": "^15.0.0",
52
+ "graphql-subscriptions": "^1.1.0",
53
+ "ts-morph": "^11.0.0 || ^12.0.0"
54
+ },
55
+ "typings": "./src/index.d.ts"
56
+ }
package/src/index.js ADDED
@@ -0,0 +1,49 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.HookInterceptor = exports.AuthorizerInterceptor = exports.HookTypes = exports.OperationGroup = exports.pubSubToken = exports.NestjsQueryGraphQLModule = exports.IDField = exports.QueryOptions = exports.KeySet = exports.MutationHookArgs = exports.HookArgs = exports.RelationAuthorizerFilter = exports.AuthorizerFilter = exports.Authorize = exports.InjectCustomAuthorizer = exports.InjectAuthorizer = exports.BeforeFindOne = exports.BeforeQueryMany = exports.BeforeDeleteMany = exports.BeforeDeleteOne = exports.BeforeUpdateMany = exports.BeforeUpdateOne = exports.BeforeCreateMany = exports.BeforeCreateOne = exports.InjectPubSub = exports.Reference = exports.FilterableUnPagedRelation = exports.UnPagedRelation = exports.FilterableOffsetConnection = exports.OffsetConnection = exports.FilterableCursorConnection = exports.CursorConnection = exports.FilterableRelation = exports.Relation = exports.FilterableField = void 0;
4
+ const tslib_1 = require("tslib");
5
+ (0, tslib_1.__exportStar)(require("./types"), exports);
6
+ var decorators_1 = require("./decorators");
7
+ Object.defineProperty(exports, "FilterableField", { enumerable: true, get: function () { return decorators_1.FilterableField; } });
8
+ Object.defineProperty(exports, "Relation", { enumerable: true, get: function () { return decorators_1.Relation; } });
9
+ Object.defineProperty(exports, "FilterableRelation", { enumerable: true, get: function () { return decorators_1.FilterableRelation; } });
10
+ Object.defineProperty(exports, "CursorConnection", { enumerable: true, get: function () { return decorators_1.CursorConnection; } });
11
+ Object.defineProperty(exports, "FilterableCursorConnection", { enumerable: true, get: function () { return decorators_1.FilterableCursorConnection; } });
12
+ Object.defineProperty(exports, "OffsetConnection", { enumerable: true, get: function () { return decorators_1.OffsetConnection; } });
13
+ Object.defineProperty(exports, "FilterableOffsetConnection", { enumerable: true, get: function () { return decorators_1.FilterableOffsetConnection; } });
14
+ Object.defineProperty(exports, "UnPagedRelation", { enumerable: true, get: function () { return decorators_1.UnPagedRelation; } });
15
+ Object.defineProperty(exports, "FilterableUnPagedRelation", { enumerable: true, get: function () { return decorators_1.FilterableUnPagedRelation; } });
16
+ Object.defineProperty(exports, "Reference", { enumerable: true, get: function () { return decorators_1.Reference; } });
17
+ Object.defineProperty(exports, "InjectPubSub", { enumerable: true, get: function () { return decorators_1.InjectPubSub; } });
18
+ Object.defineProperty(exports, "BeforeCreateOne", { enumerable: true, get: function () { return decorators_1.BeforeCreateOne; } });
19
+ Object.defineProperty(exports, "BeforeCreateMany", { enumerable: true, get: function () { return decorators_1.BeforeCreateMany; } });
20
+ Object.defineProperty(exports, "BeforeUpdateOne", { enumerable: true, get: function () { return decorators_1.BeforeUpdateOne; } });
21
+ Object.defineProperty(exports, "BeforeUpdateMany", { enumerable: true, get: function () { return decorators_1.BeforeUpdateMany; } });
22
+ Object.defineProperty(exports, "BeforeDeleteOne", { enumerable: true, get: function () { return decorators_1.BeforeDeleteOne; } });
23
+ Object.defineProperty(exports, "BeforeDeleteMany", { enumerable: true, get: function () { return decorators_1.BeforeDeleteMany; } });
24
+ Object.defineProperty(exports, "BeforeQueryMany", { enumerable: true, get: function () { return decorators_1.BeforeQueryMany; } });
25
+ Object.defineProperty(exports, "BeforeFindOne", { enumerable: true, get: function () { return decorators_1.BeforeFindOne; } });
26
+ Object.defineProperty(exports, "InjectAuthorizer", { enumerable: true, get: function () { return decorators_1.InjectAuthorizer; } });
27
+ Object.defineProperty(exports, "InjectCustomAuthorizer", { enumerable: true, get: function () { return decorators_1.InjectCustomAuthorizer; } });
28
+ Object.defineProperty(exports, "Authorize", { enumerable: true, get: function () { return decorators_1.Authorize; } });
29
+ Object.defineProperty(exports, "AuthorizerFilter", { enumerable: true, get: function () { return decorators_1.AuthorizerFilter; } });
30
+ Object.defineProperty(exports, "RelationAuthorizerFilter", { enumerable: true, get: function () { return decorators_1.RelationAuthorizerFilter; } });
31
+ Object.defineProperty(exports, "HookArgs", { enumerable: true, get: function () { return decorators_1.HookArgs; } });
32
+ Object.defineProperty(exports, "MutationHookArgs", { enumerable: true, get: function () { return decorators_1.MutationHookArgs; } });
33
+ Object.defineProperty(exports, "KeySet", { enumerable: true, get: function () { return decorators_1.KeySet; } });
34
+ Object.defineProperty(exports, "QueryOptions", { enumerable: true, get: function () { return decorators_1.QueryOptions; } });
35
+ Object.defineProperty(exports, "IDField", { enumerable: true, get: function () { return decorators_1.IDField; } });
36
+ (0, tslib_1.__exportStar)(require("./resolvers"), exports);
37
+ (0, tslib_1.__exportStar)(require("./federation"), exports);
38
+ var module_1 = require("./module");
39
+ Object.defineProperty(exports, "NestjsQueryGraphQLModule", { enumerable: true, get: function () { return module_1.NestjsQueryGraphQLModule; } });
40
+ var subscription_1 = require("./subscription");
41
+ Object.defineProperty(exports, "pubSubToken", { enumerable: true, get: function () { return subscription_1.pubSubToken; } });
42
+ var auth_1 = require("./auth");
43
+ Object.defineProperty(exports, "OperationGroup", { enumerable: true, get: function () { return auth_1.OperationGroup; } });
44
+ var hooks_1 = require("./hooks");
45
+ Object.defineProperty(exports, "HookTypes", { enumerable: true, get: function () { return hooks_1.HookTypes; } });
46
+ var interceptors_1 = require("./interceptors");
47
+ Object.defineProperty(exports, "AuthorizerInterceptor", { enumerable: true, get: function () { return interceptors_1.AuthorizerInterceptor; } });
48
+ Object.defineProperty(exports, "HookInterceptor", { enumerable: true, get: function () { return interceptors_1.HookInterceptor; } });
49
+ //# sourceMappingURL=index.js.map