@ptc-org/nestjs-query-mongoose 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,159 @@
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 @nestjs-query/query-mongoose
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 @nestjs-query/query-mongoose
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 @nestjs-query/query-mongoose
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 @nestjs-query/query-mongoose
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 @nestjs-query/query-mongoose
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
+ * **mongoose:** Implement `setRelations` to set many references ([3dc8a84](https://github.com/tripss/nestjs-query/commit/3dc8a84ffdaf0e092871c280ac5264c4ab38104a))
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
+
60
+ ### Bug Fixes
61
+
62
+ * **mongoose,typegoose,#881:** Allow string objectId filters ([11098c4](https://github.com/tripss/nestjs-query/commit/11098c441de41462fe6c45742bc317f52ea09711)), closes [#881](https://github.com/tripss/nestjs-query/issues/881)
63
+
64
+
65
+
66
+
67
+
68
+ # [0.25.0](https://github.com/tripss/nestjs-query/compare/v0.24.5...v0.25.0) (2021-03-31)
69
+
70
+
71
+ ### Bug Fixes
72
+
73
+ * Add consistent sorting for aggregate queries ([4ac7a14](https://github.com/tripss/nestjs-query/commit/4ac7a1485c7dcd83569951298606f487608806b1))
74
+
75
+
76
+ ### Features
77
+
78
+ * **mongoose:** Update to support new aggregate with groupBy ([ccd0438](https://github.com/tripss/nestjs-query/commit/ccd04382de6ece10dd03db76052741ea1d7083a4))
79
+
80
+
81
+
82
+
83
+
84
+ ## [0.24.4](https://github.com/tripss/nestjs-query/compare/v0.24.3...v0.24.4) (2021-03-18)
85
+
86
+ **Note:** Version bump only for package @nestjs-query/query-mongoose
87
+
88
+
89
+
90
+
91
+
92
+ # [0.24.0](https://github.com/tripss/nestjs-query/compare/v0.23.1...v0.24.0) (2021-03-15)
93
+
94
+
95
+ ### Features
96
+
97
+ * **typegoose:** Add typegoose package ([#846](https://github.com/tripss/nestjs-query/issues/846)) ([73cf5cd](https://github.com/tripss/nestjs-query/commit/73cf5cdbf11496ad3a3ce3f6bb69975510de26e2))
98
+
99
+
100
+
101
+
102
+
103
+ ## [0.23.1](https://github.com/tripss/nestjs-query/compare/v0.23.0...v0.23.1) (2021-02-26)
104
+
105
+ **Note:** Version bump only for package @nestjs-query/query-mongoose
106
+
107
+
108
+
109
+
110
+
111
+ # [0.23.0](https://github.com/tripss/nestjs-query/compare/v0.22.0...v0.23.0) (2021-02-26)
112
+
113
+ **Note:** Version bump only for package @nestjs-query/query-mongoose
114
+
115
+
116
+
117
+
118
+
119
+ # [0.22.0](https://github.com/tripss/nestjs-query/compare/v0.21.2...v0.22.0) (2021-02-08)
120
+
121
+
122
+ ### Bug Fixes
123
+
124
+ * **deps:** Update mongoose and @nestjs/mongoose to latest versions ([ca575cf](https://github.com/tripss/nestjs-query/commit/ca575cfce5634233dfefa93c6c9347db91086b39))
125
+
126
+
127
+
128
+
129
+
130
+ ## [0.21.2](https://github.com/tripss/nestjs-query/compare/v0.21.1...v0.21.2) (2020-10-23)
131
+
132
+ **Note:** Version bump only for package @nestjs-query/query-mongoose
133
+
134
+
135
+
136
+
137
+
138
+ ## [0.21.1](https://github.com/tripss/nestjs-query/compare/v0.21.0...v0.21.1) (2020-10-18)
139
+
140
+ **Note:** Version bump only for package @nestjs-query/query-mongoose
141
+
142
+
143
+
144
+
145
+
146
+ # [0.21.0](https://github.com/tripss/nestjs-query/compare/v0.20.2...v0.21.0) (2020-10-16)
147
+
148
+
149
+ ### Bug Fixes
150
+
151
+ * **eslint:** Fix eslint to recognize sub packages ([13fdd2b](https://github.com/tripss/nestjs-query/commit/13fdd2b31289dbc80316cbdb5aa32edbe596bad4))
152
+
153
+
154
+ ### Features
155
+
156
+ * **mongoose:** Add mongo support ([ba21ed4](https://github.com/tripss/nestjs-query/commit/ba21ed4dee5202781a7a42ca0609b22a0c0afbdd))
157
+ * **mongoose:** Hardening reference support ([107bba0](https://github.com/tripss/nestjs-query/commit/107bba040a2b1d423deb4f1e428a43cecab48e79))
158
+ * **mongoose:** Remove unused code ([7715ce7](https://github.com/tripss/nestjs-query/commit/7715ce70982078db2bbc7fbfe0cdf89c4591d04a))
159
+ * **mongoose:** Switch to native mongoose support ([5cdfa39](https://github.com/tripss/nestjs-query/commit/5cdfa39b7d91cf0f8438ef3387a89aac850f4452))
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-mongoose.svg)](https://www.npmjs.org/package/@nestjs-query/query-mongoose)
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-mongoose/package.json)](https://snyk.io/test/github/doug-martin/nestjs-query?targetFile=packages/query-mongoose/package.json)
9
+
10
+ # `@nestjs-query/query-mongoose`
11
+
12
+ The `query-mongoose` package that provides an implementation of `@ptc-org/nestjs-query-core` `QueryService`, built on top of of [nestjs](https://nestjs.com/) and [mongoose](https://mongoosejs.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-mongoose` package checkout the [Getting Started](https://doug-martin.github.io/nestjs-query/docs/persistence/mongoose/getting-started) docs.
21
+
22
+
package/package.json ADDED
@@ -0,0 +1,42 @@
1
+ {
2
+ "name": "@ptc-org/nestjs-query-mongoose",
3
+ "version": "1.0.0-alpha.1",
4
+ "description": "Mongoose 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.escaperegexp": "^4.1.2",
23
+ "lodash.merge": "^4.6.2",
24
+ "tslib": "^2.1.0"
25
+ },
26
+ "peerDependencies": {
27
+ "@nestjs/common": "^8.0.4",
28
+ "@nestjs/mongoose": "^8.0.0 || ^9.0.0",
29
+ "mongoose": "^5.10.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-typeorm-mongo"
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.NestjsQueryMongooseModule = exports.MongooseQueryService = void 0;
4
+ var services_1 = require("./services");
5
+ Object.defineProperty(exports, "MongooseQueryService", { enumerable: true, get: function () { return services_1.MongooseQueryService; } });
6
+ var module_1 = require("./module");
7
+ Object.defineProperty(exports, "NestjsQueryMongooseModule", { enumerable: true, get: function () { return module_1.NestjsQueryMongooseModule; } });
8
+ //# sourceMappingURL=index.js.map