@daocloud-proto/hydra 0.11.0-dev-9 → 0.11.0-dev-13
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.
|
@@ -10,6 +10,7 @@ import * as GoogleProtobufEmpty from "../../../google/protobuf/empty.pb"
|
|
|
10
10
|
import * as GoogleProtobufTimestamp from "../../../google/protobuf/timestamp.pb"
|
|
11
11
|
import * as EventV1alpha1Event from "../../../management-api/event/v1alpha1/event.pb"
|
|
12
12
|
import * as HydraManagement_apiStorageV1alpha1Filesstorage from "../../../management-api/storage/v1alpha1/filesstorage.pb"
|
|
13
|
+
import * as HydraStorageserverV1alpha1Storage_server from "../../../storageserver/v1alpha1/storage_server.pb"
|
|
13
14
|
|
|
14
15
|
type Absent<T, K extends keyof T> = { [k in Exclude<keyof T, K>]?: undefined };
|
|
15
16
|
type OneOf<T> =
|
|
@@ -80,18 +81,19 @@ export type DeleteFilesStorageRequest = {
|
|
|
80
81
|
|
|
81
82
|
export type FileInfo = {
|
|
82
83
|
name?: string
|
|
83
|
-
|
|
84
|
+
type?: HydraStorageserverV1alpha1Storage_server.FileType
|
|
84
85
|
size?: string
|
|
85
|
-
|
|
86
|
+
modificationTimestamp?: string
|
|
86
87
|
}
|
|
87
88
|
|
|
88
89
|
export type ListFilesRequest = {
|
|
89
90
|
name?: string
|
|
90
91
|
path?: string
|
|
92
|
+
type?: HydraStorageserverV1alpha1Storage_server.FileType
|
|
91
93
|
}
|
|
92
94
|
|
|
93
95
|
export type ListFilesResponse = {
|
|
94
|
-
|
|
96
|
+
files?: FileInfo[]
|
|
95
97
|
}
|
|
96
98
|
|
|
97
99
|
export type CreateFolderRequest = {
|
|
@@ -8,6 +8,7 @@ import * as HydraCommonCommon from "../../../common/common.pb"
|
|
|
8
8
|
import * as fm from "../../../fetch.pb"
|
|
9
9
|
import * as GoogleProtobufEmpty from "../../../google/protobuf/empty.pb"
|
|
10
10
|
import * as GoogleProtobufTimestamp from "../../../google/protobuf/timestamp.pb"
|
|
11
|
+
import * as HydraStorageserverV1alpha1Storage_server from "../../../storageserver/v1alpha1/storage_server.pb"
|
|
11
12
|
import * as EventV1alpha1Event from "../../event/v1alpha1/event.pb"
|
|
12
13
|
|
|
13
14
|
type Absent<T, K extends keyof T> = { [k in Exclude<keyof T, K>]?: undefined };
|
|
@@ -122,19 +123,20 @@ export type DeleteFilesStorageRequest = {
|
|
|
122
123
|
|
|
123
124
|
export type FileInfo = {
|
|
124
125
|
name?: string
|
|
125
|
-
|
|
126
|
+
type?: HydraStorageserverV1alpha1Storage_server.FileType
|
|
126
127
|
size?: string
|
|
127
|
-
|
|
128
|
+
modificationTimestamp?: string
|
|
128
129
|
}
|
|
129
130
|
|
|
130
131
|
export type ListFilesRequest = {
|
|
131
132
|
workspace?: number
|
|
132
133
|
name?: string
|
|
133
134
|
path?: string
|
|
135
|
+
type?: HydraStorageserverV1alpha1Storage_server.FileType
|
|
134
136
|
}
|
|
135
137
|
|
|
136
138
|
export type ListFilesResponse = {
|
|
137
|
-
|
|
139
|
+
files?: FileInfo[]
|
|
138
140
|
}
|
|
139
141
|
|
|
140
142
|
export type CreateFolderRequest = {
|