karin-plugin-kkk 2.20.2 → 2.21.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.
@@ -627,8 +627,8 @@ interface SubCommentItem {
627
627
  frame?: string;
628
628
  /** 评论内容 */
629
629
  message: string;
630
- /** 评论图片 */
631
- img_src?: string | null;
630
+ /** 评论所有图片 */
631
+ pictures: string[];
632
632
  /** 创建时间 */
633
633
  ctime: string;
634
634
  /** IP标签/地理位置 */
@@ -664,8 +664,8 @@ interface CommentItem {
664
664
  status_label?: string | null;
665
665
  /** 评论内容 */
666
666
  message: string;
667
- /** 评论图片 */
668
- img_src?: string;
667
+ /** 评论所有图片 */
668
+ pictures: string[];
669
669
  /** VIP状态 */
670
670
  vipstatus?: number;
671
671
  /** 贴纸 */
@@ -1084,7 +1084,14 @@ interface BilibiliVideoDynamicProps extends BaseComponentProps {
1084
1084
  fans: string | number; /** 动态类型 */
1085
1085
  dynamicTYPE: string; /** 分享链接 */
1086
1086
  share_url: string; /** 动态ID */
1087
- dynamic_id: string;
1087
+ dynamic_id: string; /** 共创者列表 (可选) */
1088
+ staff?: Array<{
1089
+ /** 用户ID */mid: number; /** 职位标题 (UP主/参演) */
1090
+ title: string; /** 用户名 */
1091
+ name: string; /** 头像URL */
1092
+ face: string; /** 粉丝数 */
1093
+ follower: number;
1094
+ }>;
1088
1095
  };
1089
1096
  /** 预生成的二维码数据URL */
1090
1097
  qrCodeDataUrl?: string;
@@ -1799,6 +1806,7 @@ declare class ResourcePathManager {
1799
1806
  private packageDir;
1800
1807
  private NODE_ENV;
1801
1808
  private static initialized;
1809
+ private isDevelopment;
1802
1810
  constructor();
1803
1811
  /**
1804
1812
  * 获取包目录路径
@@ -1808,7 +1816,7 @@ declare class ResourcePathManager {
1808
1816
  /**
1809
1817
  * 查找开发环境目录
1810
1818
  * @param cwd 当前工作目录
1811
- * @returns 开发环境目录路径
1819
+ * @returns 开发环境目录路径,如果找不到返回 null
1812
1820
  */
1813
1821
  private findDevelopmentDir;
1814
1822
  /**
@@ -1840,12 +1848,23 @@ declare class ResourcePathManager {
1840
1848
  private isPluginMode;
1841
1849
  /**
1842
1850
  * 获取静态资源路径配置
1851
+ * 统一处理开发和生产环境的资源路径
1843
1852
  * @returns 静态资源路径配置对象
1844
1853
  */
1845
1854
  getResourcePaths(): {
1846
1855
  cssDir: string;
1847
1856
  imageDir: string;
1848
1857
  };
1858
+ /**
1859
+ * 获取所有可能的资源路径
1860
+ * @returns 可能的 CSS 和图片路径列表
1861
+ */
1862
+ private getPossibleResourcePaths;
1863
+ /**
1864
+ * 从当前模块路径向上查找 karin-plugin-kkk 包
1865
+ * @returns karin-plugin-kkk 包的路径,如果找不到返回 null
1866
+ */
1867
+ private findKarinPluginKkkPackage;
1849
1868
  }
1850
1869
  /**
1851
1870
  * 渲染器配置选项接口
@@ -1,4 +1,4 @@
1
1
  import "./rolldown-runtime-BMXAG3ag.js";
2
- import "./vendor-B3KhGHI_.js";
3
- import { r as reactServerRender, t as template_default } from "./template-CQ-u6h09.js";
2
+ import "./vendor-CYCcUtqE.js";
3
+ import { r as reactServerRender, t as template_default } from "./template-n3eb7E79.js";
4
4
  export { template_default as default, reactServerRender };