introspectron 2.13.2 → 2.13.3
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/esm/gql.js +1 -1
- package/gql.js +1 -1
- package/package.json +4 -4
package/esm/gql.js
CHANGED
|
@@ -117,7 +117,7 @@ export const parseGraphQuery = (introQuery) => {
|
|
|
117
117
|
}
|
|
118
118
|
return context;
|
|
119
119
|
};
|
|
120
|
-
const mutations = mutationsRoot
|
|
120
|
+
const mutations = (mutationsRoot?.fields || []).reduce((m, mutation) => {
|
|
121
121
|
let mutationType = 'other';
|
|
122
122
|
if (/^Create/.test(mutation.type.name))
|
|
123
123
|
mutationType = 'create';
|
package/gql.js
CHANGED
|
@@ -122,7 +122,7 @@ const parseGraphQuery = (introQuery) => {
|
|
|
122
122
|
}
|
|
123
123
|
return context;
|
|
124
124
|
};
|
|
125
|
-
const mutations = mutationsRoot
|
|
125
|
+
const mutations = (mutationsRoot?.fields || []).reduce((m, mutation) => {
|
|
126
126
|
let mutationType = 'other';
|
|
127
127
|
if (/^Create/.test(mutation.type.name))
|
|
128
128
|
mutationType = 'create';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "introspectron",
|
|
3
|
-
"version": "2.13.
|
|
3
|
+
"version": "2.13.3",
|
|
4
4
|
"description": "introspect your Postgres database and generate an SDK",
|
|
5
5
|
"author": "Dan Lynch <pyramation@gmail.com>",
|
|
6
6
|
"main": "index.js",
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@jest/test-sequencer": "^29.7.0",
|
|
34
34
|
"@types/pg": "^8.15.2",
|
|
35
|
-
"
|
|
36
|
-
"pgsql-test": "^2.14.
|
|
35
|
+
"launchql-test": "^2.8.0",
|
|
36
|
+
"pgsql-test": "^2.14.3"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"graphql": "15.10.1",
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"graphile",
|
|
49
49
|
"launchql"
|
|
50
50
|
],
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "da2bd9606bd5e1d4e63b7d74f08920975980e541"
|
|
52
52
|
}
|