karin-plugin-mys-core 1.0.11 → 1.0.13
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/README.md +1 -1
- package/lib/apps/MiHoYoLogin.js +7 -38
- package/lib/apps/MysDevice.js +6 -37
- package/lib/apps/UIDManage.js +7 -38
- package/lib/{chunk-4BTKE3LO.js → chunk-567NAKP4.js} +300 -189
- package/lib/{chunk-BBJ4U2IY.js → chunk-A5FZEOIN.js} +75 -4
- package/lib/{chunk-AFLOM3CG.js → chunk-G564WWA7.js} +6 -10
- package/lib/chunk-HKSHKXRI.js +21 -0
- package/lib/chunk-IASM5MM5.js +639 -0
- package/lib/{chunk-5DXIT7UB.js → chunk-RX4VMVAI.js} +0 -5
- package/lib/chunk-UIPRZFST.js +184 -0
- package/lib/core/index.d.ts +20 -0
- package/lib/core/index.js +10 -0
- package/lib/exports/config/index.d.ts +56 -1
- package/lib/exports/config/index.js +3 -9
- package/lib/exports/database/index.d.ts +78 -12
- package/lib/exports/database/index.js +12 -40
- package/lib/exports/mys/index.d.ts +379 -14
- package/lib/exports/mys/index.js +10 -43
- package/lib/exports/render/index.d.ts +36 -3
- package/lib/exports/render/index.js +3 -8
- package/lib/exports/utils/index.d.ts +45 -2
- package/lib/exports/utils/index.js +1 -4
- package/lib/{exports/database/types/dbs/base.d.ts → mysUserInfo-BsyEENbc.d.ts} +60 -1
- package/package.json +6 -1
- package/resources/image/frame-logo.webp +0 -0
- package/resources/image/launcher-icon//345/216/237/347/245/236.webp +0 -0
- package/resources/image/launcher-icon//345/264/251/345/235/2173.webp +0 -0
- package/resources/image/launcher-icon//345/264/251/345/235/217/345/255/246/345/233/2552.webp +0 -0
- package/resources/image/launcher-icon//345/264/251/345/235/217/357/274/232/345/233/240/347/274/230/347/262/276/347/201/265.webp +0 -0
- package/resources/image/launcher-icon//345/264/251/345/235/217/357/274/232/346/230/237/347/251/271/351/223/201/351/201/223.webp +0 -0
- package/resources/image/launcher-icon//346/230/237/345/270/203/350/260/267/345/234/260.webp +0 -0
- package/resources/image/launcher-icon//346/234/252/345/256/232/344/272/213/344/273/266/347/260/277.webp +0 -0
- package/resources/image/launcher-icon//347/273/235/345/214/272/351/233/266.webp +0 -0
- package/resources/image/mys-core-logo.webp +0 -0
- package/resources/image/mys-logo.webp +0 -0
- package/lib/chunk-2BVJS5VE.js +0 -49
- package/lib/chunk-3ERB3ILC.js +0 -0
- package/lib/chunk-3JN5WYUN.js +0 -135
- package/lib/chunk-7KEG6SDX.js +0 -0
- package/lib/chunk-7VAWV6ZE.js +0 -0
- package/lib/chunk-ARLTXJFJ.js +0 -0
- package/lib/chunk-CFS2WFOO.js +0 -0
- package/lib/chunk-DMJ5OQR6.js +0 -73
- package/lib/chunk-EDNBKOMS.js +0 -30
- package/lib/chunk-FBWSEBAW.js +0 -0
- package/lib/chunk-FOAQZIZ2.js +0 -0
- package/lib/chunk-G5W5WAY5.js +0 -64
- package/lib/chunk-G7TMVDGP.js +0 -68
- package/lib/chunk-HJ6HX5HB.js +0 -29
- package/lib/chunk-I7XZONDN.js +0 -13
- package/lib/chunk-JRH4JC43.js +0 -0
- package/lib/chunk-JVJQKRJ4.js +0 -89
- package/lib/chunk-K5U2O3HH.js +0 -0
- package/lib/chunk-KQVWWGRH.js +0 -31
- package/lib/chunk-LBLGKL3W.js +0 -77
- package/lib/chunk-LJSDSOY6.js +0 -0
- package/lib/chunk-LYTNREAI.js +0 -0
- package/lib/chunk-MPZP23EX.js +0 -219
- package/lib/chunk-MWYDWDR4.js +0 -0
- package/lib/chunk-PMFOX5HA.js +0 -80
- package/lib/chunk-PYTECG57.js +0 -0
- package/lib/chunk-SEWEEPJN.js +0 -0
- package/lib/chunk-SHW6FHIB.js +0 -10
- package/lib/chunk-T7W4DXRM.js +0 -0
- package/lib/chunk-TTN7NFCA.js +0 -109
- package/lib/chunk-W4DBT7AD.js +0 -0
- package/lib/chunk-WCX7WZAQ.js +0 -0
- package/lib/chunk-Z5I6A73Y.js +0 -0
- package/lib/chunk-ZTOR2DXG.js +0 -38
- package/lib/common-BlI5Gsw_.d.ts +0 -35
- package/lib/define-B9r20dK6.d.ts +0 -130
- package/lib/exports/config/array.d.ts +0 -1
- package/lib/exports/config/array.js +0 -7
- package/lib/exports/config/config.d.ts +0 -56
- package/lib/exports/config/config.js +0 -12
- package/lib/exports/database/database.d.ts +0 -30
- package/lib/exports/database/database.js +0 -22
- package/lib/exports/database/dbs/base.d.ts +0 -25
- package/lib/exports/database/dbs/base.js +0 -19
- package/lib/exports/database/dbs/index.d.ts +0 -4
- package/lib/exports/database/dbs/index.js +0 -29
- package/lib/exports/database/dbs/sqlite3.d.ts +0 -27
- package/lib/exports/database/dbs/sqlite3.js +0 -23
- package/lib/exports/database/dbs/table.d.ts +0 -20
- package/lib/exports/database/dbs/table.js +0 -25
- package/lib/exports/database/tables/index.d.ts +0 -9
- package/lib/exports/database/tables/index.js +0 -40
- package/lib/exports/database/tables/mysAccountInfo.d.ts +0 -9
- package/lib/exports/database/tables/mysAccountInfo.js +0 -27
- package/lib/exports/database/tables/mysDeviceInfo.d.ts +0 -9
- package/lib/exports/database/tables/mysDeviceInfo.js +0 -27
- package/lib/exports/database/tables/mysUserInfo.d.ts +0 -9
- package/lib/exports/database/tables/mysUserInfo.js +0 -27
- package/lib/exports/database/types/database.d.ts +0 -6
- package/lib/exports/database/types/database.js +0 -1
- package/lib/exports/database/types/dbs/base.js +0 -11
- package/lib/exports/database/types/dbs/index.d.ts +0 -2
- package/lib/exports/database/types/dbs/index.js +0 -12
- package/lib/exports/database/types/index.d.ts +0 -6
- package/lib/exports/database/types/index.js +0 -24
- package/lib/exports/database/types/tables/index.d.ts +0 -5
- package/lib/exports/database/types/tables/index.js +0 -13
- package/lib/exports/database/types/tables/mysAccountInfo.d.ts +0 -14
- package/lib/exports/database/types/tables/mysAccountInfo.js +0 -7
- package/lib/exports/database/types/tables/mysDeviceInfo.d.ts +0 -19
- package/lib/exports/database/types/tables/mysDeviceInfo.js +0 -1
- package/lib/exports/database/types/tables/mysUserInfo.d.ts +0 -32
- package/lib/exports/database/types/tables/mysUserInfo.js +0 -7
- package/lib/exports/mys/api/apis.d.ts +0 -82
- package/lib/exports/mys/api/apis.js +0 -56
- package/lib/exports/mys/api/app.d.ts +0 -60
- package/lib/exports/mys/api/app.js +0 -32
- package/lib/exports/mys/api/define.d.ts +0 -6
- package/lib/exports/mys/api/define.js +0 -42
- package/lib/exports/mys/api/index.d.ts +0 -11
- package/lib/exports/mys/api/index.js +0 -63
- package/lib/exports/mys/types/api/define.d.ts +0 -6
- package/lib/exports/mys/types/api/define.js +0 -1
- package/lib/exports/mys/types/api/index.d.ts +0 -6
- package/lib/exports/mys/types/api/index.js +0 -2
- package/lib/exports/mys/types/index.d.ts +0 -12
- package/lib/exports/mys/types/index.js +0 -6
- package/lib/exports/mys/types/user/game.d.ts +0 -23
- package/lib/exports/mys/types/user/game.js +0 -1
- package/lib/exports/mys/types/user/index.d.ts +0 -12
- package/lib/exports/mys/types/user/index.js +0 -3
- package/lib/exports/mys/types/user/userInfo.d.ts +0 -43
- package/lib/exports/mys/types/user/userInfo.js +0 -1
- package/lib/exports/mys/user/deviceInfo.d.ts +0 -11
- package/lib/exports/mys/user/deviceInfo.js +0 -30
- package/lib/exports/mys/user/game.d.ts +0 -40
- package/lib/exports/mys/user/game.js +0 -9
- package/lib/exports/mys/user/index.d.ts +0 -14
- package/lib/exports/mys/user/index.js +0 -52
- package/lib/exports/mys/user/userInfo.d.ts +0 -53
- package/lib/exports/mys/user/userInfo.js +0 -44
- package/lib/exports/render/render.d.ts +0 -38
- package/lib/exports/render/render.js +0 -12
- package/lib/exports/utils/common.d.ts +0 -1
- package/lib/exports/utils/common.js +0 -15
- package/lib/exports/utils/types/common.d.ts +0 -11
- package/lib/exports/utils/types/common.js +0 -1
- package/lib/exports/utils/types/index.d.ts +0 -1
- package/lib/exports/utils/types/index.js +0 -2
- package/resources/image/frame-logo.png +0 -0
- package/resources/image/launcher-icon//345/216/237/347/245/236.png +0 -0
- package/resources/image/launcher-icon//345/264/251/345/235/2173.png +0 -0
- package/resources/image/launcher-icon//345/264/251/345/235/217/345/255/246/345/233/2552.png +0 -0
- package/resources/image/launcher-icon//345/264/251/345/235/217/357/274/232/345/233/240/347/274/230/347/262/276/347/201/265.png +0 -0
- package/resources/image/launcher-icon//345/264/251/345/235/217/357/274/232/346/230/237/347/251/271/351/223/201/351/201/223.png +0 -0
- package/resources/image/launcher-icon//346/230/237/345/270/203/350/260/267/345/234/260.png +0 -0
- package/resources/image/launcher-icon//346/234/252/345/256/232/344/272/213/344/273/266/347/260/277.png +0 -0
- package/resources/image/launcher-icon//347/273/235/345/214/272/351/233/266.png +0 -0
- package/resources/image/mys-core-logo.png +0 -0
- package/resources/image/mys-logo.png +0 -0
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export { DatabaseFn } from './database.js';
|
|
2
|
-
export { DatabaseArray, DatabaseClassInstance, DatabaseClassStatic, DatabaseReturn, DatabaseType, Dialect, ModelAttributes } from './dbs/base.js';
|
|
3
|
-
export { MysAccountInfoTableType, MysAccountType } from './tables/mysAccountInfo.js';
|
|
4
|
-
export { MysDeviceInfoDatabaseBaseType, MysDeviceInfoDatabaseIdFpType, MysDeviceInfoTableType } from './tables/mysDeviceInfo.js';
|
|
5
|
-
export { BaseGameUIDInfoTableType, BaseUserInfoTableType, BindUidsItemType, UidPermission } from './tables/mysUserInfo.js';
|
|
6
|
-
import 'sequelize';
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import "../../../chunk-7KEG6SDX.js";
|
|
2
|
-
import "../../../chunk-FBWSEBAW.js";
|
|
3
|
-
import {
|
|
4
|
-
DatabaseArray,
|
|
5
|
-
DatabaseType,
|
|
6
|
-
Dialect
|
|
7
|
-
} from "../../../chunk-JVJQKRJ4.js";
|
|
8
|
-
import "../../../chunk-LYTNREAI.js";
|
|
9
|
-
import {
|
|
10
|
-
MysAccountType
|
|
11
|
-
} from "../../../chunk-SHW6FHIB.js";
|
|
12
|
-
import "../../../chunk-K5U2O3HH.js";
|
|
13
|
-
import {
|
|
14
|
-
UidPermission
|
|
15
|
-
} from "../../../chunk-I7XZONDN.js";
|
|
16
|
-
import "../../../chunk-JRH4JC43.js";
|
|
17
|
-
import "../../../chunk-MLKGABMK.js";
|
|
18
|
-
export {
|
|
19
|
-
DatabaseArray,
|
|
20
|
-
DatabaseType,
|
|
21
|
-
Dialect,
|
|
22
|
-
MysAccountType,
|
|
23
|
-
UidPermission
|
|
24
|
-
};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export { MysAccountInfoTableType, MysAccountType } from './mysAccountInfo.js';
|
|
2
|
-
export { MysDeviceInfoDatabaseBaseType, MysDeviceInfoDatabaseIdFpType, MysDeviceInfoTableType } from './mysDeviceInfo.js';
|
|
3
|
-
export { BaseGameUIDInfoTableType, BaseUserInfoTableType, BindUidsItemType, UidPermission } from './mysUserInfo.js';
|
|
4
|
-
import '../dbs/base.js';
|
|
5
|
-
import 'sequelize';
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import "../../../../chunk-LYTNREAI.js";
|
|
2
|
-
import {
|
|
3
|
-
MysAccountType
|
|
4
|
-
} from "../../../../chunk-SHW6FHIB.js";
|
|
5
|
-
import "../../../../chunk-K5U2O3HH.js";
|
|
6
|
-
import {
|
|
7
|
-
UidPermission
|
|
8
|
-
} from "../../../../chunk-I7XZONDN.js";
|
|
9
|
-
import "../../../../chunk-MLKGABMK.js";
|
|
10
|
-
export {
|
|
11
|
-
MysAccountType,
|
|
12
|
-
UidPermission
|
|
13
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
declare const enum MysAccountType {
|
|
2
|
-
cn = "mihoyo",
|
|
3
|
-
os = "hoyolab"
|
|
4
|
-
}
|
|
5
|
-
interface MysAccountInfoTableType {
|
|
6
|
-
ltuid: string;
|
|
7
|
-
type: MysAccountType;
|
|
8
|
-
cookie: string;
|
|
9
|
-
stoken: string;
|
|
10
|
-
/** 绑定的设备md5 */
|
|
11
|
-
deviceMd5: string;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export { type MysAccountInfoTableType, MysAccountType };
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
interface MysDeviceInfoDatabaseBaseType {
|
|
2
|
-
name: string;
|
|
3
|
-
board: string;
|
|
4
|
-
/** @description 重要参数 */
|
|
5
|
-
model: string;
|
|
6
|
-
oaid: string;
|
|
7
|
-
version: number;
|
|
8
|
-
fingerprint: string;
|
|
9
|
-
product: string;
|
|
10
|
-
}
|
|
11
|
-
interface MysDeviceInfoDatabaseIdFpType {
|
|
12
|
-
deviceId: string;
|
|
13
|
-
deviceFp: string;
|
|
14
|
-
}
|
|
15
|
-
interface MysDeviceInfoTableType extends MysDeviceInfoDatabaseBaseType, MysDeviceInfoDatabaseIdFpType {
|
|
16
|
-
md5: string;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
export type { MysDeviceInfoDatabaseBaseType, MysDeviceInfoDatabaseIdFpType, MysDeviceInfoTableType };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "../../../../chunk-K5U2O3HH.js";
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { DatabaseArray } from '../dbs/base.js';
|
|
2
|
-
import 'sequelize';
|
|
3
|
-
|
|
4
|
-
interface BaseUserInfoTableType {
|
|
5
|
-
userId: string;
|
|
6
|
-
ltuids: DatabaseArray<string>;
|
|
7
|
-
stuids: DatabaseArray<string>;
|
|
8
|
-
deviceList: DatabaseArray<string>;
|
|
9
|
-
}
|
|
10
|
-
declare const enum UidPermission {
|
|
11
|
-
/** @description 普通绑定 */
|
|
12
|
-
BIND = 0,
|
|
13
|
-
/** @description Cookie */
|
|
14
|
-
CK = 1,
|
|
15
|
-
/** @description SToken */
|
|
16
|
-
ST = 2,
|
|
17
|
-
/** @description Cookie + SToken */
|
|
18
|
-
CS = 3,
|
|
19
|
-
/** @description 删除绑定 */
|
|
20
|
-
DEL = 4
|
|
21
|
-
}
|
|
22
|
-
interface BindUidsItemType {
|
|
23
|
-
perm: UidPermission;
|
|
24
|
-
ltuid: string;
|
|
25
|
-
}
|
|
26
|
-
type BaseGameUIDInfoTableType<Game extends string> = {
|
|
27
|
-
[P in `${Game}-main`]: string;
|
|
28
|
-
} & {
|
|
29
|
-
[P in `${Game}-uids`]: Partial<Record<string, BindUidsItemType>>;
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
export { type BaseGameUIDInfoTableType, type BaseUserInfoTableType, type BindUidsItemType, UidPermission };
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import { b as DefineApi, B as BaseMysRes, a as BaseltuidInfoType } from '../../../define-B9r20dK6.js';
|
|
2
|
-
import { UserGameRoleItemType } from '../types/user/userInfo.js';
|
|
3
|
-
import './app.js';
|
|
4
|
-
import '../../database/types/tables/mysAccountInfo.js';
|
|
5
|
-
import 'node-karin';
|
|
6
|
-
import 'node-karin/axios';
|
|
7
|
-
import '../../database/types/tables/mysDeviceInfo.js';
|
|
8
|
-
import '../../database/types/tables/mysUserInfo.js';
|
|
9
|
-
import '../../database/types/dbs/base.js';
|
|
10
|
-
import 'sequelize';
|
|
11
|
-
|
|
12
|
-
declare const fetchQRcode: DefineApi<BaseMysRes & {
|
|
13
|
-
data: {
|
|
14
|
-
url: string;
|
|
15
|
-
};
|
|
16
|
-
}, {
|
|
17
|
-
device: string;
|
|
18
|
-
}, null>;
|
|
19
|
-
declare const queryQRcode: DefineApi<BaseMysRes & {
|
|
20
|
-
data: {
|
|
21
|
-
stat: "Scanned" | "Confirmed";
|
|
22
|
-
payload: {
|
|
23
|
-
raw: string;
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
}, {
|
|
27
|
-
device: string;
|
|
28
|
-
ticket: string;
|
|
29
|
-
}, null>;
|
|
30
|
-
declare const getTokenByGameToken: DefineApi<BaseMysRes & {
|
|
31
|
-
data: {
|
|
32
|
-
token: {
|
|
33
|
-
token: string;
|
|
34
|
-
};
|
|
35
|
-
user_info: {
|
|
36
|
-
aid: string;
|
|
37
|
-
mid: string;
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
}, {
|
|
41
|
-
account_id: number;
|
|
42
|
-
game_token: string;
|
|
43
|
-
}, null>;
|
|
44
|
-
declare const getCookieAccountInfoByGameToken: DefineApi<BaseMysRes & {
|
|
45
|
-
data: {
|
|
46
|
-
cookie_token: string;
|
|
47
|
-
};
|
|
48
|
-
}, {
|
|
49
|
-
account_id: string;
|
|
50
|
-
game_token: string;
|
|
51
|
-
}, null>;
|
|
52
|
-
declare const getCookieTokenBySToken: DefineApi<BaseMysRes & {
|
|
53
|
-
data: {
|
|
54
|
-
cookie_token: string;
|
|
55
|
-
};
|
|
56
|
-
}, {
|
|
57
|
-
stoken: string;
|
|
58
|
-
method: "GET" | "POST";
|
|
59
|
-
}, null>;
|
|
60
|
-
declare const getUserGameRolesByCookie: DefineApi<BaseMysRes & {
|
|
61
|
-
data: {
|
|
62
|
-
list: UserGameRoleItemType[];
|
|
63
|
-
};
|
|
64
|
-
}, null, {
|
|
65
|
-
cookie: string;
|
|
66
|
-
} & BaseltuidInfoType>;
|
|
67
|
-
declare const getUserFullInfo: DefineApi<BaseMysRes & {
|
|
68
|
-
data: {
|
|
69
|
-
user_info: {
|
|
70
|
-
uid: string;
|
|
71
|
-
};
|
|
72
|
-
};
|
|
73
|
-
}, null, {
|
|
74
|
-
cookie: string;
|
|
75
|
-
} & BaseltuidInfoType>;
|
|
76
|
-
declare const getDeviceFp: DefineApi<BaseMysRes & {
|
|
77
|
-
data: {
|
|
78
|
-
device_fp: string;
|
|
79
|
-
};
|
|
80
|
-
}, null, null>;
|
|
81
|
-
|
|
82
|
-
export { fetchQRcode, getCookieAccountInfoByGameToken, getCookieTokenBySToken, getDeviceFp, getTokenByGameToken, getUserFullInfo, getUserGameRolesByCookie, queryQRcode };
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
fetchQRcode,
|
|
3
|
-
getCookieAccountInfoByGameToken,
|
|
4
|
-
getCookieTokenBySToken,
|
|
5
|
-
getDeviceFp,
|
|
6
|
-
getTokenByGameToken,
|
|
7
|
-
getUserFullInfo,
|
|
8
|
-
getUserGameRolesByCookie,
|
|
9
|
-
queryQRcode
|
|
10
|
-
} from "../../../chunk-4BTKE3LO.js";
|
|
11
|
-
import "../../../chunk-2BVJS5VE.js";
|
|
12
|
-
import "../../../chunk-G5W5WAY5.js";
|
|
13
|
-
import "../../../chunk-7VAWV6ZE.js";
|
|
14
|
-
import "../../../chunk-LJSDSOY6.js";
|
|
15
|
-
import "../../../chunk-CFS2WFOO.js";
|
|
16
|
-
import "../../../chunk-MWYDWDR4.js";
|
|
17
|
-
import "../../../chunk-FOAQZIZ2.js";
|
|
18
|
-
import "../../../chunk-WCX7WZAQ.js";
|
|
19
|
-
import "../../../chunk-KQVWWGRH.js";
|
|
20
|
-
import "../../../chunk-3ERB3ILC.js";
|
|
21
|
-
import "../../../chunk-W4DBT7AD.js";
|
|
22
|
-
import "../../../chunk-Z5I6A73Y.js";
|
|
23
|
-
import "../../../chunk-EDNBKOMS.js";
|
|
24
|
-
import "../../../chunk-ZTOR2DXG.js";
|
|
25
|
-
import "../../../chunk-HJ6HX5HB.js";
|
|
26
|
-
import "../../../chunk-SEWEEPJN.js";
|
|
27
|
-
import "../../../chunk-G7TMVDGP.js";
|
|
28
|
-
import "../../../chunk-DMJ5OQR6.js";
|
|
29
|
-
import "../../../chunk-MPZP23EX.js";
|
|
30
|
-
import "../../../chunk-3JN5WYUN.js";
|
|
31
|
-
import "../../../chunk-7KEG6SDX.js";
|
|
32
|
-
import "../../../chunk-FBWSEBAW.js";
|
|
33
|
-
import "../../../chunk-JVJQKRJ4.js";
|
|
34
|
-
import "../../../chunk-LYTNREAI.js";
|
|
35
|
-
import "../../../chunk-SHW6FHIB.js";
|
|
36
|
-
import "../../../chunk-K5U2O3HH.js";
|
|
37
|
-
import "../../../chunk-I7XZONDN.js";
|
|
38
|
-
import "../../../chunk-JRH4JC43.js";
|
|
39
|
-
import "../../../chunk-SHLPPEAY.js";
|
|
40
|
-
import "../../../chunk-TTN7NFCA.js";
|
|
41
|
-
import "../../../chunk-ARLTXJFJ.js";
|
|
42
|
-
import "../../../chunk-PYTECG57.js";
|
|
43
|
-
import "../../../chunk-T7W4DXRM.js";
|
|
44
|
-
import "../../../chunk-5DXIT7UB.js";
|
|
45
|
-
import "../../../chunk-PMFOX5HA.js";
|
|
46
|
-
import "../../../chunk-MLKGABMK.js";
|
|
47
|
-
export {
|
|
48
|
-
fetchQRcode,
|
|
49
|
-
getCookieAccountInfoByGameToken,
|
|
50
|
-
getCookieTokenBySToken,
|
|
51
|
-
getDeviceFp,
|
|
52
|
-
getTokenByGameToken,
|
|
53
|
-
getUserFullInfo,
|
|
54
|
-
getUserGameRolesByCookie,
|
|
55
|
-
queryQRcode
|
|
56
|
-
};
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
declare const MysApp: Readonly<{
|
|
2
|
-
version: {
|
|
3
|
-
cn: string;
|
|
4
|
-
os: string;
|
|
5
|
-
};
|
|
6
|
-
appId: 2;
|
|
7
|
-
salt: {
|
|
8
|
-
os: string;
|
|
9
|
-
'4X': string;
|
|
10
|
-
'6X': string;
|
|
11
|
-
K2: string;
|
|
12
|
-
LK2: string;
|
|
13
|
-
PROD: string;
|
|
14
|
-
};
|
|
15
|
-
}>;
|
|
16
|
-
declare const MysHosts: Readonly<{
|
|
17
|
-
bbs: {
|
|
18
|
-
mihoyo: string;
|
|
19
|
-
hoyolab: string;
|
|
20
|
-
};
|
|
21
|
-
web: {
|
|
22
|
-
mihoyo: string;
|
|
23
|
-
hoyolab: string;
|
|
24
|
-
/** new web host */
|
|
25
|
-
miyoushe: string;
|
|
26
|
-
};
|
|
27
|
-
static: "https://api-takumi-static.mihoyo.com/";
|
|
28
|
-
record: {
|
|
29
|
-
mihoyo: string;
|
|
30
|
-
hoyolab: string;
|
|
31
|
-
};
|
|
32
|
-
hk4e: {
|
|
33
|
-
mihoyo: string;
|
|
34
|
-
hoyolab: string;
|
|
35
|
-
};
|
|
36
|
-
hk4eGacha: "https://public-operation-hk4e.mihoyo.com/";
|
|
37
|
-
hk4eSdk: "https://hk4e-sdk.mihoyo.com/";
|
|
38
|
-
napGacha: {
|
|
39
|
-
mihoyo: string;
|
|
40
|
-
hoyolab: string;
|
|
41
|
-
};
|
|
42
|
-
publicData: {
|
|
43
|
-
mihoyo: string;
|
|
44
|
-
hoyolab: string;
|
|
45
|
-
};
|
|
46
|
-
napAct: {
|
|
47
|
-
mihoyo: string;
|
|
48
|
-
hoyolab: string;
|
|
49
|
-
};
|
|
50
|
-
passport: "https://passport-api.mihoyo.com/";
|
|
51
|
-
hk4eSg: {
|
|
52
|
-
hoyolab: string;
|
|
53
|
-
};
|
|
54
|
-
publicSg: {
|
|
55
|
-
hoyolab: string;
|
|
56
|
-
hoyoverse: string;
|
|
57
|
-
};
|
|
58
|
-
}>;
|
|
59
|
-
|
|
60
|
-
export { MysApp, MysHosts };
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
MysApp,
|
|
3
|
-
MysHosts
|
|
4
|
-
} from "../../../chunk-G5W5WAY5.js";
|
|
5
|
-
import "../../../chunk-W4DBT7AD.js";
|
|
6
|
-
import "../../../chunk-Z5I6A73Y.js";
|
|
7
|
-
import "../../../chunk-EDNBKOMS.js";
|
|
8
|
-
import "../../../chunk-ZTOR2DXG.js";
|
|
9
|
-
import "../../../chunk-HJ6HX5HB.js";
|
|
10
|
-
import "../../../chunk-SEWEEPJN.js";
|
|
11
|
-
import "../../../chunk-G7TMVDGP.js";
|
|
12
|
-
import "../../../chunk-DMJ5OQR6.js";
|
|
13
|
-
import "../../../chunk-MPZP23EX.js";
|
|
14
|
-
import "../../../chunk-3JN5WYUN.js";
|
|
15
|
-
import "../../../chunk-7KEG6SDX.js";
|
|
16
|
-
import "../../../chunk-FBWSEBAW.js";
|
|
17
|
-
import "../../../chunk-JVJQKRJ4.js";
|
|
18
|
-
import "../../../chunk-LYTNREAI.js";
|
|
19
|
-
import "../../../chunk-SHW6FHIB.js";
|
|
20
|
-
import "../../../chunk-K5U2O3HH.js";
|
|
21
|
-
import "../../../chunk-I7XZONDN.js";
|
|
22
|
-
import "../../../chunk-JRH4JC43.js";
|
|
23
|
-
import "../../../chunk-SHLPPEAY.js";
|
|
24
|
-
import "../../../chunk-ARLTXJFJ.js";
|
|
25
|
-
import "../../../chunk-PYTECG57.js";
|
|
26
|
-
import "../../../chunk-T7W4DXRM.js";
|
|
27
|
-
import "../../../chunk-5DXIT7UB.js";
|
|
28
|
-
import "../../../chunk-MLKGABMK.js";
|
|
29
|
-
export {
|
|
30
|
-
MysApp,
|
|
31
|
-
MysHosts
|
|
32
|
-
};
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
DefineApi
|
|
3
|
-
} from "../../../chunk-4BTKE3LO.js";
|
|
4
|
-
import "../../../chunk-2BVJS5VE.js";
|
|
5
|
-
import "../../../chunk-G5W5WAY5.js";
|
|
6
|
-
import "../../../chunk-7VAWV6ZE.js";
|
|
7
|
-
import "../../../chunk-LJSDSOY6.js";
|
|
8
|
-
import "../../../chunk-CFS2WFOO.js";
|
|
9
|
-
import "../../../chunk-MWYDWDR4.js";
|
|
10
|
-
import "../../../chunk-FOAQZIZ2.js";
|
|
11
|
-
import "../../../chunk-WCX7WZAQ.js";
|
|
12
|
-
import "../../../chunk-KQVWWGRH.js";
|
|
13
|
-
import "../../../chunk-3ERB3ILC.js";
|
|
14
|
-
import "../../../chunk-W4DBT7AD.js";
|
|
15
|
-
import "../../../chunk-Z5I6A73Y.js";
|
|
16
|
-
import "../../../chunk-EDNBKOMS.js";
|
|
17
|
-
import "../../../chunk-ZTOR2DXG.js";
|
|
18
|
-
import "../../../chunk-HJ6HX5HB.js";
|
|
19
|
-
import "../../../chunk-SEWEEPJN.js";
|
|
20
|
-
import "../../../chunk-G7TMVDGP.js";
|
|
21
|
-
import "../../../chunk-DMJ5OQR6.js";
|
|
22
|
-
import "../../../chunk-MPZP23EX.js";
|
|
23
|
-
import "../../../chunk-3JN5WYUN.js";
|
|
24
|
-
import "../../../chunk-7KEG6SDX.js";
|
|
25
|
-
import "../../../chunk-FBWSEBAW.js";
|
|
26
|
-
import "../../../chunk-JVJQKRJ4.js";
|
|
27
|
-
import "../../../chunk-LYTNREAI.js";
|
|
28
|
-
import "../../../chunk-SHW6FHIB.js";
|
|
29
|
-
import "../../../chunk-K5U2O3HH.js";
|
|
30
|
-
import "../../../chunk-I7XZONDN.js";
|
|
31
|
-
import "../../../chunk-JRH4JC43.js";
|
|
32
|
-
import "../../../chunk-SHLPPEAY.js";
|
|
33
|
-
import "../../../chunk-TTN7NFCA.js";
|
|
34
|
-
import "../../../chunk-ARLTXJFJ.js";
|
|
35
|
-
import "../../../chunk-PYTECG57.js";
|
|
36
|
-
import "../../../chunk-T7W4DXRM.js";
|
|
37
|
-
import "../../../chunk-5DXIT7UB.js";
|
|
38
|
-
import "../../../chunk-PMFOX5HA.js";
|
|
39
|
-
import "../../../chunk-MLKGABMK.js";
|
|
40
|
-
export {
|
|
41
|
-
DefineApi
|
|
42
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export { A as ApiInfoFn, B as BaseMysRes, a as BaseltuidInfoType, b as DefineApi, D as DeviceInfoType, R as RequestResult, U as UidInfoType } from '../../../define-B9r20dK6.js';
|
|
2
|
-
export { fetchQRcode, getCookieAccountInfoByGameToken, getCookieTokenBySToken, getDeviceFp, getTokenByGameToken, getUserFullInfo, getUserGameRolesByCookie, queryQRcode } from './apis.js';
|
|
3
|
-
export { MysApp, MysHosts } from './app.js';
|
|
4
|
-
import '../../database/types/tables/mysAccountInfo.js';
|
|
5
|
-
import 'node-karin';
|
|
6
|
-
import 'node-karin/axios';
|
|
7
|
-
import '../../database/types/tables/mysDeviceInfo.js';
|
|
8
|
-
import '../types/user/userInfo.js';
|
|
9
|
-
import '../../database/types/tables/mysUserInfo.js';
|
|
10
|
-
import '../../database/types/dbs/base.js';
|
|
11
|
-
import 'sequelize';
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
DefineApi,
|
|
3
|
-
fetchQRcode,
|
|
4
|
-
getCookieAccountInfoByGameToken,
|
|
5
|
-
getCookieTokenBySToken,
|
|
6
|
-
getDeviceFp,
|
|
7
|
-
getTokenByGameToken,
|
|
8
|
-
getUserFullInfo,
|
|
9
|
-
getUserGameRolesByCookie,
|
|
10
|
-
queryQRcode
|
|
11
|
-
} from "../../../chunk-4BTKE3LO.js";
|
|
12
|
-
import "../../../chunk-2BVJS5VE.js";
|
|
13
|
-
import {
|
|
14
|
-
MysApp,
|
|
15
|
-
MysHosts
|
|
16
|
-
} from "../../../chunk-G5W5WAY5.js";
|
|
17
|
-
import "../../../chunk-7VAWV6ZE.js";
|
|
18
|
-
import "../../../chunk-LJSDSOY6.js";
|
|
19
|
-
import "../../../chunk-CFS2WFOO.js";
|
|
20
|
-
import "../../../chunk-MWYDWDR4.js";
|
|
21
|
-
import "../../../chunk-FOAQZIZ2.js";
|
|
22
|
-
import "../../../chunk-WCX7WZAQ.js";
|
|
23
|
-
import "../../../chunk-KQVWWGRH.js";
|
|
24
|
-
import "../../../chunk-3ERB3ILC.js";
|
|
25
|
-
import "../../../chunk-W4DBT7AD.js";
|
|
26
|
-
import "../../../chunk-Z5I6A73Y.js";
|
|
27
|
-
import "../../../chunk-EDNBKOMS.js";
|
|
28
|
-
import "../../../chunk-ZTOR2DXG.js";
|
|
29
|
-
import "../../../chunk-HJ6HX5HB.js";
|
|
30
|
-
import "../../../chunk-SEWEEPJN.js";
|
|
31
|
-
import "../../../chunk-G7TMVDGP.js";
|
|
32
|
-
import "../../../chunk-DMJ5OQR6.js";
|
|
33
|
-
import "../../../chunk-MPZP23EX.js";
|
|
34
|
-
import "../../../chunk-3JN5WYUN.js";
|
|
35
|
-
import "../../../chunk-7KEG6SDX.js";
|
|
36
|
-
import "../../../chunk-FBWSEBAW.js";
|
|
37
|
-
import "../../../chunk-JVJQKRJ4.js";
|
|
38
|
-
import "../../../chunk-LYTNREAI.js";
|
|
39
|
-
import "../../../chunk-SHW6FHIB.js";
|
|
40
|
-
import "../../../chunk-K5U2O3HH.js";
|
|
41
|
-
import "../../../chunk-I7XZONDN.js";
|
|
42
|
-
import "../../../chunk-JRH4JC43.js";
|
|
43
|
-
import "../../../chunk-SHLPPEAY.js";
|
|
44
|
-
import "../../../chunk-TTN7NFCA.js";
|
|
45
|
-
import "../../../chunk-ARLTXJFJ.js";
|
|
46
|
-
import "../../../chunk-PYTECG57.js";
|
|
47
|
-
import "../../../chunk-T7W4DXRM.js";
|
|
48
|
-
import "../../../chunk-5DXIT7UB.js";
|
|
49
|
-
import "../../../chunk-PMFOX5HA.js";
|
|
50
|
-
import "../../../chunk-MLKGABMK.js";
|
|
51
|
-
export {
|
|
52
|
-
DefineApi,
|
|
53
|
-
MysApp,
|
|
54
|
-
MysHosts,
|
|
55
|
-
fetchQRcode,
|
|
56
|
-
getCookieAccountInfoByGameToken,
|
|
57
|
-
getCookieTokenBySToken,
|
|
58
|
-
getDeviceFp,
|
|
59
|
-
getTokenByGameToken,
|
|
60
|
-
getUserFullInfo,
|
|
61
|
-
getUserGameRolesByCookie,
|
|
62
|
-
queryQRcode
|
|
63
|
-
};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import '../../../database/types/tables/mysAccountInfo.js';
|
|
2
|
-
import 'node-karin';
|
|
3
|
-
import 'node-karin/axios';
|
|
4
|
-
export { A as ApiInfoFn, B as BaseMysRes, a as BaseltuidInfoType, D as DeviceInfoType, R as RequestResult, U as UidInfoType } from '../../../../define-B9r20dK6.js';
|
|
5
|
-
import '../../../database/types/tables/mysDeviceInfo.js';
|
|
6
|
-
import '../../api/app.js';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "../../../../chunk-CFS2WFOO.js";
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export { A as ApiInfoFn, B as BaseMysRes, a as BaseltuidInfoType, D as DeviceInfoType, R as RequestResult, U as UidInfoType } from '../../../../define-B9r20dK6.js';
|
|
2
|
-
import '../../../database/types/tables/mysAccountInfo.js';
|
|
3
|
-
import 'node-karin';
|
|
4
|
-
import 'node-karin/axios';
|
|
5
|
-
import '../../../database/types/tables/mysDeviceInfo.js';
|
|
6
|
-
import '../../api/app.js';
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export { A as ApiInfoFn, B as BaseMysRes, a as BaseltuidInfoType, D as DeviceInfoType, R as RequestResult, U as UidInfoType } from '../../../define-B9r20dK6.js';
|
|
2
|
-
export { GameUserInfoBase, gameName } from './user/game.js';
|
|
3
|
-
export { CookieParamsType, RefreshUidResultType, StokenParamsType, UserGameRoleItemType } from './user/userInfo.js';
|
|
4
|
-
import '../../database/types/tables/mysAccountInfo.js';
|
|
5
|
-
import 'node-karin';
|
|
6
|
-
import 'node-karin/axios';
|
|
7
|
-
import '../../database/types/tables/mysDeviceInfo.js';
|
|
8
|
-
import '../api/app.js';
|
|
9
|
-
import '../../database/types/tables/mysUserInfo.js';
|
|
10
|
-
import '../../database/types/dbs/base.js';
|
|
11
|
-
import 'sequelize';
|
|
12
|
-
import '../user/userInfo.js';
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import './userInfo.js';
|
|
2
|
-
import { U as UidInfoType } from '../../../../define-B9r20dK6.js';
|
|
3
|
-
import { BaseUserInfoTableType, BaseGameUIDInfoTableType } from '../../../database/types/tables/mysUserInfo.js';
|
|
4
|
-
import { BaseUserInfo } from '../../user/userInfo.js';
|
|
5
|
-
import '../../../database/types/tables/mysAccountInfo.js';
|
|
6
|
-
import '../../../database/types/dbs/base.js';
|
|
7
|
-
import 'sequelize';
|
|
8
|
-
import 'node-karin';
|
|
9
|
-
import 'node-karin/axios';
|
|
10
|
-
import '../../../database/types/tables/mysDeviceInfo.js';
|
|
11
|
-
import '../../api/app.js';
|
|
12
|
-
|
|
13
|
-
declare class GameUserInfoBase<GameUserInfoTableType extends BaseUserInfoTableType> extends BaseUserInfo<GameUserInfoTableType> {
|
|
14
|
-
get main_uid(): string;
|
|
15
|
-
get bind_uids(): BaseGameUIDInfoTableType<string>[`${string}-uids`];
|
|
16
|
-
get mainUIDInfo(): UidInfoType | undefined;
|
|
17
|
-
get uidInfoList(): UidInfoType[];
|
|
18
|
-
static create(userId: string): Promise<GameUserInfoBase<any>>;
|
|
19
|
-
getUIDInfo(uid: string): UidInfoType | undefined;
|
|
20
|
-
}
|
|
21
|
-
type gameName = '崩坏:星穹铁道' | '崩坏:因缘精灵' | '原神' | '崩坏3' | '崩坏学园2' | '未定事件簿' | '绝区零' | '星布谷地';
|
|
22
|
-
|
|
23
|
-
export { GameUserInfoBase, type gameName };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "../../../../chunk-FOAQZIZ2.js";
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export { GameUserInfoBase, gameName } from './game.js';
|
|
2
|
-
export { CookieParamsType, RefreshUidResultType, StokenParamsType, UserGameRoleItemType } from './userInfo.js';
|
|
3
|
-
import '../../../../define-B9r20dK6.js';
|
|
4
|
-
import '../../../database/types/tables/mysAccountInfo.js';
|
|
5
|
-
import 'node-karin';
|
|
6
|
-
import 'node-karin/axios';
|
|
7
|
-
import '../../../database/types/tables/mysDeviceInfo.js';
|
|
8
|
-
import '../../api/app.js';
|
|
9
|
-
import '../../../database/types/tables/mysUserInfo.js';
|
|
10
|
-
import '../../../database/types/dbs/base.js';
|
|
11
|
-
import 'sequelize';
|
|
12
|
-
import '../../user/userInfo.js';
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { MysAccountType } from '../../../database/types/tables/mysAccountInfo.js';
|
|
2
|
-
import { BaseGameUIDInfoTableType } from '../../../database/types/tables/mysUserInfo.js';
|
|
3
|
-
import '../../../database/types/dbs/base.js';
|
|
4
|
-
import 'sequelize';
|
|
5
|
-
|
|
6
|
-
interface StokenParamsType {
|
|
7
|
-
stuid: string;
|
|
8
|
-
stoken: string;
|
|
9
|
-
mid: string;
|
|
10
|
-
}
|
|
11
|
-
type CookieParamsType = Partial<{
|
|
12
|
-
ltmid_v2: string;
|
|
13
|
-
ltuid: string;
|
|
14
|
-
ltuid_v2: string;
|
|
15
|
-
login_uid: string;
|
|
16
|
-
ltoken: string;
|
|
17
|
-
ltoken_v2: string;
|
|
18
|
-
cookie_token: string;
|
|
19
|
-
cookie_token_v2: string;
|
|
20
|
-
account_id: string;
|
|
21
|
-
account_id_v2: string;
|
|
22
|
-
account_mid_v2: string;
|
|
23
|
-
mi18nLang: string;
|
|
24
|
-
}>;
|
|
25
|
-
interface UserGameRoleItemType {
|
|
26
|
-
game_biz: string;
|
|
27
|
-
region: string;
|
|
28
|
-
game_uid: string;
|
|
29
|
-
level: number;
|
|
30
|
-
nickname: string;
|
|
31
|
-
is_chosen: boolean;
|
|
32
|
-
}
|
|
33
|
-
interface RefreshUidResultType {
|
|
34
|
-
Serv: MysAccountType;
|
|
35
|
-
uids: {
|
|
36
|
-
name: string;
|
|
37
|
-
columnKey: `${string}-uids`;
|
|
38
|
-
data: BaseGameUIDInfoTableType<string>[`${string}-uids`];
|
|
39
|
-
}[];
|
|
40
|
-
message: string;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
export type { CookieParamsType, RefreshUidResultType, StokenParamsType, UserGameRoleItemType };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import "../../../../chunk-WCX7WZAQ.js";
|