@sanity/media-library-types 1.5.0 → 1.7.0
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/index.cjs +0 -2
- package/lib/index.d.cts +338 -3043
- package/lib/index.d.ts +338 -3043
- package/lib/index.js +0 -2
- package/package.json +7 -6
- package/src/schema.types.ts +3 -2
- package/lib/index.cjs.map +0 -1
- package/lib/index.js.map +0 -1
package/lib/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sanity/media-library-types",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.7.0",
|
|
4
4
|
"description": "Type definitions for common Sanity Media Library data structures",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"content",
|
|
@@ -29,7 +29,6 @@
|
|
|
29
29
|
"types": "./lib/index.d.ts",
|
|
30
30
|
"exports": {
|
|
31
31
|
".": {
|
|
32
|
-
"source": "./src/index.ts",
|
|
33
32
|
"import": "./lib/index.js",
|
|
34
33
|
"require": "./lib/index.cjs",
|
|
35
34
|
"default": "./lib/index.js"
|
|
@@ -37,15 +36,17 @@
|
|
|
37
36
|
"./package.json": "./package.json"
|
|
38
37
|
},
|
|
39
38
|
"devDependencies": {
|
|
40
|
-
"@sanity/pkg-utils": "
|
|
41
|
-
"@sanity/types": "
|
|
39
|
+
"@sanity/pkg-utils": "12.3.3",
|
|
40
|
+
"@sanity/types": "6.12.0",
|
|
42
41
|
"rimraf": "5.0.10"
|
|
43
42
|
},
|
|
43
|
+
"peerDependencies": {
|
|
44
|
+
"@sanity/types": "^4.0.0 || ^5.0.0 || ^6.0.0"
|
|
45
|
+
},
|
|
44
46
|
"scripts": {
|
|
45
|
-
"build": "
|
|
47
|
+
"build": "pkg-utils build --strict --check",
|
|
46
48
|
"check:types": "tsc --project tsconfig.json",
|
|
47
49
|
"clean": "rimraf lib",
|
|
48
|
-
"schema-types": "cp ../../../apps/huey/src/lib/schema.types.ts ./src/",
|
|
49
50
|
"watch": "pkg-utils watch"
|
|
50
51
|
}
|
|
51
52
|
}
|
package/src/schema.types.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
export declare const internalGroqTypeReferenceTo: unique symbol
|
|
2
|
+
|
|
1
3
|
export type SanitySystem = {
|
|
2
4
|
_type: 'sanity.system'
|
|
3
5
|
createdBy?: string
|
|
@@ -274,6 +276,7 @@ export type SanityVideoAsset = {
|
|
|
274
276
|
_key: string
|
|
275
277
|
}>
|
|
276
278
|
state: SanityAssetInstanceState
|
|
279
|
+
error?: string
|
|
277
280
|
sha1hash?: string
|
|
278
281
|
mimeType?: string
|
|
279
282
|
originalFilename?: string
|
|
@@ -441,5 +444,3 @@ export type AllSanitySchemaTypes =
|
|
|
441
444
|
| SanityAssetSubtitle
|
|
442
445
|
| SanityDirectory
|
|
443
446
|
| SanityTree
|
|
444
|
-
|
|
445
|
-
export declare const internalGroqTypeReferenceTo: unique symbol
|
package/lib/index.cjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/lib/index.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|