@sanity/schema 6.11.0-next.49 → 6.11.0-next.62
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/{Schema-BckCkziq.js → Schema-ClAx8eCc.js} +2 -2
- package/lib/{Schema-BckCkziq.js.map → Schema-ClAx8eCc.js.map} +1 -1
- package/lib/_internal.d.ts +6 -6
- package/lib/_internal.js +5 -3
- package/lib/_internal.js.map +1 -1
- package/lib/index.d.ts +11 -1
- package/lib/index.js +2 -2
- package/lib/index.js.map +1 -1
- package/package.json +4 -4
package/lib/_internal.d.ts
CHANGED
|
@@ -396,8 +396,8 @@ declare const builtinTypes: ({
|
|
|
396
396
|
title: string;
|
|
397
397
|
validation?: undefined;
|
|
398
398
|
hidden?: undefined;
|
|
399
|
-
readOnly?: undefined;
|
|
400
399
|
fieldset?: undefined;
|
|
400
|
+
readOnly?: undefined;
|
|
401
401
|
} | {
|
|
402
402
|
name: string;
|
|
403
403
|
type: string;
|
|
@@ -475,8 +475,8 @@ declare const builtinTypes: ({
|
|
|
475
475
|
title: string;
|
|
476
476
|
validation?: undefined;
|
|
477
477
|
hidden?: undefined;
|
|
478
|
-
readOnly?: undefined;
|
|
479
478
|
fieldset?: undefined;
|
|
479
|
+
readOnly?: undefined;
|
|
480
480
|
} | {
|
|
481
481
|
name: string;
|
|
482
482
|
type: string;
|
|
@@ -550,17 +550,17 @@ declare const builtinTypes: ({
|
|
|
550
550
|
};
|
|
551
551
|
}[];
|
|
552
552
|
fields: ({
|
|
553
|
-
title?: undefined;
|
|
554
|
-
readOnly?: undefined;
|
|
555
|
-
fieldset?: undefined;
|
|
556
553
|
name: string;
|
|
557
554
|
type: string;
|
|
558
|
-
|
|
555
|
+
fieldset?: undefined;
|
|
556
|
+
title?: undefined;
|
|
559
557
|
readOnly?: undefined;
|
|
558
|
+
} | {
|
|
560
559
|
name: string;
|
|
561
560
|
title: string;
|
|
562
561
|
type: string;
|
|
563
562
|
fieldset: string;
|
|
563
|
+
readOnly?: undefined;
|
|
564
564
|
} | {
|
|
565
565
|
fieldset?: undefined;
|
|
566
566
|
name: string;
|
package/lib/_internal.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { c as resolveSearchConfig, d as OWN_PROPS_NAME, f as Rule, l as resolveSearchConfigForBaseFieldPaths, n as Schema$1, s as DEFAULT_MAX_FIELD_DEPTH, u as ALL_FIELDS_GROUP_NAME } from "./Schema-ClAx8eCc.js";
|
|
2
2
|
import { SetBuilder, processSetSynchronization } from "@sanity/descriptors";
|
|
3
3
|
import { isSpanSchemaType } from "@sanity/types";
|
|
4
4
|
import isEqual from "lodash-es/isEqual.js";
|
|
@@ -1719,7 +1719,8 @@ const getTypeOf = (thing) => Array.isArray(thing) ? "array" : typeof thing, quot
|
|
|
1719
1719
|
"title",
|
|
1720
1720
|
"value",
|
|
1721
1721
|
"icon",
|
|
1722
|
-
"component"
|
|
1722
|
+
"component",
|
|
1723
|
+
"i18nTitleKey"
|
|
1723
1724
|
], allowedDecoratorKeys = [
|
|
1724
1725
|
"blockEditor",
|
|
1725
1726
|
"title",
|
|
@@ -1731,7 +1732,8 @@ const getTypeOf = (thing) => Array.isArray(thing) ? "array" : typeof thing, quot
|
|
|
1731
1732
|
"title",
|
|
1732
1733
|
"value",
|
|
1733
1734
|
"icon",
|
|
1734
|
-
"component"
|
|
1735
|
+
"component",
|
|
1736
|
+
"i18nTitleKey"
|
|
1735
1737
|
], supportedBuiltInObjectTypes = [
|
|
1736
1738
|
"file",
|
|
1737
1739
|
"image",
|