@liquidmetal-ai/drizzle 0.2.3 → 0.2.8

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.
Files changed (52) hide show
  1. package/.turbo/turbo-test.log +208 -1
  2. package/dist/codestore.js +1 -1
  3. package/dist/liquidmetal/v1alpha1/catalog_pb.d.ts +518 -479
  4. package/dist/liquidmetal/v1alpha1/catalog_pb.d.ts.map +1 -1
  5. package/dist/liquidmetal/v1alpha1/catalog_pb.js +210 -1726
  6. package/dist/liquidmetal/v1alpha1/rainbow_auth_pb.d.ts +110 -92
  7. package/dist/liquidmetal/v1alpha1/rainbow_auth_pb.d.ts.map +1 -1
  8. package/dist/liquidmetal/v1alpha1/rainbow_auth_pb.js +38 -361
  9. package/dist/liquidmetal/v1alpha1/raindrop_pb.d.ts +14 -13
  10. package/dist/liquidmetal/v1alpha1/raindrop_pb.d.ts.map +1 -1
  11. package/dist/liquidmetal/v1alpha1/raindrop_pb.js +10 -48
  12. package/dist/liquidmetal/v1alpha1/resource_interface_pb.d.ts +146 -122
  13. package/dist/liquidmetal/v1alpha1/resource_interface_pb.d.ts.map +1 -1
  14. package/dist/liquidmetal/v1alpha1/resource_interface_pb.js +49 -428
  15. package/dist/liquidmetal/v1alpha1/search_agent_pb.d.ts +262 -142
  16. package/dist/liquidmetal/v1alpha1/search_agent_pb.d.ts.map +1 -1
  17. package/dist/liquidmetal/v1alpha1/search_agent_pb.js +68 -684
  18. package/eslint.config.mjs +3 -1
  19. package/package.json +2 -1
  20. package/src/codestore.ts +1 -1
  21. package/src/liquidmetal/v1alpha1/catalog_pb.ts +710 -1468
  22. package/src/liquidmetal/v1alpha1/rainbow_auth_pb.ts +142 -284
  23. package/src/liquidmetal/v1alpha1/raindrop_pb.ts +21 -35
  24. package/src/liquidmetal/v1alpha1/resource_interface_pb.ts +192 -378
  25. package/src/liquidmetal/v1alpha1/search_agent_pb.ts +310 -450
  26. package/tsconfig.json +11 -3
  27. package/tsconfig.tsbuildinfo +1 -1
  28. package/.turbo/turbo-lint.log +0 -6
  29. package/dist/liquidmetal/v1alpha1/catalog_connect.d.ts +0 -168
  30. package/dist/liquidmetal/v1alpha1/catalog_connect.d.ts.map +0 -1
  31. package/dist/liquidmetal/v1alpha1/catalog_connect.js +0 -171
  32. package/dist/liquidmetal/v1alpha1/rainbow_auth_connect.d.ts +0 -49
  33. package/dist/liquidmetal/v1alpha1/rainbow_auth_connect.d.ts.map +0 -1
  34. package/dist/liquidmetal/v1alpha1/rainbow_auth_connect.js +0 -52
  35. package/dist/liquidmetal/v1alpha1/rainbow_public_connect.d.ts +0 -26
  36. package/dist/liquidmetal/v1alpha1/rainbow_public_connect.d.ts.map +0 -1
  37. package/dist/liquidmetal/v1alpha1/rainbow_public_connect.js +0 -29
  38. package/dist/liquidmetal/v1alpha1/rainbow_public_pb.d.ts +0 -202
  39. package/dist/liquidmetal/v1alpha1/rainbow_public_pb.d.ts.map +0 -1
  40. package/dist/liquidmetal/v1alpha1/rainbow_public_pb.js +0 -298
  41. package/dist/liquidmetal/v1alpha1/resource_interface_connect.d.ts +0 -68
  42. package/dist/liquidmetal/v1alpha1/resource_interface_connect.d.ts.map +0 -1
  43. package/dist/liquidmetal/v1alpha1/resource_interface_connect.js +0 -73
  44. package/dist/liquidmetal/v1alpha1/search_agent_connect.d.ts +0 -170
  45. package/dist/liquidmetal/v1alpha1/search_agent_connect.d.ts.map +0 -1
  46. package/dist/liquidmetal/v1alpha1/search_agent_connect.js +0 -173
  47. package/src/liquidmetal/v1alpha1/catalog_connect.ts +0 -174
  48. package/src/liquidmetal/v1alpha1/rainbow_auth_connect.ts +0 -55
  49. package/src/liquidmetal/v1alpha1/rainbow_public_connect.ts +0 -32
  50. package/src/liquidmetal/v1alpha1/rainbow_public_pb.ts +0 -366
  51. package/src/liquidmetal/v1alpha1/resource_interface_connect.ts +0 -77
  52. package/src/liquidmetal/v1alpha1/search_agent_connect.ts +0 -176
