@coderich/autograph 0.10.27 → 0.10.29
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/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@coderich/autograph",
|
|
3
3
|
"author": "Richard Livolsi (coderich)",
|
|
4
|
-
"version": "0.10.
|
|
4
|
+
"version": "0.10.29",
|
|
5
5
|
"description": "AutoGraph",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"graphql",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"ratchet": "ratchet"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@coderich/util": "
|
|
33
|
+
"@coderich/util": "0.1.11",
|
|
34
34
|
"@hapi/boom": "^9.1.0",
|
|
35
35
|
"dataloader": "^2.0.0",
|
|
36
36
|
"deepmerge": "^4.2.2",
|
|
@@ -27,6 +27,12 @@ module.exports = (schema) => {
|
|
|
27
27
|
fieldScope: AutoGraphMixed # Dictate how a FIELD may use me
|
|
28
28
|
authz: AutoGraphAuthzEnum # Access level used for authorization (default: private)
|
|
29
29
|
namespace: String # Logical grouping of models that can be globbed (useful for authz)
|
|
30
|
+
|
|
31
|
+
# FOR TRANSITION TO NEW VERSION
|
|
32
|
+
crud: AutoGraphMixed # CRUD API
|
|
33
|
+
scope: AutoGraphMixed #
|
|
34
|
+
source: AutoGraphMixed # Data source (default: "default")
|
|
35
|
+
decorate: AutoGraphMixed # Decorator (default: "default")
|
|
30
36
|
) on OBJECT | INTERFACE
|
|
31
37
|
|
|
32
38
|
directive @field(
|
|
@@ -53,6 +59,10 @@ module.exports = (schema) => {
|
|
|
53
59
|
transform: [AutoGraphPipelineEnum!]
|
|
54
60
|
serialize: [AutoGraphPipelineEnum!]
|
|
55
61
|
deserialize: [AutoGraphPipelineEnum!]
|
|
62
|
+
|
|
63
|
+
# FOR TRANSITION TO NEW VERSION
|
|
64
|
+
crud: AutoGraphMixed # CRUD API
|
|
65
|
+
finalize: [AutoGraphPipelineEnum!]
|
|
56
66
|
) on FIELD_DEFINITION | INPUT_FIELD_DEFINITION | SCALAR
|
|
57
67
|
|
|
58
68
|
directive @link(
|