@etsoo/appscript 1.5.12 → 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.
@@ -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
  * 用户角色值
@@ -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.12",
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",
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
  * 用户角色值