itube-specs 0.0.702 → 0.0.704

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "itube-specs",
3
3
  "type": "module",
4
- "version": "0.0.702",
4
+ "version": "0.0.704",
5
5
  "main": "./nuxt.config.ts",
6
6
  "types": "./types/index.d.ts",
7
7
  "scripts": {
@@ -8,6 +8,7 @@ export const cleanModelInfo = (card: IRawModelInfo): ICardInfo => ({
8
8
  videosCount: card.videos_count || 0,
9
9
  img: card.video_thumb_urls?.webp?.[ThumbSize.Small] || '',
10
10
  parameters: card.parameters || '',
11
- fullDescription: card.bio || '',
11
+ fullDescription: card.long_description || card.bio || '',
12
12
  relatedNames: card.relatedNames || [],
13
+ isFilter: card.is_filter || false,
13
14
  })
@@ -22,6 +22,7 @@ export interface ICardInfo {
22
22
  };
23
23
  parameters?: IParameterModel[]
24
24
  relatedNames?: string[]
25
+ isFilter?: boolean
25
26
 
26
27
  // Fields specific to Category
27
28
  related?: IChipsItem[]
@@ -8,6 +8,7 @@ export interface IRawModelInfo {
8
8
  website: string;
9
9
  bio: string;
10
10
  orientation: string;
11
+ is_filter: boolean;
11
12
  ranking: {
12
13
  LastMonth: string;
13
14
  ModelRank: string;
@@ -34,4 +35,5 @@ export interface IRawModelInfo {
34
35
  video_thumb_urls: IRawThumbUrls;
35
36
  parameters: IParameterModel[];
36
37
  relatedNames: string[];
38
+ long_description: string;
37
39
  }