@sanity/types 4.18.0 → 4.18.1-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.mts +14 -0
- package/lib/index.d.ts +14 -0
- package/package.json +5 -5
package/lib/index.d.mts
CHANGED
|
@@ -3843,6 +3843,13 @@ export declare interface ValidationError {
|
|
|
3843
3843
|
* the document.
|
|
3844
3844
|
*/
|
|
3845
3845
|
path?: Path
|
|
3846
|
+
/**
|
|
3847
|
+
* Extra metadata for the validation error. Currently used by the Media Library asset source to ignore
|
|
3848
|
+
* certain validation markers when validating asset source media library assets.
|
|
3849
|
+
*
|
|
3850
|
+
* @internal
|
|
3851
|
+
*/
|
|
3852
|
+
__internal_metadata?: unknown
|
|
3846
3853
|
/**
|
|
3847
3854
|
* Same as `path` but allows more than one value. If provided, the same
|
|
3848
3855
|
* message will create two markers from each path with the same message
|
|
@@ -3903,6 +3910,13 @@ export declare interface ValidationMarker {
|
|
|
3903
3910
|
* are not compatible with deep getters like lodash/get
|
|
3904
3911
|
*/
|
|
3905
3912
|
path: Path
|
|
3913
|
+
/**
|
|
3914
|
+
* Extra metadata for the validation marker. Currently used by the Media Library asset source to ignore
|
|
3915
|
+
* certain validation markers when validating asset source media library assets.
|
|
3916
|
+
*
|
|
3917
|
+
* @internal
|
|
3918
|
+
*/
|
|
3919
|
+
__internal_metadata?: unknown
|
|
3906
3920
|
}
|
|
3907
3921
|
|
|
3908
3922
|
/**
|
package/lib/index.d.ts
CHANGED
|
@@ -3843,6 +3843,13 @@ export declare interface ValidationError {
|
|
|
3843
3843
|
* the document.
|
|
3844
3844
|
*/
|
|
3845
3845
|
path?: Path
|
|
3846
|
+
/**
|
|
3847
|
+
* Extra metadata for the validation error. Currently used by the Media Library asset source to ignore
|
|
3848
|
+
* certain validation markers when validating asset source media library assets.
|
|
3849
|
+
*
|
|
3850
|
+
* @internal
|
|
3851
|
+
*/
|
|
3852
|
+
__internal_metadata?: unknown
|
|
3846
3853
|
/**
|
|
3847
3854
|
* Same as `path` but allows more than one value. If provided, the same
|
|
3848
3855
|
* message will create two markers from each path with the same message
|
|
@@ -3903,6 +3910,13 @@ export declare interface ValidationMarker {
|
|
|
3903
3910
|
* are not compatible with deep getters like lodash/get
|
|
3904
3911
|
*/
|
|
3905
3912
|
path: Path
|
|
3913
|
+
/**
|
|
3914
|
+
* Extra metadata for the validation marker. Currently used by the Media Library asset source to ignore
|
|
3915
|
+
* certain validation markers when validating asset source media library assets.
|
|
3916
|
+
*
|
|
3917
|
+
* @internal
|
|
3918
|
+
*/
|
|
3919
|
+
__internal_metadata?: unknown
|
|
3906
3920
|
}
|
|
3907
3921
|
|
|
3908
3922
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sanity/types",
|
|
3
|
-
"version": "4.18.
|
|
3
|
+
"version": "4.18.1-next.10+67f4ffb31f",
|
|
4
4
|
"description": "Type definitions for common Sanity data structures",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"sanity",
|
|
@@ -52,10 +52,10 @@
|
|
|
52
52
|
"react": "^19.1.1",
|
|
53
53
|
"rimraf": "^5.0.10",
|
|
54
54
|
"vitest": "^3.2.4",
|
|
55
|
-
"@repo/eslint-config": "4.18.
|
|
56
|
-
"@repo/
|
|
57
|
-
"@repo/
|
|
58
|
-
"@repo/tsconfig": "4.18.
|
|
55
|
+
"@repo/eslint-config": "4.18.1-next.10+67f4ffb31f",
|
|
56
|
+
"@repo/test-config": "4.18.1-next.10+67f4ffb31f",
|
|
57
|
+
"@repo/package.config": "4.18.1-next.10+67f4ffb31f",
|
|
58
|
+
"@repo/tsconfig": "4.18.1-next.10+67f4ffb31f"
|
|
59
59
|
},
|
|
60
60
|
"peerDependencies": {
|
|
61
61
|
"@types/react": "18 || 19"
|