@@ -1,54 +1,62 @@
1
- // @generated by protoc-gen-es v1.10.0 with parameter "target=ts"
1
+ // @generated by protoc-gen-es v2.2.5 with parameter "target=ts,import_extension=.js"
2
2
  // @generated from file liquidmetal/v1alpha1/resource_interface.proto (package liquidmetal.v1alpha1, syntax proto3)
3
3
  /* eslint-disable */
4
- // @ts-nocheck
5
4
 
6
5
  //
7
6
  //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
7
 
9
- import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
10
- import { Message, proto3, protoInt64, Timestamp } from "@bufbuild/protobuf";
8
+ import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv1";
9
+ import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv1";
10
+ import type { Timestamp } from "@bufbuild/protobuf/wkt";
11
+ import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
12
+ import type { Message } from "@bufbuild/protobuf";
13
+
14
+ /**
15
+ * Describes the file liquidmetal/v1alpha1/resource_interface.proto.
16
+ */
17
+ export const file_liquidmetal_v1alpha1_resource_interface: GenFile = /*@__PURE__*/
18
+ fileDesc("Ci1saXF1aWRtZXRhbC92MWFscGhhMS9yZXNvdXJjZV9pbnRlcmZhY2UucHJvdG8SFGxpcXVpZG1ldGFsLnYxYWxwaGExIsIBCgtTbWFydEJ1Y2tldBIKCgJpZBgBIAEoBRIRCglidWNrZXRfaWQYAiABKAkSEwoLYnVja2V0X25hbWUYAyABKAkSCwoDdXJsGAQgASgJEhIKCmRlbGV0ZV91cmwYBSABKAkSLgoKY3JlYXRlZF9hdBgGIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASLgoKdXBkYXRlZF9hdBgHIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXAiVgoQUHV0T2JqZWN0UmVxdWVzdBIOCgZidWNrZXQYASABKAkSCwoDa2V5GAIgASgJEg8KB2NvbnRlbnQYAyABKAwSFAoMY29udGVudF90eXBlGAQgASgJIkEKEVB1dE9iamVjdFJlc3BvbnNlEg8KB3N1Y2Nlc3MYASABKAgSDgoGYnVja2V0GAIgASgJEgsKA2tleRgDIAEoCSIvChBHZXRPYmplY3RSZXF1ZXN0Eg4KBmJ1Y2tldBgBIAEoCRILCgNrZXkYAiABKAkiOgoRR2V0T2JqZWN0UmVzcG9uc2USDwoHY29udGVudBgBIAEoDBIUCgxjb250ZW50X3R5cGUYAiABKAkiMgoTRGVsZXRlT2JqZWN0UmVxdWVzdBIOCgZidWNrZXQYASABKAkSCwoDa2V5GAIgASgJIhYKFERlbGV0ZU9iamVjdFJlc3BvbnNlIiQKEkxpc3RPYmplY3RzUmVxdWVzdBIOCgZidWNrZXQYASABKAkicAoKT2JqZWN0SW5mbxILCgNrZXkYASABKAkSDAoEc2l6ZRgCIAEoAxIUCgxjb250ZW50X3R5cGUYAyABKAkSMQoNbGFzdF9tb2RpZmllZBgEIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXAiSAoTTGlzdE9iamVjdHNSZXNwb25zZRIxCgdvYmplY3RzGAEgAygLMiAubGlxdWlkbWV0YWwudjFhbHBoYTEuT2JqZWN0SW5mbyIZChdMaXN0U21hcnRCdWNrZXRzUmVxdWVzdCJOChhMaXN0U21hcnRCdWNrZXRzUmVzcG9uc2USMgoHYnVja2V0cxgBIAMoCzIhLmxpcXVpZG1ldGFsLnYxYWxwaGExLlNtYXJ0QnVja2V0MpMECg1PYmplY3RTZXJ2aWNlEl4KCVB1dE9iamVjdBImLmxpcXVpZG1ldGFsLnYxYWxwaGExLlB1dE9iamVjdFJlcXVlc3QaJy5saXF1aWRtZXRhbC52MWFscGhhMS5QdXRPYmplY3RSZXNwb25zZSIAEl4KCUdldE9iamVjdBImLmxpcXVpZG1ldGFsLnYxYWxwaGExLkdldE9iamVjdFJlcXVlc3QaJy5saXF1aWRtZXRhbC52MWFscGhhMS5HZXRPYmplY3RSZXNwb25zZSIAEmcKDERlbGV0ZU9iamVjdBIpLmxpcXVpZG1ldGFsLnYxYWxwaGExLkRlbGV0ZU9iamVjdFJlcXVlc3QaKi5saXF1aWRtZXRhbC52MWFscGhhMS5EZWxldGVPYmplY3RSZXNwb25zZSIAEmQKC0xpc3RPYmplY3RzEigubGlxdWlkbWV0YWwudjFhbHBoYTEuTGlzdE9iamVjdHNSZXF1ZXN0GikubGlxdWlkbWV0YWwudjFhbHBoYTEuTGlzdE9iamVjdHNSZXNwb25zZSIAEnMKEExpc3RTbWFydEJ1Y2tldHMSLS5saXF1aWRtZXRhbC52MWFscGhhMS5MaXN0U21hcnRCdWNrZXRzUmVxdWVzdBouLmxpcXVpZG1ldGFsLnYxYWxwaGExLkxpc3RTbWFydEJ1Y2tldHNSZXNwb25zZSIAQqMBChhjb20ubGlxdWlkbWV0YWwudjFhbHBoYTFCFlJlc291cmNlSW50ZXJmYWNlUHJvdG9QAaICA0xYWKoCFExpcXVpZG1ldGFsLlYxYWxwaGExygIUTGlxdWlkbWV0YWxcVjFhbHBoYTHiAiBMaXF1aWRtZXRhbFxWMWFscGhhMVxHUEJNZXRhZGF0YeoCFUxpcXVpZG1ldGFsOjpWMWFscGhhMWIGcHJvdG8z", [file_google_protobuf_timestamp]);
11
19
 
