@etsoo/appscript 1.5.61 → 1.5.62
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/cjs/state/User.d.ts +20 -0
- package/lib/mjs/state/User.d.ts +20 -0
- package/package.json +7 -7
- package/src/state/User.ts +24 -0
package/lib/cjs/state/User.d.ts
CHANGED
|
@@ -12,6 +12,26 @@ export interface IUserData {
|
|
|
12
12
|
* 用户姓名
|
|
13
13
|
*/
|
|
14
14
|
readonly name: string;
|
|
15
|
+
/**
|
|
16
|
+
* Given name
|
|
17
|
+
* 名
|
|
18
|
+
*/
|
|
19
|
+
readonly givenName?: string;
|
|
20
|
+
/**
|
|
21
|
+
* Family name
|
|
22
|
+
* 姓
|
|
23
|
+
*/
|
|
24
|
+
readonly familyName?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Latin given name
|
|
27
|
+
* 拉丁名(拼音)
|
|
28
|
+
*/
|
|
29
|
+
readonly latinGivenName?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Latin family name
|
|
32
|
+
* 拉丁姓(拼音)
|
|
33
|
+
*/
|
|
34
|
+
readonly latinFamilyName?: string;
|
|
15
35
|
/**
|
|
16
36
|
* User avatar
|
|
17
37
|
* 用户头像
|
package/lib/mjs/state/User.d.ts
CHANGED
|
@@ -12,6 +12,26 @@ export interface IUserData {
|
|
|
12
12
|
* 用户姓名
|
|
13
13
|
*/
|
|
14
14
|
readonly name: string;
|
|
15
|
+
/**
|
|
16
|
+
* Given name
|
|
17
|
+
* 名
|
|
18
|
+
*/
|
|
19
|
+
readonly givenName?: string;
|
|
20
|
+
/**
|
|
21
|
+
* Family name
|
|
22
|
+
* 姓
|
|
23
|
+
*/
|
|
24
|
+
readonly familyName?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Latin given name
|
|
27
|
+
* 拉丁名(拼音)
|
|
28
|
+
*/
|
|
29
|
+
readonly latinGivenName?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Latin family name
|
|
32
|
+
* 拉丁姓(拼音)
|
|
33
|
+
*/
|
|
34
|
+
readonly latinFamilyName?: string;
|
|
15
35
|
/**
|
|
16
36
|
* User avatar
|
|
17
37
|
* 用户头像
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@etsoo/appscript",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.62",
|
|
4
4
|
"description": "Applications shared TypeScript framework",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/mjs/index.js",
|
|
@@ -58,13 +58,13 @@
|
|
|
58
58
|
"crypto-js": "^4.2.0"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
|
-
"@babel/cli": "^7.25.
|
|
62
|
-
"@babel/core": "^7.25.
|
|
63
|
-
"@babel/plugin-transform-runtime": "^7.25.
|
|
64
|
-
"@babel/preset-env": "^7.25.
|
|
65
|
-
"@babel/runtime-corejs3": "^7.25.
|
|
61
|
+
"@babel/cli": "^7.25.9",
|
|
62
|
+
"@babel/core": "^7.25.9",
|
|
63
|
+
"@babel/plugin-transform-runtime": "^7.25.9",
|
|
64
|
+
"@babel/preset-env": "^7.25.9",
|
|
65
|
+
"@babel/runtime-corejs3": "^7.25.9",
|
|
66
66
|
"@types/crypto-js": "^4.2.2",
|
|
67
|
-
"@types/jest": "^29.5.
|
|
67
|
+
"@types/jest": "^29.5.14",
|
|
68
68
|
"jest": "^29.7.0",
|
|
69
69
|
"jest-environment-jsdom": "^29.7.0",
|
|
70
70
|
"ts-jest": "^29.2.5",
|
package/src/state/User.ts
CHANGED
|
@@ -15,6 +15,30 @@ export interface IUserData {
|
|
|
15
15
|
*/
|
|
16
16
|
readonly name: string;
|
|
17
17
|
|
|
18
|
+
/**
|
|
19
|
+
* Given name
|
|
20
|
+
* 名
|
|
21
|
+
*/
|
|
22
|
+
readonly givenName?: string;
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Family name
|
|
26
|
+
* 姓
|
|
27
|
+
*/
|
|
28
|
+
readonly familyName?: string;
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Latin given name
|
|
32
|
+
* 拉丁名(拼音)
|
|
33
|
+
*/
|
|
34
|
+
readonly latinGivenName?: string;
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Latin family name
|
|
38
|
+
* 拉丁姓(拼音)
|
|
39
|
+
*/
|
|
40
|
+
readonly latinFamilyName?: string;
|
|
41
|
+
|
|
18
42
|
/**
|
|
19
43
|
* User avatar
|
|
20
44
|
* 用户头像
|