@etsoo/smarterp-core 1.0.79 → 1.0.80

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.
@@ -1,4 +1,4 @@
1
- import { EntityStatus } from "@etsoo/appscript";
1
+ import { EntityStatus, UserRole } from "@etsoo/appscript";
2
2
  /**
3
3
  * Organization query data
4
4
  * 机构查询数据
@@ -36,6 +36,11 @@ export type OrgQueryDto = {
36
36
  * Creation
37
37
  */
38
38
  creation: Date | string;
39
+ /**
40
+ * User role
41
+ * 用户角色
42
+ */
43
+ userRole?: UserRole;
39
44
  /**
40
45
  * User status
41
46
  */
@@ -1,4 +1,4 @@
1
- import { EntityStatus } from "@etsoo/appscript";
1
+ import { EntityStatus, UserRole } from "@etsoo/appscript";
2
2
  /**
3
3
  * Organization query data
4
4
  * 机构查询数据
@@ -36,6 +36,11 @@ export type OrgQueryDto = {
36
36
  * Creation
37
37
  */
38
38
  creation: Date | string;
39
+ /**
40
+ * User role
41
+ * 用户角色
42
+ */
43
+ userRole?: UserRole;
39
44
  /**
40
45
  * User status
41
46
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etsoo/smarterp-core",
3
- "version": "1.0.79",
3
+ "version": "1.0.80",
4
4
  "description": "TypeScript APIs for SmartERP Core",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/mjs/index.js",
@@ -50,7 +50,7 @@
50
50
  "@vitejs/plugin-react": "^4.5.2",
51
51
  "jsdom": "^26.1.0",
52
52
  "typescript": "^5.8.3",
53
- "vitest": "^3.2.3"
53
+ "vitest": "^3.2.4"
54
54
  },
55
55
  "dependencies": {
56
56
  "@etsoo/appscript": "^1.6.40",
@@ -1,4 +1,4 @@
1
- import { EntityStatus } from "@etsoo/appscript";
1
+ import { EntityStatus, UserRole } from "@etsoo/appscript";
2
2
 
3
3
  /**
4
4
  * Organization query data
@@ -45,6 +45,12 @@ export type OrgQueryDto = {
45
45
  */
46
46
  creation: Date | string;
47
47
 
48
+ /**
49
+ * User role
50
+ * 用户角色
51
+ */
52
+ userRole?: UserRole;
53
+
48
54
  /**
49
55
  * User status
50
56
  */