karin-plugin-kkk 2.32.3 → 2.34.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.
- package/CHANGELOG.md +24 -0
- package/lib/build-metadata.json +5 -5
- package/lib/core_chunk/amagi.d.mts +187 -1739
- package/lib/core_chunk/main.js +209 -3920
- package/lib/core_chunk/template.d.mts +20 -6
- package/lib/core_chunk/vendor.js +908 -819
- package/lib/karin-plugin-kkk.css +46 -0
- package/lib/web/assets/AboutPanel-DFjZYu60.js +1 -0
- package/lib/web/assets/DesktopLayout-Cr5AitGP.js +1 -0
- package/lib/web/assets/MobileLayout-BW-vN-VU.js +2 -0
- package/lib/web/assets/index-8KaTMCj2.css +2 -0
- package/lib/web/assets/index-CQhoJUBv.js +28 -0
- package/lib/web/favicon.svg +1 -0
- package/lib/web/icons.svg +24 -0
- package/lib/web/index.html +15 -0
- package/package.json +2 -2
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
2
|
import { A as RichTextDocument } from "./index-B2QgJ0_6.mjs";
|
|
3
|
-
import { EventEmitter } from "node:events";
|
|
3
|
+
import { EventEmitter as EventEmitter$1 } from "node:events";
|
|
4
4
|
import { AxiosRequestConfig, AxiosResponse } from "axios";
|
|
5
5
|
import React$1 from "react";
|
|
6
|
-
import { EventEmitter as EventEmitter$
|
|
6
|
+
import { EventEmitter as EventEmitter$2 } from "events";
|
|
7
7
|
import { Agent, ClientRequest, ClientRequestArgs, IncomingMessage, OutgoingHttpHeaders, Server } from "http";
|
|
8
|
+
import { Server as Server$1 } from "https";
|
|
8
9
|
import { createConnection } from "net";
|
|
9
10
|
import { SecureContextOptions } from "tls";
|
|
10
|
-
import { Server as Server$1 } from "https";
|
|
11
11
|
import { URL } from "url";
|
|
12
12
|
import { ZlibOptions } from "zlib";
|
|
13
13
|
|
|
@@ -1257,6 +1257,15 @@ interface BilibiliVideoOwner {
|
|
|
1257
1257
|
/** 头像框图片URL */
|
|
1258
1258
|
frame?: string;
|
|
1259
1259
|
}
|
|
1260
|
+
/**
|
|
1261
|
+
* 热门弹幕项接口(相同内容的弹幕聚合)
|
|
1262
|
+
*/
|
|
1263
|
+
interface BilibiliHotDanmaku {
|
|
1264
|
+
/** 弹幕内容 */
|
|
1265
|
+
content: string;
|
|
1266
|
+
/** 出现次数 */
|
|
1267
|
+
count: number;
|
|
1268
|
+
}
|
|
1260
1269
|
/**
|
|
1261
1270
|
* B站视频信息数据接口
|
|
1262
1271
|
*/
|
|
@@ -1277,6 +1286,8 @@ interface BilibiliVideoInfoData {
|
|
|
1277
1286
|
pic: string;
|
|
1278
1287
|
/** UP主信息 */
|
|
1279
1288
|
owner: BilibiliVideoOwner;
|
|
1289
|
+
/** 出现次数最多的热门弹幕(可选,按次数降序) */
|
|
1290
|
+
hotDanmaku?: BilibiliHotDanmaku[];
|
|
1280
1291
|
}
|
|
1281
1292
|
/**
|
|
1282
1293
|
* B站视频信息组件属性接口
|
|
@@ -1553,7 +1564,7 @@ type BufferLike = string | Buffer | DataView | number | ArrayBufferView | Uint8A
|
|
|
1553
1564
|
} | {
|
|
1554
1565
|
[Symbol.toPrimitive](hint: string): string;
|
|
1555
1566
|
}; // WebSocket socket.
|
|
1556
|
-
declare class WebSocket extends EventEmitter$
|
|
1567
|
+
declare class WebSocket extends EventEmitter$2 {
|
|
1557
1568
|
/** The connection is not yet open. */
|
|
1558
1569
|
static readonly CONNECTING: 0;
|
|
1559
1570
|
/** The connection is open and ready to communicate. */
|
|
@@ -1799,7 +1810,9 @@ declare namespace WebSocket {
|
|
|
1799
1810
|
}
|
|
1800
1811
|
}
|
|
1801
1812
|
//#endregion
|
|
1802
|
-
//#region ../../node_modules/.pnpm/node-karin@1.
|
|
1813
|
+
//#region ../../node_modules/.pnpm/node-karin@1.16.1/node_modules/node-karin/dist/index.d.ts
|
|
1814
|
+
//#endregion
|
|
1815
|
+
//#region src/types/adapter/info.d.ts
|
|
1803
1816
|
/**
|
|
1804
1817
|
* 适配器所属平台
|
|
1805
1818
|
* - `qq`: QQ
|
|
@@ -1880,7 +1893,8 @@ interface AdapterInfo$1 {
|
|
|
1880
1893
|
connectTime: number;
|
|
1881
1894
|
/** 鉴权秘钥 */
|
|
1882
1895
|
secret: string | null;
|
|
1883
|
-
}
|
|
1896
|
+
} //#endregion
|
|
1897
|
+
//#region src/types/event/account.d.ts
|
|
1884
1898
|
/**
|
|
1885
1899
|
* 适配器账号信息
|
|
1886
1900
|
*/
|