@sanity/schema 6.6.0-next.73 → 6.6.0-next.76

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.
Files changed (2) hide show
  1. package/lib/_internal.d.ts +13 -13
  2. package/package.json +5 -5
@@ -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[]; /** An explicit scheduler to do the work. */
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. */baseUrl: string;
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. */requester: DescriptorRequester;
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
  /**
@@ -390,8 +393,8 @@ declare const builtinTypes: ({
390
393
  title: string;
391
394
  validation?: undefined;
392
395
  hidden?: undefined;
393
- readOnly?: undefined;
394
396
  fieldset?: undefined;
397
+ readOnly?: undefined;
395
398
  } | {
396
399
  name: string;
397
400
  type: string;
@@ -469,8 +472,8 @@ declare const builtinTypes: ({
469
472
  title: string;
470
473
  validation?: undefined;
471
474
  hidden?: undefined;
472
- readOnly?: undefined;
473
475
  fieldset?: undefined;
476
+ readOnly?: undefined;
474
477
  } | {
475
478
  name: string;
476
479
  type: string;
@@ -544,17 +547,17 @@ declare const builtinTypes: ({
544
547
  };
545
548
  }[];
546
549
  fields: ({
547
- title?: undefined;
548
- readOnly?: undefined;
549
- fieldset?: undefined;
550
550
  name: string;
551
551
  type: string;
552
- } | {
552
+ fieldset?: undefined;
553
+ title?: undefined;
553
554
  readOnly?: undefined;
555
+ } | {
554
556
  name: string;
555
557
  title: string;
556
558
  type: string;
557
559
  fieldset: string;
560
+ readOnly?: undefined;
558
561
  } | {
559
562
  fieldset?: undefined;
560
563
  name: string;
@@ -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.6.0-next.73",
3
+ "version": "6.6.0-next.76",
4
4
  "description": "",
5
5
  "keywords": [
6
6
  "cms",
@@ -50,7 +50,7 @@
50
50
  "leven": "^4.1.0",
51
51
  "lodash-es": "^4.18.1",
52
52
  "object-inspect": "^1.13.4",
53
- "@sanity/types": "6.6.0-next.73+8fd2365301"
53
+ "@sanity/types": "6.6.0-next.76+26ea465b45"
54
54
  },
55
55
  "devDependencies": {
56
56
  "@sanity/icons": "^5.1.0",
@@ -62,9 +62,9 @@
62
62
  "rimraf": "^6.1.3",
63
63
  "vite": "^8.1.5",
64
64
  "vitest": "^4.1.10",
65
- "@repo/package.config": "6.6.0-next.73+8fd2365301",
66
- "@repo/test-config": "6.6.0-next.73+8fd2365301",
67
- "@repo/tsconfig": "6.6.0-next.73+8fd2365301"
65
+ "@repo/package.config": "6.6.0-next.76+26ea465b45",
66
+ "@repo/test-config": "6.6.0-next.76+26ea465b45",
67
+ "@repo/tsconfig": "6.6.0-next.76+26ea465b45"
68
68
  },
69
69
  "browserslist": [
70
70
  "node >=22.12",