12
20
  /**
13
21
  * Smartbucket details as stored in the catalog SQL database
14
22
  *
15
23
  * @generated from message liquidmetal.v1alpha1.SmartBucket
16
24
  */
17
- export class SmartBucket extends Message<SmartBucket> {
25
+ export type SmartBucket = Message<"liquidmetal.v1alpha1.SmartBucket"> & {
18
26
  /**
19
27
  * id of the record in the catalog SQL database
20
28
  *
21
29
  * @generated from field: int32 id = 1;
22
30
  */
23
- id = 0;
31
+ id: number;
24
32
 
25
33
  /**
26
34
  * internal bucket ID i.e the resource ID of the smart bucket
27
35
  *
28
36
  * @generated from field: string bucket_id = 2;
29
37
  */
30
- bucketId = "";
38
+ bucketId: string;
31
39
 
32
40
  /**
33
41
  * user friendly name for the smart bucket
34
42
  *
35
43
  * @generated from field: string bucket_name = 3;
36
44
  */
37
- bucketName = "";
45
+ bucketName: string;
38
46
 
39
47
  /**
40
48
  * the URL that can be called to retrieve an objects metadata from a smart bucket
41
49
  *
42
50
  * @generated from field: string url = 4;
43
51
  */
44
- url = "";
52
+ url: string;
45
53
 
46
54
  /**
47
55
  * the URL that can be called to delete an objects metadata from a smart bucket
48
56
  *
49
57
  * @generated from field: string delete_url = 5;
50
58
  */
51
- deleteUrl = "";
59
+ deleteUrl: string;
52
60
 
53
61
  /**
54
62
  * the date and time the smart bucket was registered in the catalog
@@ -63,499 +71,305 @@ export class SmartBucket extends Message<SmartBucket> {
63
71
  * @generated from field: google.protobuf.Timestamp updated_at = 7;
64
72
  */
65
73
  updatedAt?: Timestamp;
74
+ };
66
75
 
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
- }
76
+ /**
77
+ * Describes the message liquidmetal.v1alpha1.SmartBucket.
78
+ * Use `create(SmartBucketSchema)` to create a new message.
79
+ */
80
+ export const SmartBucketSchema: GenMessage<SmartBucket> = /*@__PURE__*/
81
+ messageDesc(file_liquidmetal_v1alpha1_resource_interface, 0);
100
82
 
