@liquidmetal-ai/drizzle 0.2.2 → 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 (56) hide show
  1. package/.turbo/turbo-test.log +208 -1
  2. package/dist/appify/index.d.ts +4 -0
  3. package/dist/appify/index.d.ts.map +1 -1
  4. package/dist/appify/index.js +18 -1
  5. package/dist/codestore.js +1 -1
  6. package/dist/liquidmetal/v1alpha1/catalog_pb.d.ts +595 -478
  7. package/dist/liquidmetal/v1alpha1/catalog_pb.d.ts.map +1 -1
  8. package/dist/liquidmetal/v1alpha1/catalog_pb.js +244 -1661
  9. package/dist/liquidmetal/v1alpha1/rainbow_auth_pb.d.ts +110 -92
  10. package/dist/liquidmetal/v1alpha1/rainbow_auth_pb.d.ts.map +1 -1
  11. package/dist/liquidmetal/v1alpha1/rainbow_auth_pb.js +38 -361
  12. package/dist/liquidmetal/v1alpha1/raindrop_pb.d.ts +14 -13
  13. package/dist/liquidmetal/v1alpha1/raindrop_pb.d.ts.map +1 -1
  14. package/dist/liquidmetal/v1alpha1/raindrop_pb.js +10 -48
  15. package/dist/liquidmetal/v1alpha1/resource_interface_pb.d.ts +146 -122
  16. package/dist/liquidmetal/v1alpha1/resource_interface_pb.d.ts.map +1 -1
  17. package/dist/liquidmetal/v1alpha1/resource_interface_pb.js +49 -428
  18. package/dist/liquidmetal/v1alpha1/search_agent_pb.d.ts +262 -142
  19. package/dist/liquidmetal/v1alpha1/search_agent_pb.d.ts.map +1 -1
  20. package/dist/liquidmetal/v1alpha1/search_agent_pb.js +68 -684
  21. package/eslint.config.mjs +3 -1
  22. package/package.json +2 -1
  23. package/src/appify/index.ts +18 -1
  24. package/src/codestore.ts +1 -1
  25. package/src/liquidmetal/v1alpha1/catalog_pb.ts +800 -1443
  26. package/src/liquidmetal/v1alpha1/rainbow_auth_pb.ts +142 -284
  27. package/src/liquidmetal/v1alpha1/raindrop_pb.ts +21 -35
  28. package/src/liquidmetal/v1alpha1/resource_interface_pb.ts +192 -378
  29. package/src/liquidmetal/v1alpha1/search_agent_pb.ts +310 -450
  30. package/tsconfig.json +11 -3
  31. package/tsconfig.tsbuildinfo +1 -1
  32. package/.turbo/turbo-lint.log +0 -6
  33. package/dist/liquidmetal/v1alpha1/catalog_connect.d.ts +0 -168
  34. package/dist/liquidmetal/v1alpha1/catalog_connect.d.ts.map +0 -1
  35. package/dist/liquidmetal/v1alpha1/catalog_connect.js +0 -171
  36. package/dist/liquidmetal/v1alpha1/rainbow_auth_connect.d.ts +0 -49
  37. package/dist/liquidmetal/v1alpha1/rainbow_auth_connect.d.ts.map +0 -1
  38. package/dist/liquidmetal/v1alpha1/rainbow_auth_connect.js +0 -52
  39. package/dist/liquidmetal/v1alpha1/rainbow_public_connect.d.ts +0 -26
  40. package/dist/liquidmetal/v1alpha1/rainbow_public_connect.d.ts.map +0 -1
  41. package/dist/liquidmetal/v1alpha1/rainbow_public_connect.js +0 -29
  42. package/dist/liquidmetal/v1alpha1/rainbow_public_pb.d.ts +0 -202
  43. package/dist/liquidmetal/v1alpha1/rainbow_public_pb.d.ts.map +0 -1
  44. package/dist/liquidmetal/v1alpha1/rainbow_public_pb.js +0 -298
  45. package/dist/liquidmetal/v1alpha1/resource_interface_connect.d.ts +0 -68
  46. package/dist/liquidmetal/v1alpha1/resource_interface_connect.d.ts.map +0 -1
  47. package/dist/liquidmetal/v1alpha1/resource_interface_connect.js +0 -73
  48. package/dist/liquidmetal/v1alpha1/search_agent_connect.d.ts +0 -170
  49. package/dist/liquidmetal/v1alpha1/search_agent_connect.d.ts.map +0 -1
  50. package/dist/liquidmetal/v1alpha1/search_agent_connect.js +0 -173
  51. package/src/liquidmetal/v1alpha1/catalog_connect.ts +0 -174
  52. package/src/liquidmetal/v1alpha1/rainbow_auth_connect.ts +0 -55
  53. package/src/liquidmetal/v1alpha1/rainbow_public_connect.ts +0 -32
  54. package/src/liquidmetal/v1alpha1/rainbow_public_pb.ts +0 -366
  55. package/src/liquidmetal/v1alpha1/resource_interface_connect.ts +0 -77
  56. package/src/liquidmetal/v1alpha1/search_agent_connect.ts +0 -176
@@ -1,54 +1,42 @@
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/rainbow_auth.proto (package liquidmetal.v1alpha1, syntax proto3)
3
3
  /* eslint-disable */
