@sanity/types
Advanced tools
Comparing version 2.3.5-canary.17 to 2.3.5-canary.18
@@ -0,1 +1,2 @@ | ||
/// <reference types="react" /> | ||
import { Reference } from '../reference'; | ||
@@ -2,0 +3,0 @@ import { SanityDocument } from '../documents'; |
@@ -19,3 +19,3 @@ "use strict"; | ||
function isTitledListValue(item) { | ||
return typeof item === 'object' && item !== null && 'title' in item && 'value' in item && Object.keys(item).length === 2; | ||
return typeof item === 'object' && item !== null && 'title' in item && 'value' in item; | ||
} |
@@ -0,1 +1,2 @@ | ||
/// <reference types="react" /> | ||
import { ReferenceOptions } from '../reference'; | ||
@@ -2,0 +3,0 @@ import { AssetSource } from '../assets'; |
{ | ||
"name": "@sanity/types", | ||
"version": "2.3.5-canary.17+a910496797", | ||
"version": "2.3.5-canary.18+0417a48947", | ||
"description": "Type definitions for common Sanity data structures", | ||
@@ -37,3 +37,3 @@ "main": "lib/index.js", | ||
"homepage": "https://www.sanity.io/", | ||
"gitHead": "a91049679784fd6b7369c4c66640decd6b31296c" | ||
"gitHead": "0417a489473f06adda28ef188f233771e4992a96" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
417802
14273