@sanity/types 6.8.1-next.4 → 6.9.0-next.11
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/lib/index.d.ts +8 -0
- package/package.json +4 -4
package/lib/index.d.ts
CHANGED
|
@@ -82,6 +82,14 @@ interface DocumentSystem {
|
|
|
82
82
|
* Set when the document is marked for unpublishing inside a release.
|
|
83
83
|
*/
|
|
84
84
|
delete?: boolean;
|
|
85
|
+
/**
|
|
86
|
+
* Only on variant-of-published documents: a weak reference to the (stable, server-generated)
|
|
87
|
+
* id the drafts-bundle sibling of this variant occupies — `versions.<scopeId>.<groupId>` —
|
|
88
|
+
* whether or not that document currently exists. Lets clients check out and create the draft
|
|
89
|
+
* variant without computing scope ids client-side. Not populated for normal published docs or
|
|
90
|
+
* variants of releases.
|
|
91
|
+
*/
|
|
92
|
+
draft?: DocumentSystemRef;
|
|
85
93
|
}
|
|
86
94
|
/**
|
|
87
95
|
* @internal
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sanity/types",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.9.0-next.11",
|
|
4
4
|
"description": "Type definitions for common Sanity data structures",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cms",
|
|
@@ -44,9 +44,9 @@
|
|
|
44
44
|
"typescript": "^7.0.2",
|
|
45
45
|
"vite": "^8.1.5",
|
|
46
46
|
"vitest": "^4.1.10",
|
|
47
|
-
"@repo/test-config": "6.
|
|
48
|
-
"@repo/tsdown.config": "6.
|
|
49
|
-
"@repo/tsconfig": "6.
|
|
47
|
+
"@repo/test-config": "6.9.0-next.11+f8fa3907e6",
|
|
48
|
+
"@repo/tsdown.config": "6.9.0-next.11+f8fa3907e6",
|
|
49
|
+
"@repo/tsconfig": "6.9.0-next.11+f8fa3907e6"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
52
|
"@types/react": "*"
|