@liquidmetal-ai/drizzle 0.0.1

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 (76) hide show
  1. package/.changeset/README.md +4 -0
  2. package/.changeset/config.json +11 -0
  3. package/.changeset/odd-plums-dress.md +7 -0
  4. package/.turbo/turbo-build.log +6 -0
  5. package/dist/appify/build.d.ts +130 -0
  6. package/dist/appify/build.d.ts.map +1 -0
  7. package/dist/appify/build.js +703 -0
  8. package/dist/appify/build.test.d.ts +2 -0
  9. package/dist/appify/build.test.d.ts.map +1 -0
  10. package/dist/appify/build.test.js +111 -0
  11. package/dist/appify/index.d.ts +8 -0
  12. package/dist/appify/index.d.ts.map +1 -0
  13. package/dist/appify/index.js +28 -0
  14. package/dist/appify/index.test.d.ts +2 -0
  15. package/dist/appify/index.test.d.ts.map +1 -0
  16. package/dist/appify/index.test.js +40 -0
  17. package/dist/appify/parse.d.ts +151 -0
  18. package/dist/appify/parse.d.ts.map +1 -0
  19. package/dist/appify/parse.js +579 -0
  20. package/dist/appify/parse.test.d.ts +2 -0
  21. package/dist/appify/parse.test.d.ts.map +1 -0
  22. package/dist/appify/parse.test.js +319 -0
  23. package/dist/appify/validate.d.ts +22 -0
  24. package/dist/appify/validate.d.ts.map +1 -0
  25. package/dist/appify/validate.js +346 -0
  26. package/dist/appify/validate.test.d.ts +2 -0
  27. package/dist/appify/validate.test.d.ts.map +1 -0
  28. package/dist/appify/validate.test.js +327 -0
  29. package/dist/codestore.d.ts +34 -0
  30. package/dist/codestore.d.ts.map +1 -0
  31. package/dist/codestore.js +54 -0
  32. package/dist/codestore.test.d.ts +2 -0
  33. package/dist/codestore.test.d.ts.map +1 -0
  34. package/dist/codestore.test.js +84 -0
  35. package/dist/liquidmetal/v1alpha1/catalog_connect.d.ts +147 -0
  36. package/dist/liquidmetal/v1alpha1/catalog_connect.d.ts.map +1 -0
  37. package/dist/liquidmetal/v1alpha1/catalog_connect.js +150 -0
  38. package/dist/liquidmetal/v1alpha1/catalog_pb.d.ts +965 -0
  39. package/dist/liquidmetal/v1alpha1/catalog_pb.d.ts.map +1 -0
  40. package/dist/liquidmetal/v1alpha1/catalog_pb.js +1486 -0
  41. package/dist/liquidmetal/v1alpha1/rainbow_auth_connect.d.ts +49 -0
  42. package/dist/liquidmetal/v1alpha1/rainbow_auth_connect.d.ts.map +1 -0
  43. package/dist/liquidmetal/v1alpha1/rainbow_auth_connect.js +52 -0
  44. package/dist/liquidmetal/v1alpha1/rainbow_auth_pb.d.ts +271 -0
  45. package/dist/liquidmetal/v1alpha1/rainbow_auth_pb.d.ts.map +1 -0
  46. package/dist/liquidmetal/v1alpha1/rainbow_auth_pb.js +381 -0
  47. package/dist/liquidmetal/v1alpha1/raindrop_pb.d.ts +38 -0
  48. package/dist/liquidmetal/v1alpha1/raindrop_pb.d.ts.map +1 -0
  49. package/dist/liquidmetal/v1alpha1/raindrop_pb.js +52 -0
  50. package/dist/unsafe/codestore.d.ts +10 -0
  51. package/dist/unsafe/codestore.d.ts.map +1 -0
  52. package/dist/unsafe/codestore.js +23 -0
  53. package/dist/unsafe/codestore.test.d.ts +2 -0
  54. package/dist/unsafe/codestore.test.d.ts.map +1 -0
  55. package/dist/unsafe/codestore.test.js +27 -0
  56. package/eslint.config.mjs +4 -0
  57. package/package.json +45 -0
  58. package/src/appify/build.test.ts +116 -0
  59. package/src/appify/build.ts +783 -0
  60. package/src/appify/index.test.ts +43 -0
  61. package/src/appify/index.ts +33 -0
  62. package/src/appify/parse.test.ts +337 -0
  63. package/src/appify/parse.ts +744 -0
  64. package/src/appify/validate.test.ts +341 -0
  65. package/src/appify/validate.ts +435 -0
  66. package/src/codestore.test.ts +98 -0
  67. package/src/codestore.ts +93 -0
  68. package/src/liquidmetal/v1alpha1/catalog_connect.ts +153 -0
  69. package/src/liquidmetal/v1alpha1/catalog_pb.ts +1827 -0
  70. package/src/liquidmetal/v1alpha1/rainbow_auth_connect.ts +55 -0
  71. package/src/liquidmetal/v1alpha1/rainbow_auth_pb.ts +476 -0
  72. package/src/liquidmetal/v1alpha1/raindrop_pb.ts +63 -0
  73. package/src/unsafe/codestore.test.ts +34 -0
  74. package/src/unsafe/codestore.ts +29 -0
  75. package/tsconfig.json +31 -0
  76. package/tsconfig.tsbuildinfo +1 -0
