@liquidmetal-ai/drizzle 0.2.3 → 0.2.9

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 (65) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/dist/appify/build.d.ts +8 -0
  3. package/dist/appify/build.d.ts.map +1 -1
  4. package/dist/appify/build.js +68 -2
  5. package/dist/appify/build.test.js +170 -2
  6. package/dist/appify/parse.d.ts +13 -2
  7. package/dist/appify/parse.d.ts.map +1 -1
  8. package/dist/appify/parse.js +51 -2
  9. package/dist/appify/parse.test.js +149 -2
  10. package/dist/codestore.js +1 -1
  11. package/dist/liquidmetal/v1alpha1/catalog_pb.d.ts +526 -479
  12. package/dist/liquidmetal/v1alpha1/catalog_pb.d.ts.map +1 -1
  13. package/dist/liquidmetal/v1alpha1/catalog_pb.js +210 -1726
  14. package/dist/liquidmetal/v1alpha1/rainbow_auth_pb.d.ts +110 -92
  15. package/dist/liquidmetal/v1alpha1/rainbow_auth_pb.d.ts.map +1 -1
  16. package/dist/liquidmetal/v1alpha1/rainbow_auth_pb.js +38 -361
  17. package/dist/liquidmetal/v1alpha1/raindrop_pb.d.ts +14 -13
  18. package/dist/liquidmetal/v1alpha1/raindrop_pb.d.ts.map +1 -1
  19. package/dist/liquidmetal/v1alpha1/raindrop_pb.js +10 -48
  20. package/dist/liquidmetal/v1alpha1/resource_interface_pb.d.ts +146 -122
  21. package/dist/liquidmetal/v1alpha1/resource_interface_pb.d.ts.map +1 -1
  22. package/dist/liquidmetal/v1alpha1/resource_interface_pb.js +49 -428
  23. package/dist/liquidmetal/v1alpha1/search_agent_pb.d.ts +262 -142
  24. package/dist/liquidmetal/v1alpha1/search_agent_pb.d.ts.map +1 -1
  25. package/dist/liquidmetal/v1alpha1/search_agent_pb.js +68 -684
  26. package/eslint.config.mjs +3 -1
  27. package/package.json +2 -1
  28. package/src/appify/build.test.ts +197 -2
  29. package/src/appify/build.ts +71 -2
  30. package/src/appify/parse.test.ts +154 -2
  31. package/src/appify/parse.ts +55 -3
  32. package/src/codestore.ts +1 -1
  33. package/src/liquidmetal/v1alpha1/catalog_pb.ts +719 -1467
  34. package/src/liquidmetal/v1alpha1/rainbow_auth_pb.ts +142 -284
  35. package/src/liquidmetal/v1alpha1/raindrop_pb.ts +21 -35
  36. package/src/liquidmetal/v1alpha1/resource_interface_pb.ts +192 -378
  37. package/src/liquidmetal/v1alpha1/search_agent_pb.ts +310 -450
  38. package/tsconfig.json +11 -3
  39. package/tsconfig.tsbuildinfo +1 -1
  40. package/.turbo/turbo-lint.log +0 -6
  41. package/.turbo/turbo-test.log +0 -6
  42. package/dist/liquidmetal/v1alpha1/catalog_connect.d.ts +0 -168
  43. package/dist/liquidmetal/v1alpha1/catalog_connect.d.ts.map +0 -1
  44. package/dist/liquidmetal/v1alpha1/catalog_connect.js +0 -171
  45. package/dist/liquidmetal/v1alpha1/rainbow_auth_connect.d.ts +0 -49
  46. package/dist/liquidmetal/v1alpha1/rainbow_auth_connect.d.ts.map +0 -1
  47. package/dist/liquidmetal/v1alpha1/rainbow_auth_connect.js +0 -52
  48. package/dist/liquidmetal/v1alpha1/rainbow_public_connect.d.ts +0 -26
  49. package/dist/liquidmetal/v1alpha1/rainbow_public_connect.d.ts.map +0 -1
  50. package/dist/liquidmetal/v1alpha1/rainbow_public_connect.js +0 -29
  51. package/dist/liquidmetal/v1alpha1/rainbow_public_pb.d.ts +0 -202
  52. package/dist/liquidmetal/v1alpha1/rainbow_public_pb.d.ts.map +0 -1
  53. package/dist/liquidmetal/v1alpha1/rainbow_public_pb.js +0 -298
  54. package/dist/liquidmetal/v1alpha1/resource_interface_connect.d.ts +0 -68
  55. package/dist/liquidmetal/v1alpha1/resource_interface_connect.d.ts.map +0 -1
  56. package/dist/liquidmetal/v1alpha1/resource_interface_connect.js +0 -73
  57. package/dist/liquidmetal/v1alpha1/search_agent_connect.d.ts +0 -170
  58. package/dist/liquidmetal/v1alpha1/search_agent_connect.d.ts.map +0 -1
  59. package/dist/liquidmetal/v1alpha1/search_agent_connect.js +0 -173
  60. package/src/liquidmetal/v1alpha1/catalog_connect.ts +0 -174
  61. package/src/liquidmetal/v1alpha1/rainbow_auth_connect.ts +0 -55
  62. package/src/liquidmetal/v1alpha1/rainbow_public_connect.ts +0 -32
  63. package/src/liquidmetal/v1alpha1/rainbow_public_pb.ts +0 -366
  64. package/src/liquidmetal/v1alpha1/resource_interface_connect.ts +0 -77
  65. package/src/liquidmetal/v1alpha1/search_agent_connect.ts +0 -176
