@sanity/types 5.2.1-next.2 → 5.3.0-next.10
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 +4 -1
- package/package.json +5 -5
package/lib/index.d.ts
CHANGED
|
@@ -147,6 +147,7 @@ export declare type AssetMetadataType =
|
|
|
147
147
|
| 'palette'
|
|
148
148
|
| 'lqip'
|
|
149
149
|
| 'blurhash'
|
|
150
|
+
| 'thumbhash'
|
|
150
151
|
| 'none'
|
|
151
152
|
|
|
152
153
|
/** @public */
|
|
@@ -162,7 +163,7 @@ export declare interface AssetSource {
|
|
|
162
163
|
title?: string
|
|
163
164
|
i18nKey?: string
|
|
164
165
|
component: ComponentType<AssetSourceComponentProps>
|
|
165
|
-
icon?: ComponentType
|
|
166
|
+
icon?: ComponentType
|
|
166
167
|
/** @beta */
|
|
167
168
|
Uploader?: AssetSourceUploaderClass
|
|
168
169
|
}
|
|
@@ -1737,6 +1738,7 @@ export declare interface ImageMetadata {
|
|
|
1737
1738
|
palette?: ImagePalette
|
|
1738
1739
|
lqip?: string
|
|
1739
1740
|
blurHash?: string
|
|
1741
|
+
thumbHash?: string
|
|
1740
1742
|
hasAlpha: boolean
|
|
1741
1743
|
isOpaque: boolean
|
|
1742
1744
|
}
|
|
@@ -1744,6 +1746,7 @@ export declare interface ImageMetadata {
|
|
|
1744
1746
|
/** @public */
|
|
1745
1747
|
export declare type ImageMetadataType =
|
|
1746
1748
|
| 'blurhash'
|
|
1749
|
+
| 'thumbhash'
|
|
1747
1750
|
| 'lqip'
|
|
1748
1751
|
| 'palette'
|
|
1749
1752
|
| 'exif'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sanity/types",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.3.0-next.10+f9c1350392",
|
|
4
4
|
"description": "Type definitions for common Sanity data structures",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"sanity",
|
|
@@ -50,10 +50,10 @@
|
|
|
50
50
|
"react": "^19.2.3",
|
|
51
51
|
"rimraf": "^5.0.10",
|
|
52
52
|
"vitest": "^3.2.4",
|
|
53
|
-
"@repo/eslint-config": "5.
|
|
54
|
-
"@repo/package.config": "5.
|
|
55
|
-
"@repo/
|
|
56
|
-
"@repo/
|
|
53
|
+
"@repo/eslint-config": "5.3.0-next.10+f9c1350392",
|
|
54
|
+
"@repo/package.config": "5.3.0-next.10+f9c1350392",
|
|
55
|
+
"@repo/tsconfig": "5.3.0-next.10+f9c1350392",
|
|
56
|
+
"@repo/test-config": "5.3.0-next.10+f9c1350392"
|
|
57
57
|
},
|
|
58
58
|
"peerDependencies": {
|
|
59
59
|
"@types/react": "^19.2"
|