@travetto/model-query 3.0.0-rc.8 → 3.0.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.
- package/README.md +5 -1
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -6,6 +6,10 @@
|
|
|
6
6
|
**Install: @travetto/model-query**
|
|
7
7
|
```bash
|
|
8
8
|
npm install @travetto/model-query
|
|
9
|
+
|
|
10
|
+
# or
|
|
11
|
+
|
|
12
|
+
yarn add @travetto/model-query
|
|
9
13
|
```
|
|
10
14
|
|
|
11
15
|
This module provides an enhanced query contract for [Data Modeling Support](https://github.com/travetto/travetto/tree/main/module/model#readme "Datastore abstraction for core operations.") implementations. This contract has been externalized due to it being more complex than many implementations can natively support. In addition to the contract, this module provides support for textual query language that can be checked and parsed into the proper query structure.
|
|
@@ -254,7 +258,7 @@ import { Injectable } from '@travetto/di';
|
|
|
254
258
|
|
|
255
259
|
import { QueryModelService } from './query-service';
|
|
256
260
|
|
|
257
|
-
@Config()
|
|
261
|
+
@Config('model.custom')
|
|
258
262
|
class CustomModelConfig { }
|
|
259
263
|
|
|
260
264
|
@Injectable()
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@travetto/model-query",
|
|
3
|
-
"version": "3.0.0
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"description": "Datastore abstraction for advanced query support.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"datastore",
|
|
@@ -27,12 +27,12 @@
|
|
|
27
27
|
"directory": "module/model-query"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@travetto/di": "^3.0.0
|
|
31
|
-
"@travetto/model": "^3.0.0
|
|
32
|
-
"@travetto/schema": "^3.0.0
|
|
30
|
+
"@travetto/di": "^3.0.0",
|
|
31
|
+
"@travetto/model": "^3.0.0",
|
|
32
|
+
"@travetto/schema": "^3.0.0"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
|
-
"@travetto/test": "^3.0.0
|
|
35
|
+
"@travetto/test": "^3.0.0"
|
|
36
36
|
},
|
|
37
37
|
"peerDependenciesMeta": {
|
|
38
38
|
"@travetto/test": {
|