@sanity/types 6.2.0-next.6 → 6.2.0-next.8

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/index.d.ts +4 -4
  2. package/package.json +4 -7
package/lib/index.d.ts CHANGED
@@ -52,15 +52,15 @@ interface DocumentSystem {
52
52
  /**
53
53
  * It will be empty for the group document (aka published document)
54
54
  */
55
- bundleId: 'drafts' | (string & {}) | null;
55
+ bundleId?: 'drafts' | (string & {});
56
56
  /**
57
57
  * A weak reference to the release document that the version belongs to.
58
58
  */
59
- release: DocumentSystemRef | null;
59
+ release?: DocumentSystemRef;
60
60
  /**
61
61
  * A weak reference to the variant document that the version belongs to.
62
62
  */
63
- variant: DocumentSystemRef | null;
63
+ variant?: DocumentSystemRef;
64
64
  /**
65
65
  * A weak reference to the group document (aka published document).
66
66
  */
@@ -68,7 +68,7 @@ interface DocumentSystem {
68
68
  /**
69
69
  * Available only for version documents.
70
70
  */
71
- scopeId: string | null;
71
+ scopeId?: string;
72
72
  }
73
73
  /**
74
74
  * @internal
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sanity/types",
3
- "version": "6.2.0-next.6",
3
+ "version": "6.2.0-next.8",
4
4
  "description": "Type definitions for common Sanity data structures",
5
5
  "keywords": [
6
6
  "cms",
@@ -43,15 +43,13 @@
43
43
  "@types/react": "^19.2.17",
44
44
  "@typescript/native-preview": "beta",
45
45
  "@vitejs/plugin-react": "^6.0.2",
46
- "eslint": "^9.39.4",
47
46
  "react": "^19.2.7",
48
47
  "rimraf": "^6.1.3",
49
48
  "vite": "^8.0.16",
50
49
  "vitest": "^4.1.8",
51
- "@repo/eslint-config": "6.2.0-next.6+54785f64cf",
52
- "@repo/package.config": "6.2.0-next.6+54785f64cf",
53
- "@repo/tsconfig": "6.2.0-next.6+54785f64cf",
54
- "@repo/test-config": "6.2.0-next.6+54785f64cf"
50
+ "@repo/package.config": "6.2.0-next.8+46aaaf02d8",
51
+ "@repo/tsconfig": "6.2.0-next.8+46aaaf02d8",
52
+ "@repo/test-config": "6.2.0-next.8+46aaaf02d8"
55
53
  },
56
54
  "peerDependencies": {
57
55
  "@types/react": "^19.2"
@@ -64,7 +62,6 @@
64
62
  "build": "pkg-utils build --strict --check --clean",
65
63
  "check:types": "(cd ../../.. && tsgo --project packages/@sanity/types/tsconfig.lib.json --erasableSyntaxOnly)",
66
64
  "clean": "rimraf lib",
67
- "lint": "eslint .",
68
65
  "test": "vitest run",
69
66
  "test:watch": "vitest watch",
70
67
  "watch": "pkg-utils watch"