@tinacms/app 2.1.10 → 2.1.12
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 +22 -0
- package/package.json +7 -7
- package/src/lib/graphql-reducer.ts +2 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# @tinacms/app
|
|
2
2
|
|
|
3
|
+
## 2.1.12
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#5276](https://github.com/tinacms/tinacms/pull/5276) [`f90ef4d`](https://github.com/tinacms/tinacms/commit/f90ef4d92ae7b21c8c610d14af9510354a3969c6) Thanks [@Ben0189](https://github.com/Ben0189)! - Updates minor and patch dependencies
|
|
8
|
+
|
|
9
|
+
- [#5218](https://github.com/tinacms/tinacms/pull/5218) [`03bb823`](https://github.com/tinacms/tinacms/commit/03bb8237df87dab9da503818b839d44209263a48) Thanks [@kldavis4](https://github.com/kldavis4)! - Adds referential integrity for renaming and deleting referenced documents.
|
|
10
|
+
|
|
11
|
+
When a document is renamed, any documents which reference the document will be updated with the new document name. When a document is deleted, the user will be warned and any references to the document will be deleted.
|
|
12
|
+
|
|
13
|
+
- Updated dependencies [[`f90ef4d`](https://github.com/tinacms/tinacms/commit/f90ef4d92ae7b21c8c610d14af9510354a3969c6), [`03bb823`](https://github.com/tinacms/tinacms/commit/03bb8237df87dab9da503818b839d44209263a48), [`60fb710`](https://github.com/tinacms/tinacms/commit/60fb710addd539860eb7ba39196e02f3bb5f08c1), [`f3aa146`](https://github.com/tinacms/tinacms/commit/f3aa1465423101520bd05939249228c8d8b2a0df)]:
|
|
14
|
+
- @tinacms/mdx@1.5.2
|
|
15
|
+
- tinacms@2.5.0
|
|
16
|
+
|
|
17
|
+
## 2.1.11
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- Updated dependencies [[`9bb408f`](https://github.com/tinacms/tinacms/commit/9bb408f1c45ecb1fd8e39faac652c4b342f74967), [`bbf2f81`](https://github.com/tinacms/tinacms/commit/bbf2f81143eb400faf8aa4dff33b8a58fa5059c8), [`bc59a81`](https://github.com/tinacms/tinacms/commit/bc59a819e1e68e48de027c4fac72551ca109185d)]:
|
|
22
|
+
- tinacms@2.4.0
|
|
23
|
+
- @tinacms/mdx@1.5.1
|
|
24
|
+
|
|
3
25
|
## 2.1.10
|
|
4
26
|
|
|
5
27
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tinacms/app",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.12",
|
|
4
4
|
"main": "src/main.tsx",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"devDependencies": {
|
|
7
|
-
"@types/react": "^18.3.
|
|
8
|
-
"@types/react-dom": "^18.3.
|
|
9
|
-
"typescript": "^5.6.
|
|
7
|
+
"@types/react": "^18.3.12",
|
|
8
|
+
"@types/react-dom": "^18.3.1",
|
|
9
|
+
"typescript": "^5.6.3"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@graphiql/toolkit": "0.8.4",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"react": "^18.3.1",
|
|
21
21
|
"react-dom": "^18.3.1",
|
|
22
22
|
"react-router-dom": "6.3.0",
|
|
23
|
-
"typescript": "^5.6.
|
|
23
|
+
"typescript": "^5.6.3",
|
|
24
24
|
"zod": "^3.23.8",
|
|
25
|
-
"@tinacms/mdx": "1.5.
|
|
26
|
-
"tinacms": "2.
|
|
25
|
+
"@tinacms/mdx": "1.5.2",
|
|
26
|
+
"tinacms": "2.5.0"
|
|
27
27
|
}
|
|
28
28
|
}
|
|
@@ -41,6 +41,7 @@ const sysSchema = z.object({
|
|
|
41
41
|
relativePath: z.string(),
|
|
42
42
|
title: z.string().optional().nullable(),
|
|
43
43
|
template: z.string(),
|
|
44
|
+
hasReferences: z.boolean().optional().nullable(),
|
|
44
45
|
collection: z.object({
|
|
45
46
|
name: z.string(),
|
|
46
47
|
slug: z.string(),
|
|
@@ -838,6 +839,7 @@ _internalSys: _sys {
|
|
|
838
839
|
extension
|
|
839
840
|
relativePath
|
|
840
841
|
title
|
|
842
|
+
hasReferences
|
|
841
843
|
template
|
|
842
844
|
collection {
|
|
843
845
|
name
|