sanity 5.0.2-next.2 → 5.1.0-next.10
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/package.js +1 -1
- package/lib/_chunks-es/pane.js +7 -7
- package/lib/_chunks-es/pane.js.map +1 -1
- package/lib/_chunks-es/version.js +1 -1
- package/lib/index.d.ts +6 -0
- package/lib/index.js +567 -557
- package/lib/index.js.map +1 -1
- package/package.json +14 -14
|
@@ -7,7 +7,7 @@ try {
|
|
|
7
7
|
try {
|
|
8
8
|
buildVersion = buildVersion || // This is replaced by `@sanity/pkg-utils` at build time
|
|
9
9
|
// and must always be references by its full static name, e.g. no optional chaining, no `if (process && process.env)` etc.
|
|
10
|
-
"5.0
|
|
10
|
+
"5.1.0-next.10+e256c0554f";
|
|
11
11
|
} catch {
|
|
12
12
|
}
|
|
13
13
|
const SANITY_VERSION = buildVersion || `${version}-dev`;
|
package/lib/index.d.ts
CHANGED
|
@@ -8159,6 +8159,12 @@ export declare function isTextSelectionComment(comment: CommentDocument): boolea
|
|
|
8159
8159
|
/** @internal */
|
|
8160
8160
|
export declare function isTruthy<T>(value: T | false): value is T
|
|
8161
8161
|
|
|
8162
|
+
/**
|
|
8163
|
+
* Test if the given schema type or any of its ancestors matches the given type name.
|
|
8164
|
+
* @internal
|
|
8165
|
+
*/
|
|
8166
|
+
export declare function _isType(schemaType: SchemaType, typeName: string): boolean
|
|
8167
|
+
|
|
8162
8168
|
/** @internal */
|
|
8163
8169
|
export declare function isUnchangedDiff(diff: Diff): diff is Diff & {
|
|
8164
8170
|
action: 'unchanged'
|