@sanity/schema 6.5.1-next.6 → 6.6.0-next.100
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 +7 -7
- package/package.json +8 -8
package/lib/_internal.d.ts
CHANGED
|
@@ -23,7 +23,8 @@ declare class DescriptorConverter {
|
|
|
23
23
|
* If present, this will use an idle scheduler which records duration into this array.
|
|
24
24
|
* This option will be ignored if the `scheduler` option is passed in.
|
|
25
25
|
**/
|
|
26
|
-
pauseDurations?: number[];
|
|
26
|
+
pauseDurations?: number[];
|
|
27
|
+
/** An explicit scheduler to do the work. */
|
|
27
28
|
scheduler?: Scheduler;
|
|
28
29
|
}): Promise<SetSynchronization<RegistryType>>;
|
|
29
30
|
}
|
|
@@ -111,10 +112,12 @@ interface BaseUploadSchemaOptions {
|
|
|
111
112
|
* exclusive shape makes "both" and "neither" a compile-time error.
|
|
112
113
|
*/
|
|
113
114
|
type TransportOptions = {
|
|
114
|
-
/** Base URL for the bundled get-it transport. */
|
|
115
|
+
/** Base URL for the bundled get-it transport. */
|
|
116
|
+
baseUrl: string;
|
|
115
117
|
requester?: never;
|
|
116
118
|
} | {
|
|
117
|
-
/** Bring-your-own transport. Use instead of `baseUrl` to control auth, retries, etc. */
|
|
119
|
+
/** Bring-your-own transport. Use instead of `baseUrl` to control auth, retries, etc. */
|
|
120
|
+
requester: DescriptorRequester;
|
|
118
121
|
baseUrl?: never;
|
|
119
122
|
};
|
|
120
123
|
/**
|
|
@@ -616,10 +619,7 @@ interface Options {
|
|
|
616
619
|
/**
|
|
617
620
|
* @internal
|
|
618
621
|
*/
|
|
619
|
-
declare function validateSchema(schemaTypes: _FIXME_, {
|
|
620
|
-
transformTypeVisitors,
|
|
621
|
-
transformCommonVisitors
|
|
622
|
-
}?: Options): {
|
|
622
|
+
declare function validateSchema(schemaTypes: _FIXME_, { transformTypeVisitors, transformCommonVisitors }?: Options): {
|
|
623
623
|
get(typeName: string): any;
|
|
624
624
|
has(typeName: string): boolean;
|
|
625
625
|
getTypeNames(): string[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sanity/schema",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.6.0-next.100",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cms",
|
|
@@ -50,21 +50,21 @@
|
|
|
50
50
|
"leven": "^4.1.0",
|
|
51
51
|
"lodash-es": "^4.18.1",
|
|
52
52
|
"object-inspect": "^1.13.4",
|
|
53
|
-
"@sanity/types": "6.
|
|
53
|
+
"@sanity/types": "6.6.0-next.100+ad8bc36645"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@sanity/icons": "^5.
|
|
56
|
+
"@sanity/icons": "^5.1.0",
|
|
57
57
|
"@sanity/pkg-utils": "^10.9.0",
|
|
58
58
|
"@types/lodash-es": "^4.17.12",
|
|
59
59
|
"@types/object-inspect": "^1.13.0",
|
|
60
60
|
"@types/react": "^19.2.17",
|
|
61
61
|
"@typescript/native-preview": "beta",
|
|
62
62
|
"rimraf": "^6.1.3",
|
|
63
|
-
"vite": "^8.1.
|
|
64
|
-
"vitest": "^4.1.
|
|
65
|
-
"@repo/package.config": "6.
|
|
66
|
-
"@repo/
|
|
67
|
-
"@repo/
|
|
63
|
+
"vite": "^8.1.5",
|
|
64
|
+
"vitest": "^4.1.10",
|
|
65
|
+
"@repo/package.config": "6.6.0-next.100+ad8bc36645",
|
|
66
|
+
"@repo/tsconfig": "6.6.0-next.100+ad8bc36645",
|
|
67
|
+
"@repo/test-config": "6.6.0-next.100+ad8bc36645"
|
|
68
68
|
},
|
|
69
69
|
"browserslist": [
|
|
70
70
|
"node >=22.12",
|