@nocode-factory/sanity-kit 2.65.0-rc.1 → 2.65.0-rc.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nocode-factory/sanity-kit",
3
- "version": "2.65.0-rc.1",
3
+ "version": "2.65.0-rc.2",
4
4
  "description": "Outils Studio de NoCode Factory : Pages (liste + board), Composants, Historique",
5
5
  "license": "UNLICENSED",
6
6
  "private": false,
@@ -94,8 +94,8 @@ export function LanguagesSync() {
94
94
  // Versions traduites inachevées : liste « To translate » non vide.
95
95
  const unfinished = await client.fetch<Todo[]>(
96
96
  `*[_type == $todo && count(paths) > 0]{documentId, sourceId, sourceLanguage, paths,
97
- "language": coalesce(*[_id == "drafts." + ^.documentId][0].${field}, *[_id == ^.documentId][0].${field}),
98
- "title": coalesce(*[_id == "drafts." + ^.documentId][0].${TITLE}, *[_id == ^.documentId][0].${TITLE})}`,
97
+ "version": coalesce(*[_id == "drafts." + ^.documentId][0], *[_id == ^.documentId][0]){"language": ${field}, "title": ${TITLE}}}
98
+ {documentId, sourceId, sourceLanguage, paths, "language": version.language, "title": version.title}`,
99
99
  {todo: TRANSLATION_TODO_TYPE},
100
100
  )
101
101
  // Versions qui n'existent qu'en brouillon (traduites, pas encore publiées).
package/src/version.ts CHANGED
@@ -3,4 +3,4 @@
3
3
  * quelle version. Recopiée de `package.json` par `npm version` (scripts/sync-version.mjs) ; un test
4
4
  * le vérifie.
5
5
  */
6
- export const KIT_VERSION = '2.65.0-rc.1'
6
+ export const KIT_VERSION = '2.65.0-rc.2'