@sanity/schema 6.11.0-next.49 → 6.11.0-next.62
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/{Schema-BckCkziq.js → Schema-ClAx8eCc.js} +2 -2
- package/lib/{Schema-BckCkziq.js.map → Schema-ClAx8eCc.js.map} +1 -1
- package/lib/_internal.d.ts +6 -6
- package/lib/_internal.js +5 -3
- package/lib/_internal.js.map +1 -1
- package/lib/index.d.ts +11 -1
- package/lib/index.js +2 -2
- package/lib/index.js.map +1 -1
- package/package.json +4 -4
package/lib/index.d.ts
CHANGED
|
@@ -7,6 +7,16 @@ import { RuleClass } from "@sanity/types";
|
|
|
7
7
|
* @internal
|
|
8
8
|
*/
|
|
9
9
|
declare const Rule: RuleClass;
|
|
10
|
+
declare const DEFAULT_LIST_TYPES: {
|
|
11
|
+
title: string;
|
|
12
|
+
value: string;
|
|
13
|
+
i18nTitleKey: string;
|
|
14
|
+
}[];
|
|
15
|
+
declare const DEFAULT_BLOCK_STYLES: {
|
|
16
|
+
title: string;
|
|
17
|
+
value: string;
|
|
18
|
+
i18nTitleKey: string;
|
|
19
|
+
}[];
|
|
10
20
|
declare const DEFAULT_DECORATORS: {
|
|
11
21
|
title: string;
|
|
12
22
|
value: string;
|
|
@@ -31,5 +41,5 @@ declare const DEFAULT_ANNOTATIONS: {
|
|
|
31
41
|
}[];
|
|
32
42
|
}[];
|
|
33
43
|
declare const Schema: typeof Schema$2;
|
|
34
|
-
export { DEFAULT_ANNOTATIONS, DEFAULT_DECORATORS, Rule, Schema, type SchemaValidationResult, DeprecatedDefaultSchema as default };
|
|
44
|
+
export { DEFAULT_ANNOTATIONS, DEFAULT_BLOCK_STYLES, DEFAULT_DECORATORS, DEFAULT_LIST_TYPES, Rule, Schema, type SchemaValidationResult, DeprecatedDefaultSchema as default };
|
|
35
45
|
//# sourceMappingURL=index.d.ts.map
|
package/lib/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as DEFAULT_DECORATORS, f as Rule, i as DEFAULT_BLOCK_STYLES, n as Schema$1, o as DEFAULT_LIST_TYPES, r as DEFAULT_ANNOTATIONS, t as DeprecatedDefaultSchema } from "./Schema-ClAx8eCc.js";
|
|
2
2
|
var _exports_default = DeprecatedDefaultSchema;
|
|
3
3
|
const Schema = Schema$1;
|
|
4
|
-
export { DEFAULT_ANNOTATIONS, DEFAULT_DECORATORS, Rule, Schema, _exports_default as default };
|
|
4
|
+
export { DEFAULT_ANNOTATIONS, DEFAULT_BLOCK_STYLES, DEFAULT_DECORATORS, DEFAULT_LIST_TYPES, Rule, Schema, _exports_default as default };
|
|
5
5
|
|
|
6
6
|
//# sourceMappingURL=index.js.map
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["NamedSchema"],"sources":["../src/_exports/index.ts"],"sourcesContent":["import {DeprecatedDefaultSchema, Schema as NamedSchema} from '../legacy/Schema'\n\n// oxlint-disable-next-line no-deprecated -- will fix in follow up PR\nexport default DeprecatedDefaultSchema\nexport const Schema = NamedSchema\nexport {Rule} from '../legacy/Rule'\nexport {DEFAULT_ANNOTATIONS
|
|
1
|
+
{"version":3,"file":"index.js","names":["NamedSchema"],"sources":["../src/_exports/index.ts"],"sourcesContent":["import {DeprecatedDefaultSchema, Schema as NamedSchema} from '../legacy/Schema'\n\n// oxlint-disable-next-line no-deprecated -- will fix in follow up PR\nexport default DeprecatedDefaultSchema\nexport const Schema = NamedSchema\nexport {Rule} from '../legacy/Rule'\nexport {\n DEFAULT_ANNOTATIONS,\n DEFAULT_BLOCK_STYLES,\n DEFAULT_DECORATORS,\n DEFAULT_LIST_TYPES,\n} from '../legacy/types/blocks/defaults'\nexport {type SchemaValidationResult} from '../sanity/typedefs'\n"],"mappings":";AAGA,IAAA,mBAAe;AACf,MAAa,SAASA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sanity/schema",
|
|
3
|
-
"version": "6.11.0-next.
|
|
3
|
+
"version": "6.11.0-next.62",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cms",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"leven": "^4.1.0",
|
|
50
50
|
"lodash-es": "^4.18.1",
|
|
51
51
|
"object-inspect": "^1.13.4",
|
|
52
|
-
"@sanity/types": "6.11.0-next.
|
|
52
|
+
"@sanity/types": "6.11.0-next.62+e089afde26"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@sanity/icons": "^5.2.1",
|
|
@@ -60,9 +60,9 @@
|
|
|
60
60
|
"typescript": "^7.0.2",
|
|
61
61
|
"vite": "^8.2.2",
|
|
62
62
|
"vitest": "^4.1.10",
|
|
63
|
-
"@repo/test-config": "6.9.2",
|
|
64
63
|
"@repo/tsconfig": "6.9.2",
|
|
65
|
-
"@repo/tsdown.config": "6.9.2"
|
|
64
|
+
"@repo/tsdown.config": "6.9.2",
|
|
65
|
+
"@repo/test-config": "6.9.2"
|
|
66
66
|
},
|
|
67
67
|
"browserslist": [
|
|
68
68
|
"node >=22.12",
|