@etsoo/appscript 1.5.76 → 1.5.78

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,3 +1,21 @@
1
+ /**
2
+ * Query paging order
3
+ * 查询分页排序
4
+ */
5
+ export type QueryPagingOrder = {
6
+ /**
7
+ * Field name
8
+ */
9
+ field: string;
10
+ /**
11
+ * Descending
12
+ */
13
+ desc?: boolean;
14
+ /**
15
+ * Is unique value
16
+ */
17
+ unique?: boolean;
18
+ };
1
19
  /**
2
20
  * Query paging data
3
21
  * 查询分页数据
@@ -16,7 +34,7 @@ export type QueryPagingData = {
16
34
  */
17
35
  batchSize: number;
18
36
  /**
19
- * Order by fields
37
+ * Order by fields, key is field name, value is true for descending, false for ascending
20
38
  */
21
- orderBy?: Record<string, boolean>;
39
+ orderBy?: QueryPagingOrder[];
22
40
  };
@@ -70,6 +70,7 @@
70
70
  "email": "Email",
71
71
  "emailAddresses": "Email addresses",
72
72
  "enabled": "Enabled",
73
+ "endDate": "End date",
73
74
  "entityStatus": "Status",
74
75
  "environmentChanged": "The operating environment has changed, please log in again",
75
76
  "error": "Error",
@@ -190,6 +191,7 @@
190
191
  "signout": "Sign out",
191
192
  "smartERP": "SmartERP Cloud",
192
193
  "sortTip": "Drag and drop items to sort",
194
+ "startDate": "Start date",
193
195
  "state": "Province/State",
194
196
  "status": "Status",
195
197
  "statusApproved": "Approved",
@@ -70,6 +70,7 @@
70
70
  "email": "电子邮箱",
71
71
  "emailAddresses": "电子邮箱",
72
72
  "enabled": "已启用",
73
+ "endDate": "结束日期",
73
74
  "entityStatus": "状态",
74
75
  "environmentChanged": "运行环境已改变,请重新登录",
75
76
  "error": "错误",
@@ -190,6 +191,7 @@
190
191
  "signout": "退出",
191
192
  "smartERP": "司友®云ERP",
192
193
  "sortTip": "拖拽项目进行排序",
194
+ "startDate": "开始日期",
193
195
  "state": "省/州",
194
196
  "status": "状态",
195
197
  "statusApproved": "已批准",
@@ -70,6 +70,7 @@
70
70
  "email": "電子郵箱",
71
71
  "emailAddresses": "電子郵箱",
72
72
  "enabled": "已啟用",
73
+ "endDate": "結束日期",
73
74
  "entityStatus": "狀態",
74
75
  "environmentChanged": "運行環境已改變,請重新登錄",
75
76
  "error": "錯誤",
@@ -190,6 +191,7 @@
190
191
  "signout": "退出",
191
192
  "smartERP": "司友®雲ERP",
192
193
  "sortTip": "拖拽項目進行排序",
194
+ "startDate": "開始日期",
193
195
  "state": "省/州",
194
196
  "status": "狀態",
195
197
  "statusApproved": "已批准",
@@ -1,3 +1,21 @@
1
+ /**
2
+ * Query paging order
3
+ * 查询分页排序
4
+ */
5
+ export type QueryPagingOrder = {
6
+ /**
7
+ * Field name
8
+ */
9
+ field: string;
10
+ /**
11
+ * Descending
12
+ */
13
+ desc?: boolean;
14
+ /**
15
+ * Is unique value
16
+ */
17
+ unique?: boolean;
18
+ };
1
19
  /**
2
20
  * Query paging data
3
21
  * 查询分页数据
@@ -16,7 +34,7 @@ export type QueryPagingData = {
16
34
  */
17
35
  batchSize: number;
18
36
  /**
19
- * Order by fields
37
+ * Order by fields, key is field name, value is true for descending, false for ascending
20
38
  */
21
- orderBy?: Record<string, boolean>;
39
+ orderBy?: QueryPagingOrder[];
22
40
  };
@@ -70,6 +70,7 @@
70
70
  "email": "Email",
71
71
  "emailAddresses": "Email addresses",
72
72
  "enabled": "Enabled",
73
+ "endDate": "End date",
73
74
  "entityStatus": "Status",
74
75
  "environmentChanged": "The operating environment has changed, please log in again",
75
76
  "error": "Error",
@@ -190,6 +191,7 @@
190
191
  "signout": "Sign out",
191
192
  "smartERP": "SmartERP Cloud",
192
193
  "sortTip": "Drag and drop items to sort",
194
+ "startDate": "Start date",
193
195
  "state": "Province/State",
194
196
  "status": "Status",
195
197
  "statusApproved": "Approved",
