@tinacms/graphql 0.0.0-2022412201743 → 0.0.0-202241613452
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 +3 -2
- package/dist/index.js +2 -3
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
# tina-graphql
|
|
2
2
|
|
|
3
|
-
## 0.0.0-
|
|
3
|
+
## 0.0.0-202241613452
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
7
|
- 08cdb672a: Adds `useRelativeMedia` support to local graphql client
|
|
8
|
+
- fdbfe9a16: Fixes issue where on windows documents could not be deleted localy
|
|
8
9
|
- 6e2ed31a2: Added `isTitle` property to the schema that allows the title to be displayed in the CMS
|
|
9
10
|
- Updated dependencies [6e2ed31a2]
|
|
10
|
-
- @tinacms/schema-tools@0.0.0-
|
|
11
|
+
- @tinacms/schema-tools@0.0.0-202241613452
|
|
11
12
|
|
|
12
13
|
## 0.60.1
|
|
13
14
|
|
package/dist/index.js
CHANGED
|
@@ -23225,7 +23225,7 @@ var Database = class {
|
|
|
23225
23225
|
this.config = config;
|
|
23226
23226
|
this.collectionForPath = async (filepath) => {
|
|
23227
23227
|
const tinaSchema = await this.getSchema();
|
|
23228
|
-
const collection = tinaSchema.
|
|
23228
|
+
const collection = await tinaSchema.getCollectionByFullPath(filepath);
|
|
23229
23229
|
return collection;
|
|
23230
23230
|
};
|
|
23231
23231
|
this.get = async (filepath) => {
|
|
@@ -23538,8 +23538,7 @@ var Database = class {
|
|
|
23538
23538
|
});
|
|
23539
23539
|
};
|
|
23540
23540
|
this.delete = async (filepath) => {
|
|
23541
|
-
const
|
|
23542
|
-
const collection = tinaSchema.schema.collections.find((collection2) => filepath.startsWith(collection2.path));
|
|
23541
|
+
const collection = await this.collectionForPath(filepath);
|
|
23543
23542
|
let collectionIndexDefinitions;
|
|
23544
23543
|
if (collection) {
|
|
23545
23544
|
const indexDefinitions = await this.getIndexDefinitions();
|
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-202241613452",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"typings": "dist/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
},
|
|
98
98
|
"devDependencies": {
|
|
99
99
|
"@tinacms/datalayer": "0.1.1",
|
|
100
|
-
"@tinacms/schema-tools": "0.0.0-
|
|
100
|
+
"@tinacms/schema-tools": "0.0.0-202241613452",
|
|
101
101
|
"@tinacms/scripts": "0.50.7",
|
|
102
102
|
"@types/cors": "^2.8.7",
|
|
103
103
|
"@types/estree": "^0.0.50",
|