@sanity/schema
Advanced tools
Comparing version 0.112.0-next.9525798e to 0.112.0-next.95d3c914
@@ -28,2 +28,6 @@ 'use strict'; | ||
var _guessOrderingConfig = require('../ordering/guessOrderingConfig'); | ||
var _guessOrderingConfig2 = _interopRequireDefault(_guessOrderingConfig); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
@@ -33,3 +37,3 @@ | ||
var OVERRIDABLE_FIELDS = ['jsonType', 'type', 'name', 'title', 'description', 'options', 'inputComponent']; | ||
var OVERRIDABLE_FIELDS = ['jsonType', 'orderings', 'type', 'name', 'title', 'readOnly', 'hidden', 'description', 'options', 'inputComponent']; | ||
@@ -52,2 +56,3 @@ var OBJECT_CORE = { | ||
options: options, | ||
orderings: subTypeDef.orderings || (0, _guessOrderingConfig2.default)(subTypeDef), | ||
fields: subTypeDef.fields.map(function (fieldDef) { | ||
@@ -54,0 +59,0 @@ var name = fieldDef.name, |
{ | ||
"name": "@sanity/schema", | ||
"version": "0.112.0-next.9525798e", | ||
"version": "0.112.0-next.95d3c914", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
234565
52
5409
0