@tinacms/graphql 0.0.0-20224201864 → 0.0.0-202243117166
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 +8 -1
- package/dist/database/index.d.ts +4 -2
- package/dist/index.js +6 -2
- package/dist/types.d.ts +1 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,11 +1,18 @@
|
|
|
1
1
|
# tina-graphql
|
|
2
2
|
|
|
3
|
-
## 0.0.0-
|
|
3
|
+
## 0.0.0-202243117166
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- d103b27ad: Fix issue where new collections would not be added when CLI restarts
|
|
8
|
+
|
|
9
|
+
## 0.60.3
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
6
12
|
|
|
7
13
|
- 79d112d79: Update cli to accept tinaCloudMediaStore flag and add to metadata during schema compilation
|
|
8
14
|
- 3f46c6706: Fixed issue where generated SDK would not work with templates
|
|
15
|
+
- db9168578: Adds support for an `assetsHost` when resolving `image` fields with `useRelativeMedia`
|
|
9
16
|
- 91d6e6758: Fix issues with experimentalData on windows related to path separator inconsistency and interference with the .tina/**generated** folder
|
|
10
17
|
|
|
11
18
|
## 0.60.2
|
package/dist/database/index.d.ts
CHANGED
|
@@ -44,8 +44,6 @@ export declare class Database {
|
|
|
44
44
|
private tinaSchema;
|
|
45
45
|
private collectionIndexDefinitions;
|
|
46
46
|
private _lookup;
|
|
47
|
-
private _graphql;
|
|
48
|
-
private _tinaSchema;
|
|
49
47
|
constructor(config: CreateDatabase);
|
|
50
48
|
private collectionForPath;
|
|
51
49
|
private partitionPathsByCollection;
|
|
@@ -65,6 +63,10 @@ export declare class Database {
|
|
|
65
63
|
};
|
|
66
64
|
keepTemplateKey: boolean;
|
|
67
65
|
}>;
|
|
66
|
+
/**
|
|
67
|
+
* Clears the internal cache of the tinaSchema and the lookup file. This allows the state to be reset
|
|
68
|
+
*/
|
|
69
|
+
clearCache(): void;
|
|
68
70
|
flush: (filepath: string) => Promise<string>;
|
|
69
71
|
getLookup: (returnType: string) => Promise<LookupMapType>;
|
|
70
72
|
getGraphQLSchema: () => Promise<DocumentNode>;
|
package/dist/index.js
CHANGED
|
@@ -12480,7 +12480,7 @@ var validateField = async (field) => {
|
|
|
12480
12480
|
|
|
12481
12481
|
// pnp:/home/runner/work/tinacms/tinacms/packages/@tinacms/graphql/package.json
|
|
12482
12482
|
var name = "@tinacms/graphql";
|
|
12483
|
-
var version = "0.60.
|
|
12483
|
+
var version = "0.60.3";
|
|
12484
12484
|
var main = "dist/index.js";
|
|
12485
12485
|
var typings = "dist/index.d.ts";
|
|
12486
12486
|
var files = [
|
|
@@ -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
|
|
22894
|
+
accumulator[field.name] = `https://${this.config.assetsHost}/${this.config.clientId}/${value}`;
|
|
22895
22895
|
}
|
|
22896
22896
|
} else {
|
|
22897
22897
|
accumulator[field.name] = value;
|
|
@@ -23628,6 +23628,10 @@ var Database = class {
|
|
|
23628
23628
|
}
|
|
23629
23629
|
return { pathsByCollection, nonCollectionPaths, collections };
|
|
23630
23630
|
}
|
|
23631
|
+
clearCache() {
|
|
23632
|
+
this.tinaSchema = null;
|
|
23633
|
+
this._lookup = null;
|
|
23634
|
+
}
|
|
23631
23635
|
async indexStatusCallbackWrapper(fn) {
|
|
23632
23636
|
await this.indexStatusCallback({ status: "inprogress" });
|
|
23633
23637
|
try {
|
package/dist/types.d.ts
CHANGED