4
- // @ts-nocheck
5
4
 
6
- import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
7
- import { Duration, Message, proto3, Timestamp } from "@bufbuild/protobuf";
5
+ import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv1";
6
+ import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv1";
7
+ import type { Duration, Timestamp } from "@bufbuild/protobuf/wkt";
8
+ import { file_google_protobuf_duration, file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
9
+ import type { Message } from "@bufbuild/protobuf";
10
+
11
+ /**
12
+ * Describes the file liquidmetal/v1alpha1/rainbow_auth.proto.
13
+ */
14
+ export const file_liquidmetal_v1alpha1_rainbow_auth: GenFile = /*@__PURE__*/
15
+ fileDesc("CidsaXF1aWRtZXRhbC92MWFscGhhMS9yYWluYm93X2F1dGgucHJvdG8SFGxpcXVpZG1ldGFsLnYxYWxwaGExIi8KGkRldmljZUF1dGhvcml6YXRpb25SZXF1ZXN0EhEKCWNsaWVudF9pZBgBIAEoCSKyAQobRGV2aWNlQXV0aG9yaXphdGlvblJlc3BvbnNlEhMKC2RldmljZV9jb2RlGAEgASgJEiEKGXZlcmlmaWNhdGlvbl91cmlfY29tcGxldGUYAiABKAkSLgoKZXhwaXJlc19hdBgDIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASKwoIaW50ZXJ2YWwYBCABKAsyGS5nb29nbGUucHJvdG9idWYuRHVyYXRpb24iLwoYRGV2aWNlQWNjZXNzVG9rZW5SZXF1ZXN0EhMKC2RldmljZV9jb2RlGAEgASgJIq8BChlEZXZpY2VBY2Nlc3NUb2tlblJlc3BvbnNlEksKFWF1dGhvcml6YXRpb25fcGVuZGluZxgBIAEoCzIqLmxpcXVpZG1ldGFsLnYxYWxwaGExLkF1dGhvcml6YXRpb25QZW5kaW5nSAASOQoMYmVhcmVyX3Rva2VuGAIgASgLMiEubGlxdWlkbWV0YWwudjFhbHBoYTEuQmVhcmVyVG9rZW5IAEIKCghyZXNwb25zZSJLChlSZWZyZXNoQWNjZXNzVG9rZW5SZXF1ZXN0EhUKDXJlZnJlc2hfdG9rZW4YASABKAkSFwoPb3JnYW5pemF0aW9uX2lkGAIgASgJIlUKGlJlZnJlc2hBY2Nlc3NUb2tlblJlc3BvbnNlEjcKDGJlYXJlcl90b2tlbhgBIAEoCzIhLmxpcXVpZG1ldGFsLnYxYWxwaGExLkJlYXJlclRva2VuIkMKFEF1dGhvcml6YXRpb25QZW5kaW5nEisKCGludGVydmFsGAEgASgLMhkuZ29vZ2xlLnByb3RvYnVmLkR1cmF0aW9uIokCCgtCZWFyZXJUb2tlbhIUCgxhY2Nlc3NfdG9rZW4YASABKAkSOwoXYWNjZXNzX3Rva2VuX2V4cGlyZXNfYXQYAiABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEhoKDXJlZnJlc2hfdG9rZW4YAyABKAlIAIgBARIPCgd1c2VyX2lkGAQgASgJEhIKCnVzZXJfZW1haWwYBSABKAkSFwoPb3JnYW5pemF0aW9uX2lkGAYgASgJEhkKEW9yZ2FuaXphdGlvbl9uYW1lGAcgASgJEiAKGGNhdGFsb2dfc2VydmljZV9iYXNlX3VybBgIIAEoCUIQCg5fcmVmcmVzaF90b2tlbiIqChNBdXRoZW50aWNhdGlvblN0YXRlEhMKC2RldmljZV9jb2RlGAEgASgJMv8CChJSYWluYm93QXV0aFNlcnZpY2USegoTRGV2aWNlQXV0aG9yaXphdGlvbhIwLmxpcXVpZG1ldGFsLnYxYWxwaGExLkRldmljZUF1dGhvcml6YXRpb25SZXF1ZXN0GjEubGlxdWlkbWV0YWwudjFhbHBoYTEuRGV2aWNlQXV0aG9yaXphdGlvblJlc3BvbnNlEnQKEURldmljZUFjY2Vzc1Rva2VuEi4ubGlxdWlkbWV0YWwudjFhbHBoYTEuRGV2aWNlQWNjZXNzVG9rZW5SZXF1ZXN0Gi8ubGlxdWlkbWV0YWwudjFhbHBoYTEuRGV2aWNlQWNjZXNzVG9rZW5SZXNwb25zZRJ3ChJSZWZyZXNoQWNjZXNzVG9rZW4SLy5saXF1aWRtZXRhbC52MWFscGhhMS5SZWZyZXNoQWNjZXNzVG9rZW5SZXF1ZXN0GjAubGlxdWlkbWV0YWwudjFhbHBoYTEuUmVmcmVzaEFjY2Vzc1Rva2VuUmVzcG9uc2VCnQEKGGNvbS5saXF1aWRtZXRhbC52MWFscGhhMUIQUmFpbmJvd0F1dGhQcm90b1ABogIDTFhYqgIUTGlxdWlkbWV0YWwuVjFhbHBoYTHKAhRMaXF1aWRtZXRhbFxWMWFscGhhMeICIExpcXVpZG1ldGFsXFYxYWxwaGExXEdQQk1ldGFkYXRh6gIVTGlxdWlkbWV0YWw6OlYxYWxwaGExYgZwcm90bzM", [file_google_protobuf_duration, file_google_protobuf_timestamp]);
8
16
 
9
17
  /**
10
18
  * @generated from message liquidmetal.v1alpha1.DeviceAuthorizationRequest
11
19
  */
12
- export class DeviceAuthorizationRequest extends Message<DeviceAuthorizationRequest> {
20
+ export type DeviceAuthorizationRequest = Message<"liquidmetal.v1alpha1.DeviceAuthorizationRequest"> & {
13
21
  /**
14
22
  * client_id should be the application name and version e.g. raindrop@v1.0.0
15
23
  *
16
24
  * @generated from field: string client_id = 1;
17
25
  */
18
- clientId = "";
19
-
20
- constructor(data?: PartialMessage<DeviceAuthorizationRequest>) {
21
- super();
22
- proto3.util.initPartial(data, this);
23
- }
24
-
25
- static readonly runtime: typeof proto3 = proto3;
26
- static readonly typeName = "liquidmetal.v1alpha1.DeviceAuthorizationRequest";
27
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
28
- { no: 1, name: "client_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
29
- ]);
26
+ clientId: string;
27
+ };
30
28
 
31
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeviceAuthorizationRequest {
32
- return new DeviceAuthorizationRequest().fromBinary(bytes, options);
33
- }
34
-
35
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeviceAuthorizationRequest {
36
- return new DeviceAuthorizationRequest().fromJson(jsonValue, options);
37
- }
38
-
39
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeviceAuthorizationRequest {
40
- return new DeviceAuthorizationRequest().fromJsonString(jsonString, options);
41
- }
42
-
43
- static equals(a: DeviceAuthorizationRequest | PlainMessage<DeviceAuthorizationRequest> | undefined, b: DeviceAuthorizationRequest | PlainMessage<DeviceAuthorizationRequest> | undefined): boolean {
44
- return proto3.util.equals(DeviceAuthorizationRequest, a, b);
45
- }
46
- }
29
+ /**
30
+ * Describes the message liquidmetal.v1alpha1.DeviceAuthorizationRequest.
31
+ * Use `create(DeviceAuthorizationRequestSchema)` to create a new message.
32
+ */
33
+ export const DeviceAuthorizationRequestSchema: GenMessage<DeviceAuthorizationRequest> = /*@__PURE__*/
34
+ messageDesc(file_liquidmetal_v1alpha1_rainbow_auth, 0);
47
35
 
