@tinacms/graphql 0.0.0-202243117166 → 0.0.0-20224312022
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 +4 -2
- package/dist/database/index.d.ts +2 -4
- package/dist/index.js +3 -4
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
# tina-graphql
|
|
2
2
|
|
|
3
|
-
## 0.0.0-
|
|
3
|
+
## 0.0.0-20224312022
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
|
-
-
|
|
7
|
+
- ed565bd3b: Experimental isomorphic git bridge implementation
|
|
8
|
+
- Updated dependencies [ed565bd3b]
|
|
9
|
+
- @tinacms/datalayer@0.0.0-20224312022
|
|
8
10
|
|
|
9
11
|
## 0.60.3
|
|
10
12
|
|
package/dist/database/index.d.ts
CHANGED
|
@@ -44,6 +44,8 @@ export declare class Database {
|
|
|
44
44
|
private tinaSchema;
|
|
45
45
|
private collectionIndexDefinitions;
|
|
46
46
|
private _lookup;
|
|
47
|
+
private _graphql;
|
|
48
|
+
private _tinaSchema;
|
|
47
49
|
constructor(config: CreateDatabase);
|
|
48
50
|
private collectionForPath;
|
|
49
51
|
private partitionPathsByCollection;
|
|
@@ -63,10 +65,6 @@ export declare class Database {
|
|
|
63
65
|
};
|
|
64
66
|
keepTemplateKey: boolean;
|
|
65
67
|
}>;
|
|
66
|
-
/**
|
|
67
|
-
* Clears the internal cache of the tinaSchema and the lookup file. This allows the state to be reset
|
|
68
|
-
*/
|
|
69
|
-
clearCache(): void;
|
|
70
68
|
flush: (filepath: string) => Promise<string>;
|
|
71
69
|
getLookup: (returnType: string) => Promise<LookupMapType>;
|
|
72
70
|
getGraphQLSchema: () => Promise<DocumentNode>;
|
package/dist/index.js
CHANGED
|
@@ -12813,6 +12813,9 @@ var indexDB = async ({
|
|
|
12813
12813
|
if (flags.indexOf("experimentalData") === -1) {
|
|
12814
12814
|
flags.push("experimentalData");
|
|
12815
12815
|
}
|
|
12816
|
+
if (flags.indexOf("isomorphicGitBridge") === -1) {
|
|
12817
|
+
flags.push("isomorphicGitBridge");
|
|
12818
|
+
}
|
|
12816
12819
|
}
|
|
12817
12820
|
const tinaSchema = await createSchema({ schema: config, flags });
|
|
12818
12821
|
const builder = await createBuilder({
|
|
@@ -23628,10 +23631,6 @@ var Database = class {
|
|
|
23628
23631
|
}
|
|
23629
23632
|
return { pathsByCollection, nonCollectionPaths, collections };
|
|
23630
23633
|
}
|
|
23631
|
-
clearCache() {
|
|
23632
|
-
this.tinaSchema = null;
|
|
23633
|
-
this._lookup = null;
|
|
23634
|
-
}
|
|
23635
23634
|
async indexStatusCallbackWrapper(fn) {
|
|
23636
23635
|
await this.indexStatusCallback({ status: "inprogress" });
|
|
23637
23636
|
try {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tinacms/graphql",
|
|
3
|
-
"version": "0.0.0-
|
|
3
|
+
"version": "0.0.0-20224312022",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"typings": "dist/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"@graphql-tools/relay-operation-optimizer": "^6.4.1",
|
|
50
|
-
"@tinacms/datalayer": "0.
|
|
50
|
+
"@tinacms/datalayer": "0.0.0-20224312022",
|
|
51
51
|
"body-parser": "^1.19.0",
|
|
52
52
|
"cors": "^2.8.5",
|
|
53
53
|
"dataloader": "^2.0.0",
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
"directory": "packages/tina-graphql"
|
|
98
98
|
},
|
|
99
99
|
"devDependencies": {
|
|
100
|
-
"@tinacms/datalayer": "0.
|
|
100
|
+
"@tinacms/datalayer": "0.0.0-20224312022",
|
|
101
101
|
"@tinacms/schema-tools": "0.0.4",
|
|
102
102
|
"@tinacms/scripts": "0.50.7",
|
|
103
103
|
"@types/cors": "^2.8.7",
|