@tinacms/graphql 0.0.0-2021111194522 → 0.0.0-2021111194859
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 +4 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -23250,6 +23250,7 @@ var Database = class {
|
|
|
23250
23250
|
this.getGraphQLSchema = async () => {
|
|
23251
23251
|
console.log("get gql schema");
|
|
23252
23252
|
const graphqlPath = import_path4.default.join(GENERATED_FOLDER, `_graphql.json`);
|
|
23253
|
+
console.log("at path", graphqlPath);
|
|
23253
23254
|
if (!this._graphql) {
|
|
23254
23255
|
const _graphql = await this.store.get(graphqlPath);
|
|
23255
23256
|
console.log("got it", _graphql);
|
|
@@ -23309,9 +23310,9 @@ var Database = class {
|
|
|
23309
23310
|
if (this.store.supportsSeeding()) {
|
|
23310
23311
|
this.store.clear();
|
|
23311
23312
|
console.log("seeding db");
|
|
23312
|
-
await this.store.seed(import_path4.default.join(GENERATED_FOLDER, "_graphql"), graphQLSchema);
|
|
23313
|
-
await this.store.seed(import_path4.default.join(GENERATED_FOLDER, "_schema"), tinaSchema.schema);
|
|
23314
|
-
await this.store.seed(import_path4.default.join(GENERATED_FOLDER, "_lookup"), lookup);
|
|
23313
|
+
await this.store.seed(import_path4.default.join(GENERATED_FOLDER, "_graphql.json"), graphQLSchema);
|
|
23314
|
+
await this.store.seed(import_path4.default.join(GENERATED_FOLDER, "_schema.json"), tinaSchema.schema);
|
|
23315
|
+
await this.store.seed(import_path4.default.join(GENERATED_FOLDER, "_lookup.json"), lookup);
|
|
23315
23316
|
await _indexContent(tinaSchema, this);
|
|
23316
23317
|
} else {
|
|
23317
23318
|
if (this.store.supportsIndexing()) {
|