@@ -0,0 +1,49 @@
1
+ import { DeviceAccessTokenRequest, DeviceAccessTokenResponse, DeviceAuthorizationRequest, DeviceAuthorizationResponse, RefreshAccessTokenRequest, RefreshAccessTokenResponse } from "./rainbow_auth_pb.js";
2
+ import { MethodKind } from "@bufbuild/protobuf";
3
+ /**
4
+ * @generated from service liquidmetal.v1alpha1.RainbowAuthService
5
+ */
6
+ export declare const RainbowAuthService: {
7
+ readonly typeName: "liquidmetal.v1alpha1.RainbowAuthService";
8
+ readonly methods: {
9
+ /**
10
+ * DeviceAuthorization is similar to the RFC8628 Device Authorization Request
11
+ * and Response.
12
+ *
13
+ * https://datatracker.ietf.org/doc/html/rfc8628#section-3.1
14
+ *
15
+ * @generated from rpc liquidmetal.v1alpha1.RainbowAuthService.DeviceAuthorization
16
+ */
17
+ readonly deviceAuthorization: {
18
+ readonly name: "DeviceAuthorization";
19
+ readonly I: typeof DeviceAuthorizationRequest;
20
+ readonly O: typeof DeviceAuthorizationResponse;
21
+ readonly kind: MethodKind.Unary;
22
+ };
23
+ /**
24
+ * DeviceAccessToken is polled after a successful call to DeviceAuthorization
25
+ * awaiting the verification_uri_complete to have been followed allowing this
26
+ * RPC to return a BearerToken response.
27
+ *
28
+ * @generated from rpc liquidmetal.v1alpha1.RainbowAuthService.DeviceAccessToken
29
+ */
30
+ readonly deviceAccessToken: {
31
+ readonly name: "DeviceAccessToken";
32
+ readonly I: typeof DeviceAccessTokenRequest;
33
+ readonly O: typeof DeviceAccessTokenResponse;
34
+ readonly kind: MethodKind.Unary;
35
+ };
36
+ /**
37
+ * RefreshAccessToken is invoked when the access token expires.
38
+ *
39
+ * @generated from rpc liquidmetal.v1alpha1.RainbowAuthService.RefreshAccessToken
40
+ */
41
+ readonly refreshAccessToken: {
42
+ readonly name: "RefreshAccessToken";
43
+ readonly I: typeof RefreshAccessTokenRequest;
44
+ readonly O: typeof RefreshAccessTokenResponse;
45
+ readonly kind: MethodKind.Unary;
46
+ };
47
+ };
48
+ };
49
+ //# sourceMappingURL=rainbow_auth_connect.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rainbow_auth_connect.d.ts","sourceRoot":"","sources":["../../../src/liquidmetal/v1alpha1/rainbow_auth_connect.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,wBAAwB,EAAE,yBAAyB,EAAE,0BAA0B,EAAE,2BAA2B,EAAE,yBAAyB,EAAE,0BAA0B,EAAE,MAAM,sBAAsB,CAAC;AAC3M,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD;;GAEG;AACH,eAAO,MAAM,kBAAkB;;;QAG3B;;;;;;;WAOG;;;;;;;QAOH;;;;;;WAMG;;;;;;;QAOH;;;;WAIG;;;;;;;;CAQG,CAAC"}
@@ -0,0 +1,52 @@
1
+ // @generated by protoc-gen-connect-es v1.4.0 with parameter "target=ts,import_extension=.js"
2
+ // @generated from file liquidmetal/v1alpha1/rainbow_auth.proto (package liquidmetal.v1alpha1, syntax proto3)
3
+ /* eslint-disable */
4
+ // @ts-nocheck
5
+ import { DeviceAccessTokenRequest, DeviceAccessTokenResponse, DeviceAuthorizationRequest, DeviceAuthorizationResponse, RefreshAccessTokenRequest, RefreshAccessTokenResponse } from "./rainbow_auth_pb.js";
6
+ import { MethodKind } from "@bufbuild/protobuf";
7
+ /**
8
+ * @generated from service liquidmetal.v1alpha1.RainbowAuthService
9
+ */
10
+ export const RainbowAuthService = {
11
+ typeName: "liquidmetal.v1alpha1.RainbowAuthService",
12
+ methods: {
13
+ /**
14
+ * DeviceAuthorization is similar to the RFC8628 Device Authorization Request
15
+ * and Response.
16
+ *
17
+ * https://datatracker.ietf.org/doc/html/rfc8628#section-3.1
18
+ *
19
+ * @generated from rpc liquidmetal.v1alpha1.RainbowAuthService.DeviceAuthorization
20
+ */
21
+ deviceAuthorization: {
22
+ name: "DeviceAuthorization",
23
+ I: DeviceAuthorizationRequest,
24
+ O: DeviceAuthorizationResponse,
25
+ kind: MethodKind.Unary,
26
+ },
27
+ /**
28
+ * DeviceAccessToken is polled after a successful call to DeviceAuthorization
29
+ * awaiting the verification_uri_complete to have been followed allowing this
30
+ * RPC to return a BearerToken response.
31
+ *
32
+ * @generated from rpc liquidmetal.v1alpha1.RainbowAuthService.DeviceAccessToken
33
+ */
34
+ deviceAccessToken: {
35
+ name: "DeviceAccessToken",
36
+ I: DeviceAccessTokenRequest,
37
+ O: DeviceAccessTokenResponse,
38
+ kind: MethodKind.Unary,
39
+ },
40
+ /**
41
+ * RefreshAccessToken is invoked when the access token expires.
42
+ *
43
+ * @generated from rpc liquidmetal.v1alpha1.RainbowAuthService.RefreshAccessToken
44
+ */
45
+ refreshAccessToken: {
46
+ name: "RefreshAccessToken",
47
+ I: RefreshAccessTokenRequest,
48
+ O: RefreshAccessTokenResponse,
49
+ kind: MethodKind.Unary,
50
+ },
51
+ }
52
+ };
@@ -0,0 +1,271 @@
1
+ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
2
+ import { Duration, Message, proto3, Timestamp } from "@bufbuild/protobuf";
3
+ /**
4
+ * @generated from message liquidmetal.v1alpha1.DeviceAuthorizationRequest
5
+ */
6
+ export declare class DeviceAuthorizationRequest extends Message<DeviceAuthorizationRequest> {
7
+ /**
8
+ * client_id should be the application name and version e.g. raindrop@v1.0.0
9
+ *
10
+ * @generated from field: string client_id = 1;
11
+ */
12
+ clientId: string;
13
+ constructor(data?: PartialMessage<DeviceAuthorizationRequest>);
14
+ static readonly runtime: typeof proto3;
15
+ static readonly typeName = "liquidmetal.v1alpha1.DeviceAuthorizationRequest";
16
+ static readonly fields: FieldList;
17
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeviceAuthorizationRequest;
18
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeviceAuthorizationRequest;
19
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeviceAuthorizationRequest;
20
+ static equals(a: DeviceAuthorizationRequest | PlainMessage<DeviceAuthorizationRequest> | undefined, b: DeviceAuthorizationRequest | PlainMessage<DeviceAuthorizationRequest> | undefined): boolean;
21
+ }
22
+ /**
23
+ * @generated from message liquidmetal.v1alpha1.DeviceAuthorizationResponse
24
+ */
25
+ export declare class DeviceAuthorizationResponse extends Message<DeviceAuthorizationResponse> {
26
+ /**
27
+ * device_code is a name from RFC8628 that will be used by the invoker of
28
+ * DeviceAuthorization to continuously poll to see if the authorization has
29
+ * been granted.
30
+ *
31
+ * @generated from field: string device_code = 1;
32
+ */
33
+ deviceCode: string;
34
+ /**
35
+ * verification_uri_complete is a URL that the caller should visit in order to
36
+ * initiate a login flow through a browser that will result in the device_code
37
+ * being associated with the login.
38
+ *
39
+ * as we do not support low-fidelity devices, we do not expose the RFC8628
40
+ * user_code nor the verification_uri. It is expected that the device can
41
+ * render a complex uri that the user can either click on or use a QR code
42
+ * scanner to complete rather than providing user-friendly small-length
43
+ * characters to type manually.
44
+ *
45
+ * @generated from field: string verification_uri_complete = 2;
46
+ */
47
+ verificationUriComplete: string;
48
+ /**
49
+ * expires_at is when the device code is marked as expired
50
+ *
51
+ * @generated from field: google.protobuf.Timestamp expires_at = 3;
52
+ */
53
+ expiresAt?: Timestamp;
54
+ /**
55
+ * interval is the minimum amount of time that the client should wait between
56
+ * polling requests
57
+ *
58
+ * @generated from field: google.protobuf.Duration interval = 4;
59
+ */
60
+ interval?: Duration;
61
+ constructor(data?: PartialMessage<DeviceAuthorizationResponse>);
62
+ static readonly runtime: typeof proto3;
63
+ static readonly typeName = "liquidmetal.v1alpha1.DeviceAuthorizationResponse";
64
+ static readonly fields: FieldList;
65
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeviceAuthorizationResponse;
66
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeviceAuthorizationResponse;
67
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeviceAuthorizationResponse;
68
+ static equals(a: DeviceAuthorizationResponse | PlainMessage<DeviceAuthorizationResponse> | undefined, b: DeviceAuthorizationResponse | PlainMessage<DeviceAuthorizationResponse> | undefined): boolean;
69
+ }
70
+ /**
71
+ * @generated from message liquidmetal.v1alpha1.DeviceAccessTokenRequest
72
+ */
73
+ export declare class DeviceAccessTokenRequest extends Message<DeviceAccessTokenRequest> {
74
+ /**
75
+ * @generated from field: string device_code = 1;
76
+ */
77
+ deviceCode: string;
78
+ constructor(data?: PartialMessage<DeviceAccessTokenRequest>);
79
+ static readonly runtime: typeof proto3;
80
+ static readonly typeName = "liquidmetal.v1alpha1.DeviceAccessTokenRequest";
81
+ static readonly fields: FieldList;
82
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeviceAccessTokenRequest;
83
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeviceAccessTokenRequest;
84
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeviceAccessTokenRequest;
85
+ static equals(a: DeviceAccessTokenRequest | PlainMessage<DeviceAccessTokenRequest> | undefined, b: DeviceAccessTokenRequest | PlainMessage<DeviceAccessTokenRequest> | undefined): boolean;
86
+ }
87
+ /**
88
+ * @generated from message liquidmetal.v1alpha1.DeviceAccessTokenResponse
89
+ */
90
+ export declare class DeviceAccessTokenResponse extends Message<DeviceAccessTokenResponse> {
91
+ /**
92
+ * @generated from oneof liquidmetal.v1alpha1.DeviceAccessTokenResponse.response
93
+ */
94
+ response: {
95
+ /**
96
+ * authorization_pending is returned when it is acceptable to continue
97
+ * polling for a token but the login has not yet completed.
98
+ *
99
+ * @generated from field: liquidmetal.v1alpha1.AuthorizationPending authorization_pending = 1;
100
+ */
101
+ value: AuthorizationPending;
102
+ case: "authorizationPending";
103
+ } | {
104
+ /**
105
+ * bearer_token is a successful authorization where access may be granted by
106
+ * providing the access_token as a Bearer authentication header.
107
+ *
108
+ * @generated from field: liquidmetal.v1alpha1.BearerToken bearer_token = 2;
109
+ */
110
+ value: BearerToken;
111
+ case: "bearerToken";
112
+ } | {
113
+ case: undefined;
114
+ value?: undefined;
115
+ };
116
+ constructor(data?: PartialMessage<DeviceAccessTokenResponse>);
117
+ static readonly runtime: typeof proto3;
118
+ static readonly typeName = "liquidmetal.v1alpha1.DeviceAccessTokenResponse";
119
+ static readonly fields: FieldList;
120
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeviceAccessTokenResponse;
121
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeviceAccessTokenResponse;
122
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeviceAccessTokenResponse;
123
+ static equals(a: DeviceAccessTokenResponse | PlainMessage<DeviceAccessTokenResponse> | undefined, b: DeviceAccessTokenResponse | PlainMessage<DeviceAccessTokenResponse> | undefined): boolean;
124
+ }
125
+ /**
126
+ * @generated from message liquidmetal.v1alpha1.RefreshAccessTokenRequest
127
+ */
128
+ export declare class RefreshAccessTokenRequest extends Message<RefreshAccessTokenRequest> {
129
+ /**
130
+ * @generated from field: string refresh_token = 1;
131
+ */
132
+ refreshToken: string;
133
+ /**
134
+ * @generated from field: string organization_id = 2;
135
+ */
136
+ organizationId: string;
137
+ constructor(data?: PartialMessage<RefreshAccessTokenRequest>);
138
+ static readonly runtime: typeof proto3;
139
+ static readonly typeName = "liquidmetal.v1alpha1.RefreshAccessTokenRequest";
140
+ static readonly fields: FieldList;
141
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RefreshAccessTokenRequest;
142
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RefreshAccessTokenRequest;
143
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RefreshAccessTokenRequest;
144
+ static equals(a: RefreshAccessTokenRequest | PlainMessage<RefreshAccessTokenRequest> | undefined, b: RefreshAccessTokenRequest | PlainMessage<RefreshAccessTokenRequest> | undefined): boolean;
145
+ }
146
+ /**
147
+ * @generated from message liquidmetal.v1alpha1.RefreshAccessTokenResponse
148
+ */
149
+ export declare class RefreshAccessTokenResponse extends Message<RefreshAccessTokenResponse> {
150
+ /**
151
+ * @generated from field: liquidmetal.v1alpha1.BearerToken bearer_token = 1;
152
+ */
153
+ bearerToken?: BearerToken;
154
+ constructor(data?: PartialMessage<RefreshAccessTokenResponse>);
155
+ static readonly runtime: typeof proto3;
156
+ static readonly typeName = "liquidmetal.v1alpha1.RefreshAccessTokenResponse";
157
+ static readonly fields: FieldList;
158
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RefreshAccessTokenResponse;
159
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RefreshAccessTokenResponse;
160
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RefreshAccessTokenResponse;
161
+ static equals(a: RefreshAccessTokenResponse | PlainMessage<RefreshAccessTokenResponse> | undefined, b: RefreshAccessTokenResponse | PlainMessage<RefreshAccessTokenResponse> | undefined): boolean;
162
+ }
163
+ /**
164
+ * @generated from message liquidmetal.v1alpha1.AuthorizationPending
165
+ */
166
+ export declare class AuthorizationPending extends Message<AuthorizationPending> {
167
+ /**
168
+ * interval is the minimum amount of time that the client should wait between
169
+ * polling requests
170
+ *
171
+ * @generated from field: google.protobuf.Duration interval = 1;
172
+ */
173
+ interval?: Duration;
174
+ constructor(data?: PartialMessage<AuthorizationPending>);
175
+ static readonly runtime: typeof proto3;
176
+ static readonly typeName = "liquidmetal.v1alpha1.AuthorizationPending";
177
+ static readonly fields: FieldList;
178
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AuthorizationPending;
179
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AuthorizationPending;
180
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AuthorizationPending;
181
+ static equals(a: AuthorizationPending | PlainMessage<AuthorizationPending> | undefined, b: AuthorizationPending | PlainMessage<AuthorizationPending> | undefined): boolean;
182
+ }
183
+ /**
184
+ * @generated from message liquidmetal.v1alpha1.BearerToken
185
+ */
186
+ export declare class BearerToken extends Message<BearerToken> {
187
+ /**
188
+ * access_token is the string to be provided as a Bearer to APIs
189
+ *
190
+ * @generated from field: string access_token = 1;
191
+ */
192
+ accessToken: string;
193
+ /**
194
+ * access_token_expires_at is when the access token expires (though the
195
+ * access token happens to be a jwt and also includes an expires at field,
196
+ * this allows the client to use the access token without needing to know
197
+ * how to validate or parse it.)
198
+ *
199
+ * @generated from field: google.protobuf.Timestamp access_token_expires_at = 2;
200
+ */
201
+ accessTokenExpiresAt?: Timestamp;
202
+ /**
203
+ * refresh_token is utilized when the access token expires to gain another
204
+ * access token. the value will be provided upon a new grant, and may be
205
+ * omitted upon refresh. whenever the value is provided, any previously stored
206
+ * refresh token must be discarded and replaced by this value.
207
+ *
208
+ * @generated from field: optional string refresh_token = 3;
209
+ */
210
+ refreshToken?: string;
211
+ /**
212
+ * user_id, user_email, organization_id, and organization_name are surfaced
213
+ * for the client to present to the user for choosing which token to utilize
214
+ * or remove for cli use cases.
215
+ *
216
+ * @generated from field: string user_id = 4;
217
+ */
218
+ userId: string;
219
+ /**
220
+ * @generated from field: string user_email = 5;
221
+ */
222
+ userEmail: string;
223
+ /**
224
+ * @generated from field: string organization_id = 6;
225
+ */
226
+ organizationId: string;
227
+ /**
228
+ * @generated from field: string organization_name = 7;
229
+ */
230
+ organizationName: string;
231
+ /**
232
+ * catalog_service_base_url is used by the cli to determine which endpoint to
233
+ * address when speaking to this organization.
234
+ *
235
+ * @generated from field: string catalog_service_base_url = 8;
236
+ */
237
+ catalogServiceBaseUrl: string;
238
+ constructor(data?: PartialMessage<BearerToken>);
239
+ static readonly runtime: typeof proto3;
240
+ static readonly typeName = "liquidmetal.v1alpha1.BearerToken";
241
+ static readonly fields: FieldList;
242
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BearerToken;
243
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BearerToken;
244
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BearerToken;
245
+ static equals(a: BearerToken | PlainMessage<BearerToken> | undefined, b: BearerToken | PlainMessage<BearerToken> | undefined): boolean;
246
+ }
247
+ /**
248
+ * AuthenticationState is serialized and provided to WorkOS when redirecting the
249
+ * user to complete authentication, this state is then copied forward by WorkOS
250
+ * to the redirectUrl so it can be read again upon successful authentication.
251
+ *
252
+ * @generated from message liquidmetal.v1alpha1.AuthenticationState
253
+ */
254
+ export declare class AuthenticationState extends Message<AuthenticationState> {
255
+ /**
256
+ * device_code is the RFC8628 code that the cli is polling for and the browser
257
+ * needs to know about once authentication from WorkOS completes.
258
+ *
259
+ * @generated from field: string device_code = 1;
260
+ */
261
+ deviceCode: string;
262
+ constructor(data?: PartialMessage<AuthenticationState>);
263
+ static readonly runtime: typeof proto3;
264
+ static readonly typeName = "liquidmetal.v1alpha1.AuthenticationState";
265
+ static readonly fields: FieldList;
266
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AuthenticationState;
267
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AuthenticationState;
268
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AuthenticationState;
269
+ static equals(a: AuthenticationState | PlainMessage<AuthenticationState> | undefined, b: AuthenticationState | PlainMessage<AuthenticationState> | undefined): boolean;
270
+ }
271
+ //# sourceMappingURL=rainbow_auth_pb.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rainbow_auth_pb.d.ts","sourceRoot":"","sources":["../../../src/liquidmetal/v1alpha1/rainbow_auth_pb.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,iBAAiB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