Browse Source

upgrade @mirages/graphql version

Klaudiusz Dembler 4 years ago
parent
commit
425e17a040
3 changed files with 6 additions and 15 deletions
  1. 1 1
      packages/app/package.json
  2. 1 4
      packages/app/src/schema.graphql
  3. 4 10
      yarn.lock

+ 1 - 1
packages/app/package.json

@@ -34,7 +34,7 @@
     "@apollo/client": "^3.1.1",
     "@emotion/babel-preset-css-prop": "^10.0.27",
     "@emotion/core": "^10.0.28",
-    "@miragejs/graphql": "^0.1.0",
+    "@miragejs/graphql": "^0.1.3",
     "@reach/router": "^1.3.3",
     "@storybook/addon-actions": "^5.3.17",
     "@storybook/addon-docs": "^5.3.17",

+ 1 - 4
packages/app/src/schema.graphql

@@ -103,10 +103,7 @@ type VideoMedia {
   size: Float
 
   # where to find
-  # FIXME: This should be MediaLocation instead. However, some issues arose when trying to implement this with a union type
-  # Let's keep it directly typed for now and resolve later
-  # See https://github.com/miragejs/graphql/issues/12
-  location: HTTPVideoMediaLocation!
+  location: MediaLocation!
 }
 
 type Video {

+ 4 - 10
yarn.lock

@@ -2671,12 +2671,11 @@
   resolved "https://registry.yarnpkg.com/@mdx-js/util/-/util-1.6.6.tgz#9c70eb7e7e4abc1083c8edf7151d35a19e442c00"
   integrity sha512-PKTHVgMHnK5p+kcMWWNnZuoR7O19VmHiOujmVcyN50hya7qIdDb5vvsYC+dwLxApEXiABhLozq0dlIwFeS3yjg==
 
-"@miragejs/graphql@^0.1.0":
-  version "0.1.0"
-  resolved "https://registry.yarnpkg.com/@miragejs/graphql/-/graphql-0.1.0.tgz#2df17819ef6a3485bec0b75d2675cfadbfb834ef"
-  integrity sha512-usTMJvbLtt/tK71ZHPPkmRoPbqr3pUOea/lT8wzs/xOVUVOnQfebdSAzVKS7bTSl3vunscwJSMsBKvcUzw4RHg==
+"@miragejs/graphql@^0.1.3":
+  version "0.1.3"
+  resolved "https://registry.yarnpkg.com/@miragejs/graphql/-/graphql-0.1.3.tgz#346d871f4515da2826525fb7180f27dce503b1ed"
+  integrity sha512-mGJrV6LSM+91hVsMpV/yMJKR5u2mWBXxg5x/3Cy1zP4MjK+WsfhC0Ywn9beUxe6Cb9/4Ypj4CMav7wdF0pJD7w==
   dependencies:
-    b2a "^1.1.2"
     graphql "^15.0.0"
     miragejs "^0.1.0"
 
@@ -5344,11 +5343,6 @@ axobject-query@^2.0.2, axobject-query@^2.1.2:
   resolved "https://registry.yarnpkg.com/axobject-query/-/axobject-query-2.2.0.tgz#943d47e10c0b704aa42275e20edf3722648989be"
   integrity sha512-Td525n+iPOOyUQIeBfcASuG6uJsDOITl7Mds5gFyerkWiX7qhUTdYUBlSgNMyVqtSJqwpt1kXGLdUt6SykLMRA==
 
-b2a@^1.1.2:
-  version "1.1.2"
-  resolved "https://registry.yarnpkg.com/b2a/-/b2a-1.1.2.tgz#3bb0a7dbc0931c84ac97722fa4f5f51ba0a7d831"
-  integrity sha512-Ee7SUAyWeIx4ICRygOi7dVlGpHRxynsaLIZwOtHtGKls3LhLchTRk5KrI0O8ioWqy94ikkE8Z2Li3LWNd027/A==
-
 babel-code-frame@^6.22.0:
   version "6.26.0"
   resolved "https://registry.yarnpkg.com/babel-code-frame/-/babel-code-frame-6.26.0.tgz#63fd43f7dc1e3bb7ce35947db8fe369a3f58c74b"