@@ -1,381 +1,58 @@
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
- import { Duration, Message, proto3, Timestamp } from "@bufbuild/protobuf";
4
+ import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv1";
5
+ import { file_google_protobuf_duration, file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
6
6
  /**
7
- * @generated from message liquidmetal.v1alpha1.DeviceAuthorizationRequest
7
+ * Describes the file liquidmetal/v1alpha1/rainbow_auth.proto.
8
8
  */
9
- export class DeviceAuthorizationRequest extends Message {
10
- /**
11
- * client_id should be the application name and version e.g. raindrop@v1.0.0
12
- *
13
- * @generated from field: string client_id = 1;
14
- */
15
- clientId = "";
16
- constructor(data) {
17
- super();
18
- proto3.util.initPartial(data, this);
19
- }
20
- static runtime = proto3;
21
- static typeName = "liquidmetal.v1alpha1.DeviceAuthorizationRequest";
22
- static fields = proto3.util.newFieldList(() => [
23
- { no: 1, name: "client_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
24
- ]);
25
- static fromBinary(bytes, options) {
26
- return new DeviceAuthorizationRequest().fromBinary(bytes, options);
27
- }
28
- static fromJson(jsonValue, options) {
29
- return new DeviceAuthorizationRequest().fromJson(jsonValue, options);
30
- }
31
- static fromJsonString(jsonString, options) {
32
- return new DeviceAuthorizationRequest().fromJsonString(jsonString, options);
33
- }
34
- static equals(a, b) {
35
- return proto3.util.equals(DeviceAuthorizationRequest, a, b);
36
- }
37
- }
9
+ export const file_liquidmetal_v1alpha1_rainbow_auth = /*@__PURE__*/ fileDesc("CidsaXF1aWRtZXRhbC92MWFscGhhMS9yYWluYm93X2F1dGgucHJvdG8SFGxpcXVpZG1ldGFsLnYxYWxwaGExIi8KGkRldmljZUF1dGhvcml6YXRpb25SZXF1ZXN0EhEKCWNsaWVudF9pZBgBIAEoCSKyAQobRGV2aWNlQXV0aG9yaXphdGlvblJlc3BvbnNlEhMKC2RldmljZV9jb2RlGAEgASgJEiEKGXZlcmlmaWNhdGlvbl91cmlfY29tcGxldGUYAiABKAkSLgoKZXhwaXJlc19hdBgDIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASKwoIaW50ZXJ2YWwYBCABKAsyGS5nb29nbGUucHJvdG9idWYuRHVyYXRpb24iLwoYRGV2aWNlQWNjZXNzVG9rZW5SZXF1ZXN0EhMKC2RldmljZV9jb2RlGAEgASgJIq8BChlEZXZpY2VBY2Nlc3NUb2tlblJlc3BvbnNlEksKFWF1dGhvcml6YXRpb25fcGVuZGluZxgBIAEoCzIqLmxpcXVpZG1ldGFsLnYxYWxwaGExLkF1dGhvcml6YXRpb25QZW5kaW5nSAASOQoMYmVhcmVyX3Rva2VuGAIgASgLMiEubGlxdWlkbWV0YWwudjFhbHBoYTEuQmVhcmVyVG9rZW5IAEIKCghyZXNwb25zZSJLChlSZWZyZXNoQWNjZXNzVG9rZW5SZXF1ZXN0EhUKDXJlZnJlc2hfdG9rZW4YASABKAkSFwoPb3JnYW5pemF0aW9uX2lkGAIgASgJIlUKGlJlZnJlc2hBY2Nlc3NUb2tlblJlc3BvbnNlEjcKDGJlYXJlcl90b2tlbhgBIAEoCzIhLmxpcXVpZG1ldGFsLnYxYWxwaGExLkJlYXJlclRva2VuIkMKFEF1dGhvcml6YXRpb25QZW5kaW5nEisKCGludGVydmFsGAEgASgLMhkuZ29vZ2xlLnByb3RvYnVmLkR1cmF0aW9uIokCCgtCZWFyZXJUb2tlbhIUCgxhY2Nlc3NfdG9rZW4YASABKAkSOwoXYWNjZXNzX3Rva2VuX2V4cGlyZXNfYXQYAiABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEhoKDXJlZnJlc2hfdG9rZW4YAyABKAlIAIgBARIPCgd1c2VyX2lkGAQgASgJEhIKCnVzZXJfZW1haWwYBSABKAkSFwoPb3JnYW5pemF0aW9uX2lkGAYgASgJEhkKEW9yZ2FuaXphdGlvbl9uYW1lGAcgASgJEiAKGGNhdGFsb2dfc2VydmljZV9iYXNlX3VybBgIIAEoCUIQCg5fcmVmcmVzaF90b2tlbiIqChNBdXRoZW50aWNhdGlvblN0YXRlEhMKC2RldmljZV9jb2RlGAEgASgJMv8CChJSYWluYm93QXV0aFNlcnZpY2USegoTRGV2aWNlQXV0aG9yaXphdGlvbhIwLmxpcXVpZG1ldGFsLnYxYWxwaGExLkRldmljZUF1dGhvcml6YXRpb25SZXF1ZXN0GjEubGlxdWlkbWV0YWwudjFhbHBoYTEuRGV2aWNlQXV0aG9yaXphdGlvblJlc3BvbnNlEnQKEURldmljZUFjY2Vzc1Rva2VuEi4ubGlxdWlkbWV0YWwudjFhbHBoYTEuRGV2aWNlQWNjZXNzVG9rZW5SZXF1ZXN0Gi8ubGlxdWlkbWV0YWwudjFhbHBoYTEuRGV2aWNlQWNjZXNzVG9rZW5SZXNwb25zZRJ3ChJSZWZyZXNoQWNjZXNzVG9rZW4SLy5saXF1aWRtZXRhbC52MWFscGhhMS5SZWZyZXNoQWNjZXNzVG9rZW5SZXF1ZXN0GjAubGlxdWlkbWV0YWwudjFhbHBoYTEuUmVmcmVzaEFjY2Vzc1Rva2VuUmVzcG9uc2VCnQEKGGNvbS5saXF1aWRtZXRhbC52MWFscGhhMUIQUmFpbmJvd0F1dGhQcm90b1ABogIDTFhYqgIUTGlxdWlkbWV0YWwuVjFhbHBoYTHKAhRMaXF1aWRtZXRhbFxWMWFscGhhMeICIExpcXVpZG1ldGFsXFYxYWxwaGExXEdQQk1ldGFkYXRh6gIVTGlxdWlkbWV0YWw6OlYxYWxwaGExYgZwcm90bzM", [file_google_protobuf_duration, file_google_protobuf_timestamp]);
38
10
  /**
39
- * @generated from message liquidmetal.v1alpha1.DeviceAuthorizationResponse
11
+ * Describes the message liquidmetal.v1alpha1.DeviceAuthorizationRequest.
12
+ * Use `create(DeviceAuthorizationRequestSchema)` to create a new message.
40
13
  */
41
- export class DeviceAuthorizationResponse extends Message {
42
- /**
43
- * device_code is a name from RFC8628 that will be used by the invoker of
44
- * DeviceAuthorization to continuously poll to see if the authorization has
45
- * been granted.
46
- *
47
- * @generated from field: string device_code = 1;
48
- */
49
- deviceCode = "";
50
- /**
51
- * verification_uri_complete is a URL that the caller should visit in order to
52
- * initiate a login flow through a browser that will result in the device_code
53
- * being associated with the login.
54
- *
55
- * as we do not support low-fidelity devices, we do not expose the RFC8628
56
- * user_code nor the verification_uri. It is expected that the device can
57
- * render a complex uri that the user can either click on or use a QR code
58
- * scanner to complete rather than providing user-friendly small-length
59
- * characters to type manually.
60
- *
61
- * @generated from field: string verification_uri_complete = 2;
62
- */
63
- verificationUriComplete = "";
64
- /**
65
- * expires_at is when the device code is marked as expired
66
- *
67
- * @generated from field: google.protobuf.Timestamp expires_at = 3;
68
- */
69
- expiresAt;
70
- /**
71
- * interval is the minimum amount of time that the client should wait between
72
- * polling requests
73
- *
74
- * @generated from field: google.protobuf.Duration interval = 4;
75
- */
76
- interval;
77
- constructor(data) {
78
- super();
79
- proto3.util.initPartial(data, this);
80
- }
81
- static runtime = proto3;
82
- static typeName = "liquidmetal.v1alpha1.DeviceAuthorizationResponse";
83
- static fields = proto3.util.newFieldList(() => [
84
- { no: 1, name: "device_code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
85
- { no: 2, name: "verification_uri_complete", kind: "scalar", T: 9 /* ScalarType.STRING */ },
86
- { no: 3, name: "expires_at", kind: "message", T: Timestamp },
87
- { no: 4, name: "interval", kind: "message", T: Duration },
88
- ]);
89
- static fromBinary(bytes, options) {
90
- return new DeviceAuthorizationResponse().fromBinary(bytes, options);
91
- }
92
- static fromJson(jsonValue, options) {
93
- return new DeviceAuthorizationResponse().fromJson(jsonValue, options);
94
- }
95
- static fromJsonString(jsonString, options) {
96
- return new DeviceAuthorizationResponse().fromJsonString(jsonString, options);
97
- }
98
- static equals(a, b) {
99
- return proto3.util.equals(DeviceAuthorizationResponse, a, b);
100
- }
101
- }
14
+ export const DeviceAuthorizationRequestSchema = /*@__PURE__*/ messageDesc(file_liquidmetal_v1alpha1_rainbow_auth, 0);
102
15
  /**
103
- * @generated from message liquidmetal.v1alpha1.DeviceAccessTokenRequest
16
+ * Describes the message liquidmetal.v1alpha1.DeviceAuthorizationResponse.
17
+ * Use `create(DeviceAuthorizationResponseSchema)` to create a new message.
104
18
  */
105
- export class DeviceAccessTokenRequest extends Message {
106
- /**
107
- * @generated from field: string device_code = 1;
108
- */
109
- deviceCode = "";
110
- constructor(data) {
111
- super();
112
- proto3.util.initPartial(data, this);
113
- }
114
- static runtime = proto3;
115
- static typeName = "liquidmetal.v1alpha1.DeviceAccessTokenRequest";
116
- static fields = proto3.util.newFieldList(() => [
117
- { no: 1, name: "device_code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
118
- ]);
119
- static fromBinary(bytes, options) {
120
- return new DeviceAccessTokenRequest().fromBinary(bytes, options);
121
- }
122
- static fromJson(jsonValue, options) {
123
- return new DeviceAccessTokenRequest().fromJson(jsonValue, options);
124
- }
125
- static fromJsonString(jsonString, options) {
126
- return new DeviceAccessTokenRequest().fromJsonString(jsonString, options);
127
- }
128
- static equals(a, b) {
129
- return proto3.util.equals(DeviceAccessTokenRequest, a, b);
130
- }
131
- }
19
+ export const DeviceAuthorizationResponseSchema = /*@__PURE__*/ messageDesc(file_liquidmetal_v1alpha1_rainbow_auth, 1);
132
20
  /**
133
- * @generated from message liquidmetal.v1alpha1.DeviceAccessTokenResponse
21
+ * Describes the message liquidmetal.v1alpha1.DeviceAccessTokenRequest.
22
+ * Use `create(DeviceAccessTokenRequestSchema)` to create a new message.
134
23
  */
135
- export class DeviceAccessTokenResponse extends Message {
136
- /**
137
- * @generated from oneof liquidmetal.v1alpha1.DeviceAccessTokenResponse.response
138
- */
139
- response = { case: undefined };
140
- constructor(data) {
141
- super();
142
- proto3.util.initPartial(data, this);
143
- }
144
- static runtime = proto3;
145
- static typeName = "liquidmetal.v1alpha1.DeviceAccessTokenResponse";
146
- static fields = proto3.util.newFieldList(() => [
147
- { no: 1, name: "authorization_pending", kind: "message", T: AuthorizationPending, oneof: "response" },
148
- { no: 2, name: "bearer_token", kind: "message", T: BearerToken, oneof: "response" },
149
- ]);
150
- static fromBinary(bytes, options) {
151
- return new DeviceAccessTokenResponse().fromBinary(bytes, options);
152
- }
153
- static fromJson(jsonValue, options) {
154
- return new DeviceAccessTokenResponse().fromJson(jsonValue, options);
155
- }
156
- static fromJsonString(jsonString, options) {
157
- return new DeviceAccessTokenResponse().fromJsonString(jsonString, options);
158
- }
159
- static equals(a, b) {
160
- return proto3.util.equals(DeviceAccessTokenResponse, a, b);
161
- }
162
- }
24
+ export const DeviceAccessTokenRequestSchema = /*@__PURE__*/ messageDesc(file_liquidmetal_v1alpha1_rainbow_auth, 2);
163
25
  /**
164
- * @generated from message liquidmetal.v1alpha1.RefreshAccessTokenRequest
26
+ * Describes the message liquidmetal.v1alpha1.DeviceAccessTokenResponse.
27
+ * Use `create(DeviceAccessTokenResponseSchema)` to create a new message.
165
28
  */
166
- export class RefreshAccessTokenRequest extends Message {
167
- /**
168
- * @generated from field: string refresh_token = 1;
169
- */
170
- refreshToken = "";
171
- /**
172
- * @generated from field: string organization_id = 2;
173
- */
174
- organizationId = "";
175
- constructor(data) {
176
- super();
177
- proto3.util.initPartial(data, this);
178
- }
179
- static runtime = proto3;
180
- static typeName = "liquidmetal.v1alpha1.RefreshAccessTokenRequest";
181
- static fields = proto3.util.newFieldList(() => [
182
- { no: 1, name: "refresh_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
183
- { no: 2, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
184
- ]);
185
- static fromBinary(bytes, options) {
186
- return new RefreshAccessTokenRequest().fromBinary(bytes, options);
187
- }
188
- static fromJson(jsonValue, options) {
189
- return new RefreshAccessTokenRequest().fromJson(jsonValue, options);
190
- }
191
- static fromJsonString(jsonString, options) {
192
- return new RefreshAccessTokenRequest().fromJsonString(jsonString, options);
193
- }
194
- static equals(a, b) {
195
- return proto3.util.equals(RefreshAccessTokenRequest, a, b);
196
- }
197
- }
29
+ export const DeviceAccessTokenResponseSchema = /*@__PURE__*/ messageDesc(file_liquidmetal_v1alpha1_rainbow_auth, 3);
198
30
  /**
199
- * @generated from message liquidmetal.v1alpha1.RefreshAccessTokenResponse
31
+ * Describes the message liquidmetal.v1alpha1.RefreshAccessTokenRequest.
32
+ * Use `create(RefreshAccessTokenRequestSchema)` to create a new message.
200
33
  */
201
- export class RefreshAccessTokenResponse extends Message {
202
- /**
203
- * @generated from field: liquidmetal.v1alpha1.BearerToken bearer_token = 1;
204
- */
205
- bearerToken;
206
- constructor(data) {
207
- super();
208
- proto3.util.initPartial(data, this);
209
- }
210
- static runtime = proto3;
211
- static typeName = "liquidmetal.v1alpha1.RefreshAccessTokenResponse";
212
- static fields = proto3.util.newFieldList(() => [
213
- { no: 1, name: "bearer_token", kind: "message", T: BearerToken },
214
- ]);
215
- static fromBinary(bytes, options) {
216
- return new RefreshAccessTokenResponse().fromBinary(bytes, options);
217
- }
218
- static fromJson(jsonValue, options) {
219
- return new RefreshAccessTokenResponse().fromJson(jsonValue, options);
220
- }
221
- static fromJsonString(jsonString, options) {
222
- return new RefreshAccessTokenResponse().fromJsonString(jsonString, options);
223
- }
224
- static equals(a, b) {
225
- return proto3.util.equals(RefreshAccessTokenResponse, a, b);
226
- }
227
- }
34
+ export const RefreshAccessTokenRequestSchema = /*@__PURE__*/ messageDesc(file_liquidmetal_v1alpha1_rainbow_auth, 4);
228
35
  /**
229
- * @generated from message liquidmetal.v1alpha1.AuthorizationPending
36
+ * Describes the message liquidmetal.v1alpha1.RefreshAccessTokenResponse.
37
+ * Use `create(RefreshAccessTokenResponseSchema)` to create a new message.
230
38
  */
231
- export class AuthorizationPending extends Message {
232
- /**
233
- * interval is the minimum amount of time that the client should wait between
234
- * polling requests
235
- *
236
- * @generated from field: google.protobuf.Duration interval = 1;
237
- */
238
- interval;
239
- constructor(data) {
240
- super();
241
- proto3.util.initPartial(data, this);
242
- }
243
- static runtime = proto3;
244
- static typeName = "liquidmetal.v1alpha1.AuthorizationPending";
245
- static fields = proto3.util.newFieldList(() => [
246
- { no: 1, name: "interval", kind: "message", T: Duration },
247
- ]);
248
- static fromBinary(bytes, options) {
249
- return new AuthorizationPending().fromBinary(bytes, options);
250
- }
251
- static fromJson(jsonValue, options) {
252
- return new AuthorizationPending().fromJson(jsonValue, options);
253
- }
254
- static fromJsonString(jsonString, options) {
255
- return new AuthorizationPending().fromJsonString(jsonString, options);
256
- }
257
- static equals(a, b) {
258
- return proto3.util.equals(AuthorizationPending, a, b);
259
- }
260
- }
39
+ export const RefreshAccessTokenResponseSchema = /*@__PURE__*/ messageDesc(file_liquidmetal_v1alpha1_rainbow_auth, 5);
261
40
  /**
262
- * @generated from message liquidmetal.v1alpha1.BearerToken
41
+ * Describes the message liquidmetal.v1alpha1.AuthorizationPending.
42
+ * Use `create(AuthorizationPendingSchema)` to create a new message.
263
43
  */
264
- export class BearerToken extends Message {
265
- /**
266
- * access_token is the string to be provided as a Bearer to APIs
267
- *
268
- * @generated from field: string access_token = 1;
269
- */
270
- accessToken = "";
271
- /**
272
- * access_token_expires_at is when the access token expires (though the
273
- * access token happens to be a jwt and also includes an expires at field,
274
- * this allows the client to use the access token without needing to know
275
- * how to validate or parse it.)
276
- *
277
- * @generated from field: google.protobuf.Timestamp access_token_expires_at = 2;
278
- */
279
- accessTokenExpiresAt;
280
- /**
281
- * refresh_token is utilized when the access token expires to gain another
282
- * access token. the value will be provided upon a new grant, and may be
283
- * omitted upon refresh. whenever the value is provided, any previously stored
284
- * refresh token must be discarded and replaced by this value.
285
- *
286
- * @generated from field: optional string refresh_token = 3;
287
- */
288
- refreshToken;
289
- /**
290
- * user_id, user_email, organization_id, and organization_name are surfaced
291
- * for the client to present to the user for choosing which token to utilize
292
- * or remove for cli use cases.
293
- *
294
- * @generated from field: string user_id = 4;
295
- */
296
- userId = "";
297
- /**
298
- * @generated from field: string user_email = 5;
299
- */
300
- userEmail = "";
301
- /**
302
- * @generated from field: string organization_id = 6;
303
- */
304
- organizationId = "";
305
- /**
306
- * @generated from field: string organization_name = 7;
307
- */
308
- organizationName = "";
309
- /**
310
- * catalog_service_base_url is used by the cli to determine which endpoint to
311
- * address when speaking to this organization.
312
- *
313
- * @generated from field: string catalog_service_base_url = 8;
314
- */
315
- catalogServiceBaseUrl = "";
316
- constructor(data) {
317
- super();
318
- proto3.util.initPartial(data, this);
319
- }
320
- static runtime = proto3;
321
- static typeName = "liquidmetal.v1alpha1.BearerToken";
322
- static fields = proto3.util.newFieldList(() => [
323
- { no: 1, name: "access_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
324
- { no: 2, name: "access_token_expires_at", kind: "message", T: Timestamp },
325
- { no: 3, name: "refresh_token", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
326
- { no: 4, name: "user_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
327
- { no: 5, name: "user_email", kind: "scalar", T: 9 /* ScalarType.STRING */ },
328
- { no: 6, name: "organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
329
- { no: 7, name: "organization_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
330
- { no: 8, name: "catalog_service_base_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
331
- ]);
332
- static fromBinary(bytes, options) {
333
- return new BearerToken().fromBinary(bytes, options);
334
- }
335
- static fromJson(jsonValue, options) {
336
- return new BearerToken().fromJson(jsonValue, options);
337
- }
338
- static fromJsonString(jsonString, options) {
339
- return new BearerToken().fromJsonString(jsonString, options);
340
- }
341
- static equals(a, b) {
342
- return proto3.util.equals(BearerToken, a, b);
343
- }
344
- }
44
+ export const AuthorizationPendingSchema = /*@__PURE__*/ messageDesc(file_liquidmetal_v1alpha1_rainbow_auth, 6);
345
45
  /**
346
- * AuthenticationState is serialized and provided to WorkOS when redirecting the
347
- * user to complete authentication, this state is then copied forward by WorkOS
348
- * to the redirectUrl so it can be read again upon successful authentication.
349
- *
350
- * @generated from message liquidmetal.v1alpha1.AuthenticationState
46
+ * Describes the message liquidmetal.v1alpha1.BearerToken.
47
+ * Use `create(BearerTokenSchema)` to create a new message.
351
48
  */
352
- export class AuthenticationState extends Message {
353
- /**
354
- * device_code is the RFC8628 code that the cli is polling for and the browser
355
- * needs to know about once authentication from WorkOS completes.
356
- *
357
- * @generated from field: string device_code = 1;
358
- */
359
- deviceCode = "";
360
- constructor(data) {
361
- super();
362
- proto3.util.initPartial(data, this);
363
- }
364
- static runtime = proto3;
365
- static typeName = "liquidmetal.v1alpha1.AuthenticationState";
366
- static fields = proto3.util.newFieldList(() => [
367
- { no: 1, name: "device_code", kind: "scalar", T: 9 /* ScalarType.STRING */ },
368
- ]);
369
- static fromBinary(bytes, options) {
370
- return new AuthenticationState().fromBinary(bytes, options);
371
- }
372
- static fromJson(jsonValue, options) {
373
- return new AuthenticationState().fromJson(jsonValue, options);
374
- }
375
- static fromJsonString(jsonString, options) {
376
- return new AuthenticationState().fromJsonString(jsonString, options);
377
- }
378
- static equals(a, b) {
379
- return proto3.util.equals(AuthenticationState, a, b);
380
- }
381
- }
49
+ export const BearerTokenSchema = /*@__PURE__*/ messageDesc(file_liquidmetal_v1alpha1_rainbow_auth, 7);
50
+ /**
51
+ * Describes the message liquidmetal.v1alpha1.AuthenticationState.
52
+ * Use `create(AuthenticationStateSchema)` to create a new message.
53
+ */
54
+ export const AuthenticationStateSchema = /*@__PURE__*/ messageDesc(file_liquidmetal_v1alpha1_rainbow_auth, 8);
55
+ /**
56
+ * @generated from service liquidmetal.v1alpha1.RainbowAuthService
57
+ */
58
+ export const RainbowAuthService = /*@__PURE__*/ serviceDesc(file_liquidmetal_v1alpha1_rainbow_auth, 0);
@@ -1,13 +1,17 @@
1
- import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
2
- import { Message, proto3 } from "@bufbuild/protobuf";
3
- import { BearerToken } from "./rainbow_auth_pb.js";
1
+ import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
2
+ import type { BearerToken } from "./rainbow_auth_pb.js";
3
+ import type { Message } from "@bufbuild/protobuf";
4
+ /**
5
+ * Describes the file liquidmetal/v1alpha1/raindrop.proto.
6
+ */
7
+ export declare const file_liquidmetal_v1alpha1_raindrop: GenFile;
4
8
  /**
5
9
  * RaindropState represents the persisted state that raindrop utilizes to
6
10
  * understand login information and current context.
7
11
  *
8
12
  * @generated from message liquidmetal.v1alpha1.RaindropState
9
13
  */
10
- export declare class RaindropState extends Message<RaindropState> {
14
+ export type RaindropState = Message<"liquidmetal.v1alpha1.RaindropState"> & {
11
15
  /**
12
16
  * organization_id_to_bearer_token is a map of BearerToken credentials by
13
17
  * organizationId. As tokens are refreshed, the value is replaced in this map.
@@ -26,13 +30,10 @@ export declare class RaindropState extends Message<RaindropState> {
26
30
  * @generated from field: optional string current_organization_id = 2;
27
31
  */
28
32
  currentOrganizationId?: string;
29
- constructor(data?: PartialMessage<RaindropState>);
30
- static readonly runtime: typeof proto3;
31
- static readonly typeName = "liquidmetal.v1alpha1.RaindropState";
32
- static readonly fields: FieldList;
33
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RaindropState;
34
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RaindropState;
35
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RaindropState;
36
- static equals(a: RaindropState | PlainMessage<RaindropState> | undefined, b: RaindropState | PlainMessage<RaindropState> | undefined): boolean;
37
- }
33
+ };
34
+ /**
35
+ * Describes the message liquidmetal.v1alpha1.RaindropState.
36
+ * Use `create(RaindropStateSchema)` to create a new message.
37
+ */
38
+ export declare const RaindropStateSchema: GenMessage<RaindropState>;
38
39
  //# sourceMappingURL=raindrop_pb.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"raindrop_pb.d.ts","sourceRoot":"","sources":["../../../src/liquidmetal/v1alpha1/raindrop_pb.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,eAAe,EAAE,SAAS,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AACjI,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAEnD;;;;;GAKG;AACH,qBAAa,aAAc,SAAQ,OAAO,CAAC,aAAa,CAAC;IACvD;;;;;;;OAOG;IACH,2BAA2B,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,WAAW,CAAA;KAAE,CAAM;IAEjE;;;;;OAKG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;gBAEnB,IAAI,CAAC,EAAE,cAAc,CAAC,aAAa,CAAC;IAKhD,MAAM,CAAC,QAAQ,CAAC,OAAO,EAAE,OAAO,MAAM,CAAU;IAChD,MAAM,CAAC,QAAQ,CAAC,QAAQ,wCAAwC;IAChE,MAAM,CAAC,QAAQ,CAAC,MAAM,EAAE,SAAS,CAG9B;IAEH,MAAM,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,iBAAiB,CAAC,GAAG,aAAa;IAIzF,MAAM,CAAC,QAAQ,CAAC,SAAS,EAAE,SAAS,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG,aAAa;IAIxF,MAAM,CAAC,cAAc,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG,aAAa;IAI5F,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,aAAa,GAAG,YAAY,CAAC,aAAa,CAAC,GAAG,SAAS,EAAE,CAAC,EAAE,aAAa,GAAG,YAAY,CAAC,aAAa,CAAC,GAAG,SAAS,GAAG,OAAO;CAG/I"}
1
+ {"version":3,"file":"raindrop_pb.d.ts","sourceRoot":"","sources":["../../../src/liquidmetal/v1alpha1/raindrop_pb.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAExE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAExD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,kCAAkC,EAAE,OAC+rB,CAAC;AAEjvB;;;;;GAKG;AACH,MAAM,MAAM,aAAa,GAAG,OAAO,CAAC,oCAAoC,CAAC,GAAG;IAC1E;;;;;;;OAOG;IACH,2BAA2B,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,WAAW,CAAA;KAAE,CAAC;IAE5D;;;;;OAKG;IACH,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAChC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,mBAAmB,EAAE,UAAU,CAAC,aAAa,CACN,CAAC"}
@@ -1,52 +1,14 @@
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
- import { Message, proto3 } from "@bufbuild/protobuf";
6
- import { BearerToken } from "./rainbow_auth_pb.js";
4
+ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
5
+ import { file_liquidmetal_v1alpha1_rainbow_auth } from "./rainbow_auth_pb.js";
7
6
  /**
8
- * RaindropState represents the persisted state that raindrop utilizes to
9
- * understand login information and current context.
10
- *
11
- * @generated from message liquidmetal.v1alpha1.RaindropState
7
+ * Describes the file liquidmetal/v1alpha1/raindrop.proto.
12
8
  */
13
- export class RaindropState extends Message {
14
- /**
15
- * organization_id_to_bearer_token is a map of BearerToken credentials by
16
- * organizationId. As tokens are refreshed, the value is replaced in this map.
17
- * It is not possible to log into a single organization using separate
18
- * credentials on the CLI.
19
- *
20
- * @generated from field: map<string, liquidmetal.v1alpha1.BearerToken> organization_id_to_bearer_token = 1;
21
- */
22
- organizationIdToBearerToken = {};
23
- /**
24
- * current_organization_id is the organization that the cli is selected to
25
- * operate against using the associated credentials.
26
- *
27
- * @generated from field: optional string current_organization_id = 2;
28
- */
29
- currentOrganizationId;
30
- constructor(data) {
31
- super();
32
- proto3.util.initPartial(data, this);
33
- }
34
- static runtime = proto3;
35
- static typeName = "liquidmetal.v1alpha1.RaindropState";
36
- static fields = proto3.util.newFieldList(() => [
37
- { no: 1, name: "organization_id_to_bearer_token", kind: "map", K: 9 /* ScalarType.STRING */, V: { kind: "message", T: BearerToken } },
38
- { no: 2, name: "current_organization_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
39
- ]);
40
- static fromBinary(bytes, options) {
41
- return new RaindropState().fromBinary(bytes, options);
42
- }
43
- static fromJson(jsonValue, options) {
44
- return new RaindropState().fromJson(jsonValue, options);
45
- }
46
- static fromJsonString(jsonString, options) {
47
- return new RaindropState().fromJsonString(jsonString, options);
48
- }
49
- static equals(a, b) {
50
- return proto3.util.equals(RaindropState, a, b);
51
- }
52
- }
9
+ export const file_liquidmetal_v1alpha1_raindrop = /*@__PURE__*/ fileDesc("CiNsaXF1aWRtZXRhbC92MWFscGhhMS9yYWluZHJvcC5wcm90bxIUbGlxdWlkbWV0YWwudjFhbHBoYTEipwIKDVJhaW5kcm9wU3RhdGUSbQofb3JnYW5pemF0aW9uX2lkX3RvX2JlYXJlcl90b2tlbhgBIAMoCzJELmxpcXVpZG1ldGFsLnYxYWxwaGExLlJhaW5kcm9wU3RhdGUuT3JnYW5pemF0aW9uSWRUb0JlYXJlclRva2VuRW50cnkSJAoXY3VycmVudF9vcmdhbml6YXRpb25faWQYAiABKAlIAIgBARplCiBPcmdhbml6YXRpb25JZFRvQmVhcmVyVG9rZW5FbnRyeRILCgNrZXkYASABKAkSMAoFdmFsdWUYAiABKAsyIS5saXF1aWRtZXRhbC52MWFscGhhMS5CZWFyZXJUb2tlbjoCOAFCGgoYX2N1cnJlbnRfb3JnYW5pemF0aW9uX2lkQpoBChhjb20ubGlxdWlkbWV0YWwudjFhbHBoYTFCDVJhaW5kcm9wUHJvdG9QAaICA0xYWKoCFExpcXVpZG1ldGFsLlYxYWxwaGExygIUTGlxdWlkbWV0YWxcVjFhbHBoYTHiAiBMaXF1aWRtZXRhbFxWMWFscGhhMVxHUEJNZXRhZGF0YeoCFUxpcXVpZG1ldGFsOjpWMWFscGhhMWIGcHJvdG8z", [file_liquidmetal_v1alpha1_rainbow_auth]);
10
+ /**
11
+ * Describes the message liquidmetal.v1alpha1.RaindropState.
12
+ * Use `create(RaindropStateSchema)` to create a new message.
13
+ */
14
+ export const RaindropStateSchema = /*@__PURE__*/ messageDesc(file_liquidmetal_v1alpha1_raindrop, 0);