@etsoo/appscript 1.5.77 → 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?:
|
|
39
|
+
orderBy?: QueryPagingOrder[];
|
|
22
40
|
};
|
|
@@ -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
|
};
|
package/package.json
CHANGED
|
@@ -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
|
};
|