@sanity/types 4.16.0-next.23 → 4.16.0-next.25

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 CHANGED
@@ -2781,7 +2781,7 @@ export declare type ReferenceFilterSearchOptions = {
2781
2781
  tag?: string
2782
2782
  maxFieldDepth?: number
2783
2783
  strategy?: SearchStrategy
2784
- perspective?: ClientPerspective
2784
+ perspective?: Exclude<ClientPerspective, 'raw' | 'previewDrafts'>
2785
2785
  }
2786
2786
 
2787
2787
  /**
package/lib/index.d.ts CHANGED
@@ -2781,7 +2781,7 @@ export declare type ReferenceFilterSearchOptions = {
2781
2781
  tag?: string
2782
2782
  maxFieldDepth?: number
2783
2783
  strategy?: SearchStrategy
2784
- perspective?: ClientPerspective
2784
+ perspective?: Exclude<ClientPerspective, 'raw' | 'previewDrafts'>
2785
2785
  }
2786
2786
 
2787
2787
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sanity/types",
3
- "version": "4.16.0-next.23+89d6df3d55",
3
+ "version": "4.16.0-next.25+1ec654ea74",
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.16.0-next.23+89d6df3d55",
56
- "@repo/test-config": "4.16.0-next.23+89d6df3d55",
57
- "@repo/package.config": "4.16.0-next.23+89d6df3d55",
58
- "@repo/tsconfig": "4.16.0-next.23+89d6df3d55"
55
+ "@repo/eslint-config": "4.16.0-next.25+1ec654ea74",
56
+ "@repo/package.config": "4.16.0-next.25+1ec654ea74",
57
+ "@repo/test-config": "4.16.0-next.25+1ec654ea74",
58
+ "@repo/tsconfig": "4.16.0-next.25+1ec654ea74"
59
59
  },
60
60
  "peerDependencies": {
61
61
  "@types/react": "18 || 19"