101
83
  /**
102
84
  * @generated from message liquidmetal.v1alpha1.PutObjectRequest
103
85
  */
104
- export class PutObjectRequest extends Message<PutObjectRequest> {
86
+ export type PutObjectRequest = Message<"liquidmetal.v1alpha1.PutObjectRequest"> & {
105
87
  /**
106
88
  * @generated from field: string bucket = 1;
107
89
  */
108
- bucket = "";
90
+ bucket: string;
109
91
 
110
92
  /**
111
93
  * @generated from field: string key = 2;
112
94
  */
113
- key = "";
95
+ key: string;
114
96
 
115
97
  /**
116
98
  * @generated from field: bytes content = 3;
117
99
  */
118
- content = new Uint8Array(0);
100
+ content: Uint8Array;
119
101
 
120
102
  /**
121
103
  * @generated from field: string content_type = 4;
122
104
  */
123
- contentType = "";
124
-
125
- constructor(data?: PartialMessage<PutObjectRequest>) {
126
- super();
127
- proto3.util.initPartial(data, this);
128
- }
105
+ contentType: string;
106
+ };
129
107
 
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
- }
108
+ /**
109
+ * Describes the message liquidmetal.v1alpha1.PutObjectRequest.
110
+ * Use `create(PutObjectRequestSchema)` to create a new message.
111
+ */
112
+ export const PutObjectRequestSchema: GenMessage<PutObjectRequest> = /*@__PURE__*/
113
+ messageDesc(file_liquidmetal_v1alpha1_resource_interface, 1);
155
114
 
156
115
  /**
157
116
  * @generated from message liquidmetal.v1alpha1.PutObjectResponse
158
117
  */
159
- export class PutObjectResponse extends Message<PutObjectResponse> {
118
+ export type PutObjectResponse = Message<"liquidmetal.v1alpha1.PutObjectResponse"> & {
160
119
  /**
161
120
  * @generated from field: bool success = 1;
162
121
  */
163
- success = false;
122
+ success: boolean;
164
123
 
165
124
  /**
166
125
  * @generated from field: string bucket = 2;
167
126
  */
168
- bucket = "";
127
+ bucket: string;
169
128
 
170
129
  /**
171
130
  * @generated from field: string key = 3;
172
131
  */
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
- }
132
+ key: string;
133
+ };
199
134
 
200
- static equals(a: PutObjectResponse | PlainMessage<PutObjectResponse> | undefined, b: PutObjectResponse | PlainMessage<PutObjectResponse> | undefined): boolean {
201
- return proto3.util.equals(PutObjectResponse, a, b);
202
- }
203
- }
135
+ /**
136
+ * Describes the message liquidmetal.v1alpha1.PutObjectResponse.
137
+ * Use `create(PutObjectResponseSchema)` to create a new message.
138
+ */
139
+ export const PutObjectResponseSchema: GenMessage<PutObjectResponse> = /*@__PURE__*/
140
+ messageDesc(file_liquidmetal_v1alpha1_resource_interface, 2);
204
141
 
