itube-specs 0.0.351 → 0.0.353

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.351",
4
+ "version": "0.0.353",
5
5
  "main": "./nuxt.config.ts",
6
6
  "types": "./types/index.d.ts",
7
7
  "scripts": {
@@ -16,4 +16,5 @@ export const cleanVideoCard = (card: IRawVideoCard): IVideoCard => ({
16
16
  thumbUrl: card.thumb_urls?.webp?.['480x270'] || '',
17
17
  md5: card.md5 || '',
18
18
  thumbNum: card.thumb_number || 0,
19
+ models: card.models?.map(item => item.title) || [],
19
20
  })
@@ -50,7 +50,10 @@ export interface IRawVideoCard {
50
50
  popularity: number; // unused
51
51
  id: string;
52
52
  tags: string[];
53
- models: null; // unused
53
+ models: {
54
+ guid: string
55
+ title: string
56
+ }[];
54
57
  categories: ICategoryCard[]; // unused
55
58
  actions: IVideoAction[]; // unused
56
59
  primary_thumb_rank: number; // unused
@@ -15,4 +15,5 @@ export interface IVideoCard {
15
15
  playlistId?: string;
16
16
  md5?: string;
17
17
  thumbNum?: number;
18
+ models: string[];
18
19
  }