koishi-plugin-bilibili-notify 3.2.4 → 3.2.5-alpha.1

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.
Files changed (62) hide show
  1. package/lib/biliAPI-BB6Ih4EM.mjs +659 -0
  2. package/lib/biliAPI-GF2e2-2V.js +664 -0
  3. package/lib/biliAPI.d.mts +82 -0
  4. package/lib/biliAPI.d.ts +75 -70
  5. package/lib/biliAPI.js +5 -762
  6. package/lib/biliAPI.mjs +4 -0
  7. package/lib/blive-BBVUYbxX.js +43 -0
  8. package/lib/blive-CyC_0-9A.mjs +37 -0
  9. package/lib/blive.d.mts +19 -0
  10. package/lib/blive.d.ts +15 -12
  11. package/lib/blive.js +4 -59
  12. package/lib/blive.mjs +3 -0
  13. package/lib/chunk-CrFLpmCJ.js +67 -0
  14. package/lib/chunk-DBmNgn_A.mjs +40 -0
  15. package/lib/comRegister-CcqOpkwB.mjs +1421 -0
  16. package/lib/comRegister-t7UnYFig.js +1426 -0
  17. package/lib/comRegister.d.mts +109 -0
  18. package/lib/comRegister.d.ts +103 -100
  19. package/lib/comRegister.js +6 -1896
  20. package/lib/comRegister.mjs +5 -0
  21. package/lib/database-4f9U--Ji.mjs +20 -0
  22. package/lib/database-Ct2yIdxk.js +37 -0
  23. package/lib/database-Do3O9MDA.d.mts +18 -0
  24. package/lib/database-KWDs372o.d.ts +18 -0
  25. package/lib/database.d.mts +2 -0
  26. package/lib/database.d.ts +2 -14
  27. package/lib/database.js +5 -14
  28. package/lib/database.mjs +3 -0
  29. package/lib/font/HYZhengYuan-75W.js +5 -0
  30. package/lib/font/HYZhengYuan-75W.mjs +5 -0
  31. package/lib/generateImg-E9JeFpQX.js +92628 -0
  32. package/lib/generateImg-zwzMYjw6.mjs +92623 -0
  33. package/lib/generateImg.d.mts +65 -0
  34. package/lib/generateImg.d.ts +59 -46
  35. package/lib/generateImg.js +4 -1504
  36. package/lib/generateImg.mjs +4 -0
  37. package/lib/img/arrow.js +5 -0
  38. package/lib/img/arrow.mjs +5 -0
  39. package/lib/index-DeGUe4jM.d.mts +265 -0
  40. package/lib/index-MJKYbMf7.d.ts +265 -0
  41. package/lib/index.d.mts +73 -0
  42. package/lib/index.d.ts +65 -62
  43. package/lib/index.js +296 -394
  44. package/lib/index.mjs +300 -0
  45. package/lib/page/0.mjs +0 -0
  46. package/lib/type/index.d.mts +2 -0
  47. package/lib/type/index.d.ts +2 -262
  48. package/lib/type/index.js +5 -18
  49. package/lib/type/index.mjs +3 -0
  50. package/lib/type-C5ZxPrgY.mjs +19 -0
  51. package/lib/type-WjCy4YMc.js +31 -0
  52. package/lib/utils/index.d.mts +15 -0
  53. package/lib/utils/index.d.ts +8 -6
  54. package/lib/utils/index.js +6 -102
  55. package/lib/utils/index.mjs +3 -0
  56. package/lib/utils-BoaYrSvG.js +79 -0
  57. package/lib/utils-C95cnBJG.mjs +61 -0
  58. package/package.json +16 -11
  59. package/readme.md +12 -2
  60. package/lib/img/arrow.png +0 -0
  61. /package/lib/{font/HYZhengYuan-75W.ttf → assets/HYZhengYuan-75W-CAgMN3FH.ttf} +0 -0
  62. /package/lib/page/{0.html → 0.js} +0 -0
