koishi-plugin-bilibili-notify 3.2.5-alpha.0 → 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.
- package/lib/biliAPI-BB6Ih4EM.mjs +659 -0
- package/lib/biliAPI-GF2e2-2V.js +664 -0
- package/lib/biliAPI.d.mts +82 -0
- package/lib/biliAPI.d.ts +75 -72
- package/lib/biliAPI.js +5 -811
- package/lib/biliAPI.mjs +4 -0
- package/lib/blive-BBVUYbxX.js +43 -0
- package/lib/blive-CyC_0-9A.mjs +37 -0
- package/lib/blive.d.mts +19 -0
- package/lib/blive.d.ts +15 -12
- package/lib/blive.js +4 -59
- package/lib/blive.mjs +3 -0
- package/lib/chunk-CrFLpmCJ.js +67 -0
- package/lib/chunk-DBmNgn_A.mjs +40 -0
- package/lib/comRegister-CcqOpkwB.mjs +1421 -0
- package/lib/comRegister-t7UnYFig.js +1426 -0
- package/lib/comRegister.d.mts +109 -0
- package/lib/comRegister.d.ts +103 -100
- package/lib/comRegister.js +6 -1896
- package/lib/comRegister.mjs +5 -0
- package/lib/database-4f9U--Ji.mjs +20 -0
- package/lib/database-Ct2yIdxk.js +37 -0
- package/lib/database-Do3O9MDA.d.mts +18 -0
- package/lib/database-KWDs372o.d.ts +18 -0
- package/lib/database.d.mts +2 -0
- package/lib/database.d.ts +2 -14
- package/lib/database.js +5 -14
- package/lib/database.mjs +3 -0
- package/lib/font/HYZhengYuan-75W.js +5 -0
- package/lib/font/HYZhengYuan-75W.mjs +5 -0
- package/lib/generateImg-E9JeFpQX.js +92628 -0
- package/lib/generateImg-zwzMYjw6.mjs +92623 -0
- package/lib/generateImg.d.mts +65 -0
- package/lib/generateImg.d.ts +59 -46
- package/lib/generateImg.js +4 -1504
- package/lib/generateImg.mjs +4 -0
- package/lib/img/arrow.js +5 -0
- package/lib/img/arrow.mjs +5 -0
- package/lib/index-DeGUe4jM.d.mts +265 -0
- package/lib/index-MJKYbMf7.d.ts +265 -0
- package/lib/index.d.mts +73 -0
- package/lib/index.d.ts +65 -62
- package/lib/index.js +296 -394
- package/lib/index.mjs +300 -0
- package/lib/page/0.mjs +0 -0
- package/lib/type/index.d.mts +2 -0
- package/lib/type/index.d.ts +2 -262
- package/lib/type/index.js +5 -18
- package/lib/type/index.mjs +3 -0
- package/lib/type-C5ZxPrgY.mjs +19 -0
- package/lib/type-WjCy4YMc.js +31 -0
- package/lib/utils/index.d.mts +15 -0
- package/lib/utils/index.d.ts +8 -6
- package/lib/utils/index.js +6 -102
- package/lib/utils/index.mjs +3 -0
- package/lib/utils-BoaYrSvG.js +79 -0
- package/lib/utils-C95cnBJG.mjs +61 -0
- package/package.json +7 -4
- package/readme.md +10 -1
- package/lib/img/arrow.png +0 -0
- /package/lib/{font/HYZhengYuan-75W.ttf → assets/HYZhengYuan-75W-CAgMN3FH.ttf} +0 -0
- /package/lib/page/{0.html → 0.js} +0 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { __export } from "./chunk-DBmNgn_A.mjs";
|
|
2
|
+
|
|
3
|
+
//#region src/database.ts
|
|
4
|
+
var database_exports = {};
|
|
5
|
+
__export(database_exports, {
|
|
6
|
+
apply: () => apply,
|
|
7
|
+
name: () => name
|
|
8
|
+
});
|
|
9
|
+
const name = "Database";
|
|
10
|
+
function apply(ctx) {
|
|
11
|
+
ctx.model.extend("loginBili", {
|
|
12
|
+
id: "unsigned",
|
|
13
|
+
bili_cookies: "text",
|
|
14
|
+
bili_refresh_token: "text",
|
|
15
|
+
dynamic_group_id: "string"
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
//#endregion
|
|
20
|
+
export { apply, database_exports, name };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
const require_chunk = require('./chunk-CrFLpmCJ.js');
|
|
2
|
+
|
|
3
|
+
//#region src/database.ts
|
|
4
|
+
var database_exports = {};
|
|
5
|
+
require_chunk.__export(database_exports, {
|
|
6
|
+
apply: () => apply,
|
|
7
|
+
name: () => name
|
|
8
|
+
});
|
|
9
|
+
const name = "Database";
|
|
10
|
+
function apply(ctx) {
|
|
11
|
+
ctx.model.extend("loginBili", {
|
|
12
|
+
id: "unsigned",
|
|
13
|
+
bili_cookies: "text",
|
|
14
|
+
bili_refresh_token: "text",
|
|
15
|
+
dynamic_group_id: "string"
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
//#endregion
|
|
20
|
+
Object.defineProperty(exports, 'apply', {
|
|
21
|
+
enumerable: true,
|
|
22
|
+
get: function () {
|
|
23
|
+
return apply;
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
Object.defineProperty(exports, 'database_exports', {
|
|
27
|
+
enumerable: true,
|
|
28
|
+
get: function () {
|
|
29
|
+
return database_exports;
|
|
30
|
+
}
|
|
31
|
+
});
|
|
32
|
+
Object.defineProperty(exports, 'name', {
|
|
33
|
+
enumerable: true,
|
|
34
|
+
get: function () {
|
|
35
|
+
return name;
|
|
36
|
+
}
|
|
37
|
+
});
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Context } from "koishi";
|
|
2
|
+
|
|
3
|
+
//#region src/database.d.ts
|
|
4
|
+
declare module "koishi" {
|
|
5
|
+
interface Tables {
|
|
6
|
+
loginBili: LoginBili;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
interface LoginBili {
|
|
10
|
+
id: number;
|
|
11
|
+
bili_cookies: string;
|
|
12
|
+
bili_refresh_token: string;
|
|
13
|
+
dynamic_group_id: string;
|
|
14
|
+
}
|
|
15
|
+
declare const name = "Database";
|
|
16
|
+
declare function apply(ctx: Context): void;
|
|
17
|
+
//#endregion
|
|
18
|
+
export { LoginBili, apply, name };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Context } from "koishi";
|
|
2
|
+
|
|
3
|
+
//#region src/database.d.ts
|
|
4
|
+
declare module "koishi" {
|
|
5
|
+
interface Tables {
|
|
6
|
+
loginBili: LoginBili;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
interface LoginBili {
|
|
10
|
+
id: number;
|
|
11
|
+
bili_cookies: string;
|
|
12
|
+
bili_refresh_token: string;
|
|
13
|
+
dynamic_group_id: string;
|
|
14
|
+
}
|
|
15
|
+
declare const name = "Database";
|
|
16
|
+
declare function apply(ctx: Context): void;
|
|
17
|
+
//#endregion
|
|
18
|
+
export { LoginBili, apply, name };
|
package/lib/database.d.ts
CHANGED
|
@@ -1,14 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
interface Tables {
|
|
4
|
-
loginBili: LoginBili;
|
|
5
|
-
}
|
|
6
|
-
}
|
|
7
|
-
export interface LoginBili {
|
|
8
|
-
id: number;
|
|
9
|
-
bili_cookies: string;
|
|
10
|
-
bili_refresh_token: string;
|
|
11
|
-
dynamic_group_id: string;
|
|
12
|
-
}
|
|
13
|
-
export declare const name = "Database";
|
|
14
|
-
export declare function apply(ctx: Context): void;
|
|
1
|
+
import { LoginBili, apply, name } from "./database-KWDs372o.js";
|
|
2
|
+
export { LoginBili, apply, name };
|
package/lib/database.js
CHANGED
|
@@ -1,14 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
exports.apply = apply;
|
|
5
|
-
exports.name =
|
|
6
|
-
function apply(ctx) {
|
|
7
|
-
// 新增LoginBili表
|
|
8
|
-
ctx.model.extend("loginBili", {
|
|
9
|
-
id: "unsigned",
|
|
10
|
-
bili_cookies: "text",
|
|
11
|
-
bili_refresh_token: "text",
|
|
12
|
-
dynamic_group_id: "string",
|
|
13
|
-
});
|
|
14
|
-
}
|
|
1
|
+
const require_chunk = require('./chunk-CrFLpmCJ.js');
|
|
2
|
+
const require_database = require('./database-Ct2yIdxk.js');
|
|
3
|
+
|
|
4
|
+
exports.apply = require_database.apply;
|
|
5
|
+
exports.name = require_database.name;
|
package/lib/database.mjs
ADDED