205
142
  /**
206
143
  * @generated from message liquidmetal.v1alpha1.GetObjectRequest
207
144
  */
208
- export class GetObjectRequest extends Message<GetObjectRequest> {
145
+ export type GetObjectRequest = Message<"liquidmetal.v1alpha1.GetObjectRequest"> & {
209
146
  /**
210
147
  * @generated from field: string bucket = 1;
211
148
  */
212
- bucket = "";
149
+ bucket: string;
213
150
 
214
151
  /**
215
152
  * @generated from field: string key = 2;
216
153
  */
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
- }
154
+ key: string;
155
+ };
234
156
 
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
- }
157
+ /**
158
+ * Describes the message liquidmetal.v1alpha1.GetObjectRequest.
159
+ * Use `create(GetObjectRequestSchema)` to create a new message.
160
+ */
161
+ export const GetObjectRequestSchema: GenMessage<GetObjectRequest> = /*@__PURE__*/
162
+ messageDesc(file_liquidmetal_v1alpha1_resource_interface, 3);
247
163
 
248
164
  /**
249
165
  * @generated from message liquidmetal.v1alpha1.GetObjectResponse
250
166
  */
251
- export class GetObjectResponse extends Message<GetObjectResponse> {
167
+ export type GetObjectResponse = Message<"liquidmetal.v1alpha1.GetObjectResponse"> & {
252
168
  /**
253
169
  * @generated from field: bytes content = 1;
254
170
  */
255
- content = new Uint8Array(0);
171
+ content: Uint8Array;
256
172
 
257
173
  /**
258
174
  * @generated from field: string content_type = 2;
259
175
  */
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
- ]);
176
+ contentType: string;
177
+ };
273
178
 
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
- }
179
+ /**
180
+ * Describes the message liquidmetal.v1alpha1.GetObjectResponse.
181
+ * Use `create(GetObjectResponseSchema)` to create a new message.
182
+ */
183
+ export const GetObjectResponseSchema: GenMessage<GetObjectResponse> = /*@__PURE__*/
184
+ messageDesc(file_liquidmetal_v1alpha1_resource_interface, 4);
290
185
 
291
186
  /**
292
187
  * @generated from message liquidmetal.v1alpha1.DeleteObjectRequest
293
188
  */
294
- export class DeleteObjectRequest extends Message<DeleteObjectRequest> {
189
+ export type DeleteObjectRequest = Message<"liquidmetal.v1alpha1.DeleteObjectRequest"> & {
295
190
  /**
296
191
  * @generated from field: string bucket = 1;
297
192
  */
298
- bucket = "";
193
+ bucket: string;
299
194
 
300
195
  /**
301
196
  * @generated from field: string key = 2;
302
197
  */
303
- key = "";
198
+ key: string;
199
+ };
304
200
 
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
- }
201
+ /**
202
+ * Describes the message liquidmetal.v1alpha1.DeleteObjectRequest.
203
+ * Use `create(DeleteObjectRequestSchema)` to create a new message.
204
+ */
205
+ export const DeleteObjectRequestSchema: GenMessage<DeleteObjectRequest> = /*@__PURE__*/
206
+ messageDesc(file_liquidmetal_v1alpha1_resource_interface, 5);
333
207
 
334
208
  /**
335
209
  * @generated from message liquidmetal.v1alpha1.DeleteObjectResponse
336
210
  */
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
- }
211
+ export type DeleteObjectResponse = Message<"liquidmetal.v1alpha1.DeleteObjectResponse"> & {
212
+ };
213
+
214
+ /**
215
+ * Describes the message liquidmetal.v1alpha1.DeleteObjectResponse.
216
+ * Use `create(DeleteObjectResponseSchema)` to create a new message.
217
+ */
218
+ export const DeleteObjectResponseSchema: GenMessage<DeleteObjectResponse> = /*@__PURE__*/
219
+ messageDesc(file_liquidmetal_v1alpha1_resource_interface, 6);
364
220
 