48
36
  /**
49
37
  * @generated from message liquidmetal.v1alpha1.DeviceAuthorizationResponse
50
38
  */
51
- export class DeviceAuthorizationResponse extends Message<DeviceAuthorizationResponse> {
39
+ export type DeviceAuthorizationResponse = Message<"liquidmetal.v1alpha1.DeviceAuthorizationResponse"> & {
52
40
  /**
53
41
  * device_code is a name from RFC8628 that will be used by the invoker of
54
42
  * DeviceAuthorization to continuously poll to see if the authorization has
@@ -56,7 +44,7 @@ export class DeviceAuthorizationResponse extends Message<DeviceAuthorizationResp
56
44
  *
57
45
  * @generated from field: string device_code = 1;
58
46
  */
59
- deviceCode = "";
47
+ deviceCode: string;
60
48
 
61
49
  /**
62
50
  * verification_uri_complete is a URL that the caller should visit in order to
@@ -71,7 +59,7 @@ export class DeviceAuthorizationResponse extends Message<DeviceAuthorizationResp
71
59
  *
72
60
  * @generated from field: string verification_uri_complete = 2;
73
61
  */
74
- verificationUriComplete = "";
62
+ verificationUriComplete: string;
75
63
 
76
64
  /**
77
65
  * expires_at is when the device code is marked as expired
@@ -87,79 +75,36 @@ export class DeviceAuthorizationResponse extends Message<DeviceAuthorizationResp
87
75
  * @generated from field: google.protobuf.Duration interval = 4;
88
76
  */
89
77
  interval?: Duration;
78
+ };
90
79
 
91
- constructor(data?: PartialMessage<DeviceAuthorizationResponse>) {
92
- super();
93
- proto3.util.initPartial(data, this);
94
- }
95
-
96
- static readonly runtime: typeof proto3 = proto3;
97
- static readonly typeName = "liquidmetal.v1alpha1.DeviceAuthorizationResponse";
98
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
99
- { no: 1, name: "device_code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
100
- { no: 2, name: "verification_uri_complete", kind: "scalar", T: 9 /* ScalarType.STRING */ },
101
- { no: 3, name: "expires_at", kind: "message", T: Timestamp },
102
- { no: 4, name: "interval", kind: "message", T: Duration },
103
- ]);
104
-
105
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeviceAuthorizationResponse {
106
- return new DeviceAuthorizationResponse().fromBinary(bytes, options);
107
- }
108
-
109
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeviceAuthorizationResponse {
110
- return new DeviceAuthorizationResponse().fromJson(jsonValue, options);
111
- }
112
-
113
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeviceAuthorizationResponse {
114
- return new DeviceAuthorizationResponse().fromJsonString(jsonString, options);
115
- }
116
-
117
- static equals(a: DeviceAuthorizationResponse | PlainMessage<DeviceAuthorizationResponse> | undefined, b: DeviceAuthorizationResponse | PlainMessage<DeviceAuthorizationResponse> | undefined): boolean {
118
- return proto3.util.equals(DeviceAuthorizationResponse, a, b);
119
- }
120
- }
80
+ /**
81
+ * Describes the message liquidmetal.v1alpha1.DeviceAuthorizationResponse.
82
+ * Use `create(DeviceAuthorizationResponseSchema)` to create a new message.
83
+ */
84
+ export const DeviceAuthorizationResponseSchema: GenMessage<DeviceAuthorizationResponse> = /*@__PURE__*/
85
+ messageDesc(file_liquidmetal_v1alpha1_rainbow_auth, 1);
121
86
 
