@replit/protocol 0.4.20 → 0.4.22

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 (55) hide show
  1. package/README.md +54 -0
  2. package/dist/api/client.d.ts +202 -0
  3. package/dist/api/client.d.ts.map +1 -0
  4. package/dist/api/client.js +394 -0
  5. package/dist/api/features/features.d.ts +112 -0
  6. package/dist/api/features/features.d.ts.map +1 -0
  7. package/dist/api/features/features.js +199 -0
  8. package/dist/api/lore/lore.d.ts +543 -0
  9. package/dist/api/lore/lore.d.ts.map +1 -0
  10. package/dist/api/lore/lore.js +982 -0
  11. package/dist/api/lore/service.client.d.ts +283 -0
  12. package/dist/api/lore/service.client.d.ts.map +1 -0
  13. package/dist/api/lore/service.client.js +172 -0
  14. package/dist/api/lore/service.d.ts +1100 -0
  15. package/dist/api/lore/service.d.ts.map +1 -0
  16. package/dist/api/lore/service.js +2279 -0
  17. package/dist/api/powerup.d.ts +147 -0
  18. package/dist/api/powerup.d.ts.map +1 -0
  19. package/dist/api/powerup.js +286 -0
  20. package/dist/api/repl/repl.d.ts +552 -0
  21. package/dist/api/repl/repl.d.ts.map +1 -0
  22. package/dist/api/repl/repl.js +787 -0
  23. package/dist/api/signing.d.ts +618 -0
  24. package/dist/api/signing.d.ts.map +1 -0
  25. package/dist/api/signing.js +785 -0
  26. package/dist/api/token/token.d.ts +335 -0
  27. package/dist/api/token/token.d.ts.map +1 -0
  28. package/dist/api/token/token.js +463 -0
  29. package/dist/api/types.d.ts +8629 -0
  30. package/dist/api/types.d.ts.map +1 -0
  31. package/dist/api/types.js +17225 -0
  32. package/dist/google/protobuf/empty.d.ts +31 -0
  33. package/dist/google/protobuf/empty.d.ts.map +1 -0
  34. package/dist/google/protobuf/empty.js +41 -0
  35. package/dist/google/protobuf/field_mask.d.ts +239 -0
  36. package/dist/google/protobuf/field_mask.d.ts.map +1 -0
  37. package/dist/google/protobuf/field_mask.js +83 -0
  38. package/dist/google/protobuf/struct.d.ts +186 -0
  39. package/dist/google/protobuf/struct.d.ts.map +1 -0
  40. package/dist/google/protobuf/struct.js +337 -0
  41. package/dist/google/protobuf/timestamp.d.ts +156 -0
  42. package/dist/google/protobuf/timestamp.d.ts.map +1 -0
  43. package/dist/google/protobuf/timestamp.js +132 -0
  44. package/dist/index.d.ts +13 -0
  45. package/dist/index.d.ts.map +1 -0
  46. package/dist/index.js +16 -0
  47. package/dist/package.json +3 -0
  48. package/iotester/index.d.ts +6 -6
  49. package/iotester/index.js +25 -12
  50. package/main/index.d.ts +6 -6
  51. package/main/index.js +25 -12
  52. package/package.json +43 -4
  53. package/gen.sh +0 -51
  54. package/jsdoc.js +0 -171
  55. package/pnpm-workspace.yaml +0 -6
