@sanity/media-library-types 1.5.0 → 1.6.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.d.cts CHANGED
@@ -2576,6 +2576,7 @@ export declare type SanityVideoAsset = {
2576
2576
  _key: string;
2577
2577
  }>;
2578
2578
  state: SanityAssetInstanceState;
2579
+ error?: string;
2579
2580
  sha1hash?: string;
2580
2581
  mimeType?: string;
2581
2582
  originalFilename?: string;
package/lib/index.d.ts CHANGED
@@ -2576,6 +2576,7 @@ export declare type SanityVideoAsset = {
2576
2576
  _key: string;
2577
2577
  }>;
2578
2578
  state: SanityAssetInstanceState;
2579
+ error?: string;
2579
2580
  sha1hash?: string;
2580
2581
  mimeType?: string;
2581
2582
  originalFilename?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sanity/media-library-types",
3
- "version": "1.5.0",
3
+ "version": "1.6.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"
@@ -42,10 +41,9 @@
42
41
  "rimraf": "5.0.10"
43
42
  },
44
43
  "scripts": {
45
- "build": "cp ../../../apps/huey/src/lib/schema.types.ts ./src/ && pkg-utils build --strict --check --clean",
44
+ "build": "pkg-utils build --strict --check --clean",
46
45
  "check:types": "tsc --project tsconfig.json",
47
46
  "clean": "rimraf lib",
48
- "schema-types": "cp ../../../apps/huey/src/lib/schema.types.ts ./src/",
49
47
  "watch": "pkg-utils watch"
50
48
  }
51
49
  }
@@ -274,6 +274,7 @@ export type SanityVideoAsset = {
274
274
  _key: string
275
275
  }>
276
276
  state: SanityAssetInstanceState
277
+ error?: string
277
278
  sha1hash?: string
278
279
  mimeType?: string
279
280
  originalFilename?: string