Socket
Socket
Sign inDemoInstall

@sanity/types

Package Overview
Dependencies
Maintainers
53
Versions
897
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sanity/types - npm Package Compare versions

Comparing version 3.44.1-canary.11 to 3.44.1-canary.21

6

package.json
{
"name": "@sanity/types",
"version": "3.44.1-canary.11+86df2c626f",
"version": "3.44.1-canary.21+755294d534",
"description": "Type definitions for common Sanity data structures",

@@ -52,3 +52,3 @@ "keywords": [

"dependencies": {
"@sanity/client": "^6.19.0",
"@sanity/client": "^6.19.1",
"@types/react": "^18.0.25"

@@ -61,3 +61,3 @@ },

},
"gitHead": "86df2c626f992ac77f667cbf8ca645a51f623887"
"gitHead": "755294d53490488afc37f19100b00172bf48a3f6"
}

@@ -14,9 +14,6 @@ import {type FieldReference} from '../../../validation'

list?: TitledListValue<V>[] | V[]
/**
* layout: 'tags' only works for string array
* layout: 'grid' only works for arrays with objects
*/
// inferring the array.of value for ArrayDefinition cause too much code-noise and was removed.
// Since we don't have the type-info needed here, we allow values
layout?: 'tags' | 'grid'
layout?: 'list' | 'tags' | 'grid'
/** @deprecated This option does not have any effect anymore */
direction?: 'horizontal' | 'vertical'

@@ -23,0 +20,0 @@ sortable?: boolean

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc