@tinacms/graphql 0.0.0-2021111192348 → 0.0.0-2021111193535

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,6 +1,6 @@
1
1
  # tina-graphql
2
2
 
3
- ## 0.0.0-2021111192348
3
+ ## 0.0.0-2021111193535
4
4
 
5
5
  ### Minor Changes
6
6
 
package/dist/index.js CHANGED
@@ -23299,10 +23299,13 @@ var Database = class {
23299
23299
  const schemaPath = import_path4.default.join(GENERATED_FOLDER, `_schema.json`);
23300
23300
  await this.bridge.putConfig(graphqlPath, JSON.stringify(graphQLSchema, null, 2));
23301
23301
  await this.bridge.putConfig(schemaPath, JSON.stringify(tinaSchema.schema, null, 2));
23302
+ const lookup = JSON.parse(await this.bridge.get(import_path4.default.join(GENERATED_FOLDER, "_lookup.json")));
23302
23303
  if (this.store.supportsSeeding()) {
23303
23304
  this.store.clear();
23304
- await this.store.seed("_graphql", graphQLSchema);
23305
- await this.store.seed("_schema", tinaSchema.schema);
23305
+ console.log("seeding db");
23306
+ await this.store.seed(import_path4.default.join(GENERATED_FOLDER, "_graphql"), graphQLSchema);
23307
+ await this.store.seed(import_path4.default.join(GENERATED_FOLDER, "_schema"), tinaSchema.schema);
23308
+ await this.store.seed(import_path4.default.join(GENERATED_FOLDER, "_lookup"), lookup);
23306
23309
  await _indexContent(tinaSchema, this);
23307
23310
  } else {
23308
23311
  if (this.store.supportsIndexing()) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tinacms/graphql",
3
- "version": "0.0.0-2021111192348",
3
+ "version": "0.0.0-2021111193535",
4
4
  "main": "dist/index.js",
5
5
  "typings": "dist/index.d.ts",
6
6
  "files": [