@sanity/schema 5.0.1-next.29 → 5.0.1-next.30
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/_chunks-es/Rule.js +1 -13
- package/lib/_chunks-es/Rule.js.map +1 -1
- package/lib/_internal.js +1 -10
- package/lib/_internal.js.map +1 -1
- package/package.json +7 -7
package/lib/_internal.js
CHANGED
|
@@ -1,17 +1,8 @@
|
|
|
1
1
|
import { SetBuilder, processSetSynchronization } from "@sanity/descriptors";
|
|
2
|
-
import isEqual from "lodash
|
|
3
|
-
import isObject from "lodash/isObject.js";
|
|
2
|
+
import { isObject, isEqual, difference, flatten, get, uniq, partition, omit, isPlainObject, cloneDeep } from "lodash-es";
|
|
4
3
|
import { OWN_PROPS_NAME, Rule, Schema } from "./_chunks-es/Rule.js";
|
|
5
4
|
import { ALL_FIELDS_GROUP_NAME, DEFAULT_MAX_FIELD_DEPTH, resolveSearchConfig, resolveSearchConfigForBaseFieldPaths } from "./_chunks-es/Rule.js";
|
|
6
|
-
import difference from "lodash/difference.js";
|
|
7
|
-
import cloneDeep from "lodash/cloneDeep.js";
|
|
8
|
-
import flatten from "lodash/flatten.js";
|
|
9
|
-
import get from "lodash/get.js";
|
|
10
|
-
import uniq from "lodash/uniq.js";
|
|
11
5
|
import humanizeList from "humanize-list";
|
|
12
|
-
import partition from "lodash/partition.js";
|
|
13
|
-
import isPlainObject from "lodash/isPlainObject.js";
|
|
14
|
-
import omit from "lodash/omit.js";
|
|
15
6
|
import leven from "leven";
|
|
16
7
|
import inspect from "object-inspect";
|
|
17
8
|
import { createReferenceTypeNode } from "groq-js";
|