@ysgroup/contracts 0.1.5 → 0.1.6
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/package.json +1 -1
- package/src/index.ts +8 -4
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -14,7 +14,7 @@ export type Sensitivity = "public" | "restricted" | "credential";
|
|
|
14
14
|
export type ServerType = "td" | "md";
|
|
15
15
|
export type TeamType = "Manager" | "Commoner";
|
|
16
16
|
export type TradeEnvType = "LIVE" | "TEST";
|
|
17
|
-
export type UserRole = "Root" | "Admin" | "Manager" | "
|
|
17
|
+
export type UserRole = "Root" | "Admin" | "Manager" | "Editor" | "Viewer" | "Initiate";
|
|
18
18
|
|
|
19
19
|
// ---------- 枚举展示元数据 ----------
|
|
20
20
|
export const ENUM_META = {
|
|
@@ -28,16 +28,20 @@ export const ENUM_META = {
|
|
|
28
28
|
"sort": 80
|
|
29
29
|
},
|
|
30
30
|
"Manager": {
|
|
31
|
-
"label": "
|
|
31
|
+
"label": "业务主管",
|
|
32
32
|
"sort": 60
|
|
33
33
|
},
|
|
34
|
-
"
|
|
35
|
-
"label": "
|
|
34
|
+
"Editor": {
|
|
35
|
+
"label": "编辑成员",
|
|
36
36
|
"sort": 40
|
|
37
37
|
},
|
|
38
38
|
"Viewer": {
|
|
39
39
|
"label": "只读成员",
|
|
40
40
|
"sort": 20
|
|
41
|
+
},
|
|
42
|
+
"Initiate": {
|
|
43
|
+
"label": "初始成员",
|
|
44
|
+
"sort": 0
|
|
41
45
|
}
|
|
42
46
|
},
|
|
43
47
|
"TeamType": {
|