Skip to content

Commit d37f0af

Browse files
mi-kaschristianalfoni
authored andcommitted
feat(overmind-graphql): support file uploads
1 parent 44e2893 commit d37f0af

File tree

4 files changed

+37
-22
lines changed

4 files changed

+37
-22
lines changed

package-lock.json

Lines changed: 32 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"emotion": "9.2.12",
3737
"express": "4.16.3",
3838
"graphql": "14.5.8",
39-
"graphql-request": "1.8.2",
39+
"graphql-request": "3.1.0",
4040
"graphql-tag": "2.10.3",
4141
"install": "0.12.1",
4242
"is-plain-obj": "1.1.0",

packages/node_modules/overmind-graphql/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@
3131
"react"
3232
],
3333
"dependencies": {
34+
"@absinthe/socket": "^0.2.1",
3435
"graphql": "^14.5.8",
35-
"graphql-request": "^1.8.2",
36+
"graphql-request": "^3.1.0",
3637
"graphql-tag": "^2.10.3",
3738
"overmind": "next",
38-
"@absinthe/socket": "^0.2.1",
3939
"phoenix": "^1.4.13"
4040
},
4141
"devDependencies": {

packages/node_modules/overmind-graphql/src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import * as withAbsintheSocket from '@absinthe/socket';
22
import { GraphQLClient } from 'graphql-request';
33
import {
44
Headers as HttpHeaders,
5-
Options,
6-
} from 'graphql-request/dist/src/types';
5+
RequestInit as Options,
6+
} from 'graphql-request/dist/types.dom';
77
import { print } from 'graphql/language/printer';
88
import { Socket as PhoenixSocket } from 'phoenix';
99

0 commit comments

Comments
 (0)