@etsoo/appscript 1.5.11 → 1.5.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/lib/cjs/state/User.d.ts +10 -0
- package/lib/mjs/state/User.d.ts +10 -0
- package/package.json +6 -6
- package/src/state/User.ts +12 -0
package/lib/cjs/state/User.d.ts
CHANGED
|
@@ -22,6 +22,16 @@ export interface IUserData {
|
|
|
22
22
|
* 机构编号
|
|
23
23
|
*/
|
|
24
24
|
readonly organization?: number;
|
|
25
|
+
/**
|
|
26
|
+
* Is from the channel organization
|
|
27
|
+
* 是否来自渠道机构
|
|
28
|
+
*/
|
|
29
|
+
readonly isChannel?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Is from the parent organization
|
|
32
|
+
* 是否来自父级机构
|
|
33
|
+
*/
|
|
34
|
+
readonly isParent?: boolean;
|
|
25
35
|
/**
|
|
26
36
|
* User role value
|
|
27
37
|
* 用户角色值
|
package/lib/mjs/state/User.d.ts
CHANGED
|
@@ -22,6 +22,16 @@ export interface IUserData {
|
|
|
22
22
|
* 机构编号
|
|
23
23
|
*/
|
|
24
24
|
readonly organization?: number;
|
|
25
|
+
/**
|
|
26
|
+
* Is from the channel organization
|
|
27
|
+
* 是否来自渠道机构
|
|
28
|
+
*/
|
|
29
|
+
readonly isChannel?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Is from the parent organization
|
|
32
|
+
* 是否来自父级机构
|
|
33
|
+
*/
|
|
34
|
+
readonly isParent?: boolean;
|
|
25
35
|
/**
|
|
26
36
|
* User role value
|
|
27
37
|
* 用户角色值
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@etsoo/appscript",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.13",
|
|
4
4
|
"description": "Applications shared TypeScript framework",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/mjs/index.js",
|
|
@@ -58,16 +58,16 @@
|
|
|
58
58
|
"crypto-js": "^4.2.0"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
|
-
"@babel/cli": "^7.
|
|
61
|
+
"@babel/cli": "^7.25.6",
|
|
62
62
|
"@babel/core": "^7.25.2",
|
|
63
|
-
"@babel/plugin-transform-runtime": "^7.
|
|
64
|
-
"@babel/preset-env": "^7.25.
|
|
65
|
-
"@babel/runtime-corejs3": "^7.25.
|
|
63
|
+
"@babel/plugin-transform-runtime": "^7.25.4",
|
|
64
|
+
"@babel/preset-env": "^7.25.4",
|
|
65
|
+
"@babel/runtime-corejs3": "^7.25.6",
|
|
66
66
|
"@types/crypto-js": "^4.2.2",
|
|
67
67
|
"@types/jest": "^29.5.12",
|
|
68
68
|
"jest": "^29.7.0",
|
|
69
69
|
"jest-environment-jsdom": "^29.7.0",
|
|
70
|
-
"ts-jest": "^29.2.
|
|
70
|
+
"ts-jest": "^29.2.5",
|
|
71
71
|
"typescript": "^5.5.4"
|
|
72
72
|
}
|
|
73
73
|
}
|
package/src/state/User.ts
CHANGED
|
@@ -27,6 +27,18 @@ export interface IUserData {
|
|
|
27
27
|
*/
|
|
28
28
|
readonly organization?: number;
|
|
29
29
|
|
|
30
|
+
/**
|
|
31
|
+
* Is from the channel organization
|
|
32
|
+
* 是否来自渠道机构
|
|
33
|
+
*/
|
|
34
|
+
readonly isChannel?: boolean;
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Is from the parent organization
|
|
38
|
+
* 是否来自父级机构
|
|
39
|
+
*/
|
|
40
|
+
readonly isParent?: boolean;
|
|
41
|
+
|
|
30
42
|
/**
|
|
31
43
|
* User role value
|
|
32
44
|
* 用户角色值
|