itube-specs 0.0.578 → 0.0.580

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.
@@ -13,7 +13,7 @@
13
13
 
14
14
  <script setup lang="ts">
15
15
  withDefaults(defineProps<{
16
- count?: string
16
+ count?: string | number
17
17
  titleTag?: string
18
18
  title: string
19
19
  icon?: string
@@ -7,6 +7,7 @@
7
7
  '--image': !!item.image,
8
8
  '--alphabet': alphabet,
9
9
  '--small': mini,
10
+ '--micro': micro,
10
11
  '--not-capitalize': item.prefix === 'search' || notCapitalize,
11
12
  '--bright': bright
12
13
  }"
@@ -51,6 +52,7 @@ const props = defineProps<{
51
52
  withClose?: boolean;
52
53
  isLink?: boolean;
53
54
  mini?: boolean;
55
+ micro?: boolean;
54
56
  bright?: boolean;
55
57
  notCapitalize?: boolean;
56
58
  }>();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "itube-specs",
3
3
  "type": "module",
4
- "version": "0.0.578",
4
+ "version": "0.0.580",
5
5
  "main": "./nuxt.config.ts",
6
6
  "types": "./types/index.d.ts",
7
7
  "scripts": {
@@ -10,4 +10,5 @@ export const cleanChannelCard = (card: IRawChannelCard): IChannelCard => ({
10
10
  updated: card.updated || 0,
11
11
  avatarUrl: card.avatar_url || '',
12
12
  thumbUrl: card.video_thumb_urls.webp?.[ThumbSize.Big] || '',
13
+ description: card.description || '',
13
14
  })
@@ -7,4 +7,5 @@ export interface IChannelCard {
7
7
  updated: number;
8
8
  avatarUrl: string;
9
9
  thumbUrl: string;
10
+ description: string;
10
11
  }
@@ -4,7 +4,7 @@ export interface IRawChannelCard {
4
4
  guid: string;
5
5
  name: string;
6
6
  url: string;
7
- description: string; // unused
7
+ description: string;
8
8
  adv_text: string; // unused
9
9
  adv_link: string; // unused
10
10
  player_text: string; // unused