cormo-graphql 0.6.11 → 0.7.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/.eslintrc.js +1 -0
- package/lib/schema.js +2 -2
- package/package.json +14 -14
package/.eslintrc.js
CHANGED
package/lib/schema.js
CHANGED
|
@@ -119,7 +119,7 @@ function createListType(model_class, options, single_type) {
|
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
|
-
return await query.select(crary_graphql_1.getFieldList(info));
|
|
122
|
+
return await query.select((0, crary_graphql_1.getFieldList)(info));
|
|
123
123
|
},
|
|
124
124
|
type: new graphql_1.GraphQLNonNull(new graphql_1.GraphQLList(new graphql_1.GraphQLNonNull(single_type))),
|
|
125
125
|
},
|
|
@@ -346,7 +346,7 @@ function createDefaultCrudSchema(model_class, options = {}) {
|
|
|
346
346
|
if (!has_query) {
|
|
347
347
|
return null;
|
|
348
348
|
}
|
|
349
|
-
return await query.select(crary_graphql_1.getFieldList(info));
|
|
349
|
+
return await query.select((0, crary_graphql_1.getFieldList)(info));
|
|
350
350
|
},
|
|
351
351
|
type: single_type,
|
|
352
352
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cormo-graphql",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.1",
|
|
4
4
|
"description": "GraphQL support for CORMO",
|
|
5
5
|
"main": "./lib",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -24,24 +24,24 @@
|
|
|
24
24
|
},
|
|
25
25
|
"homepage": "https://github.com/croquiscom/cormo",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@croquiscom/crary-graphql": "^0.
|
|
28
|
-
"cormo": "^0.
|
|
29
|
-
"graphql": "^15.
|
|
27
|
+
"@croquiscom/crary-graphql": "^0.14.1",
|
|
28
|
+
"cormo": "^0.17.1",
|
|
29
|
+
"graphql": "^15.7.2",
|
|
30
30
|
"lodash": "^4.17.21"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
|
-
"@types/chai": "^4.2.
|
|
34
|
-
"@types/lodash": "^4.14.
|
|
35
|
-
"@types/mocha": "^
|
|
36
|
-
"@types/node": "^
|
|
37
|
-
"@types/sinon": "^10.0.
|
|
33
|
+
"@types/chai": "^4.2.22",
|
|
34
|
+
"@types/lodash": "^4.14.176",
|
|
35
|
+
"@types/mocha": "^9.0.0",
|
|
36
|
+
"@types/node": "^16.11.6",
|
|
37
|
+
"@types/sinon": "^10.0.6",
|
|
38
38
|
"chai": "^4.3.4",
|
|
39
|
-
"mocha": "^
|
|
39
|
+
"mocha": "^9.1.3",
|
|
40
40
|
"mysql": "^2.18.1",
|
|
41
41
|
"rimraf": "^3.0.2",
|
|
42
|
-
"sinon": "^
|
|
43
|
-
"ts-node": "^
|
|
44
|
-
"typescript": "^4.
|
|
42
|
+
"sinon": "^11.1.2",
|
|
43
|
+
"ts-node": "^10.4.0",
|
|
44
|
+
"typescript": "^4.4.4"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "15608998db60020e71640fe24a5f60e485731577"
|
|
47
47
|
}
|