@@ -0,0 +1,618 @@
1
+ import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
2
+ import type { IBinaryWriter } from "@protobuf-ts/runtime";
3
+ import type { BinaryReadOptions } from "@protobuf-ts/runtime";
4
+ import type { IBinaryReader } from "@protobuf-ts/runtime";
5
+ import type { PartialMessage } from "@protobuf-ts/runtime";
6
+ import { MessageType } from "@protobuf-ts/runtime";
7
+ import { BuildInfo } from "./repl/repl.js";
8
+ import { ReplToken } from "./token/token.js";
9
+ import { Timestamp } from "../google/protobuf/timestamp.js";
10
+ import { Org } from "./repl/repl.js";
11
+ /**
12
+ * GovalSigningAuthority is information about a goval token, that can be used to
13
+ * validate it. It is stored in the footer of the PASETO.
14
+ *
15
+ * @generated from protobuf message replit.goval.api.GovalSigningAuthority
16
+ */
17
+ export interface GovalSigningAuthority {
18
+ /**
19
+ * @generated from protobuf oneof: cert
20
+ */
21
+ cert: {
22
+ oneofKind: "keyId";
23
+ /**
24
+ * The ID of the root public key that was used to sign the token.
25
+ *
26
+ * @generated from protobuf field: string key_id = 1
27
+ */
28
+ keyId: string;
29
+ } | {
30
+ oneofKind: "signedCert";
31
+ /**
32
+ * A signed PASETO with a GovalCert in the body and the
33
+ * GovalSigningAuthority used to sign the body in the footer.
34
+ *
35
+ * @generated from protobuf field: string signed_cert = 2
36
+ */
37
+ signedCert: string;
38
+ } | {
39
+ oneofKind: undefined;
40
+ };
41
+ /**
42
+ * An enum detailing how the body of the PASETO this is a footer of should
43
+ * be decoded
44
+ *
45
+ * @generated from protobuf field: replit.goval.api.TokenVersion version = 3
46
+ */
47
+ version: TokenVersion;
48
+ /**
49
+ * A string containing the issuer of a token. This is used to track who is
50
+ * sending tokens with a particular key id, so that we can rotate safely.
51
+ *
52
+ * @generated from protobuf field: string issuer = 4
53
+ */
54
+ issuer: string;
55
+ }
56
+ /**
57
+ * Claims are actions that a cert is allowed to do. Claims can be repeated (e.g.
58
+ * to allow a cert to apply to multiple replids or users).
59
+ *
60
+ * Claims should be enforced on certificates by ensuring that certificates
61
+ * are signed by a certificate that has a superset of claims.
62
+ *
63
+ * When a cert is used to sign a message, it is the responsibility of the
64
+ * service validating the message to ensure that any requests in the message are
65
+ * backed up by claims in the certificate. Claims in a single certificate should
66
+ * be interpreted as a union (e.g. if replid and user is set, the token may
67
+ * apply to any repls owned by the user, or any repls in replid, regardless of
68
+ * the owner).
69
+ *
70
+ * @generated from protobuf message replit.goval.api.CertificateClaim
71
+ */
72
+ export interface CertificateClaim {
73
+ /**
74
+ * @generated from protobuf oneof: claim
75
+ */
76
+ claim: {
77
+ oneofKind: "replid";
78
+ /**
79
+ * This cert has the authority to sign messages on behalf of a replid
80
+ *
81
+ * @generated from protobuf field: string replid = 1
82
+ */
83
+ replid: string;
84
+ } | {
85
+ oneofKind: "user";
86
+ /**
87
+ * This cert has the authority to sign messages on behalf of a user
88
+ *
89
+ * @generated from protobuf field: string user = 2
90
+ */
91
+ user: string;
92
+ } | {
93
+ oneofKind: "userId";
94
+ /**
95
+ * This cert has the authority to sign messages on behalf of a user id
96
+ *
97
+ * @generated from protobuf field: int64 user_id = 7
98
+ */
99
+ userId: bigint;
100
+ } | {
101
+ oneofKind: "org";
102
+ /**
103
+ * This cert has the authority to sign messages on behalf of an org
104
+ *
105
+ * @generated from protobuf field: replit.goval.api.repl.Org org = 8
106
+ */
107
+ org: Org;
108
+ } | {
109
+ oneofKind: "cluster";
110
+ /**
111
+ * This cert has the authority to sign messages in a certain cluster
112
+ *
113
+ * @generated from protobuf field: string cluster = 4
114
+ */
115
+ cluster: string;
116
+ } | {
117
+ oneofKind: "subcluster";
118
+ /**
119
+ * This cert has the authority to sign messages in a certain subcluster
120
+ *
121
+ * @generated from protobuf field: string subcluster = 5
122
+ */
123
+ subcluster: string;
124
+ } | {
125
+ oneofKind: "deployment";
126
+ /**
127
+ * This cert has the authority to sign messages that claim to come from a
128
+ * deployment.
129
+ *
130
+ * @generated from protobuf field: bool deployment = 6
131
+ */
132
+ deployment: boolean;
133
+ } | {
134
+ oneofKind: "flag";
135
+ /**
136
+ * This cert has the authority to perform an action as described in
137
+ * FlagClaim
138
+ *
139
+ * @generated from protobuf field: replit.goval.api.FlagClaim flag = 3
140
+ */
141
+ flag: FlagClaim;
142
+ } | {
143
+ oneofKind: undefined;
144
+ };
145
+ }
146
+ /**
147
+ * GovalCert provides a mechanism of establishing a chain of trust without
148
+ * requiring a single private key to be duplciated to all services that send
149
+ * messages. The processes of generating intermediate certs is as follows:
150
+ * - A PASETO `v2.public` root keypair is generated and added to GSM with an
151
+ * arbitrary key id.
152
+ * - The root public key id is encoded in a GovalSigningAuthority
153
+ * - An intermediate PASETO `v2.public` keypair is generated
154
+ * - The intermediate public key is encoded in a GovalCert, along with
155
+ * information about the lifetime and claims of that cert.
156
+ * - The GovalCert is encoded in the body of a PASETO and signed with the root
157
+ * private key. The root signing authority is inserted into the footer of the
158
+ * PASETO to use for validation.
159
+ * - This signed PASETO is encoded in another GovalSigningAuthority and appended
160
+ * as the footer of PASETOs signed by the intermediate private key.
161
+ * Additional intermediate certs can be generated and signed by private key and
162
+ * signing authority of the previous cert.
163
+ *
164
+ * When validating a chain of certs, the footer of each wrapped PASETO is
165
+ * recursed until reaching a root key id. The body of that PASETO is
166
+ * validated with the root public key. The body is decoded into a GovalCert,
167
+ * its lifetime is checked, and the public key is pulled out and used to
168
+ * validate the next PASETO, continuing back up the chain. At each step along
169
+ * the chain (except for the root), the claims of a certificate must be verified
170
+ * to be a subset of the claims of the certificate signing it.
171
+ *
172
+ * @generated from protobuf message replit.goval.api.GovalCert
173
+ */
174
+ export interface GovalCert {
175
+ /**
176
+ * Issue timestamp. Equivalent to JWT's "iat" (Issued At) claim. Tokens with
177
+ * no `iat` field will be treated as if they had been issed at the UNIX epoch
178
+ * (1970-01-01T00:00:00Z).
179
+ *
180
+ * @generated from protobuf field: google.protobuf.Timestamp iat = 1
181
+ */
182
+ iat?: Timestamp;
183
+ /**
184
+ * Expiration timestamp. Equivalent to JWT's "exp" (Expiration Time) Claim.
185
+ * If unset, will default to one hour after `iat`.
186
+ *
187
+ * @generated from protobuf field: google.protobuf.Timestamp exp = 2
188
+ */
189
+ exp?: Timestamp;
190
+ /**
191
+ * A list of claims this cert can authorize
192
+ *
193
+ * @generated from protobuf field: repeated replit.goval.api.CertificateClaim claims = 3
194
+ */
195
+ claims: CertificateClaim[];
196
+ /**
197
+ * The PASETO `v2.public` (Ed25519) public key authorized to sign requests in
198
+ * this scope. Must be encoded in either PASERK SID or a PEM PUBLIC KEY
199
+ * block. (This key is usally generated in nodejs, and nodejs does not
200
+ * provide an interface to get the raw key bytes)
201
+ *
202
+ * @generated from protobuf field: string publicKey = 4
203
+ */
204
+ publicKey: string;
205
+ }
206
+ /**
207
+ * A GovalToken should be the body of any PASETO we send
208
+ *
209
+ * @generated from protobuf message replit.goval.api.GovalToken
210
+ */
211
+ export interface GovalToken {
212
+ /**
213
+ * Issue timestamp. Equivalent to JWT's "iat" (Issued At) claim. Tokens with
214
+ * no `iat` field will be treated as if they had been issed at the UNIX epoch
215
+ * (1970-01-01T00:00:00Z).
216
+ *
217
+ * @generated from protobuf field: google.protobuf.Timestamp iat = 1
218
+ */
219
+ iat?: Timestamp;
220
+ /**
221
+ * Expiration timestamp. Equivalent to JWT's "exp" (Expiration Time) Claim.
222
+ * If unset, will default to one hour after `iat`.
223
+ *
224
+ * @generated from protobuf field: google.protobuf.Timestamp exp = 2
225
+ */
226
+ exp?: Timestamp;
227
+ /**
228
+ * Tokens are only allowed to act for a single repl, replid is the repl that
229
+ * this token is authorized for. The validator must check that the replid of
230
+ * this token agrees with the claims in any of the certs signing it.
231
+ *
232
+ * @generated from protobuf field: string replid = 3
233
+ */
234
+ replid: string;
235
+ /**
236
+ * The token body, all future tokens should rely on the information in
237
+ * GovalToken to establish basic validity, and should only add additional
238
+ * fields. ReplToken has its own iat, exp, and replid for legacy reasons.
239
+ *
240
+ * @generated from protobuf oneof: Token
241
+ */
242
+ token: {
243
+ oneofKind: "replToken";
244
+ /**
245
+ * This token is used to authorize a request to create a repl in goval
246
+ *
247
+ * @generated from protobuf field: replit.goval.api.token.ReplToken repl_token = 4
248
+ */
249
+ replToken: ReplToken;
250
+ } | {
251
+ oneofKind: "replIdentity";
252
+ /**
253
+ * This token is used to prove a Repl's identity.
254
+ *
255
+ * @generated from protobuf field: replit.goval.api.GovalReplIdentity repl_identity = 5
256
+ */
257
+ replIdentity: GovalReplIdentity;
258
+ } | {
259
+ oneofKind: undefined;
260
+ };
261
+ }
262
+ /**
263
+ * A GovalReplIdentity is used in identity PASETO tokens which are used for
264
+ * authentication between repls.
265
+ *
266
+ * @generated from protobuf message replit.goval.api.GovalReplIdentity
267
+ */
268
+ export interface GovalReplIdentity {
269
+ /**
270
+ * This identity has this Repl ID
271
+ *
272
+ * @generated from protobuf field: string replid = 1
273
+ */
274
+ replid: string;
275
+ /**
276
+ * This identity is in the context of this user
277
+ *
278
+ * @generated from protobuf field: string user = 2
279
+ */
280
+ user: string;
281
+ /**
282
+ * This repl has this slug
283
+ *
284
+ * @generated from protobuf field: string slug = 3
285
+ */
286
+ slug: string;
287
+ /**
288
+ * If set, this token can only be consumed by this a Repl with this Repl ID.
289
+ * Equivalent to JWT's "aud" (Audience) claim.
290
+ *
291
+ * @generated from protobuf field: string aud = 4
292
+ */
293
+ aud: string;
294
+ /**
295
+ * If true, this token is generated in an ephemeral environment (such as
296
+ * a guest fork). Systems can use this to potentially reject ephemeral tokens
297
+ * if that makes sense for their API.
298
+ *
299
+ * @generated from protobuf field: bool ephemeral = 5
300
+ */
301
+ ephemeral: boolean;
302
+ /**
303
+ * This identity is forked from this Repl ID.
304
+ * This is set for "guest forks", where server(s) might need to know the
305
+ * original repl's ID despite the running environment being a fork.
306
+ *
307
+ * @generated from protobuf field: string originReplid = 6
308
+ */
309
+ originReplid: string;
310
+ /**
311
+ * same as the `user` field, but it's the ID instead of the username
312
+ *
313
+ * @generated from protobuf field: int64 user_id = 7
314
+ */
315
+ userId: bigint;
316
+ /**
317
+ * If this is a build repl for a hosting deployment, include extra
318
+ * information about the specs of the build
319
+ *
320
+ * @generated from protobuf field: replit.goval.api.repl.BuildInfo build_info = 8
321
+ */
322
+ buildInfo?: BuildInfo;
323
+ /**
324
+ * A boolean indicating if the owner of the repl is a team.
325
+ *
326
+ * @generated from protobuf field: bool is_team = 9
327
+ */
328
+ isTeam: boolean;
329
+ /**
330
+ * A list of roles for the user who owns the repl.
331
+ *
332
+ * @generated from protobuf field: repeated string roles = 10
333
+ */
334
+ roles: string[];
335
+ /**
336
+ * Runtime information about the Repl.
337
+ *
338
+ * @generated from protobuf oneof: runtime
339
+ */
340
+ runtime: {
341
+ oneofKind: "interactive";
342
+ /**
343
+ * This is set if the Repl is running interactively. This is not set when
344
+ * the Repl is running in hosting.
345
+ *
346
+ * @generated from protobuf field: replit.goval.api.ReplRuntimeInteractive interactive = 11
347
+ */
348
+ interactive: ReplRuntimeInteractive;
349
+ } | {
350
+ oneofKind: "hosting";
351
+ /**
352
+ * This is set if the Repl is running in a hosting subcluster.
353
+ *
354
+ * @generated from protobuf field: replit.goval.api.ReplRuntimeHosting hosting = 13
355
+ */
356
+ hosting: ReplRuntimeHosting;
357
+ } | {
358
+ oneofKind: "deployment";
359
+ /**
360
+ * This is set if the Repl is running in a Deployment.
361
+ *
362
+ * @generated from protobuf field: replit.goval.api.ReplRuntimeDeployment deployment = 12
363
+ */
364
+ deployment: ReplRuntimeDeployment;
365
+ } | {
366
+ oneofKind: undefined;
367
+ };
368
+ /**
369
+ * The organization that owns the Repl
370
+ *
371
+ * @generated from protobuf field: replit.goval.api.repl.Org org = 14
372
+ */
373
+ org?: Org;
374
+ }
375
+ /**
376
+ * @generated from protobuf message replit.goval.api.ReplRuntimeInteractive
377
+ */
378
+ export interface ReplRuntimeInteractive {
379
+ /**
380
+ * The cluster in which this Repl is running.
381
+ *
382
+ * @generated from protobuf field: string cluster = 1
383
+ */
384
+ cluster: string;
385
+ /**
386
+ * The subcluster in which this Repl is running.
387
+ *
388
+ * @generated from protobuf field: string subcluster = 2
389
+ */
390
+ subcluster: string;
391
+ }
392
+ /**
393
+ * @generated from protobuf message replit.goval.api.ReplRuntimeHosting
394
+ */
395
+ export interface ReplRuntimeHosting {
396
+ /**
397
+ * The cluster in which this Repl is running.
398
+ *
399
+ * @generated from protobuf field: string cluster = 1
400
+ */
401
+ cluster: string;
402
+ /**
403
+ * The subcluster in which this Repl is running.
404
+ *
405
+ * @generated from protobuf field: string subcluster = 2
406
+ */
407
+ subcluster: string;
408
+ }
409
+ /**
410
+ * @generated from protobuf message replit.goval.api.ReplRuntimeDeployment
411
+ */
412
+ export interface ReplRuntimeDeployment {
413
+ }
414
+ /**
415
+ * @generated from protobuf enum replit.goval.api.TokenVersion
416
+ */
417
+ export declare enum TokenVersion {
418
+ /**
419
+ * Body contains are bare ReplToken and must be decoded explicitly
420
+ *
421
+ * @generated from protobuf enum value: BARE_REPL_TOKEN = 0;
422
+ */
423
+ BARE_REPL_TOKEN = 0,
424
+ /**
425
+ * Body contains a GovalToken and can be interrogated about the type of its
426
+ * own message
427
+ *
428
+ * @generated from protobuf enum value: TYPE_AWARE_TOKEN = 1;
429
+ */
430
+ TYPE_AWARE_TOKEN = 1
431
+ }
432
+ /**
433
+ * @generated from protobuf enum replit.goval.api.FlagClaim
434
+ */
435
+ export declare enum FlagClaim {
436
+ /**
437
+ * Cert has the authority to sign ReplToken messages that can be validated
438
+ * by goval
439
+ *
440
+ * @generated from protobuf enum value: MINT_GOVAL_TOKEN = 0;
441
+ */
442
+ MINT_GOVAL_TOKEN = 0,
443
+ /**
444
+ * Cert has the authority to sign additional intermediate certs. (The claims
445
+ * on intermediate certs signed by this cert are still enforced.)
446
+ *
447
+ * @generated from protobuf enum value: SIGN_INTERMEDIATE_CERT = 1;
448
+ */
449
+ SIGN_INTERMEDIATE_CERT = 1,
450
+ /**
451
+ * Cert has the authority to sign GovalToken messages that can prove identity.
452
+ *
453
+ * @generated from protobuf enum value: IDENTITY = 5;
454
+ */
455
+ IDENTITY = 5,
456
+ /**
457
+ * Cert has the authority to sign GovalToken messages that authorizes the
458
+ * bearer to use Ghostwriter.
459
+ *
460
+ * @generated from protobuf enum value: GHOSTWRITER = 6;
461
+ */
462
+ GHOSTWRITER = 6,
463
+ /**
464
+ * Cert has ability to mint Repl Identity tokens
465
+ *
466
+ * @generated from protobuf enum value: RENEW_IDENTITY = 7;
467
+ */
468
+ RENEW_IDENTITY = 7,
469
+ /**
470
+ * Cert has abilit to mint Repl KV tokens
471
+ *
472
+ * @generated from protobuf enum value: RENEW_KV = 8;
473
+ */
474
+ RENEW_KV = 8,
475
+ /**
476
+ * Cert has the authority to sign ReplToken messages that claim to come from
477
+ * Deployments. If this claim is not set, the cert will only be able to emit
478
+ * tokens only for interactive Repls.
479
+ *
480
+ * @generated from protobuf enum value: DEPLOYMENTS = 10;
481
+ */
482
+ DEPLOYMENTS = 10,
483
+ /**
484
+ * Cert has the authority to sign ReplToken messages for any ReplID. If this
485
+ * claim is not set, the cert will only be able to emit tokens only for the
486
+ * list explicitly enumerated by the other claims. If that list is empty, the
487
+ * cert has no ability to sign any tokens.
488
+ *
489
+ * @generated from protobuf enum value: ANY_REPLID = 2;
490
+ */
491
+ ANY_REPLID = 2,
492
+ /**
493
+ * Cert has the authority to sign ReplToken messages for any user. If this
494
+ * claim is not set, the cert will only be able to emit tokens only for the
495
+ * list explicitly enumerated by the other claims. If that list is empty, the
496
+ * cert has no ability to sign any tokens.
497
+ *
498
+ * @generated from protobuf enum value: ANY_USER = 3;
499
+ */
500
+ ANY_USER = 3,
501
+ /**
502
+ * Cert has the authority to sign ReplToken messages for any user id. If this
503
+ * claim is not set, the cert will only be able to emit tokens only for the
504
+ * list explicitly enumerated by the other claims. If that list is empty, the
505
+ * cert has no ability to sign any tokens that have a user id.
506
+ *
507
+ * @generated from protobuf enum value: ANY_USER_ID = 11;
508
+ */
509
+ ANY_USER_ID = 11,
510
+ /**
511
+ * Cert has the authority to sign ReplToken messages for any org. If this
512
+ * claim is not set, the cert will only be able to emit tokens only for the
513
+ * list explicitly enumerated by the other claims. If that list is empty, the
514
+ * cert has no ability to sign any tokens that have an org.
515
+ *
516
+ * @generated from protobuf enum value: ANY_ORG = 12;
517
+ */
518
+ ANY_ORG = 12,
519
+ /**
520
+ * Cert has the authority to sign ReplToken messages for any cluster. If this
521
+ * claim is not set, the cert will only be able to emit tokens only for the
522
+ * list explicitly enumerated by the other claims. If that list is empty, the
523
+ * cert has no ability to sign any tokens.
524
+ *
525
+ * @generated from protobuf enum value: ANY_CLUSTER = 4;
526
+ */
527
+ ANY_CLUSTER = 4,
528
+ /**
529
+ * Cert has the authority to sign ReplToken messages for any subcluster. If
530
+ * this claim is not set, the cert will only be able to emit tokens only for
531
+ * the list explicitly enumerated by the other claims. If that list is empty,
532
+ * the cert has no ability to sign any tokens that have a subcluster.
533
+ *
534
+ * @generated from protobuf enum value: ANY_SUBCLUSTER = 9;
535
+ */
536
+ ANY_SUBCLUSTER = 9
537
+ }
538
+ declare class GovalSigningAuthority$Type extends MessageType<GovalSigningAuthority> {
539
+ constructor();
540
+ create(value?: PartialMessage<GovalSigningAuthority>): GovalSigningAuthority;
541
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GovalSigningAuthority): GovalSigningAuthority;
542
+ internalBinaryWrite(message: GovalSigningAuthority, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
543
+ }
544
+ /**
545
+ * @generated MessageType for protobuf message replit.goval.api.GovalSigningAuthority
546
+ */
547
+ export declare const GovalSigningAuthority: GovalSigningAuthority$Type;
548
+ declare class CertificateClaim$Type extends MessageType<CertificateClaim> {
549
+ constructor();
550
+ create(value?: PartialMessage<CertificateClaim>): CertificateClaim;
551
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CertificateClaim): CertificateClaim;
552
+ internalBinaryWrite(message: CertificateClaim, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
553
+ }
554
+ /**
555
+ * @generated MessageType for protobuf message replit.goval.api.CertificateClaim
556
+ */
557
+ export declare const CertificateClaim: CertificateClaim$Type;
558
+ declare class GovalCert$Type extends MessageType<GovalCert> {
559
+ constructor();
560
+ create(value?: PartialMessage<GovalCert>): GovalCert;
561
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GovalCert): GovalCert;
562
+ internalBinaryWrite(message: GovalCert, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
563
+ }
564
+ /**
565
+ * @generated MessageType for protobuf message replit.goval.api.GovalCert
566
+ */
567
+ export declare const GovalCert: GovalCert$Type;
568
+ declare class GovalToken$Type extends MessageType<GovalToken> {
569
+ constructor();
570
+ create(value?: PartialMessage<GovalToken>): GovalToken;
571
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GovalToken): GovalToken;
572
+ internalBinaryWrite(message: GovalToken, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
573
+ }
574
+ /**
575
+ * @generated MessageType for protobuf message replit.goval.api.GovalToken
576
+ */
577
+ export declare const GovalToken: GovalToken$Type;
578
+ declare class GovalReplIdentity$Type extends MessageType<GovalReplIdentity> {
579
+ constructor();
580
+ create(value?: PartialMessage<GovalReplIdentity>): GovalReplIdentity;
581
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GovalReplIdentity): GovalReplIdentity;
582
+ internalBinaryWrite(message: GovalReplIdentity, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
583
+ }
584
+ /**
585
+ * @generated MessageType for protobuf message replit.goval.api.GovalReplIdentity
586
+ */
587
+ export declare const GovalReplIdentity: GovalReplIdentity$Type;
588
+ declare class ReplRuntimeInteractive$Type extends MessageType<ReplRuntimeInteractive> {
589
+ constructor();
590
+ create(value?: PartialMessage<ReplRuntimeInteractive>): ReplRuntimeInteractive;
591
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ReplRuntimeInteractive): ReplRuntimeInteractive;
592
+ internalBinaryWrite(message: ReplRuntimeInteractive, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
593
+ }
594
+ /**
595
+ * @generated MessageType for protobuf message replit.goval.api.ReplRuntimeInteractive
596
+ */
597
+ export declare const ReplRuntimeInteractive: ReplRuntimeInteractive$Type;
598
+ declare class ReplRuntimeHosting$Type extends MessageType<ReplRuntimeHosting> {
599
+ constructor();
600
+ create(value?: PartialMessage<ReplRuntimeHosting>): ReplRuntimeHosting;
601
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ReplRuntimeHosting): ReplRuntimeHosting;
602
+ internalBinaryWrite(message: ReplRuntimeHosting, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
603
+ }
604
+ /**
605
+ * @generated MessageType for protobuf message replit.goval.api.ReplRuntimeHosting
606
+ */
607
+ export declare const ReplRuntimeHosting: ReplRuntimeHosting$Type;
608
+ declare class ReplRuntimeDeployment$Type extends MessageType<ReplRuntimeDeployment> {
609
+ constructor();
610
+ create(value?: PartialMessage<ReplRuntimeDeployment>): ReplRuntimeDeployment;
611
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ReplRuntimeDeployment): ReplRuntimeDeployment;
612
+ internalBinaryWrite(message: ReplRuntimeDeployment, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
613
+ }
614
+ /**
615
+ * @generated MessageType for protobuf message replit.goval.api.ReplRuntimeDeployment
616
+ */
617
+ export declare const ReplRuntimeDeployment: ReplRuntimeDeployment$Type;
618
+ export {};
@@ -0,0 +1 @@
1
+ {"version":3,"file":"signing.d.ts","sourceRoot":"","sources":["signing.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAE1D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAC9D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAE1D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAE3D,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAC5D,OAAO,EAAE,GAAG,EAAE,MAAM,gBAAgB,CAAC;AACrC;;;;;GAKG;AACH,MAAM,WAAW,qBAAqB;IAClC;;OAEG;IACH,IAAI,EAAE;QACF,SAAS,EAAE,OAAO,CAAC;QACnB;;;;WAIG;QACH,KAAK,EAAE,MAAM,CAAC;KACjB,GAAG;QACA,SAAS,EAAE,YAAY,CAAC;QACxB;;;;;WAKG;QACH,UAAU,EAAE,MAAM,CAAC;KACtB,GAAG;QACA,SAAS,EAAE,SAAS,CAAC;KACxB,CAAC;IACF;;;;;OAKG;IACH,OAAO,EAAE,YAAY,CAAC;IACtB;;;;;OAKG;IACH,MAAM,EAAE,MAAM,CAAC;CAClB;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