@tinacms/app 1.2.28 → 1.2.29
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 +10 -0
- package/package.json +3 -3
- package/src/lib/graphql-reducer.ts +6 -8
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tinacms/app",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.29",
|
|
4
4
|
"main": "src/main.tsx",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"devDependencies": {
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"@headlessui/react": "1.6.6",
|
|
15
15
|
"@heroicons/react": "1.0.6",
|
|
16
16
|
"@monaco-editor/react": "4.4.5",
|
|
17
|
-
"@tinacms/mdx": "1.3.
|
|
17
|
+
"@tinacms/mdx": "1.3.20",
|
|
18
18
|
"@xstate/react": "3.0.0",
|
|
19
19
|
"final-form": "4.20.7",
|
|
20
20
|
"graphiql": "3.0.0-alpha.1",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"react-dom": "17.0.2",
|
|
26
26
|
"react-router-dom": "6.3.0",
|
|
27
27
|
"tailwindcss": "^3.2.7",
|
|
28
|
-
"tinacms": "1.5.
|
|
28
|
+
"tinacms": "1.5.22",
|
|
29
29
|
"typescript": "^4.6.4",
|
|
30
30
|
"zod": "^3.14.3"
|
|
31
31
|
}
|
|
@@ -271,14 +271,12 @@ export const useGraphQLReducer = (
|
|
|
271
271
|
}
|
|
272
272
|
})
|
|
273
273
|
let value = source[fieldName] as unknown
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
})
|
|
281
|
-
}
|
|
274
|
+
aliases.forEach((alias) => {
|
|
275
|
+
const aliasValue = source[alias]
|
|
276
|
+
if (aliasValue) {
|
|
277
|
+
value = aliasValue
|
|
278
|
+
}
|
|
279
|
+
})
|
|
282
280
|
if (fieldName === '_sys') {
|
|
283
281
|
return source._internalSys
|
|
284
282
|
}
|