122
87
  /**
123
88
  * @generated from message liquidmetal.v1alpha1.DeviceAccessTokenRequest
124
89
  */
125
- export class DeviceAccessTokenRequest extends Message<DeviceAccessTokenRequest> {
90
+ export type DeviceAccessTokenRequest = Message<"liquidmetal.v1alpha1.DeviceAccessTokenRequest"> & {
126
91
  /**
127
92
  * @generated from field: string device_code = 1;
128
93
  */
129
- deviceCode = "";
130
-
131
- constructor(data?: PartialMessage<DeviceAccessTokenRequest>) {
132
- super();
133
- proto3.util.initPartial(data, this);
134
- }
135
-
136
- static readonly runtime: typeof proto3 = proto3;
137
- static readonly typeName = "liquidmetal.v1alpha1.DeviceAccessTokenRequest";
138
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
139
- { no: 1, name: "device_code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
140
- ]);
141
-
142
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeviceAccessTokenRequest {
143
- return new DeviceAccessTokenRequest().fromBinary(bytes, options);
144
- }
145
-
146
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeviceAccessTokenRequest {
147
- return new DeviceAccessTokenRequest().fromJson(jsonValue, options);
148
- }
149
-
150
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeviceAccessTokenRequest {
151
- return new DeviceAccessTokenRequest().fromJsonString(jsonString, options);
152
- }
94
+ deviceCode: string;
95
+ };
153
96
 
154
- static equals(a: DeviceAccessTokenRequest | PlainMessage<DeviceAccessTokenRequest> | undefined, b: DeviceAccessTokenRequest | PlainMessage<DeviceAccessTokenRequest> | undefined): boolean {
155
- return proto3.util.equals(DeviceAccessTokenRequest, a, b);
156
- }
157
- }
97
+ /**
98
+ * Describes the message liquidmetal.v1alpha1.DeviceAccessTokenRequest.
99
+ * Use `create(DeviceAccessTokenRequestSchema)` to create a new message.
100
+ */
101
+ export const DeviceAccessTokenRequestSchema: GenMessage<DeviceAccessTokenRequest> = /*@__PURE__*/
102
+ messageDesc(file_liquidmetal_v1alpha1_rainbow_auth, 2);
158
103
 
159
104
  /**
160
105
  * @generated from message liquidmetal.v1alpha1.DeviceAccessTokenResponse
161
106
  */
162
- export class DeviceAccessTokenResponse extends Message<DeviceAccessTokenResponse> {
107
+ export type DeviceAccessTokenResponse = Message<"liquidmetal.v1alpha1.DeviceAccessTokenResponse"> & {
163
108
  /**
164
109
  * @generated from oneof liquidmetal.v1alpha1.DeviceAccessTokenResponse.response
165
110
  */
@@ -181,121 +126,59 @@ export class DeviceAccessTokenResponse extends Message<DeviceAccessTokenResponse
181
126
  */
182
127
  value: BearerToken;
183
128
  case: "bearerToken";
184
- } | { case: undefined; value?: undefined } = { case: undefined };
185
-
186
- constructor(data?: PartialMessage<DeviceAccessTokenResponse>) {
187
- super();
188
- proto3.util.initPartial(data, this);
189
- }
190
-
191
- static readonly runtime: typeof proto3 = proto3;
192
- static readonly typeName = "liquidmetal.v1alpha1.DeviceAccessTokenResponse";
193
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
194
- { no: 1, name: "authorization_pending", kind: "message", T: AuthorizationPending, oneof: "response" },
195
- { no: 2, name: "bearer_token", kind: "message", T: BearerToken, oneof: "response" },
196
- ]);
129
+ } | { case: undefined; value?: undefined };
130
+ };
197
131
 
