@sanity/types 4.0.0-0 → 5.0.0-next.0-9b570ece82-202507150640
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.mts +1 -1
- package/lib/index.d.ts +1 -1
- package/package.json +4 -4
package/lib/index.d.mts
CHANGED
|
@@ -171,7 +171,7 @@ export declare interface AssetSource {
|
|
|
171
171
|
export declare interface AssetSourceComponentProps {
|
|
172
172
|
action?: 'select' | 'upload'
|
|
173
173
|
assetSource: AssetSource
|
|
174
|
-
assetType?: 'file' | 'image'
|
|
174
|
+
assetType?: 'file' | 'image' | 'sanity.video'
|
|
175
175
|
accept: string
|
|
176
176
|
selectionType: 'single'
|
|
177
177
|
dialogHeaderTitle?: React.ReactNode
|
package/lib/index.d.ts
CHANGED
|
@@ -171,7 +171,7 @@ export declare interface AssetSource {
|
|
|
171
171
|
export declare interface AssetSourceComponentProps {
|
|
172
172
|
action?: 'select' | 'upload'
|
|
173
173
|
assetSource: AssetSource
|
|
174
|
-
assetType?: 'file' | 'image'
|
|
174
|
+
assetType?: 'file' | 'image' | 'sanity.video'
|
|
175
175
|
accept: string
|
|
176
176
|
selectionType: 'single'
|
|
177
177
|
dialogHeaderTitle?: React.ReactNode
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sanity/types",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.0-next.0-9b570ece82-202507150640",
|
|
4
4
|
"description": "Type definitions for common Sanity data structures",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"sanity",
|
|
@@ -50,9 +50,9 @@
|
|
|
50
50
|
"react": "^18.3.1",
|
|
51
51
|
"rimraf": "^5.0.10",
|
|
52
52
|
"vitest": "^3.2.3",
|
|
53
|
-
"@repo/eslint-config": "
|
|
54
|
-
"@repo/test-config": "
|
|
55
|
-
"@repo/package.config": "
|
|
53
|
+
"@repo/eslint-config": "5.0.0-next.0",
|
|
54
|
+
"@repo/test-config": "5.0.0-next.0",
|
|
55
|
+
"@repo/package.config": "5.0.0-next.0"
|
|
56
56
|
},
|
|
57
57
|
"peerDependencies": {
|
|
58
58
|
"@types/react": "18 || 19"
|