karin-plugin-kkk 2.30.4 → 2.31.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.
@@ -2134,6 +2134,16 @@ interface QrLoginProps {
2134
2134
  useDarkTheme?: boolean;
2135
2135
  }
2136
2136
  //#endregion
2137
+ //#region ../template/src/types/platforms/other/livePhotoTip.d.ts
2138
+ interface LivePhotoTipProps extends BaseComponentProps {
2139
+ data: {
2140
+ /** 提示标题 */title?: string; /** 附加说明 */
2141
+ description?: string;
2142
+ } & {
2143
+ /** 是否使用深色主题 */useDarkTheme?: boolean;
2144
+ };
2145
+ }
2146
+ //#endregion
2137
2147
  //#region ../template/src/types/platforms/other/statistics.d.ts
2138
2148
  /**
2139
2149
  * 群组解析统计数据接口
@@ -2219,6 +2229,8 @@ interface RenderRequest<T = Record<string, unknown>> {
2219
2229
  frameworkVersion: string; /** 是否有可用更新 */
2220
2230
  hasUpdate?: boolean;
2221
2231
  };
2232
+ /** 水印比特大小 */
2233
+ watermarkTextBitSize: number;
2222
2234
  /** 渲染数据 */
2223
2235
  data: T & {
2224
2236
  /** 是否使用深色主题 */useDarkTheme?: boolean; /** 二维码分享链接 */
@@ -2241,10 +2253,12 @@ interface RenderResponse {
2241
2253
  * @template T 子组件的数据类型
2242
2254
  */
2243
2255
  interface BaseComponentProps<T = Record<string, any>> extends Pick<RenderRequest, 'version' | 'scale'> {
2256
+ /** 水印比特大小 */
2257
+ watermarkTextBitSize?: RenderRequest['watermarkTextBitSize'];
2244
2258
  /** 渲染数据 - 子组件的具体参数 */
2245
- data: {
2259
+ data: T & {
2246
2260
  /** 是否使用深色主题 */useDarkTheme?: boolean;
2247
- } & T;
2261
+ };
2248
2262
  }
2249
2263
  /**
2250
2264
  * 抖音平台组件ID
@@ -2265,7 +2279,7 @@ type XiaohongshuComponentIds = 'noteInfo' | 'comment';
2265
2279
  /**
2266
2280
  * 其他平台组件ID
2267
2281
  */
2268
- type OtherComponentIds = 'help' | 'handlerError' | 'changelog' | 'version_warning' | 'qrlogin';
2282
+ type OtherComponentIds = 'help' | 'handlerError' | 'changelog' | 'version_warning' | 'qrlogin' | 'live-photo-tip';
2269
2283
  /**
2270
2284
  * 统计平台组件ID
2271
2285
  */
@@ -2310,6 +2324,7 @@ interface PathToDataTypeMap {
2310
2324
  'other/changelog': ChangelogProps['data'];
2311
2325
  'other/version_warning': VersionWarningProps['data'];
2312
2326
  'other/qrlogin': QrLoginProps['data'];
2327
+ 'other/live-photo-tip': LivePhotoTipProps['data'];
2313
2328
  'statistics/group': GroupStatisticsProps['data'];
2314
2329
  'statistics/global': GlobalStatisticsProps['data'];
2315
2330
  }
@@ -2329,7 +2344,7 @@ interface DataTypeMap {
2329
2344
  /** 快手平台数据类型 */
2330
2345
  kuaishou: KuaishouCommentProps['data'];
2331
2346
  /** 其他类型数据 */
2332
- other: HelpProps['data'];
2347
+ other: HelpProps['data'] | LivePhotoTipProps['data'];
2333
2348
  }
2334
2349
  /**
2335
2350
  * 渲染请求接口