198
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeviceAccessTokenResponse {
199
- return new DeviceAccessTokenResponse().fromBinary(bytes, options);
200
- }
201
-
202
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeviceAccessTokenResponse {
203
- return new DeviceAccessTokenResponse().fromJson(jsonValue, options);
204
- }
205
-
206
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeviceAccessTokenResponse {
207
- return new DeviceAccessTokenResponse().fromJsonString(jsonString, options);
208
- }
209
-
210
- static equals(a: DeviceAccessTokenResponse | PlainMessage<DeviceAccessTokenResponse> | undefined, b: DeviceAccessTokenResponse | PlainMessage<DeviceAccessTokenResponse> | undefined): boolean {
211
- return proto3.util.equals(DeviceAccessTokenResponse, a, b);
212
- }
213
- }
132
+ /**
133
+ * Describes the message liquidmetal.v1alpha1.DeviceAccessTokenResponse.
134
+ * Use `create(DeviceAccessTokenResponseSchema)` to create a new message.
135
+ */
136
+ export const DeviceAccessTokenResponseSchema: GenMessage<DeviceAccessTokenResponse> = /*@__PURE__*/
137
+ messageDesc(file_liquidmetal_v1alpha1_rainbow_auth, 3);
214
138
 
215
139
  /**
216
140
  * @generated from message liquidmetal.v1alpha1.RefreshAccessTokenRequest
217
141
  */
218
- export class RefreshAccessTokenRequest extends Message<RefreshAccessTokenRequest> {
142
+ export type RefreshAccessTokenRequest = Message<"liquidmetal.v1alpha1.RefreshAccessTokenRequest"> & {
219
143
  /**
220
144
  * @generated from field: string refresh_token = 1;
221
145
  */
222
- refreshToken = "";
146
+ refreshToken: string;
223
147
 
224
148
  /**
225
149
  * @generated from field: string organization_id = 2;
226
150
  */
227
- organizationId = "";
228
-
229
- constructor(data?: PartialMessage<RefreshAccessTokenRequest>) {
230
- super();
231
- proto3.util.initPartial(data, this);
232
- }
233
-
234
- static readonly runtime: typeof proto3 = proto3;
235
- static readonly typeName = "liquidmetal.v1alpha1.RefreshAccessTokenRequest";
236
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
237
- { no: 1, name: "refresh_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
238
- { no: 2, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
239
- ]);
240
-
241
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RefreshAccessTokenRequest {
242
- return new RefreshAccessTokenRequest().fromBinary(bytes, options);
243
- }
151
+ organizationId: string;
152
+ };
244
153
 
245
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RefreshAccessTokenRequest {
246
- return new RefreshAccessTokenRequest().fromJson(jsonValue, options);
247
- }
248
-
249
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RefreshAccessTokenRequest {
250
- return new RefreshAccessTokenRequest().fromJsonString(jsonString, options);
251
- }
252
-
253
- static equals(a: RefreshAccessTokenRequest | PlainMessage<RefreshAccessTokenRequest> | undefined, b: RefreshAccessTokenRequest | PlainMessage<RefreshAccessTokenRequest> | undefined): boolean {
254
- return proto3.util.equals(RefreshAccessTokenRequest, a, b);
255
- }
256
- }
154
+ /**
155
+ * Describes the message liquidmetal.v1alpha1.RefreshAccessTokenRequest.
156
+ * Use `create(RefreshAccessTokenRequestSchema)` to create a new message.
157
+ */
158
+ export const RefreshAccessTokenRequestSchema: GenMessage<RefreshAccessTokenRequest> = /*@__PURE__*/
159
+ messageDesc(file_liquidmetal_v1alpha1_rainbow_auth, 4);
257
160
 
258
161
  /**
259
162
  * @generated from message liquidmetal.v1alpha1.RefreshAccessTokenResponse
260
163
  */
261
- export class RefreshAccessTokenResponse extends Message<RefreshAccessTokenResponse> {
164
+ export type RefreshAccessTokenResponse = Message<"liquidmetal.v1alpha1.RefreshAccessTokenResponse"> & {
262
165
  /**
263
166
  * @generated from field: liquidmetal.v1alpha1.BearerToken bearer_token = 1;
264
167
  */
265
168
  bearerToken?: BearerToken;
169
+ };
266
170
 
267
- constructor(data?: PartialMessage<RefreshAccessTokenResponse>) {
268
- super();
269
- proto3.util.initPartial(data, this);
270
- }
271
-
272
- static readonly runtime: typeof proto3 = proto3;
273
- static readonly typeName = "liquidmetal.v1alpha1.RefreshAccessTokenResponse";
274
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
275
- { no: 1, name: "bearer_token", kind: "message", T: BearerToken },
276
- ]);
277
-
278
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RefreshAccessTokenResponse {
279
- return new RefreshAccessTokenResponse().fromBinary(bytes, options);
280
- }
281
-
282
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RefreshAccessTokenResponse {
283
- return new RefreshAccessTokenResponse().fromJson(jsonValue, options);
284
- }
285
-
286
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RefreshAccessTokenResponse {
287
- return new RefreshAccessTokenResponse().fromJsonString(jsonString, options);
288
- }
289
-
290
- static equals(a: RefreshAccessTokenResponse | PlainMessage<RefreshAccessTokenResponse> | undefined, b: RefreshAccessTokenResponse | PlainMessage<RefreshAccessTokenResponse> | undefined): boolean {
291
- return proto3.util.equals(RefreshAccessTokenResponse, a, b);
292
- }
293
- }
171
+ /**
172
+ * Describes the message liquidmetal.v1alpha1.RefreshAccessTokenResponse.
173
+ * Use `create(RefreshAccessTokenResponseSchema)` to create a new message.
174
+ */
175
+ export const RefreshAccessTokenResponseSchema: GenMessage<RefreshAccessTokenResponse> = /*@__PURE__*/
176
+ messageDesc(file_liquidmetal_v1alpha1_rainbow_auth, 5);
294
177
 