package/lib/index.d.ts CHANGED
@@ -1,70 +1,73 @@
1
- import { type Context, type ForkScope, Schema, Service } from "koishi";
2
- export declare const inject: string[];
3
- export declare const name = "bilibili-notify";
4
- export declare const usage = "\n\tBilibili-Notify\n\t\u5982\u9047\u5230\u4F7F\u7528\u95EE\u9898\u6216bug\uFF0C\u8BF7\u52A0\u7FA4\u54A8\u8BE2 801338523\n";
1
+ import { Context, ForkScope, Schema, Service } from "koishi";
2
+
3
+ //#region src/index.d.ts
4
+ declare const inject: string[];
5
+ declare const name = "bilibili-notify";
6
+ declare const usage = "\n\tBilibili-Notify\n\t\u5982\u9047\u5230\u4F7F\u7528\u95EE\u9898\u6216bug\uFF0C\u8BF7\u52A0\u7FA4\u54A8\u8BE2 801338523\n";
5
7
  declare module "koishi" {
6
- interface Context {
7
- sm: ServerManager;
8
- }
8
+ interface Context {
9
+ sm: ServerManager;
10
+ }
9
11
  }
10
12
  declare class ServerManager extends Service {
11
- servers: ForkScope[];
12
- constructor(ctx: Context);
13
- protected start(): void | Promise<void>;
14
- registerPlugin: () => boolean;
15
- disposePlugin: () => Promise<boolean>;
16
- restartPlugin: () => Promise<boolean>;
13
+ servers: ForkScope[];
14
+ constructor(ctx: Context);
15
+ protected start(): void | Promise<void>;
16
+ registerPlugin: () => boolean;
17
+ disposePlugin: () => Promise<boolean>;
18
+ restartPlugin: () => Promise<boolean>;
17
19
  }
18
- export declare function apply(ctx: Context, config: Config): void;
19
- export interface Config {
20
- require: {};
21
- key: string;
22
- master: {};
23
- basicSettings: {};
24
- userAgent: string;
25
- subTitle: {};
26
- sub: Array<{
27
- name: string;
28
- uid: string;
20
+ declare function apply(ctx: Context, config: Config): void;
21
+ interface Config {
22
+ require: {};
23
+ key: string;
24
+ master: {};
25
+ basicSettings: {};
26
+ userAgent: string;
27
+ subTitle: {};
28
+ sub: Array<{
29
+ name: string;
30
+ uid: string;
31
+ dynamic: boolean;
32
+ live: boolean;
33
+ card: {};
34
+ target: Array<{
35
+ channelArr: Array<{
36
+ channelId: string;
29
37
  dynamic: boolean;
30
38
  live: boolean;
31
- card: {};
32
- target: Array<{
33
- channelArr: Array<{
34
- channelId: string;
35
- dynamic: boolean;
36
- live: boolean;
37
- liveGuardBuy: boolean;
38
- atAll: boolean;
39
- bot: string;
40
- }>;
41
- platform: string;
42
- }>;
39
+ liveGuardBuy: boolean;
40
+ atAll: boolean;
41
+ bot: string;
42
+ }>;
43
+ platform: string;
43
44
  }>;
44
- dynamic: {};
45
- dynamicUrl: boolean;
46
- dynamicVideoUrlToBV: boolean;
47
- pushImgsInDynamic: boolean;
48
- live: {};
49
- liveDetectType: "WS" | "API";
50
- restartPush: boolean;
51
- pushTime: number;
52
- customLiveStart: string;
53
- customLive: string;
54
- customLiveEnd: string;
55
- followerDisplay: boolean;
56
- hideDesc: boolean;
57
- style: {};
58
- removeBorder: boolean;
59
- cardColorStart: string;
60
- cardColorEnd: string;
61
- cardBasePlateColor: string;
62
- cardBasePlateBorder: string;
63
- enableLargeFont: boolean;
64
- font: string;
65
- filter: {};
66
- debug: {};
67
- dynamicDebugMode: boolean;
45
+ }>;
46
+ dynamic: {};
47
+ dynamicUrl: boolean;
48
+ dynamicVideoUrlToBV: boolean;
49
+ pushImgsInDynamic: boolean;
50
+ live: {};
51
+ liveDetectType: "WS" | "API";
52
+ restartPush: boolean;
53
+ pushTime: number;
54
+ customLiveStart: string;
55
+ customLive: string;
56
+ customLiveEnd: string;
57
+ followerDisplay: boolean;
58
+ hideDesc: boolean;
59
+ style: {};
60
+ removeBorder: boolean;
61
+ cardColorStart: string;
62
+ cardColorEnd: string;
63
+ cardBasePlateColor: string;
64
+ cardBasePlateBorder: string;
65
+ enableLargeFont: boolean;
66
+ font: string;
67
+ filter: {};
68
+ debug: {};
69
+ dynamicDebugMode: boolean;
68
70
  }
69
- export declare const Config: Schema<Config>;
70
- export {};
71
+ declare const Config: Schema<Config>;
72
+ //#endregion
73
+ export { Config, apply, inject, name, usage };