@sanity/types
Advanced tools
Comparing version 3.44.1-canary.11 to 3.44.1-canary.21
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
403149
7386
Updated@sanity/client@^6.19.1