@newmo/graphql-codegen-fake-server-client 0.21.0 → 0.21.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.
@@ -137,6 +137,7 @@ ${exportsFunctions
137
137
  body: {
138
138
  operationName: string;
139
139
  query: string;
140
+ variables: ${(0, convertName_1.convertName)(name, config)}QueryVariables;
140
141
  };
141
142
  };
142
143
  response: {
@@ -164,6 +165,7 @@ ${exportsFunctions
164
165
  body: {
165
166
  operationName: string;
166
167
  query: string;
168
+ variables: ${(0, convertName_1.convertName)(name, config)}QueryVariables;
167
169
  };
168
170
  };
169
171
  response: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@newmo/graphql-codegen-fake-server-client",
3
- "version": "0.21.0",
3
+ "version": "0.21.1",
4
4
  "private": false,
5
5
  "description": "GraphQL Codegen plugin for generating a fake server client",
6
6
  "keywords": [
@@ -34,7 +34,8 @@
34
34
  "lint": "tsc --noEmit",
35
35
  "test": "npm run build && npm run codegen && npm run typecheck",
36
36
  "typecheck": "tsc --noEmit -p tsconfig.test.json",
37
- "codegen": "graphql-codegen --config graphql-codegen.ts"
37
+ "codegen": "graphql-codegen --config graphql-codegen.ts",
38
+ "updateSnapshot": "pnpm run codegen"
38
39
  },
39
40
  "dependencies": {
40
41
  "@graphql-codegen/plugin-helpers": "^5.1.1",
@@ -61,5 +62,5 @@
61
62
  "access": "public",
62
63
  "registry": "https://registry.npmjs.org/"
63
64
  },
64
- "gitHead": "251e1b4311a0f070af89abc7e49f6aa1e9b075c0"
65
+ "gitHead": "44c20c46b7dadeced5b15442a217b3b7e9cb8662"
65
66
  }
@@ -173,6 +173,7 @@ ${exportsFunctions
173
173
  body: {
174
174
  operationName: string;
175
175
  query: string;
176
+ variables: ${convertName(name, config)}QueryVariables;
176
177
  };
177
178
  };
178
179
  response: {
@@ -200,6 +201,7 @@ ${exportsFunctions
200
201
  body: {
201
202
  operationName: string;
202
203
  query: string;
204
+ variables: ${convertName(name, config)}QueryVariables;
203
205
  };
204
206
  };
205
207
  response: {