@sanity/types 5.8.0-next.35 → 5.8.0-next.36

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.
Files changed (2) hide show
  1. package/lib/index.d.ts +5 -0
  2. package/package.json +5 -5
package/lib/index.d.ts CHANGED
@@ -1544,6 +1544,11 @@ export declare interface FileOptions extends ObjectOptions {
1544
1544
  accept?: string
1545
1545
  sources?: AssetSource[]
1546
1546
  mediaLibrary?: MediaLibraryOptions
1547
+ /**
1548
+ * When set to `true`, hides the upload UI, only allowing selection of existing assets from the media library.
1549
+ * Useful for centralized asset management workflows where ad-hoc uploads should be prevented.
1550
+ */
1551
+ disableNew?: boolean
1547
1552
  }
1548
1553
 
1549
1554
  /** @public */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sanity/types",
3
- "version": "5.8.0-next.35+d8dfb8ac7e",
3
+ "version": "5.8.0-next.36+0e650d31b5",
4
4
  "description": "Type definitions for common Sanity data structures",
5
5
  "keywords": [
6
6
  "sanity",
@@ -47,10 +47,10 @@
47
47
  "react": "^19.2.3",
48
48
  "rimraf": "^5.0.10",
49
49
  "vitest": "^4.0.18",
50
- "@repo/eslint-config": "5.8.0-next.35+d8dfb8ac7e",
51
- "@repo/package.config": "5.8.0-next.35+d8dfb8ac7e",
52
- "@repo/test-config": "5.8.0-next.35+d8dfb8ac7e",
53
- "@repo/tsconfig": "5.8.0-next.35+d8dfb8ac7e"
50
+ "@repo/eslint-config": "5.8.0-next.36+0e650d31b5",
51
+ "@repo/package.config": "5.8.0-next.36+0e650d31b5",
52
+ "@repo/test-config": "5.8.0-next.36+0e650d31b5",
53
+ "@repo/tsconfig": "5.8.0-next.36+0e650d31b5"
54
54
  },
55
55
  "peerDependencies": {
56
56
  "@types/react": "^19.2"