@sanity/schema 6.24.0-next.18 → 6.24.0-next.78
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 -16
- package/lib/index.d.ts +1 -2
- package/lib/typedefs-LNWlFyVi.d.ts +1 -2
- package/package.json +3 -3
package/lib/_internal.d.ts
CHANGED
|
@@ -419,17 +419,17 @@ export declare const builtinTypes: ({
|
|
|
419
419
|
type: string;
|
|
420
420
|
title: string;
|
|
421
421
|
readOnly: boolean;
|
|
422
|
+
fieldset?: undefined;
|
|
422
423
|
validation?: undefined;
|
|
423
424
|
hidden?: undefined;
|
|
424
|
-
fieldset?: undefined;
|
|
425
425
|
} | {
|
|
426
426
|
name: string;
|
|
427
427
|
type: string;
|
|
428
428
|
title: string;
|
|
429
|
+
fieldset?: undefined;
|
|
430
|
+
readOnly?: undefined;
|
|
429
431
|
validation?: undefined;
|
|
430
432
|
hidden?: undefined;
|
|
431
|
-
readOnly?: undefined;
|
|
432
|
-
fieldset?: undefined;
|
|
433
433
|
} | {
|
|
434
434
|
name: string;
|
|
435
435
|
type: string;
|
|
@@ -444,8 +444,8 @@ export declare const builtinTypes: ({
|
|
|
444
444
|
readOnly: boolean;
|
|
445
445
|
hidden: boolean;
|
|
446
446
|
fieldset: string;
|
|
447
|
-
validation?: undefined;
|
|
448
447
|
title?: undefined;
|
|
448
|
+
validation?: undefined;
|
|
449
449
|
} | {
|
|
450
450
|
name: string;
|
|
451
451
|
type: string;
|
|
@@ -498,17 +498,17 @@ export declare const builtinTypes: ({
|
|
|
498
498
|
type: string;
|
|
499
499
|
title: string;
|
|
500
500
|
readOnly: boolean;
|
|
501
|
+
fieldset?: undefined;
|
|
501
502
|
validation?: undefined;
|
|
502
503
|
hidden?: undefined;
|
|
503
|
-
fieldset?: undefined;
|
|
504
504
|
} | {
|
|
505
505
|
name: string;
|
|
506
506
|
type: string;
|
|
507
507
|
title: string;
|
|
508
|
+
fieldset?: undefined;
|
|
509
|
+
readOnly?: undefined;
|
|
508
510
|
validation?: undefined;
|
|
509
511
|
hidden?: undefined;
|
|
510
|
-
readOnly?: undefined;
|
|
511
|
-
fieldset?: undefined;
|
|
512
512
|
} | {
|
|
513
513
|
name: string;
|
|
514
514
|
type: string;
|
|
@@ -518,21 +518,21 @@ export declare const builtinTypes: ({
|
|
|
518
518
|
validation: (Rule: import("@sanity/types").Rule) => import("@sanity/types").Rule;
|
|
519
519
|
hidden?: undefined;
|
|
520
520
|
} | {
|
|
521
|
-
validation?: undefined;
|
|
522
521
|
name: string;
|
|
523
522
|
type: string;
|
|
524
523
|
readOnly: boolean;
|
|
525
524
|
hidden: boolean;
|
|
526
525
|
fieldset: string;
|
|
527
526
|
title?: undefined;
|
|
528
|
-
} | {
|
|
529
527
|
validation?: undefined;
|
|
530
|
-
|
|
528
|
+
} | {
|
|
531
529
|
name: string;
|
|
532
530
|
type: string;
|
|
533
531
|
title: string;
|
|
534
532
|
readOnly: boolean;
|
|
535
533
|
fieldset: string;
|
|
534
|
+
validation?: undefined;
|
|
535
|
+
hidden?: undefined;
|
|
536
536
|
})[];
|
|
537
537
|
preview: {
|
|
538
538
|
select: {
|
|
@@ -582,17 +582,17 @@ export declare const builtinTypes: ({
|
|
|
582
582
|
};
|
|
583
583
|
}[];
|
|
584
584
|
fields: ({
|
|
585
|
-
title?: undefined;
|
|
586
|
-
readOnly?: undefined;
|
|
587
|
-
fieldset?: undefined;
|
|
588
585
|
name: string;
|
|
589
586
|
type: string;
|
|
590
|
-
|
|
587
|
+
fieldset?: undefined;
|
|
588
|
+
title?: undefined;
|
|
591
589
|
readOnly?: undefined;
|
|
590
|
+
} | {
|
|
592
591
|
name: string;
|
|
593
592
|
title: string;
|
|
594
593
|
type: string;
|
|
595
594
|
fieldset: string;
|
|
595
|
+
readOnly?: undefined;
|
|
596
596
|
} | {
|
|
597
597
|
fieldset?: undefined;
|
|
598
598
|
name: string;
|
|
@@ -666,5 +666,4 @@ export declare class ValidationError extends Error {
|
|
|
666
666
|
problems: SchemaValidationProblemGroup[];
|
|
667
667
|
constructor(problems: SchemaValidationProblemGroup[]);
|
|
668
668
|
}
|
|
669
|
-
export type { CreateManifest, CreateSchemaFromManifestTypesOptions, CreateWorkspaceManifest, DefaultWorkspaceSchemaId, DescriptorRequester, EncodedSchemaDescriptor, _FIXME_ as FIXME, IconResolver, ManifestSchemaType, ManifestWorkspaceFile, ParsedWorkspaceSchemaId, PrepareSchemaUploadOptions, PreparedSchemaUpload, SchemaValidationResult as Problem, SchemaValidationResult as ValidationResult, ProblemPath, ProblemPathPropertySegment, ProblemPathSegment, ProblemPathTypeSegment, SchemaSynchronizationRequest, SchemaSynchronizationResult, StoredWorkspaceSchema, TypeWithProblems, UploadSchemaOptions, UploadSchemaPhase, WorkspaceSchemaId };
|
|
670
|
-
//# sourceMappingURL=_internal.d.ts.map
|
|
669
|
+
export type { CreateManifest, CreateSchemaFromManifestTypesOptions, CreateWorkspaceManifest, DefaultWorkspaceSchemaId, DescriptorRequester, EncodedSchemaDescriptor, _FIXME_ as FIXME, IconResolver, ManifestSchemaType, ManifestWorkspaceFile, ParsedWorkspaceSchemaId, PrepareSchemaUploadOptions, PreparedSchemaUpload, SchemaValidationResult as Problem, SchemaValidationResult as ValidationResult, ProblemPath, ProblemPathPropertySegment, ProblemPathSegment, ProblemPathTypeSegment, SchemaSynchronizationRequest, SchemaSynchronizationResult, StoredWorkspaceSchema, TypeWithProblems, UploadSchemaOptions, UploadSchemaPhase, WorkspaceSchemaId };
|
package/lib/index.d.ts
CHANGED
|
@@ -41,5 +41,4 @@ export declare const DEFAULT_ANNOTATIONS: {
|
|
|
41
41
|
}[];
|
|
42
42
|
}[];
|
|
43
43
|
export declare const Schema: typeof Schema$2;
|
|
44
|
-
export { type SchemaValidationResult, DeprecatedDefaultSchema as default };
|
|
45
|
-
//# sourceMappingURL=index.d.ts.map
|
|
44
|
+
export { type SchemaValidationResult, DeprecatedDefaultSchema as default };
|
|
@@ -72,5 +72,4 @@ type ProblemPathSegment = ProblemPathTypeSegment | ProblemPathPropertySegment;
|
|
|
72
72
|
* @internal
|
|
73
73
|
*/
|
|
74
74
|
type ProblemPath = ProblemPathSegment[];
|
|
75
|
-
export { SchemaValidationResult as a, DeprecatedDefaultSchema as c, ProblemPathTypeSegment as i, Schema as l, ProblemPathPropertySegment as n, TypeWithProblems as o, ProblemPathSegment as r, _FIXME_ as s, ProblemPath as t };
|
|
76
|
-
//# sourceMappingURL=typedefs-LNWlFyVi.d.ts.map
|
|
75
|
+
export { SchemaValidationResult as a, DeprecatedDefaultSchema as c, ProblemPathTypeSegment as i, Schema as l, ProblemPathPropertySegment as n, TypeWithProblems as o, ProblemPathSegment as r, _FIXME_ as s, ProblemPath as t };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sanity/schema",
|
|
3
|
-
"version": "6.24.0-next.
|
|
3
|
+
"version": "6.24.0-next.78",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cms",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@sanity/descriptors": "^1.3.0",
|
|
44
44
|
"@sanity/generate-help-url": "^4.0.0",
|
|
45
|
-
"@sanity/types": "6.24.0-next.
|
|
45
|
+
"@sanity/types": "6.24.0-next.78+2d8a197982",
|
|
46
46
|
"arrify": "^3.0.0",
|
|
47
47
|
"dequal": "^2.0.3",
|
|
48
48
|
"get-it": "^9.7.0",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"tsdown": "^0.23.2",
|
|
62
62
|
"typescript": "^7.0.2",
|
|
63
63
|
"vite": "^8.3.5",
|
|
64
|
-
"vitest": "^5.0
|
|
64
|
+
"vitest": "^5.1.0"
|
|
65
65
|
},
|
|
66
66
|
"browserslist": [
|
|
67
67
|
"node >=22.12",
|