365
221
  /**
366
222
  * @generated from message liquidmetal.v1alpha1.ListObjectsRequest
367
223
  */
368
- export class ListObjectsRequest extends Message<ListObjectsRequest> {
224
+ export type ListObjectsRequest = Message<"liquidmetal.v1alpha1.ListObjectsRequest"> & {
369
225
  /**
370
226
  * @generated from field: string bucket = 1;
371
227
  */
372
- bucket = "";
228
+ bucket: string;
229
+ };
373
230
 
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
- }
231
+ /**
232
+ * Describes the message liquidmetal.v1alpha1.ListObjectsRequest.
233
+ * Use `create(ListObjectsRequestSchema)` to create a new message.
234
+ */
235
+ export const ListObjectsRequestSchema: GenMessage<ListObjectsRequest> = /*@__PURE__*/
236
+ messageDesc(file_liquidmetal_v1alpha1_resource_interface, 7);
401
237
 
402
238
  /**
403
239
  * @generated from message liquidmetal.v1alpha1.ObjectInfo
404
240
  */
405
- export class ObjectInfo extends Message<ObjectInfo> {
241
+ export type ObjectInfo = Message<"liquidmetal.v1alpha1.ObjectInfo"> & {
406
242
  /**
407
243
  * @generated from field: string key = 1;
408
244
  */
409
- key = "";
245
+ key: string;
410
246
 
411
247
  /**
412
248
  * @generated from field: int64 size = 2;
413
249
  */
414
- size = protoInt64.zero;
250
+ size: bigint;
415
251
 
416
252
  /**
417
253
  * @generated from field: string content_type = 3;
418
254
  */
419
- contentType = "";
255
+ contentType: string;
420
256
 
421
257
  /**
422
258
  * @generated from field: google.protobuf.Timestamp last_modified = 4;
423
259
  */
424
260
  lastModified?: Timestamp;
261
+ };
425
262
 
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
- }
263
+ /**
264
+ * Describes the message liquidmetal.v1alpha1.ObjectInfo.
265
+ * Use `create(ObjectInfoSchema)` to create a new message.
266
+ */
267
+ export const ObjectInfoSchema: GenMessage<ObjectInfo> = /*@__PURE__*/
268
+ messageDesc(file_liquidmetal_v1alpha1_resource_interface, 8);
456
269
 
457
270
  /**
458
271
  * @generated from message liquidmetal.v1alpha1.ListObjectsResponse
459
272
  */
460
- export class ListObjectsResponse extends Message<ListObjectsResponse> {
273
+ export type ListObjectsResponse = Message<"liquidmetal.v1alpha1.ListObjectsResponse"> & {
461
274
  /**
462
275
  * @generated from field: repeated liquidmetal.v1alpha1.ObjectInfo objects = 1;
463
276
  */
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
- ]);
277
+ objects: ObjectInfo[];
278
+ };
476
279
 
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
- }
280
+ /**
281
+ * Describes the message liquidmetal.v1alpha1.ListObjectsResponse.
282
+ * Use `create(ListObjectsResponseSchema)` to create a new message.
283
+ */
284
+ export const ListObjectsResponseSchema: GenMessage<ListObjectsResponse> = /*@__PURE__*/
285
+ messageDesc(file_liquidmetal_v1alpha1_resource_interface, 9);
493
286
 
494
287
  /**
495
288
  * @generated from message liquidmetal.v1alpha1.ListSmartBucketsRequest
496
289
  */
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
- }
290
+ export type ListSmartBucketsRequest = Message<"liquidmetal.v1alpha1.ListSmartBucketsRequest"> & {
291
+ };
292
+
293
+ /**
294
+ * Describes the message liquidmetal.v1alpha1.ListSmartBucketsRequest.
295
+ * Use `create(ListSmartBucketsRequestSchema)` to create a new message.
296
+ */
297
+ export const ListSmartBucketsRequestSchema: GenMessage<ListSmartBucketsRequest> = /*@__PURE__*/
298
+ messageDesc(file_liquidmetal_v1alpha1_resource_interface, 10);
524
299
 
