tsv2-library 0.2.76 → 0.2.77

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.
@@ -106,6 +106,9 @@ export interface Asset {
106
106
  imageSmall: null | 'string';
107
107
  imageMedium: null | 'string';
108
108
  imageBig: null | 'string';
109
+ firstImageSmall?: string;
110
+ firstImageMedium?: string;
111
+ firstImageBig?: string;
109
112
  }
110
113
 
111
114
  /**
@@ -62934,8 +62934,12 @@ const Jg = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTI1IiBoZWlnaHQ9IjEyNSIgdm
62934
62934
  bodyComponent: (se) => ({
62935
62935
  component: ga,
62936
62936
  props: {
62937
- thumbnail: ti(se.assetImageSmall ?? se.imageSmall),
62938
- preview: ti(se.assetImageBig ?? se.imageBig),
62937
+ thumbnail: ti(
62938
+ se.assetImageSmall ?? se.imageSmall ?? se.firstImageSmall
62939
+ ),
62940
+ preview: ti(
62941
+ se.assetImageBig ?? se.imageBig ?? se.firstImageBig
62942
+ ),
62939
62943
  description: "",
62940
62944
  style: "width: 28px; height: 28px;"
62941
62945
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tsv2-library",
3
- "version": "0.2.76",
3
+ "version": "0.2.77",
4
4
  "author": "fixedassetv2-fe",
5
5
  "license": "ISC",
6
6
  "homepage": "https://github.com/fixedassetv2-fe/tsv2-library#readme",
@@ -106,6 +106,9 @@ export interface Asset {
106
106
  imageSmall: null | 'string';
107
107
  imageMedium: null | 'string';
108
108
  imageBig: null | 'string';
109
+ firstImageSmall?: string;
110
+ firstImageMedium?: string;
111
+ firstImageBig?: string;
109
112
  }
110
113
 
111
114
  /**