karin-plugin-kkk 2.21.0 → 2.22.0

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.
@@ -1,5 +1,47 @@
1
1
  import React$1 from "react";
2
2
 
3
+ //#region ../template/src/types/platforms/douyin/articleWork.d.ts
4
+ /**
5
+ * 文章图片信息
6
+ */
7
+ interface ArticleImage {
8
+ /** AI高清图片URL */
9
+ ai_high_image_url: string;
10
+ /** 高清图片URL */
11
+ high_image_url: string;
12
+ /** Markdown图片URL */
13
+ markdown_url: string;
14
+ /** 原始图片URL */
15
+ origin_image_url: string;
16
+ }
17
+ /**
18
+ * 抖音文章作品组件属性接口
19
+ */
20
+ interface DouyinArticleWorkProps extends BaseComponentProps {
21
+ /** 渲染请求数据 */
22
+ data: {
23
+ /** 是否使用深色主题 */useDarkTheme?: boolean; /** 文章标题 */
24
+ title: string; /** 文章Markdown内容 */
25
+ markdown: string; /** 文章图片列表 */
26
+ images: ArticleImage[]; /** 阅读时间(分钟) */
27
+ read_time: number; /** 点赞数 */
28
+ dianzan: string; /** 评论数 */
29
+ pinglun: string; /** 收藏数 */
30
+ shouchang: string; /** 分享数 */
31
+ share: string; /** 创建时间 */
32
+ create_time: string; /** 用户头像URL */
33
+ avater_url: string; /** 用户名 */
34
+ username: string; /** 抖音号 */
35
+ 抖音号: string; /** 获赞数 */
36
+ 获赞: string; /** 关注数 */
37
+ 关注: string; /** 粉丝数 */
38
+ 粉丝: string; /** 分享链接 */
39
+ share_url: string;
40
+ };
41
+ /** 预生成的二维码数据URL */
42
+ qrCodeDataUrl: string;
43
+ }
44
+ //#endregion
3
45
  //#region ../template/src/types/platforms/douyin/comment.d.ts
4
46
  /**
5
47
  * 抖音评论组件属性接口
@@ -7,8 +49,8 @@ import React$1 from "react";
7
49
  interface DouyinCommentProps extends BaseComponentProps {
8
50
  /** 渲染请求数据 */
