@mx-space/api-client 0.5.2 → 0.5.3
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/build/index.d.ts +2 -7
- package/esm/models/user.d.ts +1 -7
- package/lib/models/user.d.ts +1 -7
- package/package.json +9 -9
package/build/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Generated by dts-bundle-generator v6.
|
|
1
|
+
// Generated by dts-bundle-generator v6.3.0
|
|
2
2
|
|
|
3
3
|
export interface IController {
|
|
4
4
|
base: string;
|
|
@@ -241,7 +241,7 @@ export interface UserModel extends BaseModel {
|
|
|
241
241
|
mail: string;
|
|
242
242
|
url: string;
|
|
243
243
|
name: string;
|
|
244
|
-
|
|
244
|
+
socialIds: Record<string, string>;
|
|
245
245
|
username: string;
|
|
246
246
|
modified: string;
|
|
247
247
|
v: number;
|
|
@@ -250,11 +250,6 @@ export interface UserModel extends BaseModel {
|
|
|
250
250
|
avatar: string;
|
|
251
251
|
postID: string;
|
|
252
252
|
}
|
|
253
|
-
export interface SocialIDS {
|
|
254
|
-
biliID: number;
|
|
255
|
-
neteaseID: number;
|
|
256
|
-
github: string;
|
|
257
|
-
}
|
|
258
253
|
export declare type TLogin = {
|
|
259
254
|
token: string;
|
|
260
255
|
expiresIn: number;
|
package/esm/models/user.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ export interface UserModel extends BaseModel {
|
|
|
4
4
|
mail: string;
|
|
5
5
|
url: string;
|
|
6
6
|
name: string;
|
|
7
|
-
|
|
7
|
+
socialIds: Record<string, string>;
|
|
8
8
|
username: string;
|
|
9
9
|
modified: string;
|
|
10
10
|
v: number;
|
|
@@ -13,15 +13,9 @@ export interface UserModel extends BaseModel {
|
|
|
13
13
|
avatar: string;
|
|
14
14
|
postID: string;
|
|
15
15
|
}
|
|
16
|
-
interface SocialIDS {
|
|
17
|
-
biliID: number;
|
|
18
|
-
neteaseID: number;
|
|
19
|
-
github: string;
|
|
20
|
-
}
|
|
21
16
|
export declare type TLogin = {
|
|
22
17
|
token: string;
|
|
23
18
|
expiresIn: number;
|
|
24
19
|
lastLoginTime: null | string;
|
|
25
20
|
lastLoginIp?: null | string;
|
|
26
21
|
} & Pick<UserModel, 'name' | 'username' | 'created' | 'url' | 'mail' | 'avatar' | 'id'>;
|
|
27
|
-
export {};
|
package/lib/models/user.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ export interface UserModel extends BaseModel {
|
|
|
4
4
|
mail: string;
|
|
5
5
|
url: string;
|
|
6
6
|
name: string;
|
|
7
|
-
|
|
7
|
+
socialIds: Record<string, string>;
|
|
8
8
|
username: string;
|
|
9
9
|
modified: string;
|
|
10
10
|
v: number;
|
|
@@ -13,15 +13,9 @@ export interface UserModel extends BaseModel {
|
|
|
13
13
|
avatar: string;
|
|
14
14
|
postID: string;
|
|
15
15
|
}
|
|
16
|
-
interface SocialIDS {
|
|
17
|
-
biliID: number;
|
|
18
|
-
neteaseID: number;
|
|
19
|
-
github: string;
|
|
20
|
-
}
|
|
21
16
|
export declare type TLogin = {
|
|
22
17
|
token: string;
|
|
23
18
|
expiresIn: number;
|
|
24
19
|
lastLoginTime: null | string;
|
|
25
20
|
lastLoginIp?: null | string;
|
|
26
21
|
} & Pick<UserModel, 'name' | 'username' | 'created' | 'url' | 'mail' | 'avatar' | 'id'>;
|
|
27
|
-
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mx-space/api-client",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.3",
|
|
4
4
|
"description": "A api client for mx-space server@next",
|
|
5
5
|
"author": "Innei",
|
|
6
6
|
"license": "MIT",
|
|
@@ -61,30 +61,30 @@
|
|
|
61
61
|
"@innei-util/prettier": "latest",
|
|
62
62
|
"@innei/bump-version": "0.1.5",
|
|
63
63
|
"@rollup/plugin-commonjs": "21.0.1",
|
|
64
|
-
"@rollup/plugin-node-resolve": "13.1.
|
|
64
|
+
"@rollup/plugin-node-resolve": "13.1.3",
|
|
65
65
|
"@rollup/plugin-typescript": "8.3.0",
|
|
66
66
|
"@types/express": "4.17.13",
|
|
67
67
|
"@types/jest": "27.4.0",
|
|
68
68
|
"@types/lodash": "4.14.178",
|
|
69
|
-
"@types/node": "16.11.
|
|
69
|
+
"@types/node": "16.11.19",
|
|
70
70
|
"@types/react": "17.0.38",
|
|
71
71
|
"@types/react-dom": "17.0.11",
|
|
72
72
|
"@zerollup/ts-transform-paths": "1.7.18",
|
|
73
73
|
"axios": "0.24.0",
|
|
74
74
|
"cors": "2.8.5",
|
|
75
|
-
"dts-bundle-generator": "6.
|
|
75
|
+
"dts-bundle-generator": "6.3.0",
|
|
76
76
|
"esbuild": "0.14.9",
|
|
77
77
|
"express": "4.17.2",
|
|
78
78
|
"gh-pages": "3.2.3",
|
|
79
79
|
"husky": "7.0.4",
|
|
80
|
-
"jest": "27.4.
|
|
81
|
-
"lint-staged": "12.1.
|
|
80
|
+
"jest": "27.4.7",
|
|
81
|
+
"lint-staged": "12.1.7",
|
|
82
82
|
"lodash": "4.17.21",
|
|
83
83
|
"prettier": "2.5.1",
|
|
84
|
-
"react": "18.0.0-rc.0-next-
|
|
85
|
-
"react-dom": "18.0.0-rc.0-next-
|
|
84
|
+
"react": "18.0.0-rc.0-next-fe419346d-20220105",
|
|
85
|
+
"react-dom": "18.0.0-rc.0-next-fe419346d-20220105",
|
|
86
86
|
"react-json-view": "1.21.3",
|
|
87
|
-
"rollup": "2.
|
|
87
|
+
"rollup": "2.63.0",
|
|
88
88
|
"rollup-plugin-peer-deps-external": "2.2.4",
|
|
89
89
|
"rollup-plugin-terser": "7.0.2",
|
|
90
90
|
"ts-jest": "27.1.2",
|