@daocloud-proto/zestu 0.3.0-dev-0df763da → 0.3.0-dev-4c24ba20

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name":"@daocloud-proto/zestu",
3
- "version":"v0.3.0-dev-0df763da",
3
+ "version":"v0.3.0-dev-4c24ba20",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -7,6 +7,19 @@
7
7
  import * as ZestuIoApiTypesPage from "../../types/page.pb"
8
8
  import * as ZestuIoApiTypesTypes from "../../types/types.pb"
9
9
 
10
+ export enum SortType {
11
+ UnknownType = "UnknownType",
12
+ ASC = "ASC",
13
+ DESC = "DESC",
14
+ }
15
+
16
+ export enum SortField {
17
+ UnknownField = "UnknownField",
18
+ GPU_TYPE = "GPU_TYPE",
19
+ GPU_MEMORY = "GPU_MEMORY",
20
+ GPU_COUNT = "GPU_COUNT",
21
+ }
22
+
10
23
  export enum RegisterAction {
11
24
  AddOrUpdate = "AddOrUpdate",
12
25
  Delete = "Delete",
@@ -23,6 +36,8 @@ export type ListResourcesRequest = {
23
36
  billingType?: ZestuIoApiTypesTypes.BillingType
24
37
  page?: number
25
38
  pageSize?: number
39
+ sortField?: SortField
40
+ sortType?: SortType
26
41
  }
27
42
 
28
43
  export type ListResourcesResponse = {