@@ -70,6 +70,7 @@
70
70
  "email": "电子邮箱",
71
71
  "emailAddresses": "电子邮箱",
72
72
  "enabled": "已启用",
73
+ "endDate": "结束日期",
73
74
  "entityStatus": "状态",
74
75
  "environmentChanged": "运行环境已改变,请重新登录",
75
76
  "error": "错误",
@@ -190,6 +191,7 @@
190
191
  "signout": "退出",
191
192
  "smartERP": "司友®云ERP",
192
193
  "sortTip": "拖拽项目进行排序",
194
+ "startDate": "开始日期",
193
195
  "state": "省/州",
194
196
  "status": "状态",
195
197
  "statusApproved": "已批准",
@@ -70,6 +70,7 @@
70
70
  "email": "電子郵箱",
71
71
  "emailAddresses": "電子郵箱",
72
72
  "enabled": "已啟用",
73
+ "endDate": "結束日期",
73
74
  "entityStatus": "狀態",
74
75
  "environmentChanged": "運行環境已改變,請重新登錄",
75
76
  "error": "錯誤",
@@ -190,6 +191,7 @@
190
191
  "signout": "退出",
191
192
  "smartERP": "司友®雲ERP",
192
193
  "sortTip": "拖拽項目進行排序",
194
+ "startDate": "開始日期",
193
195
  "state": "省/州",
194
196
  "status": "狀態",
195
197
  "statusApproved": "已批准",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etsoo/appscript",
3
- "version": "1.5.76",
3
+ "version": "1.5.78",
4
4
  "description": "Applications shared TypeScript framework",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/mjs/index.js",
@@ -1,3 +1,24 @@
1
+ /**
2
+ * Query paging order
3
+ * 查询分页排序
4
+ */
5
+ export type QueryPagingOrder = {
6
+ /**
7
+ * Field name
8
+ */
9
+ field: string;
10
+
11
+ /**
12
+ * Descending
13
+ */
14
+ desc?: boolean;
15
+
16
+ /**
17
+ * Is unique value
18
+ */
19
+ unique?: boolean;
20
+ };
21
+
1
22
  /**
2
23
  * Query paging data
3
24
  * 查询分页数据
@@ -19,7 +40,7 @@ export type QueryPagingData = {
19
40
  batchSize: number;
20
41
 
21
42
  /**
22
- * Order by fields
43
+ * Order by fields, key is field name, value is true for descending, false for ascending
23
44
  */
24
- orderBy?: Record<string, boolean>;
45
+ orderBy?: QueryPagingOrder[];
25
46
  };
package/src/i18n/en.json CHANGED
@@ -70,6 +70,7 @@
70
70
  "email": "Email",
71
71
  "emailAddresses": "Email addresses",
72
72
  "enabled": "Enabled",
73
+ "endDate": "End date",
73
74
  "entityStatus": "Status",
74
75
  "environmentChanged": "The operating environment has changed, please log in again",
75
76
  "error": "Error",
@@ -190,6 +191,7 @@
190
191
  "signout": "Sign out",
191
192
  "smartERP": "SmartERP Cloud",
192
193
  "sortTip": "Drag and drop items to sort",
194
+ "startDate": "Start date",
193
195
  "state": "Province/State",
194
196
  "status": "Status",
195
197
  "statusApproved": "Approved",
@@ -70,6 +70,7 @@
70
70
  "email": "电子邮箱",
71
71
  "emailAddresses": "电子邮箱",
72
72
  "enabled": "已启用",
73
+ "endDate": "结束日期",
73
74
  "entityStatus": "状态",
74
75
  "environmentChanged": "运行环境已改变,请重新登录",
75
76
  "error": "错误",
@@ -190,6 +191,7 @@
190
191
  "signout": "退出",
191
192
  "smartERP": "司友®云ERP",
192
193
  "sortTip": "拖拽项目进行排序",
194
+ "startDate": "开始日期",
193
195
  "state": "省/州",
194
196
  "status": "状态",
195
197
  "statusApproved": "已批准",
@@ -70,6 +70,7 @@
70
70
  "email": "電子郵箱",
71
71
  "emailAddresses": "電子郵箱",
72
72
  "enabled": "已啟用",
73
+ "endDate": "結束日期",
73
74
  "entityStatus": "狀態",
74
75
  "environmentChanged": "運行環境已改變,請重新登錄",
75
76
  "error": "錯誤",
@@ -190,6 +191,7 @@
190
191
  "signout": "退出",
191
192
  "smartERP": "司友®雲ERP",
192
193
  "sortTip": "拖拽項目進行排序",
194
+ "startDate": "開始日期",
193
195
  "state": "省/州",
194
196
  "status": "狀態",
195
197
  "statusApproved": "已批准",