itube-specs 0.0.491 → 0.0.492

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.491",
4
+ "version": "0.0.492",
5
5
  "main": "./nuxt.config.ts",
6
6
  "types": "./types/index.d.ts",
7
7
  "scripts": {
@@ -19,7 +19,8 @@ export function groupCategoriesByFirstLetter(
19
19
  title: item.title,
20
20
  name: item.name,
21
21
  videosCount: item.videosCount,
22
- guid: item.guid
22
+ guid: item.guid,
23
+ icon: item.icon,
23
24
  });
24
25
  return acc;
25
26
  }, {} as Record<string, Array<ICategoryCard>>);
@@ -5,4 +5,5 @@ export interface ICategoryCard {
5
5
  thumbUrl?: string;
6
6
  guid: string;
7
7
  isTop?: boolean,
8
+ icon?: string;
8
9
  }
@@ -20,4 +20,6 @@ export interface IRawCategoryCard {
20
20
  description: string; // unused
21
21
  header: string; // unused
22
22
  video_thumb_urls: IThumbUrls; // ✅ used (для card.videoThumbUrls.webp['480X270'])
23
+ files?: Record<string, string>;
24
+ icon?: string;
23
25
  }