@sanity/schema 6.13.1 → 6.13.2-next.23
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 +24 -24
- package/lib/_internal.js.map +1 -1
- package/lib/index.d.ts +7 -7
- package/package.json +5 -5
package/lib/index.d.ts
CHANGED
|
@@ -6,23 +6,23 @@ import { RuleClass } from "@sanity/types";
|
|
|
6
6
|
*
|
|
7
7
|
* @internal
|
|
8
8
|
*/
|
|
9
|
-
declare const Rule: RuleClass;
|
|
10
|
-
declare const DEFAULT_LIST_TYPES: {
|
|
9
|
+
export declare const Rule: RuleClass;
|
|
10
|
+
export declare const DEFAULT_LIST_TYPES: {
|
|
11
11
|
title: string;
|
|
12
12
|
value: string;
|
|
13
13
|
i18nTitleKey: string;
|
|
14
14
|
}[];
|
|
15
|
-
declare const DEFAULT_BLOCK_STYLES: {
|
|
15
|
+
export declare const DEFAULT_BLOCK_STYLES: {
|
|
16
16
|
title: string;
|
|
17
17
|
value: string;
|
|
18
18
|
i18nTitleKey: string;
|
|
19
19
|
}[];
|
|
20
|
-
declare const DEFAULT_DECORATORS: {
|
|
20
|
+
export declare const DEFAULT_DECORATORS: {
|
|
21
21
|
title: string;
|
|
22
22
|
value: string;
|
|
23
23
|
i18nTitleKey: string;
|
|
24
24
|
}[];
|
|
25
|
-
declare const DEFAULT_ANNOTATIONS: {
|
|
25
|
+
export declare const DEFAULT_ANNOTATIONS: {
|
|
26
26
|
type: string;
|
|
27
27
|
name: string;
|
|
28
28
|
title: string;
|
|
@@ -40,6 +40,6 @@ declare const DEFAULT_ANNOTATIONS: {
|
|
|
40
40
|
validation: (Rule: any) => any;
|
|
41
41
|
}[];
|
|
42
42
|
}[];
|
|
43
|
-
declare const Schema: typeof Schema$2;
|
|
44
|
-
export {
|
|
43
|
+
export declare const Schema: typeof Schema$2;
|
|
44
|
+
export { type SchemaValidationResult, DeprecatedDefaultSchema as default };
|
|
45
45
|
//# sourceMappingURL=index.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sanity/schema",
|
|
3
|
-
"version": "6.13.
|
|
3
|
+
"version": "6.13.2-next.23",
|
|
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.13.
|
|
45
|
+
"@sanity/types": "6.13.2-next.23+942f58fe79",
|
|
46
46
|
"arrify": "^3.0.0",
|
|
47
47
|
"dequal": "^2.0.3",
|
|
48
48
|
"get-it": "^9.5.4",
|
|
@@ -56,11 +56,11 @@
|
|
|
56
56
|
"@repo/test-config": "6.9.2",
|
|
57
57
|
"@repo/tsconfig": "6.9.2",
|
|
58
58
|
"@repo/tsdown.config": "6.9.2",
|
|
59
|
-
"@sanity/icons": "^5.2.
|
|
59
|
+
"@sanity/icons": "^5.2.2",
|
|
60
60
|
"@types/lodash-es": "^4.17.12",
|
|
61
61
|
"@types/object-inspect": "^1.13.0",
|
|
62
|
-
"@types/react": "^19.
|
|
63
|
-
"tsdown": "^0.
|
|
62
|
+
"@types/react": "^19.3.0",
|
|
63
|
+
"tsdown": "^0.23.0",
|
|
64
64
|
"typescript": "^7.0.2",
|
|
65
65
|
"vite": "^8.2.2",
|
|
66
66
|
"vitest": "^4.1.11"
|