9
51
  data: {
10
- /** 是否使用深色主题 */useDarkTheme?: boolean; /** 作品类型:视频/图集/合辑 */
11
- Type: '视频' | '图集' | '合辑'; /** 评论数量 */
52
+ /** 是否使用深色主题 */useDarkTheme?: boolean; /** 作品类型:视频/图集/合辑/文章 */
53
+ Type: '视频' | '图集' | '合辑' | '文章'; /** 评论数量 */
12
54
  CommentLength: number; /** 视频大小(MB) */
13
55
  VideoSize?: string; /** 视频帧率(Hz) */
14
56
  VideoFPS?: number; /** 图片数量 */
@@ -141,6 +183,44 @@ interface DouyinFavoriteListProps extends BaseComponentProps {
141
183
  qrCodeDataUrl: string;
142
184
  }
143
185
  //#endregion
186
+ //#region ../template/src/types/platforms/douyin/imageWork.d.ts
187
+ /**
188
+ * 抖音图文作品组件属性接口
189
+ */
190
+ interface DouyinImageWorkProps extends BaseComponentProps {
191
+ /** 渲染请求数据 */
192
+ data: {
193
+ /** 是否使用深色主题 */useDarkTheme?: boolean; /** 图文封面URL */
194
+ image_url: string; /** 描述内容 */
195
+ desc: string; /** 点赞数 */
196
+ dianzan: string; /** 评论数 */
197
+ pinglun: string; /** 收藏数 */
198
+ shouchang: string; /** 分享数 */
199
+ share: string; /** 创建时间 */
200
+ create_time: string; /** 用户头像URL */
201
+ avater_url: string; /** 用户名 */
202
+ username: string; /** 抖音号 */
203
+ 抖音号: string; /** 获赞数 */
204
+ 获赞: string; /** 关注数 */
205
+ 关注: string; /** 粉丝数 */
206
+ 粉丝: string; /** 分享链接 */
207
+ share_url: string; /** 动态类型 */
208
+ dynamicTYPE?: string; /** 合作信息 */
209
+ cooperation_info?: {
210
+ co_creator_nums: number;
211
+ co_creators: Array<{
212
+ avatar_thumb: {
213
+ url_list: string[];
214
+ };
215
+ nickname: string;
216
+ role_title: string;
217
+ }>;
218
+ };
219
+ };
220
+ /** 预生成的二维码数据URL */
221
+ qrCodeDataUrl: string;
222
+ }
223
+ //#endregion
144
224
  //#region ../template/src/types/platforms/douyin/live.d.ts
145
225
  /**
146
226
  * 抖音直播组件属性接口
@@ -345,6 +425,44 @@ interface DouyinVideoInfoProps {
345
425
  useDarkTheme?: boolean;
346
426
  }
347
427
  //#endregion
428
+ //#region ../template/src/types/platforms/douyin/videoWork.d.ts
429
+ /**
430
+ * 抖音视频作品组件属性接口
431
+ */
432
+ interface DouyinVideoWorkProps extends BaseComponentProps {
433
+ /** 渲染请求数据 */
434
+ data: {
435
+ /** 是否使用深色主题 */useDarkTheme?: boolean; /** 视频封面URL */
436
+ image_url: string; /** 描述内容 */
437
+ desc: string; /** 点赞数 */
438
+ dianzan: string; /** 评论数 */
439
+ pinglun: string; /** 收藏数 */
440
+ shouchang: string; /** 分享数 */
441
+ share: string; /** 创建时间 */
442
+ create_time: string; /** 用户头像URL */
443
+ avater_url: string; /** 用户名 */
444
+ username: string; /** 抖音号 */
445
+ 抖音号: string; /** 获赞数 */
446
+ 获赞: string; /** 关注数 */
447
+ 关注: string; /** 粉丝数 */
448
+ 粉丝: string; /** 分享链接 */
449
+ share_url: string; /** 动态类型 */
450
+ dynamicTYPE?: string; /** 合作信息 */
451
+ cooperation_info?: {
452
+ co_creator_nums: number;
453
+ co_creators: Array<{
454
+ avatar_thumb: {
455
+ url_list: string[];
456
+ };
457
+ nickname: string;
458
+ role_title: string;
459
+ }>;
460
+ };
461
+ };
462
+ /** 预生成的二维码数据URL */
463
+ qrCodeDataUrl: string;
464
+ }
465
+ //#endregion
348
466
  //#region ../template/src/types/platforms/douyin/index.d.ts
349
467
  /** 抖音二维码登录组件属性 */
350
468
  interface DouyinQrcodeImgProps extends BaseComponentProps<{
@@ -930,7 +1048,8 @@ interface BilibiliDynamicProps extends BaseComponentProps {
930
1048
  frame?: string; /** 用户名 */
931
1049
  username: string; /** 动态创建时间 */
932
1050
  create_time: string; /** 装饰卡片 */
933
- decoration_card?: string; /** 动态文本内容 */
1051
+ decoration_card?: string; /** 图文动态标题 */
1052
+ title?: string; /** 动态文本内容 */
934
1053
  text: string; /** 图片URL数组 */
935
1054
  image_url: Array<{
936
1055
  image_src: string;
@@ -1649,7 +1768,7 @@ interface BaseComponentProps<T = Record<string, any>> extends Pick<RenderRequest
1649
1768
  /**
1650
1769
  * 抖音平台组件ID
1651
1770
  */
1652
- type DouyinComponentIds = 'comment' | 'dynamic' | 'favorite-list' | 'live' | 'musicinfo' | 'recommend-list' | 'user_profile' | 'userlist' | 'videoInfo' | 'user_videolist' | 'qrcodeImg';
1771
+ type DouyinComponentIds = 'article-work' | 'comment' | 'dynamic' | 'favorite-list' | 'image-work' | 'live' | 'musicinfo' | 'recommend-list' | 'user_profile' | 'userlist' | 'video-work' | 'videoInfo' | 'user_videolist' | 'qrcodeImg';
1653
1772
  /**
1654
1773
  * B站平台组件ID
1655
1774
  */
@@ -1677,11 +1796,14 @@ interface PathToDataTypeMap {
1677
1796
  'douyin/comment': DouyinCommentProps['data'];
1678
1797
  'douyin/dynamic': DouyinDynamicProps['data'];
1679
1798
  'douyin/favorite-list': DouyinFavoriteListProps['data'];
1799
+ 'douyin/image-work': DouyinImageWorkProps['data'];
1800
+ 'douyin/article-work': DouyinArticleWorkProps['data'];
1680
1801
  'douyin/live': DouyinLiveProps['data'];
1681
1802
  'douyin/musicinfo': DouyinMusicInfoProps['data'];
1682
1803
  'douyin/recommend-list': DouyinRecommendListProps['data'];
1683
1804
  'douyin/user_profile': DouyinUserVideoListProps['data'];
1684
1805
  'douyin/userlist': DouyinUserListProps['data'];
1806
+ 'douyin/video-work': DouyinVideoWorkProps['data'];
1685
1807
  'douyin/videoInfo': DouyinVideoInfoProps['data'];
1686
1808
  'douyin/qrcodeImg': DouyinQrcodeImgProps['data'];
1687
1809
  'bilibili/comment': BilibiliCommentProps['data'];
@@ -1,4 +1,4 @@
1
1
  import "./rolldown-runtime-BMXAG3ag.js";
2
- import "./vendor-CYCcUtqE.js";
3
- import { r as reactServerRender, t as template_default } from "./template-n3eb7E79.js";
2
+ import "./vendor-BcMLByns.js";
3
+ import { r as reactServerRender, t as template_default } from "./template-B9tgdrVz.js";
4
4
  export { template_default as default, reactServerRender };