@sanity/media-library-types 1.1.0 → 1.2.0

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.cts CHANGED
@@ -1541,6 +1541,7 @@ export declare type PluginFilter = {
1541
1541
  export declare type PluginPayload = {
1542
1542
  auth: 'token' | 'cookie'
1543
1543
  capabilities?: PluginCapabilities
1544
+ disableNavigation?: boolean
1544
1545
  pluginFilters?: PluginFilter[]
1545
1546
  scheme: 'light' | 'dark'
1546
1547
  selectAssetTypes: PluginSelectAssetType[]
package/lib/index.d.ts CHANGED
@@ -1541,6 +1541,7 @@ export declare type PluginFilter = {
1541
1541
  export declare type PluginPayload = {
1542
1542
  auth: 'token' | 'cookie'
1543
1543
  capabilities?: PluginCapabilities
1544
+ disableNavigation?: boolean
1544
1545
  pluginFilters?: PluginFilter[]
1545
1546
  scheme: 'light' | 'dark'
1546
1547
  selectAssetTypes: PluginSelectAssetType[]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sanity/media-library-types",
3
- "version": "1.1.0",
3
+ "version": "1.2.0",
4
4
  "description": "Type definitions for common Sanity Media Library data structures",
5
5
  "keywords": [
6
6
  "sanity",
package/src/plugin.ts CHANGED
@@ -28,6 +28,7 @@ export type PluginSelectAssetType = 'file' | 'image' | 'video'
28
28
  export type PluginPayload = {
29
29
  auth: 'token' | 'cookie'
30
30
  capabilities?: PluginCapabilities
31
+ disableNavigation?: boolean
31
32
  pluginFilters?: PluginFilter[]
32
33
  scheme: 'light' | 'dark'
33
34
  selectAssetTypes: PluginSelectAssetType[]