@etsoo/smarterp-core 1.0.8 → 1.0.10

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.
@@ -18,7 +18,7 @@ export type AppUrl = {
18
18
  };
19
19
  /**
20
20
  * Application data
21
- * 程序数据
21
+ * 应用数据
22
22
  */
23
23
  export type AppData = {
24
24
  /**
@@ -18,6 +18,10 @@ export type AppReadDto = {
18
18
  * Global app id
19
19
  */
20
20
  appId: number;
21
+ /**
22
+ * URLs
23
+ */
24
+ urls: AppUrl[];
21
25
  /**
22
26
  * App key
23
27
  */
@@ -19,6 +19,14 @@ export type AuditHistoryDto = {
19
19
  * Title
20
20
  */
21
21
  title: string;
22
+ /**
23
+ * Organization id
24
+ */
25
+ organizationId?: number;
26
+ /**
27
+ * Application id
28
+ */
29
+ appId: number;
22
30
  /**
23
31
  * JSON data
24
32
  */
@@ -2,11 +2,13 @@
2
2
  "accountIconButtonAriaLabel": "Current user",
3
3
  "appKey": "App key",
4
4
  "appSecret": "App secret",
5
+ "app": "App",
5
6
  "app1": "Admin Center",
6
7
  "app2": "O&M System",
7
8
  "app3": "Business Mgt.",
8
9
  "app4": "Finance System",
9
10
  "app5": "Progress Mgt.",
11
+ "appApiUrl": "API URL",
10
12
  "appHelpUrl": "Help URL",
11
13
  "appName": "App name",
12
14
  "appWebUrl": "Web URL",
@@ -2,11 +2,13 @@
2
2
  "accountIconButtonAriaLabel": "当前用户",
3
3
  "appKey": "应用键",
4
4
  "appSecret": "应用密钥",
5
+ "app": "应用",
5
6
  "app1": "管理中心",
6
7
  "app2": "运维中心",
7
8
  "app3": "业务管理",
8
9
  "app4": "财务系统",
9
10
  "app5": "进度管理",
11
+ "appApiUrl": "接口网址",
10
12
  "appHelpUrl": "帮助网址",
11
13
  "appName": "应用名称",
12
14
  "appWebUrl": "Web网址",
@@ -2,11 +2,13 @@
2
2
  "accountIconButtonAriaLabel": "當前用戶",
3
3
  "appKey": "應用程式鍵",
4
4
  "appSecret": "應用金鑰",
5
+ "app": "應用",
5
6
  "app1": "管理中心",
6
7
  "app2": "運維中心",
7
8
  "app3": "業務管理",
8
9
  "app4": "財務系統",
9
10
  "app5": "進度管理",
11
+ "appApiUrl": "接口網址",
10
12
  "appHelpUrl": "幫助網址",
11
13
  "appName": "應用名稱",
12
14
  "appWebUrl": "Web網址",
@@ -18,7 +18,7 @@ export type AppUrl = {
18
18
  };
19
19
  /**
20
20
  * Application data
21
- * 程序数据
21
+ * 应用数据
22
22
  */
23
23
  export type AppData = {
24
24
  /**
@@ -18,6 +18,10 @@ export type AppReadDto = {
18
18
  * Global app id
19
19
  */
20
20
  appId: number;
21
+ /**
22
+ * URLs
23
+ */
24
+ urls: AppUrl[];
21
25
  /**
22
26
  * App key
23
27
  */
@@ -19,6 +19,14 @@ export type AuditHistoryDto = {
19
19
  * Title
20
20
  */
21
21
  title: string;
22
+ /**
23
+ * Organization id
24
+ */
25
+ organizationId?: number;
26
+ /**
27
+ * Application id
28
+ */
29
+ appId: number;
22
30
  /**
23
31
  * JSON data
24
32
  */
@@ -2,11 +2,13 @@
2
2
  "accountIconButtonAriaLabel": "Current user",
3
3
  "appKey": "App key",
4
4
  "appSecret": "App secret",
5
+ "app": "App",
5
6
  "app1": "Admin Center",
6
7
  "app2": "O&M System",
7
8
  "app3": "Business Mgt.",
8
9
  "app4": "Finance System",
9
10
  "app5": "Progress Mgt.",
11
+ "appApiUrl": "API URL",
10
12
  "appHelpUrl": "Help URL",
11
13
  "appName": "App name",
12
14
  "appWebUrl": "Web URL",
@@ -2,11 +2,13 @@
2
2
  "accountIconButtonAriaLabel": "当前用户",
3
3
  "appKey": "应用键",
4
4
  "appSecret": "应用密钥",
5
+ "app": "应用",
5
6
  "app1": "管理中心",
6
7
  "app2": "运维中心",
7
8
  "app3": "业务管理",
8
9
  "app4": "财务系统",
9
10
  "app5": "进度管理",
11
+ "appApiUrl": "接口网址",
10
12
  "appHelpUrl": "帮助网址",
11
13
  "appName": "应用名称",
12
14
  "appWebUrl": "Web网址",
@@ -2,11 +2,13 @@
2
2
  "accountIconButtonAriaLabel": "當前用戶",
3
3
  "appKey": "應用程式鍵",
4
4
  "appSecret": "應用金鑰",
5
+ "app": "應用",
5
6
  "app1": "管理中心",
6
7
  "app2": "運維中心",
7
8
  "app3": "業務管理",
8
9
  "app4": "財務系統",
9
10
  "app5": "進度管理",
11
+ "appApiUrl": "接口網址",
10
12
  "appHelpUrl": "幫助網址",
11
13
  "appName": "應用名稱",
12
14
  "appWebUrl": "Web網址",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etsoo/smarterp-core",
3
- "version": "1.0.8",
3
+ "version": "1.0.10",
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.3.4",
51
51
  "jsdom": "^26.0.0",
52
52
  "typescript": "^5.7.3",
53
- "vitest": "^3.0.5"
53
+ "vitest": "^3.0.6"
54
54
  },
55
55
  "dependencies": {
56
56
  "@etsoo/appscript": "^1.6.8",
@@ -58,7 +58,7 @@
58
58
  "@etsoo/react": "^1.8.31",
59
59
  "@etsoo/shared": "^1.2.61",
60
60
  "@etsoo/toolpad": "^1.0.15",
61
- "@mui/material": "^6.4.4",
61
+ "@mui/material": "^6.4.5",
62
62
  "react": "^18.3.1",
63
63
  "react-dom": "^18.3.1"
64
64
  }
@@ -21,7 +21,7 @@ export type AppUrl = {
21
21
 
22
22
  /**
23
23
  * Application data
24
- * 程序数据
24
+ * 应用数据
25
25
  */
26
26
  export type AppData = {
27
27
  /**
@@ -22,6 +22,11 @@ export type AppReadDto = {
22
22
  */
23
23
  appId: number;
24
24
 
25
+ /**
26
+ * URLs
27
+ */
28
+ urls: AppUrl[];
29
+
25
30
  /**
26
31
  * App key
27
32
  */
@@ -23,6 +23,16 @@ export type AuditHistoryDto = {
23
23
  */
24
24
  title: string;
25
25
 
26
+ /**
27
+ * Organization id
28
+ */
29
+ organizationId?: number;
30
+
31
+ /**
32
+ * Application id
33
+ */
34
+ appId: number;
35
+
26
36
  /**
27
37
  * JSON data
28
38
  */
package/src/i18n/en.json CHANGED
@@ -2,11 +2,13 @@
2
2
  "accountIconButtonAriaLabel": "Current user",
3
3
  "appKey": "App key",
4
4
  "appSecret": "App secret",
5
+ "app": "App",
5
6
  "app1": "Admin Center",
6
7
  "app2": "O&M System",
7
8
  "app3": "Business Mgt.",
8
9
  "app4": "Finance System",
9
10
  "app5": "Progress Mgt.",
11
+ "appApiUrl": "API URL",
10
12
  "appHelpUrl": "Help URL",
11
13
  "appName": "App name",
12
14
  "appWebUrl": "Web URL",
@@ -2,11 +2,13 @@
2
2
  "accountIconButtonAriaLabel": "当前用户",
3
3
  "appKey": "应用键",
4
4
  "appSecret": "应用密钥",
5
+ "app": "应用",
5
6
  "app1": "管理中心",
6
7
  "app2": "运维中心",
7
8
  "app3": "业务管理",
8
9
  "app4": "财务系统",
9
10
  "app5": "进度管理",
11
+ "appApiUrl": "接口网址",
10
12
  "appHelpUrl": "帮助网址",
11
13
  "appName": "应用名称",
12
14
  "appWebUrl": "Web网址",
@@ -2,11 +2,13 @@
2
2
  "accountIconButtonAriaLabel": "當前用戶",
3
3
  "appKey": "應用程式鍵",
4
4
  "appSecret": "應用金鑰",
5
+ "app": "應用",
5
6
  "app1": "管理中心",
6
7
  "app2": "運維中心",
7
8
  "app3": "業務管理",
8
9
  "app4": "財務系統",
9
10
  "app5": "進度管理",
11
+ "appApiUrl": "接口網址",
10
12
  "appHelpUrl": "幫助網址",
11
13
  "appName": "應用名稱",
12
14
  "appWebUrl": "Web網址",