@ptc-org/nestjs-query-sequelize 1.0.0-alpha.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,426 @@
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/tripss/nestjs-query/compare/v0.29.0...v0.30.0) (2021-09-30)
7
+
8
+ **Note:** Version bump only for package @ptc-org/nestjs-query-sequelize
9
+
10
+
11
+
12
+
13
+
14
+ # [0.29.0](https://github.com/tripss/nestjs-query/compare/v0.28.1...v0.29.0) (2021-09-09)
15
+
16
+ **Note:** Version bump only for package @ptc-org/nestjs-query-sequelize
17
+
18
+
19
+
20
+
21
+
22
+ ## [0.28.1](https://github.com/tripss/nestjs-query/compare/v0.28.0...v0.28.1) (2021-07-27)
23
+
24
+ **Note:** Version bump only for package @ptc-org/nestjs-query-sequelize
25
+
26
+
27
+
28
+
29
+
30
+ # [0.28.0](https://github.com/tripss/nestjs-query/compare/v0.27.0...v0.28.0) (2021-07-19)
31
+
32
+ **Note:** Version bump only for package @ptc-org/nestjs-query-sequelize
33
+
34
+
35
+
36
+
37
+
38
+ # [0.27.0](https://github.com/tripss/nestjs-query/compare/v0.26.0...v0.27.0) (2021-05-12)
39
+
40
+ **Note:** Version bump only for package @ptc-org/nestjs-query-sequelize
41
+
42
+
43
+
44
+
45
+
46
+ # [0.26.0](https://github.com/tripss/nestjs-query/compare/v0.25.1...v0.26.0) (2021-04-13)
47
+
48
+
49
+ ### Features
50
+
51
+ * **sequelize:** Implement `setRelations` to set many relations ([b0c2d2f](https://github.com/tripss/nestjs-query/commit/b0c2d2f419ba2782f6b6e1290548cc8bf2afc699))
52
+
53
+
54
+
55
+
56
+
57
+ ## [0.25.1](https://github.com/tripss/nestjs-query/compare/v0.25.0...v0.25.1) (2021-04-07)
58
+
59
+ **Note:** Version bump only for package @ptc-org/nestjs-query-sequelize
60
+
61
+
62
+
63
+
64
+
65
+ # [0.25.0](https://github.com/tripss/nestjs-query/compare/v0.24.5...v0.25.0) (2021-03-31)
66
+
67
+
68
+ ### Bug Fixes
69
+
70
+ * Add consistent sorting for aggregate queries ([4ac7a14](https://github.com/tripss/nestjs-query/commit/4ac7a1485c7dcd83569951298606f487608806b1))
71
+
72
+
73
+ ### Features
74
+
75
+ * **sequelize:** Update to support new aggregate with groupBy ([81fdef1](https://github.com/tripss/nestjs-query/commit/81fdef17304ad28a043f6a8e9a9496158e61022e))
76
+
77
+
78
+
79
+
80
+
81
+ ## [0.24.5](https://github.com/tripss/nestjs-query/compare/v0.24.4...v0.24.5) (2021-03-19)
82
+
83
+ **Note:** Version bump only for package @ptc-org/nestjs-query-sequelize
84
+
85
+
86
+
87
+
88
+
89
+ ## [0.24.4](https://github.com/tripss/nestjs-query/compare/v0.24.3...v0.24.4) (2021-03-18)
90
+
91
+ **Note:** Version bump only for package @ptc-org/nestjs-query-sequelize
92
+
93
+
94
+
95
+
96
+
97
+ # [0.24.0](https://github.com/tripss/nestjs-query/compare/v0.23.1...v0.24.0) (2021-03-15)
98
+
99
+ **Note:** Version bump only for package @ptc-org/nestjs-query-sequelize
100
+
101
+
102
+
103
+
104
+
105
+ # [0.23.0](https://github.com/tripss/nestjs-query/compare/v0.22.0...v0.23.0) (2021-02-26)
106
+
107
+ **Note:** Version bump only for package @ptc-org/nestjs-query-sequelize
108
+
109
+
110
+
111
+
112
+
113
+ # [0.22.0](https://github.com/tripss/nestjs-query/compare/v0.21.2...v0.22.0) (2021-02-08)
114
+
115
+ **Note:** Version bump only for package @ptc-org/nestjs-query-sequelize
116
+
117
+
118
+
119
+
120
+
121
+ ## [0.21.2](https://github.com/tripss/nestjs-query/compare/v0.21.1...v0.21.2) (2020-10-23)
122
+
123
+ **Note:** Version bump only for package @ptc-org/nestjs-query-sequelize
124
+
125
+
126
+
127
+
128
+
129
+ # [0.21.0](https://github.com/tripss/nestjs-query/compare/v0.20.2...v0.21.0) (2020-10-16)
130
+
131
+
132
+ ### Bug Fixes
133
+
134
+ * **eslint:** Fix eslint to recognize sub packages ([13fdd2b](https://github.com/tripss/nestjs-query/commit/13fdd2b31289dbc80316cbdb5aa32edbe596bad4))
135
+
136
+
137
+
138
+
139
+
140
+ ## [0.20.2](https://github.com/tripss/nestjs-query/compare/v0.20.1...v0.20.2) (2020-10-01)
141
+
142
+ **Note:** Version bump only for package @ptc-org/nestjs-query-sequelize
143
+
144
+
145
+
146
+
147
+
148
+ ## [0.20.1](https://github.com/tripss/nestjs-query/compare/v0.20.0...v0.20.1) (2020-09-28)
149
+
150
+ **Note:** Version bump only for package @ptc-org/nestjs-query-sequelize
151
+
152
+
153
+
154
+
155
+
156
+ # [0.20.0](https://github.com/tripss/nestjs-query/compare/v0.19.4...v0.20.0) (2020-09-17)
157
+
158
+ **Note:** Version bump only for package @ptc-org/nestjs-query-sequelize
159
+
160
+
161
+
162
+
163
+
164
+ ## [0.19.4](https://github.com/tripss/nestjs-query/compare/v0.19.3...v0.19.4) (2020-09-15)
165
+
166
+ **Note:** Version bump only for package @ptc-org/nestjs-query-sequelize
167
+
168
+
169
+
170
+
171
+
172
+ ## [0.19.3](https://github.com/tripss/nestjs-query/compare/v0.19.2...v0.19.3) (2020-09-09)
173
+
174
+ **Note:** Version bump only for package @ptc-org/nestjs-query-sequelize
175
+
176
+
177
+
178
+
179
+
180
+ ## [0.19.2](https://github.com/tripss/nestjs-query/compare/v0.19.1...v0.19.2) (2020-09-03)
181
+
182
+ **Note:** Version bump only for package @ptc-org/nestjs-query-sequelize
183
+
184
+
185
+
186
+
187
+
188
+ # [0.19.0](https://github.com/tripss/nestjs-query/compare/v0.18.1...v0.19.0) (2020-09-01)
189
+
190
+
191
+ ### Features
192
+
193
+ * **sequelize:** Add additional filter options to QueryService ([29fdfa7](https://github.com/tripss/nestjs-query/commit/29fdfa724ec199835a6493b5f9cccb6bec58f074))
194
+
195
+
196
+
197
+
198
+
199
+ ## [0.18.1](https://github.com/tripss/nestjs-query/compare/v0.18.0...v0.18.1) (2020-08-14)
200
+
201
+ **Note:** Version bump only for package @ptc-org/nestjs-query-sequelize
202
+
203
+
204
+
205
+
206
+
207
+ # [0.18.0](https://github.com/tripss/nestjs-query/compare/v0.17.10...v0.18.0) (2020-08-11)
208
+
209
+ **Note:** Version bump only for package @ptc-org/nestjs-query-sequelize
210
+
211
+
212
+
213
+
214
+
215
+ ## [0.17.10](https://github.com/tripss/nestjs-query/compare/v0.17.9...v0.17.10) (2020-08-01)
216
+
217
+ **Note:** Version bump only for package @ptc-org/nestjs-query-sequelize
218
+
219
+
220
+
221
+
222
+
223
+ ## [0.17.8](https://github.com/tripss/nestjs-query/compare/v0.17.7...v0.17.8) (2020-07-28)
224
+
225
+
226
+ ### Features
227
+
228
+ * **graphql:** Allow specifying allowed comparisons on filterable fields ([ced2792](https://github.com/tripss/nestjs-query/commit/ced27920e5c2278c2a04c027a692e25b3306f6cb))
229
+
230
+
231
+
232
+
233
+
234
+ ## [0.17.7](https://github.com/tripss/nestjs-query/compare/v0.17.6...v0.17.7) (2020-07-27)
235
+
236
+ **Note:** Version bump only for package @ptc-org/nestjs-query-sequelize
237
+
238
+
239
+
240
+
241
+
242
+ ## [0.17.2](https://github.com/tripss/nestjs-query/compare/v0.17.1...v0.17.2) (2020-07-17)
243
+
244
+ **Note:** Version bump only for package @ptc-org/nestjs-query-sequelize
245
+
246
+
247
+
248
+
249
+
250
+ # [0.17.0](https://github.com/tripss/nestjs-query/compare/v0.16.2...v0.17.0) (2020-07-16)
251
+
252
+
253
+ ### Features
254
+
255
+ * **aggregations:** Add aggregation support to sequelize ([c37b7ae](https://github.com/tripss/nestjs-query/commit/c37b7aeb00fc60e7dc55893fe712dcad454edddb))
256
+ * **aggregations:** Add aggregations to graphql ([af075d2](https://github.com/tripss/nestjs-query/commit/af075d2e93b6abbbfbe32afcc917350f803fadaa))
257
+ * **aggregations,sequelize:** Add relation aggregation to sequelize ([93e7c1b](https://github.com/tripss/nestjs-query/commit/93e7c1ba3d03b222b08f39bbbfaf4365ce50204e))
258
+ * **aggregations,sequelize:** Fix aggregation on many-to-many relations ([db6ecb2](https://github.com/tripss/nestjs-query/commit/db6ecb2527a96ba232c8af911e4eb2f6ab9f8a65))
259
+
260
+
261
+
262
+
263
+
264
+ ## [0.16.2](https://github.com/tripss/nestjs-query/compare/v0.16.1...v0.16.2) (2020-07-09)
265
+
266
+
267
+ ### Bug Fixes
268
+
269
+ * **imports:** Remove additional /src references ([9528772](https://github.com/tripss/nestjs-query/commit/9528772fd4f9b4448112d912e913d07fddf4b619))
270
+
271
+
272
+
273
+
274
+
275
+ # [0.16.0](https://github.com/tripss/nestjs-query/compare/v0.15.1...v0.16.0) (2020-07-05)
276
+
277
+
278
+ ### Bug Fixes
279
+
280
+ * **sequelize:** Change query to not use sub queries ([80c69d6](https://github.com/tripss/nestjs-query/commit/80c69d6b285725eb99dc05675044185d2f4343a8))
281
+
282
+
283
+ ### Features
284
+
285
+ * **sequelize:** Add support for querying for nested relations ([92a51c1](https://github.com/tripss/nestjs-query/commit/92a51c120aa2bf6da915037628aad041fa0fc34c))
286
+
287
+
288
+
289
+
290
+
291
+ ## [0.15.1](https://github.com/tripss/nestjs-query/compare/v0.15.0...v0.15.1) (2020-06-27)
292
+
293
+ **Note:** Version bump only for package @ptc-org/nestjs-query-sequelize
294
+
295
+
296
+
297
+
298
+
299
+ # [0.15.0](https://github.com/tripss/nestjs-query/compare/v0.14.3...v0.15.0) (2020-06-23)
300
+
301
+
302
+ ### Features
303
+
304
+ * **graphql,connection:** Add totalCount to connections ([ed1e84a](https://github.com/tripss/nestjs-query/commit/ed1e84a2feb6f89c3b270fcbc1d0eaf6aec5e575))
305
+
306
+
307
+
308
+
309
+
310
+ # [0.14.0](https://github.com/tripss/nestjs-query/compare/v0.13.2...v0.14.0) (2020-06-18)
311
+
312
+ **Note:** Version bump only for package @ptc-org/nestjs-query-sequelize
313
+
314
+
315
+
316
+
317
+
318
+ # [0.13.0](https://github.com/tripss/nestjs-query/compare/v0.12.0...v0.13.0) (2020-06-12)
319
+
320
+ **Note:** Version bump only for package @ptc-org/nestjs-query-sequelize
321
+
322
+
323
+
324
+
325
+
326
+ # [0.12.0](https://github.com/tripss/nestjs-query/compare/v0.11.8...v0.12.0) (2020-06-07)
327
+
328
+ **Note:** Version bump only for package @ptc-org/nestjs-query-sequelize
329
+
330
+
331
+
332
+
333
+
334
+ ## [0.11.8](https://github.com/tripss/nestjs-query/compare/v0.11.7...v0.11.8) (2020-05-30)
335
+
336
+ **Note:** Version bump only for package @ptc-org/nestjs-query-sequelize
337
+
338
+
339
+
340
+
341
+
342
+ ## [0.11.7](https://github.com/tripss/nestjs-query/compare/v0.11.6...v0.11.7) (2020-05-29)
343
+
344
+ **Note:** Version bump only for package @ptc-org/nestjs-query-sequelize
345
+
346
+
347
+
348
+
349
+
350
+ ## [0.11.6](https://github.com/tripss/nestjs-query/compare/v0.11.5...v0.11.6) (2020-05-26)
351
+
352
+ **Note:** Version bump only for package @ptc-org/nestjs-query-sequelize
353
+
354
+
355
+
356
+
357
+
358
+ ## [0.11.5](https://github.com/tripss/nestjs-query/compare/v0.11.4...v0.11.5) (2020-05-21)
359
+
360
+ **Note:** Version bump only for package @ptc-org/nestjs-query-sequelize
361
+
362
+
363
+
364
+
365
+
366
+ ## [0.11.4](https://github.com/tripss/nestjs-query/compare/v0.11.3...v0.11.4) (2020-05-19)
367
+
368
+ **Note:** Version bump only for package @ptc-org/nestjs-query-sequelize
369
+
370
+
371
+
372
+
373
+
374
+ ## [0.11.3](https://github.com/tripss/nestjs-query/compare/v0.11.2...v0.11.3) (2020-05-16)
375
+
376
+ **Note:** Version bump only for package @ptc-org/nestjs-query-sequelize
377
+
378
+
379
+
380
+
381
+
382
+ ## [0.11.2](https://github.com/tripss/nestjs-query/compare/v0.11.1...v0.11.2) (2020-05-14)
383
+
384
+ **Note:** Version bump only for package @ptc-org/nestjs-query-sequelize
385
+
386
+
387
+
388
+
389
+
390
+ ## [0.11.1](https://github.com/tripss/nestjs-query/compare/v0.11.0...v0.11.1) (2020-05-11)
391
+
392
+ **Note:** Version bump only for package @ptc-org/nestjs-query-sequelize
393
+
394
+
395
+
396
+
397
+
398
+ # [0.11.0](https://github.com/tripss/nestjs-query/compare/v0.10.2...v0.11.0) (2020-05-09)
399
+
400
+
401
+ ### Features
402
+
403
+ * **graphql:** Add graphql module ([282c421](https://github.com/tripss/nestjs-query/commit/282c421d0e6f67fe750fa6005f6cb7d960c8fbd0))
404
+
405
+
406
+
407
+
408
+
409
+ ## [0.10.2](https://github.com/tripss/nestjs-query/compare/v0.10.1...v0.10.2) (2020-05-04)
410
+
411
+
412
+ ### Bug Fixes
413
+
414
+ * **sequelize:** Update sequelize package deps to match hoisted ([c7f5190](https://github.com/tripss/nestjs-query/commit/c7f5190ad1ae3d099cf9709eee36da188a455d13))
415
+
416
+
417
+
418
+
419
+
420
+ # [0.10.0](https://github.com/tripss/nestjs-query/compare/v0.9.0...v0.10.0) (2020-04-29)
421
+
422
+
423
+ ### Features
424
+
425
+ * **sequelize:** Initial Sequelize support ([bfcf436](https://github.com/tripss/nestjs-query/commit/bfcf4368b96617113c0334cd78a8881e4952eb99))
426
+ * **sequelize:** More clean up of code ([a72bce5](https://github.com/tripss/nestjs-query/commit/a72bce583862ed1902ee81974d7b530e7caac4d1))
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/@ptc-org/nestjs-query-sequelize.svg)](https://www.npmjs.org/package/@ptc-org/nestjs-query-sequelize)
6
+ [![Test](https://github.com/tripss/nestjs-query/workflows/Test/badge.svg?branch=master)](https://github.com/tripss/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-sequelize/package.json)](https://snyk.io/test/github/doug-martin/nestjs-query?targetFile=packages/query-sequelize/package.json)
9
+
10
+ # `@ptc-org/nestjs-query-sequelize`
11
+
12
+ The `query-sequelize` package that provides an implementation of `@ptc-org/nestjs-query-core` `QueryService`, built on top of of [nestjs](https://nestjs.com/) and [sequelize](https://sequelize.org/).
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 `@ptc-org/nestjs-query-sequelize` package checkout the [Getting Started](https://doug-martin.github.io/nestjs-query/docs/sequelize/getting-started) docs.
21
+
22
+
package/package.json ADDED
@@ -0,0 +1,42 @@
1
+ {
2
+ "name": "@ptc-org/nestjs-query-sequelize",
3
+ "version": "1.0.0-alpha.1",
4
+ "description": "Sequelize adapter for @ptc-org/nestjs-query-core",
5
+ "author": "doug-martin <doug@dougamartin.com>",
6
+ "homepage": "https://github.com/tripss/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
+ "dependencies": {
21
+ "camel-case": "^4.1.2",
22
+ "lodash.pick": "4.4.0",
23
+ "tslib": "^2.1.0"
24
+ },
25
+ "peerDependencies": {
26
+ "@nestjs/common": "^8.0.4",
27
+ "@nestjs/sequelize": "^8.0.0",
28
+ "sequelize": "^6.5.0",
29
+ "sequelize-typescript": "^1.1.0 || ^2.0.0",
30
+ "@ptc-org/nestjs-query-core": "1.0.0-alpha.1",
31
+ "reflect-metadata": "^0.1.13"
32
+ },
33
+ "repository": {
34
+ "type": "git",
35
+ "url": "git+https://github.com/tripss/nestjs-query.git",
36
+ "directory": "packages/query-sequelize"
37
+ },
38
+ "bugs": {
39
+ "url": "https://github.com/tripss/nestjs-query/issues"
40
+ },
41
+ "typings": "./src/index.d.ts"
42
+ }
package/src/index.js ADDED
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.NestjsQuerySequelizeModule = exports.SequelizeQueryService = void 0;
4
+ var services_1 = require("./services");
5
+ Object.defineProperty(exports, "SequelizeQueryService", { enumerable: true, get: function () { return services_1.SequelizeQueryService; } });
6
+ var module_1 = require("./module");
7
+ Object.defineProperty(exports, "NestjsQuerySequelizeModule", { enumerable: true, get: function () { return module_1.NestjsQuerySequelizeModule; } });
8
+ //# sourceMappingURL=index.js.map