@sanity/schema 5.21.0-next.37 → 5.21.0-next.39
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 +15 -15
- 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";
|
|
@@ -233,24 +233,24 @@ declare const builtinTypes: ({
|
|
|
233
233
|
type: string;
|
|
234
234
|
title: string;
|
|
235
235
|
readOnly: boolean;
|
|
236
|
+
fieldset?: undefined;
|
|
236
237
|
validation?: undefined;
|
|
237
238
|
hidden?: undefined;
|
|
238
|
-
fieldset?: undefined;
|
|
239
239
|
} | {
|
|
240
240
|
name: string;
|
|
241
241
|
type: string;
|
|
242
242
|
title: string;
|
|
243
|
-
validation?: undefined;
|
|
244
|
-
hidden?: undefined;
|
|
245
243
|
readOnly?: undefined;
|
|
246
244
|
fieldset?: undefined;
|
|
245
|
+
validation?: undefined;
|
|
246
|
+
hidden?: undefined;
|
|
247
247
|
} | {
|
|
248
248
|
name: string;
|
|
249
249
|
type: string;
|
|
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;
|
|
@@ -258,8 +258,8 @@ declare const builtinTypes: ({
|
|
|
258
258
|
readOnly: boolean;
|
|
259
259
|
hidden: boolean;
|
|
260
260
|
fieldset: string;
|
|
261
|
-
validation?: undefined;
|
|
262
261
|
title?: undefined;
|
|
262
|
+
validation?: undefined;
|
|
263
263
|
} | {
|
|
264
264
|
name: string;
|
|
265
265
|
type: string;
|
|
@@ -312,41 +312,41 @@ declare const builtinTypes: ({
|
|
|
312
312
|
type: string;
|
|
313
313
|
title: string;
|
|
314
314
|
readOnly: boolean;
|
|
315
|
+
fieldset?: undefined;
|
|
315
316
|
validation?: undefined;
|
|
316
317
|
hidden?: undefined;
|
|
317
|
-
fieldset?: undefined;
|
|
318
318
|
} | {
|
|
319
319
|
name: string;
|
|
320
320
|
type: string;
|
|
321
321
|
title: string;
|
|
322
|
-
validation?: undefined;
|
|
323
|
-
hidden?: undefined;
|
|
324
322
|
readOnly?: undefined;
|
|
325
323
|
fieldset?: undefined;
|
|
324
|
+
validation?: undefined;
|
|
325
|
+
hidden?: undefined;
|
|
326
326
|
} | {
|
|
327
327
|
name: string;
|
|
328
328
|
type: string;
|
|
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
|
-
validation?: undefined;
|
|
336
335
|
name: string;
|
|
337
336
|
type: string;
|
|
338
337
|
readOnly: boolean;
|
|
339
338
|
hidden: boolean;
|
|
340
339
|
fieldset: string;
|
|
341
340
|
title?: undefined;
|
|
342
|
-
} | {
|
|
343
341
|
validation?: undefined;
|
|
344
|
-
|
|
342
|
+
} | {
|
|
345
343
|
name: string;
|
|
346
344
|
type: string;
|
|
347
345
|
title: string;
|
|
348
346
|
readOnly: boolean;
|
|
349
347
|
fieldset: string;
|
|
348
|
+
validation?: undefined;
|
|
349
|
+
hidden?: undefined;
|
|
350
350
|
})[];
|
|
351
351
|
preview: {
|
|
352
352
|
select: {
|
|
@@ -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.39+06557fe740",
|
|
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.39+06557fe740"
|
|
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.39+06557fe740",
|
|
65
|
+
"@repo/package.config": "5.21.0-next.39+06557fe740",
|
|
66
|
+
"@repo/test-config": "5.21.0-next.39+06557fe740",
|
|
67
|
+
"@repo/tsconfig": "5.21.0-next.39+06557fe740"
|
|
68
68
|
},
|
|
69
69
|
"browserslist": [
|
|
70
70
|
"node >=20.19",
|