@sanity/schema
Advanced tools
Comparing version 0.107.2 to 0.107.12
@@ -39,2 +39,7 @@ 'use strict'; | ||
var DEFAULT_OPTIONS = {}; | ||
var DEFAULT_PREVIEW = { | ||
select: { | ||
imageUrl: 'asset.url' | ||
} | ||
}; | ||
@@ -68,3 +73,3 @@ var ImageType = { | ||
(0, _utils.lazyGetter)(parsed, 'preview', (0, _createPreviewGetter2.default)(subTypeDef, parsed)); | ||
(0, _utils.lazyGetter)(parsed, 'preview', (0, _createPreviewGetter2.default)(Object.assign({}, { preview: DEFAULT_PREVIEW }, subTypeDef), parsed)); | ||
@@ -71,0 +76,0 @@ return subtype(parsed); |
{ | ||
"name": "@sanity/schema", | ||
"version": "0.107.2", | ||
"version": "0.107.12", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
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
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
228811
5437