@etsoo/appscript 1.5.77 → 1.5.79
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.
- package/lib/cjs/api/rq/QueryPagingData.d.ts +20 -2
- package/lib/cjs/api/rq/StatusQueryRQ.d.ts +2 -2
- package/lib/mjs/api/rq/QueryPagingData.d.ts +20 -2
- package/lib/mjs/api/rq/StatusQueryRQ.d.ts +2 -2
- package/package.json +2 -2
- package/src/api/rq/QueryPagingData.ts +23 -2
- package/src/api/rq/StatusQueryRQ.ts +2 -2
|
@@ -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?:
|
|
39
|
+
orderBy?: QueryPagingOrder[];
|
|
22
40
|
};
|
|
@@ -7,9 +7,9 @@ import { EntityStatus } from "../../business/EntityStatus";
|
|
|
7
7
|
*/
|
|
8
8
|
export type StatusQueryRQ<T extends IdType = number> = QueryRQ<T> & {
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Enabled or not, null for all, true for enabled (<= EntityStatus.Approved), false for disabled (> 100)
|
|
11
11
|
*/
|
|
12
|
-
|
|
12
|
+
enabled?: boolean;
|
|
13
13
|
/**
|
|
14
14
|
* Status
|
|
15
15
|
*/
|
|
@@ -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?:
|
|
39
|
+
orderBy?: QueryPagingOrder[];
|
|
22
40
|
};
|
|
@@ -7,9 +7,9 @@ import { EntityStatus } from "../../business/EntityStatus";
|
|
|
7
7
|
*/
|
|
8
8
|
export type StatusQueryRQ<T extends IdType = number> = QueryRQ<T> & {
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* Enabled or not, null for all, true for enabled (<= EntityStatus.Approved), false for disabled (> 100)
|
|
11
11
|
*/
|
|
12
|
-
|
|
12
|
+
enabled?: boolean;
|
|
13
13
|
/**
|
|
14
14
|
* Status
|
|
15
15
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@etsoo/appscript",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.79",
|
|
4
4
|
"description": "Applications shared TypeScript framework",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/mjs/index.js",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"crypto-js": "^4.2.0"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
|
-
"@babel/cli": "^7.
|
|
64
|
+
"@babel/cli": "^7.26.4",
|
|
65
65
|
"@babel/core": "^7.26.0",
|
|
66
66
|
"@babel/plugin-transform-runtime": "^7.25.9",
|
|
67
67
|
"@babel/preset-env": "^7.26.0",
|
|
@@ -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?:
|
|
45
|
+
orderBy?: QueryPagingOrder[];
|
|
25
46
|
};
|
|
@@ -8,9 +8,9 @@ import { EntityStatus } from "../../business/EntityStatus";
|
|
|
8
8
|
*/
|
|
9
9
|
export type StatusQueryRQ<T extends IdType = number> = QueryRQ<T> & {
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* Enabled or not, null for all, true for enabled (<= EntityStatus.Approved), false for disabled (> 100)
|
|
12
12
|
*/
|
|
13
|
-
|
|
13
|
+
enabled?: boolean;
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* Status
|