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

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
@@ -5,6 +5,7 @@ import {ComponentType} from 'react'
5
5
  import {ElementType} from 'react'
6
6
  import {ReactNode} from 'react'
7
7
  import {SanityClient} from '@sanity/client'
8
+ import {StackablePerspective} from '@sanity/client'
8
9
 
9
10
  /**
10
11
  * Types of array actions that can be performed
@@ -2765,6 +2766,7 @@ export declare interface ReferenceFilterResolverContext {
2765
2766
  document: SanityDocument
2766
2767
  parent?: Record<string, unknown> | Record<string, unknown>[]
2767
2768
  parentPath: Path
2769
+ perspective: StackablePerspective[]
2768
2770
  getClient: (options: {apiVersion: string}) => SanityClient
2769
2771
  }
2770
2772
 
package/lib/index.d.ts CHANGED
@@ -5,6 +5,7 @@ import {ComponentType} from 'react'
5
5
  import {ElementType} from 'react'
6
6
  import {ReactNode} from 'react'
7
7
  import {SanityClient} from '@sanity/client'
8
+ import {StackablePerspective} from '@sanity/client'
8
9
 
9
10
  /**
10
11
  * Types of array actions that can be performed
@@ -2765,6 +2766,7 @@ export declare interface ReferenceFilterResolverContext {
2765
2766
  document: SanityDocument
2766
2767
  parent?: Record<string, unknown> | Record<string, unknown>[]
2767
2768
  parentPath: Path
2769
+ perspective: StackablePerspective[]
2768
2770
  getClient: (options: {apiVersion: string}) => SanityClient
2769
2771
  }
2770
2772
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sanity/types",
3
- "version": "4.16.0-next.25+1ec654ea74",
3
+ "version": "4.16.0-next.27+7270dfebad",
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.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"
55
+ "@repo/package.config": "4.16.0-next.27+7270dfebad",
56
+ "@repo/tsconfig": "4.16.0-next.27+7270dfebad",
57
+ "@repo/eslint-config": "4.16.0-next.27+7270dfebad",
58
+ "@repo/test-config": "4.16.0-next.27+7270dfebad"
59
59
  },
60
60
  "peerDependencies": {
61
61
  "@types/react": "18 || 19"