@etsoo/smarterp-core 1.0.59 → 1.0.60

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,5 +1,6 @@
1
1
  {
2
2
  "accountIconButtonAriaLabel": "Current user",
3
+ "addResource": "Add resource",
3
4
  "appKey": "App key",
4
5
  "appSecret": "App secret",
5
6
  "app": "App",
@@ -24,6 +25,7 @@
24
25
  "directReports": "Direct reports",
25
26
  "editAvatar": "Edit avatar",
26
27
  "editLogo": "Edit logo",
28
+ "editResource": "Edit resource",
27
29
  "expandMenu": "Expand menu",
28
30
  "expandNavMenuAriaLabel": "Expand navigation menu",
29
31
  "fileName": "File name",
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "accountIconButtonAriaLabel": "当前用户",
3
+ "addResource": "添加资源",
3
4
  "appKey": "应用键",
4
5
  "appSecret": "应用密钥",
5
6
  "app": "应用",
@@ -24,6 +25,7 @@
24
25
  "directReports": "直接下属",
25
26
  "editAvatar": "修改头像",
26
27
  "editLogo": "修改图标",
28
+ "editResource": "编辑资源",
27
29
  "expandMenu": "展开菜单",
28
30
  "expandNavMenuAriaLabel": "展开导航菜单",
29
31
  "fileName": "文件名",
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "accountIconButtonAriaLabel": "當前用戶",
3
+ "addResource": "添加資源",
3
4
  "appKey": "應用程式鍵",
4
5
  "appSecret": "應用金鑰",
5
6
  "app": "應用",
@@ -24,6 +25,7 @@
24
25
  "directReports": "直接下屬",
25
26
  "editAvatar": "修改頭像",
26
27
  "editLogo": "修改圖標",
28
+ "editResource": "編輯資源",
27
29
  "expandMenu": "展開菜單",
28
30
  "expandNavMenuAriaLabel": "展開導航菜單",
29
31
  "fileName": "文件名",
@@ -22,10 +22,10 @@ export type OrgCreateResourceRQ = {
22
22
  */
23
23
  key?: string;
24
24
  /**
25
- * Organization Id, null means global
26
- * 所属机构,null 表示全局
25
+ * Organization Id, 所属机构,undefined means global
26
+ * 所属机构,undefined 表示全局
27
27
  */
28
- orgId?: number | null;
28
+ orgId?: number;
29
29
  /**
30
30
  * Resource items
31
31
  * 资源项
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "accountIconButtonAriaLabel": "Current user",
3
+ "addResource": "Add resource",
3
4
  "appKey": "App key",
4
5
  "appSecret": "App secret",
5
6
  "app": "App",
@@ -24,6 +25,7 @@
24
25
  "directReports": "Direct reports",
25
26
  "editAvatar": "Edit avatar",
26
27
  "editLogo": "Edit logo",
28
+ "editResource": "Edit resource",
27
29
  "expandMenu": "Expand menu",
28
30
  "expandNavMenuAriaLabel": "Expand navigation menu",
29
31
  "fileName": "File name",
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "accountIconButtonAriaLabel": "当前用户",
3
+ "addResource": "添加资源",
3
4
  "appKey": "应用键",
4
5
  "appSecret": "应用密钥",
5
6
  "app": "应用",
@@ -24,6 +25,7 @@
24
25
  "directReports": "直接下属",
25
26
  "editAvatar": "修改头像",
26
27
  "editLogo": "修改图标",
28
+ "editResource": "编辑资源",
27
29
  "expandMenu": "展开菜单",
28
30
  "expandNavMenuAriaLabel": "展开导航菜单",
29
31
  "fileName": "文件名",
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "accountIconButtonAriaLabel": "當前用戶",
3
+ "addResource": "添加資源",
3
4
  "appKey": "應用程式鍵",
4
5
  "appSecret": "應用金鑰",
5
6
  "app": "應用",
@@ -24,6 +25,7 @@
24
25
  "directReports": "直接下屬",
25
26
  "editAvatar": "修改頭像",
26
27
  "editLogo": "修改圖標",
28
+ "editResource": "編輯資源",
27
29
  "expandMenu": "展開菜單",
28
30
  "expandNavMenuAriaLabel": "展開導航菜單",
29
31
  "fileName": "文件名",
@@ -22,10 +22,10 @@ export type OrgCreateResourceRQ = {
22
22
  */
23
23
  key?: string;
24
24
  /**
25
- * Organization Id, null means global
26
- * 所属机构,null 表示全局
25
+ * Organization Id, 所属机构,undefined means global
26
+ * 所属机构,undefined 表示全局
27
27
  */
28
- orgId?: number | null;
28
+ orgId?: number;
29
29
  /**
30
30
  * Resource items
31
31
  * 资源项
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etsoo/smarterp-core",
3
- "version": "1.0.59",
3
+ "version": "1.0.60",
4
4
  "description": "TypeScript APIs for SmartERP Core",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/mjs/index.js",
@@ -53,8 +53,8 @@
53
53
  "vitest": "^3.1.2"
54
54
  },
55
55
  "dependencies": {
56
- "@etsoo/appscript": "^1.6.32",
57
- "@etsoo/materialui": "^1.5.43",
56
+ "@etsoo/appscript": "^1.6.33",
57
+ "@etsoo/materialui": "^1.5.45",
58
58
  "@etsoo/react": "^1.8.43",
59
59
  "@etsoo/shared": "^1.2.70",
60
60
  "@etsoo/toolpad": "^1.0.29",
package/src/i18n/en.json CHANGED
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "accountIconButtonAriaLabel": "Current user",
3
+ "addResource": "Add resource",
3
4
  "appKey": "App key",
4
5
  "appSecret": "App secret",
5
6
  "app": "App",
@@ -24,6 +25,7 @@
24
25
  "directReports": "Direct reports",
25
26
  "editAvatar": "Edit avatar",
26
27
  "editLogo": "Edit logo",
28
+ "editResource": "Edit resource",
27
29
  "expandMenu": "Expand menu",
28
30
  "expandNavMenuAriaLabel": "Expand navigation menu",
29
31
  "fileName": "File name",
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "accountIconButtonAriaLabel": "当前用户",
3
+ "addResource": "添加资源",
3
4
  "appKey": "应用键",
4
5
  "appSecret": "应用密钥",
5
6
  "app": "应用",
@@ -24,6 +25,7 @@
24
25
  "directReports": "直接下属",
25
26
  "editAvatar": "修改头像",
26
27
  "editLogo": "修改图标",
28
+ "editResource": "编辑资源",
27
29
  "expandMenu": "展开菜单",
28
30
  "expandNavMenuAriaLabel": "展开导航菜单",
29
31
  "fileName": "文件名",
@@ -1,5 +1,6 @@
1
1
  {
2
2
  "accountIconButtonAriaLabel": "當前用戶",
3
+ "addResource": "添加資源",
3
4
  "appKey": "應用程式鍵",
4
5
  "appSecret": "應用金鑰",
5
6
  "app": "應用",
@@ -24,6 +25,7 @@
24
25
  "directReports": "直接下屬",
25
26
  "editAvatar": "修改頭像",
26
27
  "editLogo": "修改圖標",
28
+ "editResource": "編輯資源",
27
29
  "expandMenu": "展開菜單",
28
30
  "expandNavMenuAriaLabel": "展開導航菜單",
29
31
  "fileName": "文件名",
@@ -26,10 +26,10 @@ export type OrgCreateResourceRQ = {
26
26
  key?: string;
27
27
 
28
28
  /**
29
- * Organization Id, null means global
30
- * 所属机构,null 表示全局
29
+ * Organization Id, 所属机构,undefined means global
30
+ * 所属机构,undefined 表示全局
31
31
  */
32
- orgId?: number | null;
32
+ orgId?: number;
33
33
 
34
34
  /**
35
35
  * Resource items