@liquidmetal-ai/drizzle 0.1.3 → 0.2.2
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/.changeset/breezy-lamps-fry.md +6 -0
- package/.turbo/turbo-lint.log +6 -0
- package/.turbo/turbo-test.log +6 -0
- package/dist/appify/build.d.ts +32 -2
- package/dist/appify/build.d.ts.map +1 -1
- package/dist/appify/build.js +166 -24
- package/dist/appify/build.test.js +75 -3
- package/dist/appify/validate.d.ts +2 -1
- package/dist/appify/validate.d.ts.map +1 -1
- package/dist/appify/validate.js +71 -2
- package/dist/appify/validate.test.js +74 -4
- package/dist/codestore.js +2 -2
- package/dist/liquidmetal/v1alpha1/catalog_connect.d.ts +81 -78
- package/dist/liquidmetal/v1alpha1/catalog_connect.d.ts.map +1 -1
- package/dist/liquidmetal/v1alpha1/catalog_connect.js +81 -78
- package/dist/liquidmetal/v1alpha1/catalog_pb.d.ts +572 -610
- package/dist/liquidmetal/v1alpha1/catalog_pb.d.ts.map +1 -1
- package/dist/liquidmetal/v1alpha1/catalog_pb.js +675 -741
- package/dist/liquidmetal/v1alpha1/resource_interface_connect.d.ts +68 -0
- package/dist/liquidmetal/v1alpha1/resource_interface_connect.d.ts.map +1 -0
- package/dist/liquidmetal/v1alpha1/resource_interface_connect.js +73 -0
- package/dist/liquidmetal/v1alpha1/resource_interface_pb.d.ts +283 -0
- package/dist/liquidmetal/v1alpha1/resource_interface_pb.d.ts.map +1 -0
- package/dist/liquidmetal/v1alpha1/resource_interface_pb.js +454 -0
- package/dist/liquidmetal/v1alpha1/search_agent_connect.d.ts +170 -0
- package/dist/liquidmetal/v1alpha1/search_agent_connect.d.ts.map +1 -0
- package/dist/liquidmetal/v1alpha1/search_agent_connect.js +173 -0
- package/dist/liquidmetal/v1alpha1/search_agent_pb.d.ts +505 -0
- package/dist/liquidmetal/v1alpha1/search_agent_pb.d.ts.map +1 -0
- package/dist/liquidmetal/v1alpha1/search_agent_pb.js +715 -0
- package/package.json +1 -1
- package/src/appify/build.test.ts +85 -3
- package/src/appify/build.ts +181 -25
- package/src/appify/validate.test.ts +77 -4
- package/src/appify/validate.ts +78 -1
- package/src/codestore.ts +2 -2
- package/src/liquidmetal/v1alpha1/catalog_connect.ts +81 -78
- package/src/liquidmetal/v1alpha1/catalog_pb.ts +872 -970
- package/src/liquidmetal/v1alpha1/resource_interface_connect.ts +77 -0
- package/src/liquidmetal/v1alpha1/resource_interface_pb.ts +561 -0
- package/src/liquidmetal/v1alpha1/search_agent_connect.ts +176 -0
- package/src/liquidmetal/v1alpha1/search_agent_pb.ts +842 -0
- package/tsconfig.tsbuildinfo +1 -1
- package/.turbo/turbo-build.log +0 -30
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
// @generated by protoc-gen-connect-es v1.4.0 with parameter "target=ts,import_extension=.js"
|
|
2
|
+
// @generated from file liquidmetal/v1alpha1/resource_interface.proto (package liquidmetal.v1alpha1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
|
|
6
|
+
//
|
|
7
|
+
//This is the interface for the LiquidMetal resource service. It provides RPC methods for directly interacting with resources such as objects, buckets. In the future this will include other resourcs such as SQL, vectorrize etc.
|
|
8
|
+
|
|
9
|
+
import { DeleteObjectRequest, DeleteObjectResponse, GetObjectRequest, GetObjectResponse, ListObjectsRequest, ListObjectsResponse, ListSmartBucketsRequest, ListSmartBucketsResponse, PutObjectRequest, PutObjectResponse } from "./resource_interface_pb.js";
|
|
10
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* ObjectService handles operations on objects stored in buckets
|
|
14
|
+
*
|
|
15
|
+
* @generated from service liquidmetal.v1alpha1.ObjectService
|
|
16
|
+
*/
|
|
17
|
+
export const ObjectService = {
|
|
18
|
+
typeName: "liquidmetal.v1alpha1.ObjectService",
|
|
19
|
+
methods: {
|
|
20
|
+
/**
|
|
21
|
+
* PutObject uploads an object to a bucket
|
|
22
|
+
*
|
|
23
|
+
* @generated from rpc liquidmetal.v1alpha1.ObjectService.PutObject
|
|
24
|
+
*/
|
|
25
|
+
putObject: {
|
|
26
|
+
name: "PutObject",
|
|
27
|
+
I: PutObjectRequest,
|
|
28
|
+
O: PutObjectResponse,
|
|
29
|
+
kind: MethodKind.Unary,
|
|
30
|
+
},
|
|
31
|
+
/**
|
|
32
|
+
* GetObject retrieves an object from a bucket
|
|
33
|
+
*
|
|
34
|
+
* @generated from rpc liquidmetal.v1alpha1.ObjectService.GetObject
|
|
35
|
+
*/
|
|
36
|
+
getObject: {
|
|
37
|
+
name: "GetObject",
|
|
38
|
+
I: GetObjectRequest,
|
|
39
|
+
O: GetObjectResponse,
|
|
40
|
+
kind: MethodKind.Unary,
|
|
41
|
+
},
|
|
42
|
+
/**
|
|
43
|
+
* DeleteObject removes an object from a bucket
|
|
44
|
+
*
|
|
45
|
+
* @generated from rpc liquidmetal.v1alpha1.ObjectService.DeleteObject
|
|
46
|
+
*/
|
|
47
|
+
deleteObject: {
|
|
48
|
+
name: "DeleteObject",
|
|
49
|
+
I: DeleteObjectRequest,
|
|
50
|
+
O: DeleteObjectResponse,
|
|
51
|
+
kind: MethodKind.Unary,
|
|
52
|
+
},
|
|
53
|
+
/**
|
|
54
|
+
* ListObjects lists all objects in a bucket
|
|
55
|
+
*
|
|
56
|
+
* @generated from rpc liquidmetal.v1alpha1.ObjectService.ListObjects
|
|
57
|
+
*/
|
|
58
|
+
listObjects: {
|
|
59
|
+
name: "ListObjects",
|
|
60
|
+
I: ListObjectsRequest,
|
|
61
|
+
O: ListObjectsResponse,
|
|
62
|
+
kind: MethodKind.Unary,
|
|
63
|
+
},
|
|
64
|
+
/**
|
|
65
|
+
* list all available smart buckets
|
|
66
|
+
*
|
|
67
|
+
* @generated from rpc liquidmetal.v1alpha1.ObjectService.ListSmartBuckets
|
|
68
|
+
*/
|
|
69
|
+
listSmartBuckets: {
|
|
70
|
+
name: "ListSmartBuckets",
|
|
71
|
+
I: ListSmartBucketsRequest,
|
|
72
|
+
O: ListSmartBucketsResponse,
|
|
73
|
+
kind: MethodKind.Unary,
|
|
74
|
+
},
|
|
75
|
+
}
|
|
76
|
+
} as const;
|
|
77
|
+
|
|
@@ -0,0 +1,561 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v1.10.0 with parameter "target=ts"
|
|
2
|
+
// @generated from file liquidmetal/v1alpha1/resource_interface.proto (package liquidmetal.v1alpha1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
|
|
6
|
+
//
|
|
7
|
+
//This is the interface for the LiquidMetal resource service. It provides RPC methods for directly interacting with resources such as objects, buckets. In the future this will include other resourcs such as SQL, vectorrize etc.
|
|
8
|
+
|
|
9
|
+
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
10
|
+
import { Message, proto3, protoInt64, Timestamp } from "@bufbuild/protobuf";
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Smartbucket details as stored in the catalog SQL database
|
|
14
|
+
*
|
|
15
|
+
* @generated from message liquidmetal.v1alpha1.SmartBucket
|
|
16
|
+
*/
|
|
17
|
+
export class SmartBucket extends Message<SmartBucket> {
|
|
18
|
+
/**
|
|
19
|
+
* id of the record in the catalog SQL database
|
|
20
|
+
*
|
|
21
|
+
* @generated from field: int32 id = 1;
|
|
22
|
+
*/
|
|
23
|
+
id = 0;
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* internal bucket ID i.e the resource ID of the smart bucket
|
|
27
|
+
*
|
|
28
|
+
* @generated from field: string bucket_id = 2;
|
|
29
|
+
*/
|
|
30
|
+
bucketId = "";
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* user friendly name for the smart bucket
|
|
34
|
+
*
|
|
35
|
+
* @generated from field: string bucket_name = 3;
|
|
36
|
+
*/
|
|
37
|
+
bucketName = "";
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* the URL that can be called to retrieve an objects metadata from a smart bucket
|
|
41
|
+
*
|
|
42
|
+
* @generated from field: string url = 4;
|
|
43
|
+
*/
|
|
44
|
+
url = "";
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* the URL that can be called to delete an objects metadata from a smart bucket
|
|
48
|
+
*
|
|
49
|
+
* @generated from field: string delete_url = 5;
|
|
50
|
+
*/
|
|
51
|
+
deleteUrl = "";
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* the date and time the smart bucket was registered in the catalog
|
|
55
|
+
*
|
|
56
|
+
* @generated from field: google.protobuf.Timestamp created_at = 6;
|
|
57
|
+
*/
|
|
58
|
+
createdAt?: Timestamp;
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* the date and time the smart bucket was last updated
|
|
62
|
+
*
|
|
63
|
+
* @generated from field: google.protobuf.Timestamp updated_at = 7;
|
|
64
|
+
*/
|
|
65
|
+
updatedAt?: Timestamp;
|
|
66
|
+
|
|
67
|
+
constructor(data?: PartialMessage<SmartBucket>) {
|
|
68
|
+
super();
|
|
69
|
+
proto3.util.initPartial(data, this);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
73
|
+
static readonly typeName = "liquidmetal.v1alpha1.SmartBucket";
|
|
74
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
75
|
+
{ no: 1, name: "id", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
76
|
+
{ no: 2, name: "bucket_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
77
|
+
{ no: 3, name: "bucket_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
78
|
+
{ no: 4, name: "url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
79
|
+
{ no: 5, name: "delete_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
80
|
+
{ no: 6, name: "created_at", kind: "message", T: Timestamp },
|
|
81
|
+
{ no: 7, name: "updated_at", kind: "message", T: Timestamp },
|
|
82
|
+
]);
|
|
83
|
+
|
|
84
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SmartBucket {
|
|
85
|
+
return new SmartBucket().fromBinary(bytes, options);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SmartBucket {
|
|
89
|
+
return new SmartBucket().fromJson(jsonValue, options);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SmartBucket {
|
|
93
|
+
return new SmartBucket().fromJsonString(jsonString, options);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
static equals(a: SmartBucket | PlainMessage<SmartBucket> | undefined, b: SmartBucket | PlainMessage<SmartBucket> | undefined): boolean {
|
|
97
|
+
return proto3.util.equals(SmartBucket, a, b);
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* @generated from message liquidmetal.v1alpha1.PutObjectRequest
|
|
103
|
+
*/
|
|
104
|
+
export class PutObjectRequest extends Message<PutObjectRequest> {
|
|
105
|
+
/**
|
|
106
|
+
* @generated from field: string bucket = 1;
|
|
107
|
+
*/
|
|
108
|
+
bucket = "";
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* @generated from field: string key = 2;
|
|
112
|
+
*/
|
|
113
|
+
key = "";
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* @generated from field: bytes content = 3;
|
|
117
|
+
*/
|
|
118
|
+
content = new Uint8Array(0);
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* @generated from field: string content_type = 4;
|
|
122
|
+
*/
|
|
123
|
+
contentType = "";
|
|
124
|
+
|
|
125
|
+
constructor(data?: PartialMessage<PutObjectRequest>) {
|
|
126
|
+
super();
|
|
127
|
+
proto3.util.initPartial(data, this);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
131
|
+
static readonly typeName = "liquidmetal.v1alpha1.PutObjectRequest";
|
|
132
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
133
|
+
{ no: 1, name: "bucket", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
134
|
+
{ no: 2, name: "key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
135
|
+
{ no: 3, name: "content", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
|
|
136
|
+
{ no: 4, name: "content_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
137
|
+
]);
|
|
138
|
+
|
|
139
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PutObjectRequest {
|
|
140
|
+
return new PutObjectRequest().fromBinary(bytes, options);
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PutObjectRequest {
|
|
144
|
+
return new PutObjectRequest().fromJson(jsonValue, options);
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PutObjectRequest {
|
|
148
|
+
return new PutObjectRequest().fromJsonString(jsonString, options);
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
static equals(a: PutObjectRequest | PlainMessage<PutObjectRequest> | undefined, b: PutObjectRequest | PlainMessage<PutObjectRequest> | undefined): boolean {
|
|
152
|
+
return proto3.util.equals(PutObjectRequest, a, b);
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
/**
|
|
157
|
+
* @generated from message liquidmetal.v1alpha1.PutObjectResponse
|
|
158
|
+
*/
|
|
159
|
+
export class PutObjectResponse extends Message<PutObjectResponse> {
|
|
160
|
+
/**
|
|
161
|
+
* @generated from field: bool success = 1;
|
|
162
|
+
*/
|
|
163
|
+
success = false;
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* @generated from field: string bucket = 2;
|
|
167
|
+
*/
|
|
168
|
+
bucket = "";
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* @generated from field: string key = 3;
|
|
172
|
+
*/
|
|
173
|
+
key = "";
|
|
174
|
+
|
|
175
|
+
constructor(data?: PartialMessage<PutObjectResponse>) {
|
|
176
|
+
super();
|
|
177
|
+
proto3.util.initPartial(data, this);
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
181
|
+
static readonly typeName = "liquidmetal.v1alpha1.PutObjectResponse";
|
|
182
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
183
|
+
{ no: 1, name: "success", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
184
|
+
{ no: 2, name: "bucket", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
185
|
+
{ no: 3, name: "key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
186
|
+
]);
|
|
187
|
+
|
|
188
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PutObjectResponse {
|
|
189
|
+
return new PutObjectResponse().fromBinary(bytes, options);
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PutObjectResponse {
|
|
193
|
+
return new PutObjectResponse().fromJson(jsonValue, options);
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PutObjectResponse {
|
|
197
|
+
return new PutObjectResponse().fromJsonString(jsonString, options);
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
static equals(a: PutObjectResponse | PlainMessage<PutObjectResponse> | undefined, b: PutObjectResponse | PlainMessage<PutObjectResponse> | undefined): boolean {
|
|
201
|
+
return proto3.util.equals(PutObjectResponse, a, b);
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
/**
|
|
206
|
+
* @generated from message liquidmetal.v1alpha1.GetObjectRequest
|
|
207
|
+
*/
|
|
208
|
+
export class GetObjectRequest extends Message<GetObjectRequest> {
|
|
209
|
+
/**
|
|
210
|
+
* @generated from field: string bucket = 1;
|
|
211
|
+
*/
|
|
212
|
+
bucket = "";
|
|
213
|
+
|
|
214
|
+
/**
|
|
215
|
+
* @generated from field: string key = 2;
|
|
216
|
+
*/
|
|
217
|
+
key = "";
|
|
218
|
+
|
|
219
|
+
constructor(data?: PartialMessage<GetObjectRequest>) {
|
|
220
|
+
super();
|
|
221
|
+
proto3.util.initPartial(data, this);
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
225
|
+
static readonly typeName = "liquidmetal.v1alpha1.GetObjectRequest";
|
|
226
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
227
|
+
{ no: 1, name: "bucket", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
228
|
+
{ no: 2, name: "key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
229
|
+
]);
|
|
230
|
+
|
|
231
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetObjectRequest {
|
|
232
|
+
return new GetObjectRequest().fromBinary(bytes, options);
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetObjectRequest {
|
|
236
|
+
return new GetObjectRequest().fromJson(jsonValue, options);
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetObjectRequest {
|
|
240
|
+
return new GetObjectRequest().fromJsonString(jsonString, options);
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
static equals(a: GetObjectRequest | PlainMessage<GetObjectRequest> | undefined, b: GetObjectRequest | PlainMessage<GetObjectRequest> | undefined): boolean {
|
|
244
|
+
return proto3.util.equals(GetObjectRequest, a, b);
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
/**
|
|
249
|
+
* @generated from message liquidmetal.v1alpha1.GetObjectResponse
|
|
250
|
+
*/
|
|
251
|
+
export class GetObjectResponse extends Message<GetObjectResponse> {
|
|
252
|
+
/**
|
|
253
|
+
* @generated from field: bytes content = 1;
|
|
254
|
+
*/
|
|
255
|
+
content = new Uint8Array(0);
|
|
256
|
+
|
|
257
|
+
/**
|
|
258
|
+
* @generated from field: string content_type = 2;
|
|
259
|
+
*/
|
|
260
|
+
contentType = "";
|
|
261
|
+
|
|
262
|
+
constructor(data?: PartialMessage<GetObjectResponse>) {
|
|
263
|
+
super();
|
|
264
|
+
proto3.util.initPartial(data, this);
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
268
|
+
static readonly typeName = "liquidmetal.v1alpha1.GetObjectResponse";
|
|
269
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
270
|
+
{ no: 1, name: "content", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
|
|
271
|
+
{ no: 2, name: "content_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
272
|
+
]);
|
|
273
|
+
|
|
274
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetObjectResponse {
|
|
275
|
+
return new GetObjectResponse().fromBinary(bytes, options);
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetObjectResponse {
|
|
279
|
+
return new GetObjectResponse().fromJson(jsonValue, options);
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetObjectResponse {
|
|
283
|
+
return new GetObjectResponse().fromJsonString(jsonString, options);
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
static equals(a: GetObjectResponse | PlainMessage<GetObjectResponse> | undefined, b: GetObjectResponse | PlainMessage<GetObjectResponse> | undefined): boolean {
|
|
287
|
+
return proto3.util.equals(GetObjectResponse, a, b);
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
/**
|
|
292
|
+
* @generated from message liquidmetal.v1alpha1.DeleteObjectRequest
|
|
293
|
+
*/
|
|
294
|
+
export class DeleteObjectRequest extends Message<DeleteObjectRequest> {
|
|
295
|
+
/**
|
|
296
|
+
* @generated from field: string bucket = 1;
|
|
297
|
+
*/
|
|
298
|
+
bucket = "";
|
|
299
|
+
|
|
300
|
+
/**
|
|
301
|
+
* @generated from field: string key = 2;
|
|
302
|
+
*/
|
|
303
|
+
key = "";
|
|
304
|
+
|
|
305
|
+
constructor(data?: PartialMessage<DeleteObjectRequest>) {
|
|
306
|
+
super();
|
|
307
|
+
proto3.util.initPartial(data, this);
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
311
|
+
static readonly typeName = "liquidmetal.v1alpha1.DeleteObjectRequest";
|
|
312
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
313
|
+
{ no: 1, name: "bucket", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
314
|
+
{ no: 2, name: "key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
315
|
+
]);
|
|
316
|
+
|
|
317
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteObjectRequest {
|
|
318
|
+
return new DeleteObjectRequest().fromBinary(bytes, options);
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteObjectRequest {
|
|
322
|
+
return new DeleteObjectRequest().fromJson(jsonValue, options);
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteObjectRequest {
|
|
326
|
+
return new DeleteObjectRequest().fromJsonString(jsonString, options);
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
static equals(a: DeleteObjectRequest | PlainMessage<DeleteObjectRequest> | undefined, b: DeleteObjectRequest | PlainMessage<DeleteObjectRequest> | undefined): boolean {
|
|
330
|
+
return proto3.util.equals(DeleteObjectRequest, a, b);
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
/**
|
|
335
|
+
* @generated from message liquidmetal.v1alpha1.DeleteObjectResponse
|
|
336
|
+
*/
|
|
337
|
+
export class DeleteObjectResponse extends Message<DeleteObjectResponse> {
|
|
338
|
+
constructor(data?: PartialMessage<DeleteObjectResponse>) {
|
|
339
|
+
super();
|
|
340
|
+
proto3.util.initPartial(data, this);
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
344
|
+
static readonly typeName = "liquidmetal.v1alpha1.DeleteObjectResponse";
|
|
345
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
346
|
+
]);
|
|
347
|
+
|
|
348
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteObjectResponse {
|
|
349
|
+
return new DeleteObjectResponse().fromBinary(bytes, options);
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteObjectResponse {
|
|
353
|
+
return new DeleteObjectResponse().fromJson(jsonValue, options);
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteObjectResponse {
|
|
357
|
+
return new DeleteObjectResponse().fromJsonString(jsonString, options);
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
static equals(a: DeleteObjectResponse | PlainMessage<DeleteObjectResponse> | undefined, b: DeleteObjectResponse | PlainMessage<DeleteObjectResponse> | undefined): boolean {
|
|
361
|
+
return proto3.util.equals(DeleteObjectResponse, a, b);
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
/**
|
|
366
|
+
* @generated from message liquidmetal.v1alpha1.ListObjectsRequest
|
|
367
|
+
*/
|
|
368
|
+
export class ListObjectsRequest extends Message<ListObjectsRequest> {
|
|
369
|
+
/**
|
|
370
|
+
* @generated from field: string bucket = 1;
|
|
371
|
+
*/
|
|
372
|
+
bucket = "";
|
|
373
|
+
|
|
374
|
+
constructor(data?: PartialMessage<ListObjectsRequest>) {
|
|
375
|
+
super();
|
|
376
|
+
proto3.util.initPartial(data, this);
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
380
|
+
static readonly typeName = "liquidmetal.v1alpha1.ListObjectsRequest";
|
|
381
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
382
|
+
{ no: 1, name: "bucket", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
383
|
+
]);
|
|
384
|
+
|
|
385
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListObjectsRequest {
|
|
386
|
+
return new ListObjectsRequest().fromBinary(bytes, options);
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListObjectsRequest {
|
|
390
|
+
return new ListObjectsRequest().fromJson(jsonValue, options);
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListObjectsRequest {
|
|
394
|
+
return new ListObjectsRequest().fromJsonString(jsonString, options);
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
static equals(a: ListObjectsRequest | PlainMessage<ListObjectsRequest> | undefined, b: ListObjectsRequest | PlainMessage<ListObjectsRequest> | undefined): boolean {
|
|
398
|
+
return proto3.util.equals(ListObjectsRequest, a, b);
|
|
399
|
+
}
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
/**
|
|
403
|
+
* @generated from message liquidmetal.v1alpha1.ObjectInfo
|
|
404
|
+
*/
|
|
405
|
+
export class ObjectInfo extends Message<ObjectInfo> {
|
|
406
|
+
/**
|
|
407
|
+
* @generated from field: string key = 1;
|
|
408
|
+
*/
|
|
409
|
+
key = "";
|
|
410
|
+
|
|
411
|
+
/**
|
|
412
|
+
* @generated from field: int64 size = 2;
|
|
413
|
+
*/
|
|
414
|
+
size = protoInt64.zero;
|
|
415
|
+
|
|
416
|
+
/**
|
|
417
|
+
* @generated from field: string content_type = 3;
|
|
418
|
+
*/
|
|
419
|
+
contentType = "";
|
|
420
|
+
|
|
421
|
+
/**
|
|
422
|
+
* @generated from field: google.protobuf.Timestamp last_modified = 4;
|
|
423
|
+
*/
|
|
424
|
+
lastModified?: Timestamp;
|
|
425
|
+
|
|
426
|
+
constructor(data?: PartialMessage<ObjectInfo>) {
|
|
427
|
+
super();
|
|
428
|
+
proto3.util.initPartial(data, this);
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
432
|
+
static readonly typeName = "liquidmetal.v1alpha1.ObjectInfo";
|
|
433
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
434
|
+
{ no: 1, name: "key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
435
|
+
{ no: 2, name: "size", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
|
|
436
|
+
{ no: 3, name: "content_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
437
|
+
{ no: 4, name: "last_modified", kind: "message", T: Timestamp },
|
|
438
|
+
]);
|
|
439
|
+
|
|
440
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ObjectInfo {
|
|
441
|
+
return new ObjectInfo().fromBinary(bytes, options);
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ObjectInfo {
|
|
445
|
+
return new ObjectInfo().fromJson(jsonValue, options);
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ObjectInfo {
|
|
449
|
+
return new ObjectInfo().fromJsonString(jsonString, options);
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
static equals(a: ObjectInfo | PlainMessage<ObjectInfo> | undefined, b: ObjectInfo | PlainMessage<ObjectInfo> | undefined): boolean {
|
|
453
|
+
return proto3.util.equals(ObjectInfo, a, b);
|
|
454
|
+
}
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
/**
|
|
458
|
+
* @generated from message liquidmetal.v1alpha1.ListObjectsResponse
|
|
459
|
+
*/
|
|
460
|
+
export class ListObjectsResponse extends Message<ListObjectsResponse> {
|
|
461
|
+
/**
|
|
462
|
+
* @generated from field: repeated liquidmetal.v1alpha1.ObjectInfo objects = 1;
|
|
463
|
+
*/
|
|
464
|
+
objects: ObjectInfo[] = [];
|
|
465
|
+
|
|
466
|
+
constructor(data?: PartialMessage<ListObjectsResponse>) {
|
|
467
|
+
super();
|
|
468
|
+
proto3.util.initPartial(data, this);
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
472
|
+
static readonly typeName = "liquidmetal.v1alpha1.ListObjectsResponse";
|
|
473
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
474
|
+
{ no: 1, name: "objects", kind: "message", T: ObjectInfo, repeated: true },
|
|
475
|
+
]);
|
|
476
|
+
|
|
477
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListObjectsResponse {
|
|
478
|
+
return new ListObjectsResponse().fromBinary(bytes, options);
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListObjectsResponse {
|
|
482
|
+
return new ListObjectsResponse().fromJson(jsonValue, options);
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListObjectsResponse {
|
|
486
|
+
return new ListObjectsResponse().fromJsonString(jsonString, options);
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
static equals(a: ListObjectsResponse | PlainMessage<ListObjectsResponse> | undefined, b: ListObjectsResponse | PlainMessage<ListObjectsResponse> | undefined): boolean {
|
|
490
|
+
return proto3.util.equals(ListObjectsResponse, a, b);
|
|
491
|
+
}
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
/**
|
|
495
|
+
* @generated from message liquidmetal.v1alpha1.ListSmartBucketsRequest
|
|
496
|
+
*/
|
|
497
|
+
export class ListSmartBucketsRequest extends Message<ListSmartBucketsRequest> {
|
|
498
|
+
constructor(data?: PartialMessage<ListSmartBucketsRequest>) {
|
|
499
|
+
super();
|
|
500
|
+
proto3.util.initPartial(data, this);
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
504
|
+
static readonly typeName = "liquidmetal.v1alpha1.ListSmartBucketsRequest";
|
|
505
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
506
|
+
]);
|
|
507
|
+
|
|
508
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListSmartBucketsRequest {
|
|
509
|
+
return new ListSmartBucketsRequest().fromBinary(bytes, options);
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListSmartBucketsRequest {
|
|
513
|
+
return new ListSmartBucketsRequest().fromJson(jsonValue, options);
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListSmartBucketsRequest {
|
|
517
|
+
return new ListSmartBucketsRequest().fromJsonString(jsonString, options);
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
static equals(a: ListSmartBucketsRequest | PlainMessage<ListSmartBucketsRequest> | undefined, b: ListSmartBucketsRequest | PlainMessage<ListSmartBucketsRequest> | undefined): boolean {
|
|
521
|
+
return proto3.util.equals(ListSmartBucketsRequest, a, b);
|
|
522
|
+
}
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
/**
|
|
526
|
+
* @generated from message liquidmetal.v1alpha1.ListSmartBucketsResponse
|
|
527
|
+
*/
|
|
528
|
+
export class ListSmartBucketsResponse extends Message<ListSmartBucketsResponse> {
|
|
529
|
+
/**
|
|
530
|
+
* @generated from field: repeated liquidmetal.v1alpha1.SmartBucket buckets = 1;
|
|
531
|
+
*/
|
|
532
|
+
buckets: SmartBucket[] = [];
|
|
533
|
+
|
|
534
|
+
constructor(data?: PartialMessage<ListSmartBucketsResponse>) {
|
|
535
|
+
super();
|
|
536
|
+
proto3.util.initPartial(data, this);
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
static readonly runtime: typeof proto3 = proto3;
|
|
540
|
+
static readonly typeName = "liquidmetal.v1alpha1.ListSmartBucketsResponse";
|
|
541
|
+
static readonly fields: FieldList = proto3.util.newFieldList(() => [
|
|
542
|
+
{ no: 1, name: "buckets", kind: "message", T: SmartBucket, repeated: true },
|
|
543
|
+
]);
|
|
544
|
+
|
|
545
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListSmartBucketsResponse {
|
|
546
|
+
return new ListSmartBucketsResponse().fromBinary(bytes, options);
|
|
547
|
+
}
|
|
548
|
+
|
|
549
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListSmartBucketsResponse {
|
|
550
|
+
return new ListSmartBucketsResponse().fromJson(jsonValue, options);
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListSmartBucketsResponse {
|
|
554
|
+
return new ListSmartBucketsResponse().fromJsonString(jsonString, options);
|
|
555
|
+
}
|
|
556
|
+
|
|
557
|
+
static equals(a: ListSmartBucketsResponse | PlainMessage<ListSmartBucketsResponse> | undefined, b: ListSmartBucketsResponse | PlainMessage<ListSmartBucketsResponse> | undefined): boolean {
|
|
558
|
+
return proto3.util.equals(ListSmartBucketsResponse, a, b);
|
|
559
|
+
}
|
|
560
|
+
}
|
|
561
|
+
|