@replit/protocol 0.3.1 → 0.3.4

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.
@@ -184,6 +184,7 @@ declare var npm$namespace$replit$goval$api: {|
184
184
  IDotReplitHint: Class<replit$goval$api$IDotReplitHint>,
185
185
  IGitHubImportConfig: Class<replit$goval$api$IGitHubImportConfig>,
186
186
  IDeploymentConfig: Class<replit$goval$api$IDeploymentConfig>,
187
+ IExtensionConfig: Class<replit$goval$api$IExtensionConfig>,
187
188
  INixConfig: Class<replit$goval$api$INixConfig>,
188
189
  IHostingConfig: Class<replit$goval$api$IHostingConfig>,
189
190
  IAuthConfig: Class<replit$goval$api$IAuthConfig>,
@@ -216,6 +217,11 @@ declare var npm$namespace$replit$goval$api: {|
216
217
  ILanguageServerOption: Class<replit$goval$api$ILanguageServerOption>,
217
218
  IFileTypeAttrs: Class<replit$goval$api$IFileTypeAttrs>,
218
219
  IPackagerOption: Class<replit$goval$api$IPackagerOption>,
220
+ IReplDomainDoubleDash: Class<replit$goval$api$IReplDomainDoubleDash>,
221
+ IReplDomainDots: Class<replit$goval$api$IReplDomainDots>,
222
+ IReplDomainSingleDomain: Class<replit$goval$api$IReplDomainSingleDomain>,
223
+ IReplDomainId: Class<replit$goval$api$IReplDomainId>,
224
+ IReplDomain: Class<replit$goval$api$IReplDomain>,
219
225
  IReplToken: Class<replit$goval$api$IReplToken>,
220
226
  ITLSCertificate: Class<replit$goval$api$ITLSCertificate>,
221
227
  IReplTransfer: Class<replit$goval$api$IReplTransfer>,
@@ -396,6 +402,7 @@ declare var npm$namespace$replit$goval$api: {|
396
402
  DotReplitHint: typeof replit$goval$api$DotReplitHint,
397
403
  GitHubImportConfig: typeof replit$goval$api$GitHubImportConfig,
398
404
  DeploymentConfig: typeof replit$goval$api$DeploymentConfig,
405
+ ExtensionConfig: typeof replit$goval$api$ExtensionConfig,
399
406
  NixConfig: typeof replit$goval$api$NixConfig,
400
407
  HostingConfig: typeof replit$goval$api$HostingConfig,
401
408
  AuthConfig: typeof replit$goval$api$AuthConfig,
@@ -428,6 +435,11 @@ declare var npm$namespace$replit$goval$api: {|
428
435
  LanguageServerOption: typeof replit$goval$api$LanguageServerOption,
429
436
  FileTypeAttrs: typeof replit$goval$api$FileTypeAttrs,
430
437
  PackagerOption: typeof replit$goval$api$PackagerOption,
438
+ ReplDomainDoubleDash: typeof replit$goval$api$ReplDomainDoubleDash,
439
+ ReplDomainDots: typeof replit$goval$api$ReplDomainDots,
440
+ ReplDomainSingleDomain: typeof replit$goval$api$ReplDomainSingleDomain,
441
+ ReplDomainId: typeof replit$goval$api$ReplDomainId,
442
+ ReplDomain: typeof replit$goval$api$ReplDomain,
431
443
  ReplToken: typeof replit$goval$api$ReplToken,
432
444
  TLSCertificate: typeof replit$goval$api$TLSCertificate,
433
445
  ReplTransfer: typeof replit$goval$api$ReplTransfer,
@@ -5953,6 +5965,7 @@ declare var replit$goval$api$BootStatus$Stage: {|
5953
5965
  +PROXY: 5, // 5
5954
5966
  +PULL_FILES: 6, // 6
5955
5967
  +LOAD_BLOCK: 7, // 7
5968
+ +BLOCK_MIGRATION: 9, // 9
5956
5969
  +RETRY: 8, // 8
5957
5970
  |};
5958
5971
 
@@ -23599,6 +23612,14 @@ declare type replit$goval$api$IDotReplit = {|
23599
23612
  * DotReplit modules
23600
23613
  */
23601
23614
  modules?: string[] | null,
23615
+
23616
+ /**
23617
+ * DotReplit extension
23618
+ */
23619
+ extension?:
23620
+ | replit$goval$api$ExtensionConfig
23621
+ | replit$goval$api$IExtensionConfig
23622
+ | null,
23602
23623
  |};
23603
23624
 
23604
23625
  /**
@@ -23730,6 +23751,11 @@ declare class replit$goval$api$DotReplit {
23730
23751
  */
23731
23752
  modules: string[];
23732
23753
 
23754
+ /**
23755
+ * DotReplit extension.
23756
+ */
23757
+ extension?: replit$goval$api$ExtensionConfig | null;
23758
+
23733
23759
  /**
23734
23760
  * Creates a new DotReplit instance using the specified properties.
23735
23761
  * @param [properties] Properties to set
@@ -24348,6 +24374,11 @@ declare type replit$goval$api$IDeploymentConfig = {|
24348
24374
  * DeploymentConfig build
24349
24375
  */
24350
24376
  build?: replit$goval$api$Exec | replit$goval$api$IExec | null,
24377
+
24378
+ /**
24379
+ * DeploymentConfig ignorePorts
24380
+ */
24381
+ ignorePorts?: boolean | null,
24351
24382
  |};
24352
24383
 
24353
24384
  /**
@@ -24370,6 +24401,11 @@ declare class replit$goval$api$DeploymentConfig {
24370
24401
  */
24371
24402
  build?: replit$goval$api$Exec | null;
24372
24403
 
24404
+ /**
24405
+ * DeploymentConfig ignorePorts.
24406
+ */
24407
+ ignorePorts: boolean;
24408
+
24373
24409
  /**
24374
24410
  * Creates a new DeploymentConfig instance using the specified properties.
24375
24411
  * @param [properties] Properties to set
@@ -24465,6 +24501,156 @@ declare class replit$goval$api$DeploymentConfig {
24465
24501
  |};
24466
24502
  }
24467
24503
 
24504
+ /**
24505
+ * Properties of an ExtensionConfig.
24506
+ */
24507
+ declare type replit$goval$api$IExtensionConfig = {|
24508
+ /**
24509
+ * ExtensionConfig isExtension
24510
+ */
24511
+ isExtension?: boolean | null,
24512
+
24513
+ /**
24514
+ * ExtensionConfig extensionID
24515
+ */
24516
+ extensionID?: string | null,
24517
+
24518
+ /**
24519
+ * ExtensionConfig buildCommand
24520
+ */
24521
+ buildCommand?: string | null,
24522
+
24523
+ /**
24524
+ * ExtensionConfig outputDirectory
24525
+ */
24526
+ outputDirectory?: string | null,
24527
+ |};
24528
+
24529
+ /**
24530
+ * Represents an ExtensionConfig.
24531
+ */
24532
+ declare class replit$goval$api$ExtensionConfig {
24533
+ /**
24534
+ * Constructs a new ExtensionConfig.
24535
+ * @param [properties] Properties to set
24536
+ */
24537
+ constructor(properties?: replit$goval$api$IExtensionConfig): this;
24538
+
24539
+ /**
24540
+ * ExtensionConfig isExtension.
24541
+ */
24542
+ isExtension: boolean;
24543
+
24544
+ /**
24545
+ * ExtensionConfig extensionID.
24546
+ */
24547
+ extensionID: string;
24548
+
24549
+ /**
24550
+ * ExtensionConfig buildCommand.
24551
+ */
24552
+ buildCommand: string;
24553
+
24554
+ /**
24555
+ * ExtensionConfig outputDirectory.
24556
+ */
24557
+ outputDirectory: string;
24558
+
24559
+ /**
24560
+ * Creates a new ExtensionConfig instance using the specified properties.
24561
+ * @param [properties] Properties to set
24562
+ * @returns ExtensionConfig instance
24563
+ */
24564
+ static create(
24565
+ properties?: replit$goval$api$IExtensionConfig
24566
+ ): replit$goval$api$ExtensionConfig;
24567
+
24568
+ /**
24569
+ * [object Object],[object Object],[object Object]
24570
+ * @param message ExtensionConfig message or plain object to encode
24571
+ * @param [writer] Writer to encode to
24572
+ * @returns Writer
24573
+ */
24574
+ static encode(
24575
+ message: replit$goval$api$ExtensionConfig,
24576
+ writer?: $protobuf.Writer
24577
+ ): $protobuf.Writer;
24578
+
24579
+ /**
24580
+ * [object Object],[object Object],[object Object]
24581
+ * @param message ExtensionConfig message or plain object to encode
24582
+ * @param [writer] Writer to encode to
24583
+ * @returns Writer
24584
+ */
24585
+ static encodeDelimited(
24586
+ message: replit$goval$api$ExtensionConfig,
24587
+ writer?: $protobuf.Writer
24588
+ ): $protobuf.Writer;
24589
+
24590
+ /**
24591
+ * Decodes an ExtensionConfig message from the specified reader or buffer.
24592
+ * @param reader Reader or buffer to decode from
24593
+ * @param [length] Message length if known beforehand
24594
+ * @returns ExtensionConfig
24595
+ * @throws {Error} If the payload is not a reader or valid buffer
24596
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
24597
+ */
24598
+ static decode(
24599
+ reader: $protobuf.Reader | Uint8Array,
24600
+ length?: number
24601
+ ): replit$goval$api$ExtensionConfig;
24602
+
24603
+ /**
24604
+ * Decodes an ExtensionConfig message from the specified reader or buffer, length delimited.
24605
+ * @param reader Reader or buffer to decode from
24606
+ * @returns ExtensionConfig
24607
+ * @throws {Error} If the payload is not a reader or valid buffer
24608
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
24609
+ */
24610
+ static decodeDelimited(
24611
+ reader: $protobuf.Reader | Uint8Array
24612
+ ): replit$goval$api$ExtensionConfig;
24613
+
24614
+ /**
24615
+ * Verifies an ExtensionConfig message.
24616
+ * @param message Plain object to verify
24617
+ * @returns `null` if valid, otherwise the reason why it is not
24618
+ */
24619
+ static verify(message: {|
24620
+ [k: string]: any,
24621
+ |}): string | null;
24622
+
24623
+ /**
24624
+ * Creates an ExtensionConfig message from a plain object. Also converts values to their respective internal types.
24625
+ * @param object Plain object
24626
+ * @returns ExtensionConfig
24627
+ */
24628
+ static fromObject(object: {|
24629
+ [k: string]: any,
24630
+ |}): replit$goval$api$ExtensionConfig;
24631
+
24632
+ /**
24633
+ * Creates a plain object from an ExtensionConfig message. Also converts values to other types if specified.
24634
+ * @param message ExtensionConfig
24635
+ * @param [options] Conversion options
24636
+ * @returns Plain object
24637
+ */
24638
+ static toObject(
24639
+ message: replit$goval$api$ExtensionConfig,
24640
+ options?: $protobuf.IConversionOptions
24641
+ ): {|
24642
+ [k: string]: any,
24643
+ |};
24644
+
24645
+ /**
24646
+ * Converts this ExtensionConfig to JSON.
24647
+ * @returns JSON object
24648
+ */
24649
+ toJSON(): {|
24650
+ [k: string]: any,
24651
+ |};
24652
+ }
24653
+
24468
24654
  /**
24469
24655
  * Properties of a NixConfig.
24470
24656
  */
@@ -29026,6 +29212,720 @@ declare class replit$goval$api$PackagerOption {
29026
29212
  |};
29027
29213
  }
29028
29214
 
29215
+ /**
29216
+ * Properties of a ReplDomainDoubleDash.
29217
+ */
29218
+ declare type replit$goval$api$IReplDomainDoubleDash = {|
29219
+ /**
29220
+ * ReplDomainDoubleDash user
29221
+ */
29222
+ user?: string | null,
29223
+
29224
+ /**
29225
+ * ReplDomainDoubleDash slug
29226
+ */
29227
+ slug?: string | null,
29228
+
29229
+ /**
29230
+ * ReplDomainDoubleDash suffix
29231
+ */
29232
+ suffix?: string | null,
29233
+ |};
29234
+
29235
+ /**
29236
+ * Represents a ReplDomainDoubleDash.
29237
+ */
29238
+ declare class replit$goval$api$ReplDomainDoubleDash {
29239
+ /**
29240
+ * Constructs a new ReplDomainDoubleDash.
29241
+ * @param [properties] Properties to set
29242
+ */
29243
+ constructor(properties?: replit$goval$api$IReplDomainDoubleDash): this;
29244
+
29245
+ /**
29246
+ * ReplDomainDoubleDash user.
29247
+ */
29248
+ user: string;
29249
+
29250
+ /**
29251
+ * ReplDomainDoubleDash slug.
29252
+ */
29253
+ slug: string;
29254
+
29255
+ /**
29256
+ * ReplDomainDoubleDash suffix.
29257
+ */
29258
+ suffix: string;
29259
+
29260
+ /**
29261
+ * Creates a new ReplDomainDoubleDash instance using the specified properties.
29262
+ * @param [properties] Properties to set
29263
+ * @returns ReplDomainDoubleDash instance
29264
+ */
29265
+ static create(
29266
+ properties?: replit$goval$api$IReplDomainDoubleDash
29267
+ ): replit$goval$api$ReplDomainDoubleDash;
29268
+
29269
+ /**
29270
+ * [object Object],[object Object],[object Object]
29271
+ * @param message ReplDomainDoubleDash message or plain object to encode
29272
+ * @param [writer] Writer to encode to
29273
+ * @returns Writer
29274
+ */
29275
+ static encode(
29276
+ message: replit$goval$api$ReplDomainDoubleDash,
29277
+ writer?: $protobuf.Writer
29278
+ ): $protobuf.Writer;
29279
+
29280
+ /**
29281
+ * [object Object],[object Object],[object Object]
29282
+ * @param message ReplDomainDoubleDash message or plain object to encode
29283
+ * @param [writer] Writer to encode to
29284
+ * @returns Writer
29285
+ */
29286
+ static encodeDelimited(
29287
+ message: replit$goval$api$ReplDomainDoubleDash,
29288
+ writer?: $protobuf.Writer
29289
+ ): $protobuf.Writer;
29290
+
29291
+ /**
29292
+ * Decodes a ReplDomainDoubleDash message from the specified reader or buffer.
29293
+ * @param reader Reader or buffer to decode from
29294
+ * @param [length] Message length if known beforehand
29295
+ * @returns ReplDomainDoubleDash
29296
+ * @throws {Error} If the payload is not a reader or valid buffer
29297
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
29298
+ */
29299
+ static decode(
29300
+ reader: $protobuf.Reader | Uint8Array,
29301
+ length?: number
29302
+ ): replit$goval$api$ReplDomainDoubleDash;
29303
+
29304
+ /**
29305
+ * Decodes a ReplDomainDoubleDash message from the specified reader or buffer, length delimited.
29306
+ * @param reader Reader or buffer to decode from
29307
+ * @returns ReplDomainDoubleDash
29308
+ * @throws {Error} If the payload is not a reader or valid buffer
29309
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
29310
+ */
29311
+ static decodeDelimited(
29312
+ reader: $protobuf.Reader | Uint8Array
29313
+ ): replit$goval$api$ReplDomainDoubleDash;
29314
+
29315
+ /**
29316
+ * Verifies a ReplDomainDoubleDash message.
29317
+ * @param message Plain object to verify
29318
+ * @returns `null` if valid, otherwise the reason why it is not
29319
+ */
29320
+ static verify(message: {|
29321
+ [k: string]: any,
29322
+ |}): string | null;
29323
+
29324
+ /**
29325
+ * Creates a ReplDomainDoubleDash message from a plain object. Also converts values to their respective internal types.
29326
+ * @param object Plain object
29327
+ * @returns ReplDomainDoubleDash
29328
+ */
29329
+ static fromObject(object: {|
29330
+ [k: string]: any,
29331
+ |}): replit$goval$api$ReplDomainDoubleDash;
29332
+
29333
+ /**
29334
+ * Creates a plain object from a ReplDomainDoubleDash message. Also converts values to other types if specified.
29335
+ * @param message ReplDomainDoubleDash
29336
+ * @param [options] Conversion options
29337
+ * @returns Plain object
29338
+ */
29339
+ static toObject(
29340
+ message: replit$goval$api$ReplDomainDoubleDash,
29341
+ options?: $protobuf.IConversionOptions
29342
+ ): {|
29343
+ [k: string]: any,
29344
+ |};
29345
+
29346
+ /**
29347
+ * Converts this ReplDomainDoubleDash to JSON.
29348
+ * @returns JSON object
29349
+ */
29350
+ toJSON(): {|
29351
+ [k: string]: any,
29352
+ |};
29353
+ }
29354
+
29355
+ /**
29356
+ * Properties of a ReplDomainDots.
29357
+ */
29358
+ declare type replit$goval$api$IReplDomainDots = {|
29359
+ /**
29360
+ * ReplDomainDots user
29361
+ */
29362
+ user?: string | null,
29363
+
29364
+ /**
29365
+ * ReplDomainDots slug
29366
+ */
29367
+ slug?: string | null,
29368
+
29369
+ /**
29370
+ * ReplDomainDots suffix
29371
+ */
29372
+ suffix?: string | null,
29373
+ |};
29374
+
29375
+ /**
29376
+ * Represents a ReplDomainDots.
29377
+ */
29378
+ declare class replit$goval$api$ReplDomainDots {
29379
+ /**
29380
+ * Constructs a new ReplDomainDots.
29381
+ * @param [properties] Properties to set
29382
+ */
29383
+ constructor(properties?: replit$goval$api$IReplDomainDots): this;
29384
+
29385
+ /**
29386
+ * ReplDomainDots user.
29387
+ */
29388
+ user: string;
29389
+
29390
+ /**
29391
+ * ReplDomainDots slug.
29392
+ */
29393
+ slug: string;
29394
+
29395
+ /**
29396
+ * ReplDomainDots suffix.
29397
+ */
29398
+ suffix: string;
29399
+
29400
+ /**
29401
+ * Creates a new ReplDomainDots instance using the specified properties.
29402
+ * @param [properties] Properties to set
29403
+ * @returns ReplDomainDots instance
29404
+ */
29405
+ static create(
29406
+ properties?: replit$goval$api$IReplDomainDots
29407
+ ): replit$goval$api$ReplDomainDots;
29408
+
29409
+ /**
29410
+ * [object Object],[object Object],[object Object]
29411
+ * @param message ReplDomainDots message or plain object to encode
29412
+ * @param [writer] Writer to encode to
29413
+ * @returns Writer
29414
+ */
29415
+ static encode(
29416
+ message: replit$goval$api$ReplDomainDots,
29417
+ writer?: $protobuf.Writer
29418
+ ): $protobuf.Writer;
29419
+
29420
+ /**
29421
+ * [object Object],[object Object],[object Object]
29422
+ * @param message ReplDomainDots message or plain object to encode
29423
+ * @param [writer] Writer to encode to
29424
+ * @returns Writer
29425
+ */
29426
+ static encodeDelimited(
29427
+ message: replit$goval$api$ReplDomainDots,
29428
+ writer?: $protobuf.Writer
29429
+ ): $protobuf.Writer;
29430
+
29431
+ /**
29432
+ * Decodes a ReplDomainDots message from the specified reader or buffer.
29433
+ * @param reader Reader or buffer to decode from
29434
+ * @param [length] Message length if known beforehand
29435
+ * @returns ReplDomainDots
29436
+ * @throws {Error} If the payload is not a reader or valid buffer
29437
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
29438
+ */
29439
+ static decode(
29440
+ reader: $protobuf.Reader | Uint8Array,
29441
+ length?: number
29442
+ ): replit$goval$api$ReplDomainDots;
29443
+
29444
+ /**
29445
+ * Decodes a ReplDomainDots message from the specified reader or buffer, length delimited.
29446
+ * @param reader Reader or buffer to decode from
29447
+ * @returns ReplDomainDots
29448
+ * @throws {Error} If the payload is not a reader or valid buffer
29449
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
29450
+ */
29451
+ static decodeDelimited(
29452
+ reader: $protobuf.Reader | Uint8Array
29453
+ ): replit$goval$api$ReplDomainDots;
29454
+
29455
+ /**
29456
+ * Verifies a ReplDomainDots message.
29457
+ * @param message Plain object to verify
29458
+ * @returns `null` if valid, otherwise the reason why it is not
29459
+ */
29460
+ static verify(message: {|
29461
+ [k: string]: any,
29462
+ |}): string | null;
29463
+
29464
+ /**
29465
+ * Creates a ReplDomainDots message from a plain object. Also converts values to their respective internal types.
29466
+ * @param object Plain object
29467
+ * @returns ReplDomainDots
29468
+ */
29469
+ static fromObject(object: {|
29470
+ [k: string]: any,
29471
+ |}): replit$goval$api$ReplDomainDots;
29472
+
29473
+ /**
29474
+ * Creates a plain object from a ReplDomainDots message. Also converts values to other types if specified.
29475
+ * @param message ReplDomainDots
29476
+ * @param [options] Conversion options
29477
+ * @returns Plain object
29478
+ */
29479
+ static toObject(
29480
+ message: replit$goval$api$ReplDomainDots,
29481
+ options?: $protobuf.IConversionOptions
29482
+ ): {|
29483
+ [k: string]: any,
29484
+ |};
29485
+
29486
+ /**
29487
+ * Converts this ReplDomainDots to JSON.
29488
+ * @returns JSON object
29489
+ */
29490
+ toJSON(): {|
29491
+ [k: string]: any,
29492
+ |};
29493
+ }
29494
+
29495
+ /**
29496
+ * Properties of a ReplDomainSingleDomain.
29497
+ */
29498
+ declare type replit$goval$api$IReplDomainSingleDomain = {|
29499
+ /**
29500
+ * ReplDomainSingleDomain user
29501
+ */
29502
+ user?: string | null,
29503
+
29504
+ /**
29505
+ * ReplDomainSingleDomain suffix
29506
+ */
29507
+ suffix?: string | null,
29508
+ |};
29509
+
29510
+ /**
29511
+ * Represents a ReplDomainSingleDomain.
29512
+ */
29513
+ declare class replit$goval$api$ReplDomainSingleDomain {
29514
+ /**
29515
+ * Constructs a new ReplDomainSingleDomain.
29516
+ * @param [properties] Properties to set
29517
+ */
29518
+ constructor(properties?: replit$goval$api$IReplDomainSingleDomain): this;
29519
+
29520
+ /**
29521
+ * ReplDomainSingleDomain user.
29522
+ */
29523
+ user: string;
29524
+
29525
+ /**
29526
+ * ReplDomainSingleDomain suffix.
29527
+ */
29528
+ suffix: string;
29529
+
29530
+ /**
29531
+ * Creates a new ReplDomainSingleDomain instance using the specified properties.
29532
+ * @param [properties] Properties to set
29533
+ * @returns ReplDomainSingleDomain instance
29534
+ */
29535
+ static create(
29536
+ properties?: replit$goval$api$IReplDomainSingleDomain
29537
+ ): replit$goval$api$ReplDomainSingleDomain;
29538
+
29539
+ /**
29540
+ * [object Object],[object Object],[object Object]
29541
+ * @param message ReplDomainSingleDomain message or plain object to encode
29542
+ * @param [writer] Writer to encode to
29543
+ * @returns Writer
29544
+ */
29545
+ static encode(
29546
+ message: replit$goval$api$ReplDomainSingleDomain,
29547
+ writer?: $protobuf.Writer
29548
+ ): $protobuf.Writer;
29549
+
29550
+ /**
29551
+ * [object Object],[object Object],[object Object]
29552
+ * @param message ReplDomainSingleDomain message or plain object to encode
29553
+ * @param [writer] Writer to encode to
29554
+ * @returns Writer
29555
+ */
29556
+ static encodeDelimited(
29557
+ message: replit$goval$api$ReplDomainSingleDomain,
29558
+ writer?: $protobuf.Writer
29559
+ ): $protobuf.Writer;
29560
+
29561
+ /**
29562
+ * Decodes a ReplDomainSingleDomain message from the specified reader or buffer.
29563
+ * @param reader Reader or buffer to decode from
29564
+ * @param [length] Message length if known beforehand
29565
+ * @returns ReplDomainSingleDomain
29566
+ * @throws {Error} If the payload is not a reader or valid buffer
29567
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
29568
+ */
29569
+ static decode(
29570
+ reader: $protobuf.Reader | Uint8Array,
29571
+ length?: number
29572
+ ): replit$goval$api$ReplDomainSingleDomain;
29573
+
29574
+ /**
29575
+ * Decodes a ReplDomainSingleDomain message from the specified reader or buffer, length delimited.
29576
+ * @param reader Reader or buffer to decode from
29577
+ * @returns ReplDomainSingleDomain
29578
+ * @throws {Error} If the payload is not a reader or valid buffer
29579
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
29580
+ */
29581
+ static decodeDelimited(
29582
+ reader: $protobuf.Reader | Uint8Array
29583
+ ): replit$goval$api$ReplDomainSingleDomain;
29584
+
29585
+ /**
29586
+ * Verifies a ReplDomainSingleDomain message.
29587
+ * @param message Plain object to verify
29588
+ * @returns `null` if valid, otherwise the reason why it is not
29589
+ */
29590
+ static verify(message: {|
29591
+ [k: string]: any,
29592
+ |}): string | null;
29593
+
29594
+ /**
29595
+ * Creates a ReplDomainSingleDomain message from a plain object. Also converts values to their respective internal types.
29596
+ * @param object Plain object
29597
+ * @returns ReplDomainSingleDomain
29598
+ */
29599
+ static fromObject(object: {|
29600
+ [k: string]: any,
29601
+ |}): replit$goval$api$ReplDomainSingleDomain;
29602
+
29603
+ /**
29604
+ * Creates a plain object from a ReplDomainSingleDomain message. Also converts values to other types if specified.
29605
+ * @param message ReplDomainSingleDomain
29606
+ * @param [options] Conversion options
29607
+ * @returns Plain object
29608
+ */
29609
+ static toObject(
29610
+ message: replit$goval$api$ReplDomainSingleDomain,
29611
+ options?: $protobuf.IConversionOptions
29612
+ ): {|
29613
+ [k: string]: any,
29614
+ |};
29615
+
29616
+ /**
29617
+ * Converts this ReplDomainSingleDomain to JSON.
29618
+ * @returns JSON object
29619
+ */
29620
+ toJSON(): {|
29621
+ [k: string]: any,
29622
+ |};
29623
+ }
29624
+
29625
+ /**
29626
+ * Properties of a ReplDomainId.
29627
+ */
29628
+ declare type replit$goval$api$IReplDomainId = {|
29629
+ /**
29630
+ * ReplDomainId id
29631
+ */
29632
+ id?: string | null,
29633
+
29634
+ /**
29635
+ * ReplDomainId suffix
29636
+ */
29637
+ suffix?: string | null,
29638
+ |};
29639
+
29640
+ /**
29641
+ * Represents a ReplDomainId.
29642
+ */
29643
+ declare class replit$goval$api$ReplDomainId {
29644
+ /**
29645
+ * Constructs a new ReplDomainId.
29646
+ * @param [properties] Properties to set
29647
+ */
29648
+ constructor(properties?: replit$goval$api$IReplDomainId): this;
29649
+
29650
+ /**
29651
+ * ReplDomainId id.
29652
+ */
29653
+ id: string;
29654
+
29655
+ /**
29656
+ * ReplDomainId suffix.
29657
+ */
29658
+ suffix: string;
29659
+
29660
+ /**
29661
+ * Creates a new ReplDomainId instance using the specified properties.
29662
+ * @param [properties] Properties to set
29663
+ * @returns ReplDomainId instance
29664
+ */
29665
+ static create(
29666
+ properties?: replit$goval$api$IReplDomainId
29667
+ ): replit$goval$api$ReplDomainId;
29668
+
29669
+ /**
29670
+ * [object Object],[object Object],[object Object]
29671
+ * @param message ReplDomainId message or plain object to encode
29672
+ * @param [writer] Writer to encode to
29673
+ * @returns Writer
29674
+ */
29675
+ static encode(
29676
+ message: replit$goval$api$ReplDomainId,
29677
+ writer?: $protobuf.Writer
29678
+ ): $protobuf.Writer;
29679
+
29680
+ /**
29681
+ * [object Object],[object Object],[object Object]
29682
+ * @param message ReplDomainId message or plain object to encode
29683
+ * @param [writer] Writer to encode to
29684
+ * @returns Writer
29685
+ */
29686
+ static encodeDelimited(
29687
+ message: replit$goval$api$ReplDomainId,
29688
+ writer?: $protobuf.Writer
29689
+ ): $protobuf.Writer;
29690
+
29691
+ /**
29692
+ * Decodes a ReplDomainId message from the specified reader or buffer.
29693
+ * @param reader Reader or buffer to decode from
29694
+ * @param [length] Message length if known beforehand
29695
+ * @returns ReplDomainId
29696
+ * @throws {Error} If the payload is not a reader or valid buffer
29697
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
29698
+ */
29699
+ static decode(
29700
+ reader: $protobuf.Reader | Uint8Array,
29701
+ length?: number
29702
+ ): replit$goval$api$ReplDomainId;
29703
+
29704
+ /**
29705
+ * Decodes a ReplDomainId message from the specified reader or buffer, length delimited.
29706
+ * @param reader Reader or buffer to decode from
29707
+ * @returns ReplDomainId
29708
+ * @throws {Error} If the payload is not a reader or valid buffer
29709
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
29710
+ */
29711
+ static decodeDelimited(
29712
+ reader: $protobuf.Reader | Uint8Array
29713
+ ): replit$goval$api$ReplDomainId;
29714
+
29715
+ /**
29716
+ * Verifies a ReplDomainId message.
29717
+ * @param message Plain object to verify
29718
+ * @returns `null` if valid, otherwise the reason why it is not
29719
+ */
29720
+ static verify(message: {|
29721
+ [k: string]: any,
29722
+ |}): string | null;
29723
+
29724
+ /**
29725
+ * Creates a ReplDomainId message from a plain object. Also converts values to their respective internal types.
29726
+ * @param object Plain object
29727
+ * @returns ReplDomainId
29728
+ */
29729
+ static fromObject(object: {|
29730
+ [k: string]: any,
29731
+ |}): replit$goval$api$ReplDomainId;
29732
+
29733
+ /**
29734
+ * Creates a plain object from a ReplDomainId message. Also converts values to other types if specified.
29735
+ * @param message ReplDomainId
29736
+ * @param [options] Conversion options
29737
+ * @returns Plain object
29738
+ */
29739
+ static toObject(
29740
+ message: replit$goval$api$ReplDomainId,
29741
+ options?: $protobuf.IConversionOptions
29742
+ ): {|
29743
+ [k: string]: any,
29744
+ |};
29745
+
29746
+ /**
29747
+ * Converts this ReplDomainId to JSON.
29748
+ * @returns JSON object
29749
+ */
29750
+ toJSON(): {|
29751
+ [k: string]: any,
29752
+ |};
29753
+ }
29754
+
29755
+ /**
29756
+ * Properties of a ReplDomain.
29757
+ */
29758
+ declare type replit$goval$api$IReplDomain = {|
29759
+ /**
29760
+ * ReplDomain custom
29761
+ */
29762
+ custom?: string | null,
29763
+
29764
+ /**
29765
+ * ReplDomain id
29766
+ */
29767
+ id?: replit$goval$api$ReplDomainId | replit$goval$api$IReplDomainId | null,
29768
+
29769
+ /**
29770
+ * ReplDomain doubleDash
29771
+ */
29772
+ doubleDash?:
29773
+ | replit$goval$api$ReplDomainDoubleDash
29774
+ | replit$goval$api$IReplDomainDoubleDash
29775
+ | null,
29776
+
29777
+ /**
29778
+ * ReplDomain dots
29779
+ */
29780
+ dots?:
29781
+ | replit$goval$api$ReplDomainDots
29782
+ | replit$goval$api$IReplDomainDots
29783
+ | null,
29784
+
29785
+ /**
29786
+ * ReplDomain singleDomain
29787
+ */
29788
+ singleDomain?:
29789
+ | replit$goval$api$ReplDomainSingleDomain
29790
+ | replit$goval$api$IReplDomainSingleDomain
29791
+ | null,
29792
+ |};
29793
+
29794
+ /**
29795
+ * Represents a ReplDomain.
29796
+ */
29797
+ declare class replit$goval$api$ReplDomain {
29798
+ /**
29799
+ * Constructs a new ReplDomain.
29800
+ * @param [properties] Properties to set
29801
+ */
29802
+ constructor(properties?: replit$goval$api$IReplDomain): this;
29803
+
29804
+ /**
29805
+ * ReplDomain custom.
29806
+ */
29807
+ custom?: string | null;
29808
+
29809
+ /**
29810
+ * ReplDomain id.
29811
+ */
29812
+ id?: replit$goval$api$ReplDomainId | null;
29813
+
29814
+ /**
29815
+ * ReplDomain doubleDash.
29816
+ */
29817
+ doubleDash?: replit$goval$api$ReplDomainDoubleDash | null;
29818
+
29819
+ /**
29820
+ * ReplDomain dots.
29821
+ */
29822
+ dots?: replit$goval$api$ReplDomainDots | null;
29823
+
29824
+ /**
29825
+ * ReplDomain singleDomain.
29826
+ */
29827
+ singleDomain?: replit$goval$api$ReplDomainSingleDomain | null;
29828
+
29829
+ /**
29830
+ * ReplDomain kind.
29831
+ */
29832
+ kind?: "custom" | "id" | "doubleDash" | "dots" | "singleDomain";
29833
+
29834
+ /**
29835
+ * Creates a new ReplDomain instance using the specified properties.
29836
+ * @param [properties] Properties to set
29837
+ * @returns ReplDomain instance
29838
+ */
29839
+ static create(
29840
+ properties?: replit$goval$api$IReplDomain
29841
+ ): replit$goval$api$ReplDomain;
29842
+
29843
+ /**
29844
+ * [object Object],[object Object],[object Object]
29845
+ * @param message ReplDomain message or plain object to encode
29846
+ * @param [writer] Writer to encode to
29847
+ * @returns Writer
29848
+ */
29849
+ static encode(
29850
+ message: replit$goval$api$ReplDomain,
29851
+ writer?: $protobuf.Writer
29852
+ ): $protobuf.Writer;
29853
+
29854
+ /**
29855
+ * [object Object],[object Object],[object Object]
29856
+ * @param message ReplDomain message or plain object to encode
29857
+ * @param [writer] Writer to encode to
29858
+ * @returns Writer
29859
+ */
29860
+ static encodeDelimited(
29861
+ message: replit$goval$api$ReplDomain,
29862
+ writer?: $protobuf.Writer
29863
+ ): $protobuf.Writer;
29864
+
29865
+ /**
29866
+ * Decodes a ReplDomain message from the specified reader or buffer.
29867
+ * @param reader Reader or buffer to decode from
29868
+ * @param [length] Message length if known beforehand
29869
+ * @returns ReplDomain
29870
+ * @throws {Error} If the payload is not a reader or valid buffer
29871
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
29872
+ */
29873
+ static decode(
29874
+ reader: $protobuf.Reader | Uint8Array,
29875
+ length?: number
29876
+ ): replit$goval$api$ReplDomain;
29877
+
29878
+ /**
29879
+ * Decodes a ReplDomain message from the specified reader or buffer, length delimited.
29880
+ * @param reader Reader or buffer to decode from
29881
+ * @returns ReplDomain
29882
+ * @throws {Error} If the payload is not a reader or valid buffer
29883
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
29884
+ */
29885
+ static decodeDelimited(
29886
+ reader: $protobuf.Reader | Uint8Array
29887
+ ): replit$goval$api$ReplDomain;
29888
+
29889
+ /**
29890
+ * Verifies a ReplDomain message.
29891
+ * @param message Plain object to verify
29892
+ * @returns `null` if valid, otherwise the reason why it is not
29893
+ */
29894
+ static verify(message: {|
29895
+ [k: string]: any,
29896
+ |}): string | null;
29897
+
29898
+ /**
29899
+ * Creates a ReplDomain message from a plain object. Also converts values to their respective internal types.
29900
+ * @param object Plain object
29901
+ * @returns ReplDomain
29902
+ */
29903
+ static fromObject(object: {|
29904
+ [k: string]: any,
29905
+ |}): replit$goval$api$ReplDomain;
29906
+
29907
+ /**
29908
+ * Creates a plain object from a ReplDomain message. Also converts values to other types if specified.
29909
+ * @param message ReplDomain
29910
+ * @param [options] Conversion options
29911
+ * @returns Plain object
29912
+ */
29913
+ static toObject(
29914
+ message: replit$goval$api$ReplDomain,
29915
+ options?: $protobuf.IConversionOptions
29916
+ ): {|
29917
+ [k: string]: any,
29918
+ |};
29919
+
29920
+ /**
29921
+ * Converts this ReplDomain to JSON.
29922
+ * @returns JSON object
29923
+ */
29924
+ toJSON(): {|
29925
+ [k: string]: any,
29926
+ |};
29927
+ }
29928
+
29029
29929
  /**
29030
29930
  * Properties of a ReplToken.
29031
29931
  */
@@ -30770,6 +31670,8 @@ declare var replit$goval$api$FlagClaim: {|
30770
31670
  +SIGN_INTERMEDIATE_CERT: 1, // 1
30771
31671
  +IDENTITY: 5, // 5
30772
31672
  +GHOSTWRITER: 6, // 6
31673
+ +RENEW_IDENTITY: 7, // 7
31674
+ +RENEW_KV: 8, // 8
30773
31675
  +ANY_REPLID: 2, // 2
30774
31676
  +ANY_USER: 3, // 3
30775
31677
  +ANY_CLUSTER: 4, // 4