@kollors/deep-json-server 1.0.0-rc.2 → 1.0.0-rc.4
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 +12 -0
- package/MIGRATION.md +3 -3
- package/README.md +17 -12
- package/README.ru.md +17 -12
- package/dist/src/core/constants.d.ts +1 -1
- package/dist/src/core/constants.js +1 -1
- package/dist/src/core/model/policy.js +2 -0
- package/dist/src/core/model/policy.js.map +1 -1
- package/dist/src/core/query/compare.d.ts +2 -0
- package/dist/src/core/query/compare.js +8 -0
- package/dist/src/core/query/compare.js.map +1 -0
- package/dist/src/core/query/execute.js +2 -10
- package/dist/src/core/query/execute.js.map +1 -1
- package/dist/src/core/query/filter.js +6 -5
- package/dist/src/core/query/filter.js.map +1 -1
- package/dist/src/core/query/options.js +2 -2
- package/dist/src/core/query/options.js.map +1 -1
- package/dist/src/files/disk-paths.js +1 -1
- package/dist/src/files/disk-paths.js.map +1 -1
- package/dist/src/graphql/schema.js +3 -3
- package/dist/src/graphql/schema.js.map +1 -1
- package/dist/src/openapi/document.js +3 -3
- package/dist/src/openapi/document.js.map +1 -1
- package/dist/src/rest/options.js +1 -1
- package/dist/src/rest/options.js.map +1 -1
- package/dist/src/rest/projection.js +2 -1
- package/dist/src/rest/projection.js.map +1 -1
- package/dist/src/server/bootstrap.js +51 -41
- package/dist/src/server/bootstrap.js.map +1 -1
- package/dist/src/server/input-paths.js +4 -1
- package/dist/src/server/input-paths.js.map +1 -1
- package/dist/src/server/storage-lock.d.ts +3 -0
- package/dist/src/server/storage-lock.js +116 -0
- package/dist/src/server/storage-lock.js.map +1 -0
- package/examples/schema.json +15 -0
- package/package.json +1 -1
package/examples/schema.json
CHANGED
|
@@ -35,6 +35,9 @@
|
|
|
35
35
|
"name": {
|
|
36
36
|
"type": "string"
|
|
37
37
|
},
|
|
38
|
+
"parentIds": {
|
|
39
|
+
"type": "string[]"
|
|
40
|
+
},
|
|
38
41
|
"parents": {
|
|
39
42
|
"type": "Genre[]",
|
|
40
43
|
"source": "parentIds"
|
|
@@ -67,6 +70,9 @@
|
|
|
67
70
|
"type": "string",
|
|
68
71
|
"required": true
|
|
69
72
|
},
|
|
73
|
+
"publisherIds": {
|
|
74
|
+
"type": "string[]"
|
|
75
|
+
},
|
|
70
76
|
"publishers": {
|
|
71
77
|
"type": "Publisher[]",
|
|
72
78
|
"source": "publisherIds",
|
|
@@ -79,6 +85,12 @@
|
|
|
79
85
|
"actors.id": {
|
|
80
86
|
"type": "string"
|
|
81
87
|
},
|
|
88
|
+
"actors.userId": {
|
|
89
|
+
"type": "string"
|
|
90
|
+
},
|
|
91
|
+
"actors.genreIds": {
|
|
92
|
+
"type": "string[]"
|
|
93
|
+
},
|
|
82
94
|
"actors.user": {
|
|
83
95
|
"type": "User",
|
|
84
96
|
"source": "actors.userId",
|
|
@@ -135,6 +147,9 @@
|
|
|
135
147
|
"type": "string",
|
|
136
148
|
"format": "uri"
|
|
137
149
|
},
|
|
150
|
+
"countryId": {
|
|
151
|
+
"type": "string"
|
|
152
|
+
},
|
|
138
153
|
"country": {
|
|
139
154
|
"type": "Country",
|
|
140
155
|
"source": "countryId"
|
package/package.json
CHANGED