@tinacms/graphql 0.0.0-2021111193535 → 0.0.0-2021111194522
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 +1 -1
- package/dist/index.js +6 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -23238,17 +23238,21 @@ var Database = class {
|
|
|
23238
23238
|
return stringifiedFile;
|
|
23239
23239
|
};
|
|
23240
23240
|
this.getLookup = async (returnType) => {
|
|
23241
|
+
console.log("get lookup");
|
|
23241
23242
|
const lookupPath = import_path4.default.join(GENERATED_FOLDER, `_lookup.json`);
|
|
23242
23243
|
if (!this._lookup) {
|
|
23243
23244
|
const _lookup = await this.store.get(lookupPath);
|
|
23245
|
+
console.log("gotit", _lookup);
|
|
23244
23246
|
this._lookup = _lookup;
|
|
23245
23247
|
}
|
|
23246
23248
|
return this._lookup[returnType];
|
|
23247
23249
|
};
|
|
23248
23250
|
this.getGraphQLSchema = async () => {
|
|
23251
|
+
console.log("get gql schema");
|
|
23249
23252
|
const graphqlPath = import_path4.default.join(GENERATED_FOLDER, `_graphql.json`);
|
|
23250
23253
|
if (!this._graphql) {
|
|
23251
23254
|
const _graphql = await this.store.get(graphqlPath);
|
|
23255
|
+
console.log("got it", _graphql);
|
|
23252
23256
|
this._graphql = _graphql;
|
|
23253
23257
|
}
|
|
23254
23258
|
return this._graphql;
|
|
@@ -23262,9 +23266,11 @@ var Database = class {
|
|
|
23262
23266
|
return this._graphql;
|
|
23263
23267
|
};
|
|
23264
23268
|
this.getTinaSchema = async () => {
|
|
23269
|
+
console.log("get tina schema");
|
|
23265
23270
|
const schemaPath = import_path4.default.join(GENERATED_FOLDER, `_schema.json`);
|
|
23266
23271
|
if (!this._tinaSchema) {
|
|
23267
23272
|
const _tinaSchema = await this.store.get(schemaPath);
|
|
23273
|
+
console.log("got it", _tinaSchema);
|
|
23268
23274
|
this._tinaSchema = _tinaSchema;
|
|
23269
23275
|
}
|
|
23270
23276
|
return this._tinaSchema;
|