525
300
  /**
526
301
  * @generated from message liquidmetal.v1alpha1.ListSmartBucketsResponse
527
302
  */
528
- export class ListSmartBucketsResponse extends Message<ListSmartBucketsResponse> {
303
+ export type ListSmartBucketsResponse = Message<"liquidmetal.v1alpha1.ListSmartBucketsResponse"> & {
529
304
  /**
530
305
  * @generated from field: repeated liquidmetal.v1alpha1.SmartBucket buckets = 1;
531
306
  */
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
- }
307
+ buckets: SmartBucket[];
308
+ };
548
309
 
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
- }
310
+ /**
311
+ * Describes the message liquidmetal.v1alpha1.ListSmartBucketsResponse.
312
+ * Use `create(ListSmartBucketsResponseSchema)` to create a new message.
313
+ */
314
+ export const ListSmartBucketsResponseSchema: GenMessage<ListSmartBucketsResponse> = /*@__PURE__*/
315
+ messageDesc(file_liquidmetal_v1alpha1_resource_interface, 11);
556
316
 
557
- static equals(a: ListSmartBucketsResponse | PlainMessage<ListSmartBucketsResponse> | undefined, b: ListSmartBucketsResponse | PlainMessage<ListSmartBucketsResponse> | undefined): boolean {
558
- return proto3.util.equals(ListSmartBucketsResponse, a, b);
559
- }
560
- }
317
+ /**
318
+ * ObjectService handles operations on objects stored in buckets
319
+ *
320
+ * @generated from service liquidmetal.v1alpha1.ObjectService
321
+ */
322
+ export const ObjectService: GenService<{
323
+ /**
324
+ * PutObject uploads an object to a bucket
325
+ *
326
+ * @generated from rpc liquidmetal.v1alpha1.ObjectService.PutObject
327
+ */
328
+ putObject: {
329
+ methodKind: "unary";
330
+ input: typeof PutObjectRequestSchema;
331
+ output: typeof PutObjectResponseSchema;
332
+ },
333
+ /**
334
+ * GetObject retrieves an object from a bucket
335
+ *
336
+ * @generated from rpc liquidmetal.v1alpha1.ObjectService.GetObject
337
+ */
338
+ getObject: {
339
+ methodKind: "unary";
340
+ input: typeof GetObjectRequestSchema;
341
+ output: typeof GetObjectResponseSchema;
342
+ },
343
+ /**
344
+ * DeleteObject removes an object from a bucket
345
+ *
346
+ * @generated from rpc liquidmetal.v1alpha1.ObjectService.DeleteObject
347
+ */
348
+ deleteObject: {
349
+ methodKind: "unary";
350
+ input: typeof DeleteObjectRequestSchema;
351
+ output: typeof DeleteObjectResponseSchema;
352
+ },
353
+ /**
354
+ * ListObjects lists all objects in a bucket
355
+ *
356
+ * @generated from rpc liquidmetal.v1alpha1.ObjectService.ListObjects
357
+ */
358
+ listObjects: {
359
+ methodKind: "unary";
360
+ input: typeof ListObjectsRequestSchema;
361
+ output: typeof ListObjectsResponseSchema;
362
+ },
363
+ /**
364
+ * list all available smart buckets
365
+ *
366
+ * @generated from rpc liquidmetal.v1alpha1.ObjectService.ListSmartBuckets
367
+ */
368
+ listSmartBuckets: {
369
+ methodKind: "unary";
370
+ input: typeof ListSmartBucketsRequestSchema;
371
+ output: typeof ListSmartBucketsResponseSchema;
372
+ },
373
+ }> = /*@__PURE__*/
374
+ serviceDesc(file_liquidmetal_v1alpha1_resource_interface, 0);
561
375