295
178
  /**
296
179
  * @generated from message liquidmetal.v1alpha1.AuthorizationPending
297
180
  */
298
- export class AuthorizationPending extends Message<AuthorizationPending> {
181
+ export type AuthorizationPending = Message<"liquidmetal.v1alpha1.AuthorizationPending"> & {
299
182
  /**
300
183
  * interval is the minimum amount of time that the client should wait between
301
184
  * polling requests
@@ -303,45 +186,25 @@ export class AuthorizationPending extends Message<AuthorizationPending> {
303
186
  * @generated from field: google.protobuf.Duration interval = 1;
304
187
  */
305
188
  interval?: Duration;
189
+ };
306
190
 
307
- constructor(data?: PartialMessage<AuthorizationPending>) {
308
- super();
309
- proto3.util.initPartial(data, this);
310
- }
311
-
312
- static readonly runtime: typeof proto3 = proto3;
313
- static readonly typeName = "liquidmetal.v1alpha1.AuthorizationPending";
314
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
315
- { no: 1, name: "interval", kind: "message", T: Duration },
316
- ]);
317
-
318
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AuthorizationPending {
319
- return new AuthorizationPending().fromBinary(bytes, options);
320
- }
321
-
322
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AuthorizationPending {
323
- return new AuthorizationPending().fromJson(jsonValue, options);
324
- }
325
-
326
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AuthorizationPending {
327
- return new AuthorizationPending().fromJsonString(jsonString, options);
328
- }
329
-
330
- static equals(a: AuthorizationPending | PlainMessage<AuthorizationPending> | undefined, b: AuthorizationPending | PlainMessage<AuthorizationPending> | undefined): boolean {
331
- return proto3.util.equals(AuthorizationPending, a, b);
332
- }
333
- }
191
+ /**
192
+ * Describes the message liquidmetal.v1alpha1.AuthorizationPending.
193
+ * Use `create(AuthorizationPendingSchema)` to create a new message.
194
+ */
195
+ export const AuthorizationPendingSchema: GenMessage<AuthorizationPending> = /*@__PURE__*/
196
+ messageDesc(file_liquidmetal_v1alpha1_rainbow_auth, 6);
334
197
 
335
198
  /**
336
199
  * @generated from message liquidmetal.v1alpha1.BearerToken
337
200
  */
