@sanity/schema 5.28.1-next.5 → 5.29.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/_internal.d.ts +4 -5
- package/package.json +7 -7
package/lib/_internal.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
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";
|
|
4
3
|
import { SanityDocumentLike, Schema, SchemaType, SchemaTypeDefinition, SchemaValidationProblem, SchemaValidationProblemGroup } from "@sanity/types";
|
|
5
4
|
import { ComponentType, ReactNode } from "react";
|
|
6
5
|
import { SchemaType as SchemaType$1 } from "groq-js";
|
|
@@ -250,7 +249,7 @@ declare const builtinTypes: ({
|
|
|
250
249
|
title: string;
|
|
251
250
|
readOnly: boolean;
|
|
252
251
|
fieldset: string;
|
|
253
|
-
validation: (Rule:
|
|
252
|
+
validation: (Rule: import("@sanity/types").Rule) => import("@sanity/types").Rule;
|
|
254
253
|
hidden?: undefined;
|
|
255
254
|
} | {
|
|
256
255
|
name: string;
|
|
@@ -329,7 +328,7 @@ declare const builtinTypes: ({
|
|
|
329
328
|
title: string;
|
|
330
329
|
readOnly: boolean;
|
|
331
330
|
fieldset: string;
|
|
332
|
-
validation: (Rule:
|
|
331
|
+
validation: (Rule: import("@sanity/types").Rule) => import("@sanity/types").Rule;
|
|
333
332
|
hidden?: undefined;
|
|
334
333
|
} | {
|
|
335
334
|
name: string;
|
|
@@ -356,7 +355,7 @@ declare const builtinTypes: ({
|
|
|
356
355
|
size: string;
|
|
357
356
|
media: string;
|
|
358
357
|
};
|
|
359
|
-
prepare(doc: Partial<
|
|
358
|
+
prepare(doc: Partial<import("@sanity/types").SanityDocument>): {
|
|
360
359
|
title: {};
|
|
361
360
|
media: {
|
|
362
361
|
asset: {
|
|
@@ -382,7 +381,7 @@ declare const builtinTypes: ({
|
|
|
382
381
|
fields: {
|
|
383
382
|
name: string;
|
|
384
383
|
type: string;
|
|
385
|
-
validation: (Rule:
|
|
384
|
+
validation: (Rule: import("@sanity/types").Rule) => import("@sanity/types").Rule;
|
|
386
385
|
}[];
|
|
387
386
|
} | {
|
|
388
387
|
name: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sanity/schema",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.29.0-next.10",
|
|
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.
|
|
52
|
+
"@sanity/types": "5.29.0-next.10+00aa753879"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@sanity/icons": "^3.7.4",
|
|
56
|
-
"@sanity/pkg-utils": "^10.
|
|
56
|
+
"@sanity/pkg-utils": "^10.5.1",
|
|
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.1.4",
|
|
64
|
-
"@repo/eslint-config": "5.
|
|
65
|
-
"@repo/package.config": "5.
|
|
66
|
-
"@repo/
|
|
67
|
-
"@repo/
|
|
64
|
+
"@repo/eslint-config": "5.29.0-next.10+00aa753879",
|
|
65
|
+
"@repo/package.config": "5.29.0-next.10+00aa753879",
|
|
66
|
+
"@repo/tsconfig": "5.29.0-next.10+00aa753879",
|
|
67
|
+
"@repo/test-config": "5.29.0-next.10+00aa753879"
|
|
68
68
|
},
|
|
69
69
|
"browserslist": [
|
|
70
70
|
"node >=20.19",
|