@sanity/schema 5.21.0-next.37 → 5.21.0-next.38
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/_internal.d.ts +5 -5
- package/package.json +7 -7
package/lib/_internal.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as SchemaValidationResult, i as ProblemPathTypeSegment, l as Schema$1, n as ProblemPathPropertySegment, o as TypeWithProblems, r as ProblemPathSegment, s as _FIXME_, t as ProblemPath } from "./_chunks-dts/typedefs.js";
|
|
2
2
|
import { SetSynchronization, SynchronizationRequest, SynchronizationResult } from "@sanity/descriptors";
|
|
3
|
-
import * as _sanity_types0 from "@sanity/types";
|
|
3
|
+
import * as _$_sanity_types0 from "@sanity/types";
|
|
4
4
|
import { SanityDocumentLike, Schema, SchemaType, SchemaTypeDefinition, SchemaValidationProblem, SchemaValidationProblemGroup } from "@sanity/types";
|
|
5
5
|
import { ComponentType, ReactNode } from "react";
|
|
6
6
|
import { SchemaType as SchemaType$1 } from "groq-js";
|
|
@@ -250,7 +250,7 @@ declare const builtinTypes: ({
|
|
|
250
250
|
title: string;
|
|
251
251
|
readOnly: boolean;
|
|
252
252
|
fieldset: string;
|
|
253
|
-
validation: (Rule: _sanity_types0.Rule) => _sanity_types0.Rule;
|
|
253
|
+
validation: (Rule: _$_sanity_types0.Rule) => _$_sanity_types0.Rule;
|
|
254
254
|
hidden?: undefined;
|
|
255
255
|
} | {
|
|
256
256
|
name: string;
|
|
@@ -329,7 +329,7 @@ declare const builtinTypes: ({
|
|
|
329
329
|
title: string;
|
|
330
330
|
readOnly: boolean;
|
|
331
331
|
fieldset: string;
|
|
332
|
-
validation: (Rule: _sanity_types0.Rule) => _sanity_types0.Rule;
|
|
332
|
+
validation: (Rule: _$_sanity_types0.Rule) => _$_sanity_types0.Rule;
|
|
333
333
|
hidden?: undefined;
|
|
334
334
|
} | {
|
|
335
335
|
validation?: undefined;
|
|
@@ -356,7 +356,7 @@ declare const builtinTypes: ({
|
|
|
356
356
|
size: string;
|
|
357
357
|
media: string;
|
|
358
358
|
};
|
|
359
|
-
prepare(doc: Partial<_sanity_types0.SanityDocument>): {
|
|
359
|
+
prepare(doc: Partial<_$_sanity_types0.SanityDocument>): {
|
|
360
360
|
title: {};
|
|
361
361
|
media: {
|
|
362
362
|
asset: {
|
|
@@ -382,7 +382,7 @@ declare const builtinTypes: ({
|
|
|
382
382
|
fields: {
|
|
383
383
|
name: string;
|
|
384
384
|
type: string;
|
|
385
|
-
validation: (Rule: _sanity_types0.Rule) => _sanity_types0.Rule;
|
|
385
|
+
validation: (Rule: _$_sanity_types0.Rule) => _$_sanity_types0.Rule;
|
|
386
386
|
}[];
|
|
387
387
|
} | {
|
|
388
388
|
name: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sanity/schema",
|
|
3
|
-
"version": "5.21.0-next.
|
|
3
|
+
"version": "5.21.0-next.38+7b9c0a7f52",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cms",
|
|
@@ -49,11 +49,11 @@
|
|
|
49
49
|
"leven": "^3.1.0",
|
|
50
50
|
"lodash-es": "^4.18.1",
|
|
51
51
|
"object-inspect": "^1.13.4",
|
|
52
|
-
"@sanity/types": "5.21.0-next.
|
|
52
|
+
"@sanity/types": "5.21.0-next.38+7b9c0a7f52"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@sanity/icons": "^3.7.4",
|
|
56
|
-
"@sanity/pkg-utils": "^10.4.
|
|
56
|
+
"@sanity/pkg-utils": "^10.4.14",
|
|
57
57
|
"@types/lodash-es": "^4.17.12",
|
|
58
58
|
"@types/object-inspect": "^1.13.0",
|
|
59
59
|
"@types/react": "^19.2.11",
|
|
@@ -61,10 +61,10 @@
|
|
|
61
61
|
"eslint": "^9.39.2",
|
|
62
62
|
"rimraf": "^6.1.3",
|
|
63
63
|
"vitest": "^4.0.18",
|
|
64
|
-
"@repo/eslint-config": "5.21.0-next.
|
|
65
|
-
"@repo/package.config": "5.21.0-next.
|
|
66
|
-
"@repo/
|
|
67
|
-
"@repo/
|
|
64
|
+
"@repo/eslint-config": "5.21.0-next.38+7b9c0a7f52",
|
|
65
|
+
"@repo/package.config": "5.21.0-next.38+7b9c0a7f52",
|
|
66
|
+
"@repo/test-config": "5.21.0-next.38+7b9c0a7f52",
|
|
67
|
+
"@repo/tsconfig": "5.21.0-next.38+7b9c0a7f52"
|
|
68
68
|
},
|
|
69
69
|
"browserslist": [
|
|
70
70
|
"node >=20.19",
|