338
- export class BearerToken extends Message<BearerToken> {
201
+ export type BearerToken = Message<"liquidmetal.v1alpha1.BearerToken"> & {
339
202
  /**
340
203
  * access_token is the string to be provided as a Bearer to APIs
341
204
  *
342
205
  * @generated from field: string access_token = 1;
343
206
  */
344
- accessToken = "";
207
+ accessToken: string;
345
208
 
346
209
  /**
347
210
  * access_token_expires_at is when the access token expires (though the
@@ -370,22 +233,22 @@ export class BearerToken extends Message<BearerToken> {
370
233
  *
371
234
  * @generated from field: string user_id = 4;
372
235
  */
373
- userId = "";
236
+ userId: string;
374
237
 
375
238
  /**
376
239
  * @generated from field: string user_email = 5;
377
240
  */
378
- userEmail = "";
241
+ userEmail: string;
379
242
 
380
243
  /**
381
244
  * @generated from field: string organization_id = 6;
382
245
  */
383
- organizationId = "";
246
+ organizationId: string;
384
247
 
385
248
  /**
386
249
  * @generated from field: string organization_name = 7;
387
250
  */
388
- organizationName = "";
251
+ organizationName: string;
389
252
 
390
253
  /**
391
254
  * catalog_service_base_url is used by the cli to determine which endpoint to
@@ -393,42 +256,15 @@ export class BearerToken extends Message<BearerToken> {
393
256
  *
394
257
  * @generated from field: string catalog_service_base_url = 8;
395
258
  */
396
- catalogServiceBaseUrl = "";
397
-
398
- constructor(data?: PartialMessage<BearerToken>) {
399
- super();
400
- proto3.util.initPartial(data, this);
401
- }
402
-
403
- static readonly runtime: typeof proto3 = proto3;
404
- static readonly typeName = "liquidmetal.v1alpha1.BearerToken";
405
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
406
- { no: 1, name: "access_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
407
- { no: 2, name: "access_token_expires_at", kind: "message", T: Timestamp },
408
- { no: 3, name: "refresh_token", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
409
- { no: 4, name: "user_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
410
- { no: 5, name: "user_email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
411
- { no: 6, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
412
- { no: 7, name: "organization_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
413
- { no: 8, name: "catalog_service_base_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
414
- ]);
415
-
416
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BearerToken {
417
- return new BearerToken().fromBinary(bytes, options);
418
- }
419
-
420
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BearerToken {
421
- return new BearerToken().fromJson(jsonValue, options);
422
- }
423
-
424
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BearerToken {
425
- return new BearerToken().fromJsonString(jsonString, options);
426
- }
427
-
428
- static equals(a: BearerToken | PlainMessage<BearerToken> | undefined, b: BearerToken | PlainMessage<BearerToken> | undefined): boolean {
429
- return proto3.util.equals(BearerToken, a, b);
430
- }
431
- }
259
+ catalogServiceBaseUrl: string;
260
+ };
261
+
262
+ /**
263
+ * Describes the message liquidmetal.v1alpha1.BearerToken.
264
+ * Use `create(BearerTokenSchema)` to create a new message.
265
+ */
266
+ export const BearerTokenSchema: GenMessage<BearerToken> = /*@__PURE__*/
267
+ messageDesc(file_liquidmetal_v1alpha1_rainbow_auth, 7);
432
268
 
433
269
  /**
434
270
  * AuthenticationState is serialized and provided to WorkOS when redirecting the
@@ -437,40 +273,62 @@ export class BearerToken extends Message<BearerToken> {
437
273
  *
438
274
  * @generated from message liquidmetal.v1alpha1.AuthenticationState
439
275
  */
440
- export class AuthenticationState extends Message<AuthenticationState> {
276
+ export type AuthenticationState = Message<"liquidmetal.v1alpha1.AuthenticationState"> & {
441
277
  /**
442
278
  * device_code is the RFC8628 code that the cli is polling for and the browser
443
279
  * needs to know about once authentication from WorkOS completes.
444
280
  *
445
281
  * @generated from field: string device_code = 1;
446
282
  */
447
- deviceCode = "";
448
-
449
- constructor(data?: PartialMessage<AuthenticationState>) {
450
- super();
451
- proto3.util.initPartial(data, this);
452
- }
453
-
454
- static readonly runtime: typeof proto3 = proto3;
455
- static readonly typeName = "liquidmetal.v1alpha1.AuthenticationState";
456
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
457
- { no: 1, name: "device_code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
458
- ]);
459
-
460
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AuthenticationState {
461
- return new AuthenticationState().fromBinary(bytes, options);
462
- }
463
-
464
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AuthenticationState {
465
- return new AuthenticationState().fromJson(jsonValue, options);
466
- }
467
-
468
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AuthenticationState {
469
- return new AuthenticationState().fromJsonString(jsonString, options);
470
- }
471
-
472
- static equals(a: AuthenticationState | PlainMessage<AuthenticationState> | undefined, b: AuthenticationState | PlainMessage<AuthenticationState> | undefined): boolean {
473
- return proto3.util.equals(AuthenticationState, a, b);
474
- }
475
- }
283
+ deviceCode: string;
284
+ };
285
+
286
+ /**
287
+ * Describes the message liquidmetal.v1alpha1.AuthenticationState.
288
+ * Use `create(AuthenticationStateSchema)` to create a new message.
289
+ */
290
+ export const AuthenticationStateSchema: GenMessage<AuthenticationState> = /*@__PURE__*/
291
+ messageDesc(file_liquidmetal_v1alpha1_rainbow_auth, 8);
292
+
293
+ /**
294
+ * @generated from service liquidmetal.v1alpha1.RainbowAuthService
295
+ */
296
+ export const RainbowAuthService: GenService<{
297
+ /**
298
+ * DeviceAuthorization is similar to the RFC8628 Device Authorization Request
299
+ * and Response.
300
+ *
301
+ * https://datatracker.ietf.org/doc/html/rfc8628#section-3.1
302
+ *
303
+ * @generated from rpc liquidmetal.v1alpha1.RainbowAuthService.DeviceAuthorization
304
+ */
305
+ deviceAuthorization: {
306
+ methodKind: "unary";
307
+ input: typeof DeviceAuthorizationRequestSchema;
308
+ output: typeof DeviceAuthorizationResponseSchema;
309
+ },
310
+ /**
311
+ * DeviceAccessToken is polled after a successful call to DeviceAuthorization
312
+ * awaiting the verification_uri_complete to have been followed allowing this
313
+ * RPC to return a BearerToken response.
314
+ *
315
+ * @generated from rpc liquidmetal.v1alpha1.RainbowAuthService.DeviceAccessToken
316
+ */
317
+ deviceAccessToken: {
318
+ methodKind: "unary";
319
+ input: typeof DeviceAccessTokenRequestSchema;
320
+ output: typeof DeviceAccessTokenResponseSchema;
321
+ },
322
+ /**
323
+ * RefreshAccessToken is invoked when the access token expires.
324
+ *
325
+ * @generated from rpc liquidmetal.v1alpha1.RainbowAuthService.RefreshAccessToken
326
+ */
327
+ refreshAccessToken: {
328
+ methodKind: "unary";
329
+ input: typeof RefreshAccessTokenRequestSchema;
330
+ output: typeof RefreshAccessTokenResponseSchema;
331
+ },
332
+ }> = /*@__PURE__*/
333
+ serviceDesc(file_liquidmetal_v1alpha1_rainbow_auth, 0);
476
334
 
@@ -1,11 +1,18 @@
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/raindrop.proto (package liquidmetal.v1alpha1, syntax proto3)
3
3
  /* eslint-disable */
4
- // @ts-nocheck
5
4
 
6
- import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
7
- import { Message, proto3 } from "@bufbuild/protobuf";
8
- import { BearerToken } from "./rainbow_auth_pb.js";
5
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
6
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
7
+ import type { BearerToken } from "./rainbow_auth_pb.js";
8
+ import { file_liquidmetal_v1alpha1_rainbow_auth } from "./rainbow_auth_pb.js";
9
+ import type { Message } from "@bufbuild/protobuf";
10
+
11
+ /**
12
+ * Describes the file liquidmetal/v1alpha1/raindrop.proto.
13
+ */
14
+ export const file_liquidmetal_v1alpha1_raindrop: GenFile = /*@__PURE__*/
15
+ fileDesc("CiNsaXF1aWRtZXRhbC92MWFscGhhMS9yYWluZHJvcC5wcm90bxIUbGlxdWlkbWV0YWwudjFhbHBoYTEipwIKDVJhaW5kcm9wU3RhdGUSbQofb3JnYW5pemF0aW9uX2lkX3RvX2JlYXJlcl90b2tlbhgBIAMoCzJELmxpcXVpZG1ldGFsLnYxYWxwaGExLlJhaW5kcm9wU3RhdGUuT3JnYW5pemF0aW9uSWRUb0JlYXJlclRva2VuRW50cnkSJAoXY3VycmVudF9vcmdhbml6YXRpb25faWQYAiABKAlIAIgBARplCiBPcmdhbml6YXRpb25JZFRvQmVhcmVyVG9rZW5FbnRyeRILCgNrZXkYASABKAkSMAoFdmFsdWUYAiABKAsyIS5saXF1aWRtZXRhbC52MWFscGhhMS5CZWFyZXJUb2tlbjoCOAFCGgoYX2N1cnJlbnRfb3JnYW5pemF0aW9uX2lkQpoBChhjb20ubGlxdWlkbWV0YWwudjFhbHBoYTFCDVJhaW5kcm9wUHJvdG9QAaICA0xYWKoCFExpcXVpZG1ldGFsLlYxYWxwaGExygIUTGlxdWlkbWV0YWxcVjFhbHBoYTHiAiBMaXF1aWRtZXRhbFxWMWFscGhhMVxHUEJNZXRhZGF0YeoCFUxpcXVpZG1ldGFsOjpWMWFscGhhMWIGcHJvdG8z", [file_liquidmetal_v1alpha1_rainbow_auth]);
9
16
 
10
17
  /**
11
18
  * RaindropState represents the persisted state that raindrop utilizes to
@@ -13,7 +20,7 @@ import { BearerToken } from "./rainbow_auth_pb.js";
13
20
  *
14
21
  * @generated from message liquidmetal.v1alpha1.RaindropState
15
22
  */
16
- export class RaindropState extends Message<RaindropState> {
23
+ export type RaindropState = Message<"liquidmetal.v1alpha1.RaindropState"> & {
17
24
  /**
18
25
  * organization_id_to_bearer_token is a map of BearerToken credentials by
19
26
  * organizationId. As tokens are refreshed, the value is replaced in this map.
@@ -22,7 +29,7 @@ export class RaindropState extends Message<RaindropState> {
22
29
  *
23
30
  * @generated from field: map<string, liquidmetal.v1alpha1.BearerToken> organization_id_to_bearer_token = 1;
24
31
  */
25
- organizationIdToBearerToken: { [key: string]: BearerToken } = {};
32
+ organizationIdToBearerToken: { [key: string]: BearerToken };
26
33
 
27
34
  /**
28
35
  * current_organization_id is the organization that the cli is selected to
@@ -31,33 +38,12 @@ export class RaindropState extends Message<RaindropState> {
31
38
  * @generated from field: optional string current_organization_id = 2;
32
39
  */
33
40
  currentOrganizationId?: string;
41
+ };
34
42
 
35
- constructor(data?: PartialMessage<RaindropState>) {
36
- super();
37
- proto3.util.initPartial(data, this);
38
- }
39
-
40
- static readonly runtime: typeof proto3 = proto3;
41
- static readonly typeName = "liquidmetal.v1alpha1.RaindropState";
42
- static readonly fields: FieldList = proto3.util.newFieldList(() => [
43
- { no: 1, name: "organization_id_to_bearer_token", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "message", T: BearerToken} },
44
- { no: 2, name: "current_organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
45
- ]);
46
-
47
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RaindropState {
48
- return new RaindropState().fromBinary(bytes, options);
49
- }
50
-
51
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RaindropState {
52
- return new RaindropState().fromJson(jsonValue, options);
53
- }
54
-
55
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RaindropState {
56
- return new RaindropState().fromJsonString(jsonString, options);
57
- }
58
-
59
- static equals(a: RaindropState | PlainMessage<RaindropState> | undefined, b: RaindropState | PlainMessage<RaindropState> | undefined): boolean {
60
- return proto3.util.equals(RaindropState, a, b);
61
- }
62
- }
43
+ /**
44
+ * Describes the message liquidmetal.v1alpha1.RaindropState.
45
+ * Use `create(RaindropStateSchema)` to create a new message.
46
+ */
47
+ export const RaindropStateSchema: GenMessage<RaindropState> = /*@__PURE__*/
48
+ messageDesc(file_liquidmetal_v1alpha1_raindrop, 0);
63
49