@tinacms/graphql 0.0.0-20224201864 → 0.0.0-2022423155836

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/CHANGELOG.md CHANGED
@@ -1,11 +1,12 @@
1
1
  # tina-graphql
2
2
 
3
- ## 0.0.0-20224201864
3
+ ## 0.0.0-2022423155836
4
4
 
5
5
  ### Patch Changes
6
6
 
7
7
  - 79d112d79: Update cli to accept tinaCloudMediaStore flag and add to metadata during schema compilation
8
8
  - 3f46c6706: Fixed issue where generated SDK would not work with templates
9
+ - db9168578: Adds support for an `assetsHost` when resolving `image` fields with `useRelativeMedia`
9
10
  - 91d6e6758: Fix issues with experimentalData on windows related to path separator inconsistency and interference with the .tina/**generated** folder
10
11
 
11
12
  ## 0.60.2
package/dist/index.js CHANGED
@@ -22891,7 +22891,7 @@ var Resolver = class {
22891
22891
  if (this.config.useRelativeMedia === true) {
22892
22892
  accumulator[field.name] = value;
22893
22893
  } else {
22894
- accumulator[field.name] = `https://assets.tina.io/${this.config.clientId}/${value}`;
22894
+ accumulator[field.name] = `https://${this.config.assetsHost}/${this.config.clientId}/${value}`;
22895
22895
  }
22896
22896
  } else {
22897
22897
  accumulator[field.name] = value;
package/dist/types.d.ts CHANGED
@@ -268,5 +268,6 @@ export declare type GraphQLConfig = {
268
268
  } | {
269
269
  useRelativeMedia: false;
270
270
  clientId: string;
271
+ assetsHost: string;
271
272
  };
272
273
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tinacms/graphql",
3
- "version": "0.0.0-20224201864",
3
+ "version": "0.0.0-2022423155836",
4
4
  "main": "dist/index.js",
5
5
  "typings": "dist/index.d.ts",
6
6
  "files": [