@sanity/schema 6.23.0 → 6.24.0-next.111
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-DCInYn-A.js → Schema-Bw_zqLFx.js} +4 -4
- package/lib/{Schema-DCInYn-A.js.map → Schema-Bw_zqLFx.js.map} +1 -1
- package/lib/_internal.d.ts +11 -12
- package/lib/_internal.js +1 -1
- package/lib/_internal.js.map +1 -1
- package/lib/index.d.ts +1 -2
- package/lib/index.js +1 -1
- package/lib/typedefs-LNWlFyVi.d.ts +1 -2
- package/package.json +7 -7
|
@@ -6,13 +6,13 @@ import arrify from "arrify";
|
|
|
6
6
|
import capitalize from "lodash-es/capitalize.js";
|
|
7
7
|
import isPlainObject from "lodash-es/isPlainObject.js";
|
|
8
8
|
import toPath from "lodash-es/toPath.js";
|
|
9
|
-
var __defProp = Object.defineProperty, __exportAll = (all,
|
|
10
|
-
let target = {};
|
|
9
|
+
var __defProp = Object.defineProperty, __exportAll = (all, flags) => {
|
|
10
|
+
let target = Object.setPrototypeOf({}, null);
|
|
11
11
|
for (var name in all) __defProp(target, name, {
|
|
12
12
|
get: all[name],
|
|
13
13
|
enumerable: !0
|
|
14
14
|
});
|
|
15
|
-
return
|
|
15
|
+
return flags & 1 || __defProp(target, Symbol.toStringTag, { value: "Module" }), flags & 2 ? target : Object.preventExtensions(target);
|
|
16
16
|
};
|
|
17
17
|
const FIELD_REF = Symbol.for("@sanity/schema/field-ref"), ruleConstraintTypes = [
|
|
18
18
|
"Array",
|
|
@@ -1672,4 +1672,4 @@ var Schema = class Schema {
|
|
|
1672
1672
|
};
|
|
1673
1673
|
export { DEFAULT_DECORATORS as a, resolveSearchConfig as c, OWN_PROPS_NAME as d, Rule as f, DEFAULT_BLOCK_STYLES as i, resolveSearchConfigForBaseFieldPaths as l, Schema as n, DEFAULT_LIST_TYPES as o, DEFAULT_ANNOTATIONS as r, DEFAULT_MAX_FIELD_DEPTH as s, DeprecatedDefaultSchema as t, ALL_FIELDS_GROUP_NAME as u };
|
|
1674
1674
|
|
|
1675
|
-
//# sourceMappingURL=Schema-
|
|
1675
|
+
//# sourceMappingURL=Schema-Bw_zqLFx.js.map
|