@replit/protocol 0.3.1 → 0.3.3
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.
- package/main/index.d.ts +522 -0
- package/main/index.js +1263 -0
- package/main/index.js.flow +737 -0
- package/package.json +1 -1
package/main/index.d.ts
CHANGED
|
@@ -3459,6 +3459,7 @@ export namespace replit {
|
|
|
3459
3459
|
PROXY = 5,
|
|
3460
3460
|
PULL_FILES = 6,
|
|
3461
3461
|
LOAD_BLOCK = 7,
|
|
3462
|
+
BLOCK_MIGRATION = 9,
|
|
3462
3463
|
RETRY = 8
|
|
3463
3464
|
}
|
|
3464
3465
|
}
|
|
@@ -16994,6 +16995,9 @@ export namespace replit {
|
|
|
16994
16995
|
|
|
16995
16996
|
/** DeploymentConfig build */
|
|
16996
16997
|
build?: (replit.goval.api.Exec|replit.goval.api.IExec|null);
|
|
16998
|
+
|
|
16999
|
+
/** DeploymentConfig ignorePorts */
|
|
17000
|
+
ignorePorts?: (boolean|null);
|
|
16997
17001
|
}
|
|
16998
17002
|
|
|
16999
17003
|
/** Represents a DeploymentConfig. */
|
|
@@ -17011,6 +17015,9 @@ export namespace replit {
|
|
|
17011
17015
|
/** DeploymentConfig build. */
|
|
17012
17016
|
public build?: (replit.goval.api.Exec|null);
|
|
17013
17017
|
|
|
17018
|
+
/** DeploymentConfig ignorePorts. */
|
|
17019
|
+
public ignorePorts: boolean;
|
|
17020
|
+
|
|
17014
17021
|
/**
|
|
17015
17022
|
* Creates a new DeploymentConfig instance using the specified properties.
|
|
17016
17023
|
* @param [properties] Properties to set
|
|
@@ -20358,6 +20365,519 @@ export namespace replit {
|
|
|
20358
20365
|
public toJSON(): { [k: string]: any };
|
|
20359
20366
|
}
|
|
20360
20367
|
|
|
20368
|
+
/** Properties of a ReplDomainDoubleDash. */
|
|
20369
|
+
interface IReplDomainDoubleDash {
|
|
20370
|
+
|
|
20371
|
+
/** ReplDomainDoubleDash user */
|
|
20372
|
+
user?: (string|null);
|
|
20373
|
+
|
|
20374
|
+
/** ReplDomainDoubleDash slug */
|
|
20375
|
+
slug?: (string|null);
|
|
20376
|
+
|
|
20377
|
+
/** ReplDomainDoubleDash suffix */
|
|
20378
|
+
suffix?: (string|null);
|
|
20379
|
+
}
|
|
20380
|
+
|
|
20381
|
+
/** Represents a ReplDomainDoubleDash. */
|
|
20382
|
+
class ReplDomainDoubleDash {
|
|
20383
|
+
|
|
20384
|
+
/**
|
|
20385
|
+
* Constructs a new ReplDomainDoubleDash.
|
|
20386
|
+
* @param [properties] Properties to set
|
|
20387
|
+
*/
|
|
20388
|
+
private constructor(properties?: replit.goval.api.IReplDomainDoubleDash);
|
|
20389
|
+
|
|
20390
|
+
/** ReplDomainDoubleDash user. */
|
|
20391
|
+
public user: string;
|
|
20392
|
+
|
|
20393
|
+
/** ReplDomainDoubleDash slug. */
|
|
20394
|
+
public slug: string;
|
|
20395
|
+
|
|
20396
|
+
/** ReplDomainDoubleDash suffix. */
|
|
20397
|
+
public suffix: string;
|
|
20398
|
+
|
|
20399
|
+
/**
|
|
20400
|
+
* Creates a new ReplDomainDoubleDash instance using the specified properties.
|
|
20401
|
+
* @param [properties] Properties to set
|
|
20402
|
+
* @returns ReplDomainDoubleDash instance
|
|
20403
|
+
*/
|
|
20404
|
+
public static create(properties?: replit.goval.api.IReplDomainDoubleDash): replit.goval.api.ReplDomainDoubleDash;
|
|
20405
|
+
|
|
20406
|
+
/**
|
|
20407
|
+
* Encodes the specified ReplDomainDoubleDash message. Does not implicitly {@link replit.goval.api.ReplDomainDoubleDash.verify|verify} messages.
|
|
20408
|
+
* @param message ReplDomainDoubleDash message or plain object to encode
|
|
20409
|
+
* @param [writer] Writer to encode to
|
|
20410
|
+
* @returns Writer
|
|
20411
|
+
*/
|
|
20412
|
+
public static encode(message: replit.goval.api.ReplDomainDoubleDash, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
20413
|
+
|
|
20414
|
+
/**
|
|
20415
|
+
* Encodes the specified ReplDomainDoubleDash message, length delimited. Does not implicitly {@link replit.goval.api.ReplDomainDoubleDash.verify|verify} messages.
|
|
20416
|
+
* @param message ReplDomainDoubleDash message or plain object to encode
|
|
20417
|
+
* @param [writer] Writer to encode to
|
|
20418
|
+
* @returns Writer
|
|
20419
|
+
*/
|
|
20420
|
+
public static encodeDelimited(message: replit.goval.api.ReplDomainDoubleDash, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
20421
|
+
|
|
20422
|
+
/**
|
|
20423
|
+
* Decodes a ReplDomainDoubleDash message from the specified reader or buffer.
|
|
20424
|
+
* @param reader Reader or buffer to decode from
|
|
20425
|
+
* @param [length] Message length if known beforehand
|
|
20426
|
+
* @returns ReplDomainDoubleDash
|
|
20427
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20428
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20429
|
+
*/
|
|
20430
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.ReplDomainDoubleDash;
|
|
20431
|
+
|
|
20432
|
+
/**
|
|
20433
|
+
* Decodes a ReplDomainDoubleDash message from the specified reader or buffer, length delimited.
|
|
20434
|
+
* @param reader Reader or buffer to decode from
|
|
20435
|
+
* @returns ReplDomainDoubleDash
|
|
20436
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20437
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20438
|
+
*/
|
|
20439
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.ReplDomainDoubleDash;
|
|
20440
|
+
|
|
20441
|
+
/**
|
|
20442
|
+
* Verifies a ReplDomainDoubleDash message.
|
|
20443
|
+
* @param message Plain object to verify
|
|
20444
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
20445
|
+
*/
|
|
20446
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
20447
|
+
|
|
20448
|
+
/**
|
|
20449
|
+
* Creates a ReplDomainDoubleDash message from a plain object. Also converts values to their respective internal types.
|
|
20450
|
+
* @param object Plain object
|
|
20451
|
+
* @returns ReplDomainDoubleDash
|
|
20452
|
+
*/
|
|
20453
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.ReplDomainDoubleDash;
|
|
20454
|
+
|
|
20455
|
+
/**
|
|
20456
|
+
* Creates a plain object from a ReplDomainDoubleDash message. Also converts values to other types if specified.
|
|
20457
|
+
* @param message ReplDomainDoubleDash
|
|
20458
|
+
* @param [options] Conversion options
|
|
20459
|
+
* @returns Plain object
|
|
20460
|
+
*/
|
|
20461
|
+
public static toObject(message: replit.goval.api.ReplDomainDoubleDash, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
20462
|
+
|
|
20463
|
+
/**
|
|
20464
|
+
* Converts this ReplDomainDoubleDash to JSON.
|
|
20465
|
+
* @returns JSON object
|
|
20466
|
+
*/
|
|
20467
|
+
public toJSON(): { [k: string]: any };
|
|
20468
|
+
}
|
|
20469
|
+
|
|
20470
|
+
/** Properties of a ReplDomainDots. */
|
|
20471
|
+
interface IReplDomainDots {
|
|
20472
|
+
|
|
20473
|
+
/** ReplDomainDots user */
|
|
20474
|
+
user?: (string|null);
|
|
20475
|
+
|
|
20476
|
+
/** ReplDomainDots slug */
|
|
20477
|
+
slug?: (string|null);
|
|
20478
|
+
|
|
20479
|
+
/** ReplDomainDots suffix */
|
|
20480
|
+
suffix?: (string|null);
|
|
20481
|
+
}
|
|
20482
|
+
|
|
20483
|
+
/** Represents a ReplDomainDots. */
|
|
20484
|
+
class ReplDomainDots {
|
|
20485
|
+
|
|
20486
|
+
/**
|
|
20487
|
+
* Constructs a new ReplDomainDots.
|
|
20488
|
+
* @param [properties] Properties to set
|
|
20489
|
+
*/
|
|
20490
|
+
private constructor(properties?: replit.goval.api.IReplDomainDots);
|
|
20491
|
+
|
|
20492
|
+
/** ReplDomainDots user. */
|
|
20493
|
+
public user: string;
|
|
20494
|
+
|
|
20495
|
+
/** ReplDomainDots slug. */
|
|
20496
|
+
public slug: string;
|
|
20497
|
+
|
|
20498
|
+
/** ReplDomainDots suffix. */
|
|
20499
|
+
public suffix: string;
|
|
20500
|
+
|
|
20501
|
+
/**
|
|
20502
|
+
* Creates a new ReplDomainDots instance using the specified properties.
|
|
20503
|
+
* @param [properties] Properties to set
|
|
20504
|
+
* @returns ReplDomainDots instance
|
|
20505
|
+
*/
|
|
20506
|
+
public static create(properties?: replit.goval.api.IReplDomainDots): replit.goval.api.ReplDomainDots;
|
|
20507
|
+
|
|
20508
|
+
/**
|
|
20509
|
+
* Encodes the specified ReplDomainDots message. Does not implicitly {@link replit.goval.api.ReplDomainDots.verify|verify} messages.
|
|
20510
|
+
* @param message ReplDomainDots message or plain object to encode
|
|
20511
|
+
* @param [writer] Writer to encode to
|
|
20512
|
+
* @returns Writer
|
|
20513
|
+
*/
|
|
20514
|
+
public static encode(message: replit.goval.api.ReplDomainDots, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
20515
|
+
|
|
20516
|
+
/**
|
|
20517
|
+
* Encodes the specified ReplDomainDots message, length delimited. Does not implicitly {@link replit.goval.api.ReplDomainDots.verify|verify} messages.
|
|
20518
|
+
* @param message ReplDomainDots message or plain object to encode
|
|
20519
|
+
* @param [writer] Writer to encode to
|
|
20520
|
+
* @returns Writer
|
|
20521
|
+
*/
|
|
20522
|
+
public static encodeDelimited(message: replit.goval.api.ReplDomainDots, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
20523
|
+
|
|
20524
|
+
/**
|
|
20525
|
+
* Decodes a ReplDomainDots message from the specified reader or buffer.
|
|
20526
|
+
* @param reader Reader or buffer to decode from
|
|
20527
|
+
* @param [length] Message length if known beforehand
|
|
20528
|
+
* @returns ReplDomainDots
|
|
20529
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20530
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20531
|
+
*/
|
|
20532
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.ReplDomainDots;
|
|
20533
|
+
|
|
20534
|
+
/**
|
|
20535
|
+
* Decodes a ReplDomainDots message from the specified reader or buffer, length delimited.
|
|
20536
|
+
* @param reader Reader or buffer to decode from
|
|
20537
|
+
* @returns ReplDomainDots
|
|
20538
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20539
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20540
|
+
*/
|
|
20541
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.ReplDomainDots;
|
|
20542
|
+
|
|
20543
|
+
/**
|
|
20544
|
+
* Verifies a ReplDomainDots message.
|
|
20545
|
+
* @param message Plain object to verify
|
|
20546
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
20547
|
+
*/
|
|
20548
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
20549
|
+
|
|
20550
|
+
/**
|
|
20551
|
+
* Creates a ReplDomainDots message from a plain object. Also converts values to their respective internal types.
|
|
20552
|
+
* @param object Plain object
|
|
20553
|
+
* @returns ReplDomainDots
|
|
20554
|
+
*/
|
|
20555
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.ReplDomainDots;
|
|
20556
|
+
|
|
20557
|
+
/**
|
|
20558
|
+
* Creates a plain object from a ReplDomainDots message. Also converts values to other types if specified.
|
|
20559
|
+
* @param message ReplDomainDots
|
|
20560
|
+
* @param [options] Conversion options
|
|
20561
|
+
* @returns Plain object
|
|
20562
|
+
*/
|
|
20563
|
+
public static toObject(message: replit.goval.api.ReplDomainDots, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
20564
|
+
|
|
20565
|
+
/**
|
|
20566
|
+
* Converts this ReplDomainDots to JSON.
|
|
20567
|
+
* @returns JSON object
|
|
20568
|
+
*/
|
|
20569
|
+
public toJSON(): { [k: string]: any };
|
|
20570
|
+
}
|
|
20571
|
+
|
|
20572
|
+
/** Properties of a ReplDomainSingleDomain. */
|
|
20573
|
+
interface IReplDomainSingleDomain {
|
|
20574
|
+
|
|
20575
|
+
/** ReplDomainSingleDomain user */
|
|
20576
|
+
user?: (string|null);
|
|
20577
|
+
|
|
20578
|
+
/** ReplDomainSingleDomain suffix */
|
|
20579
|
+
suffix?: (string|null);
|
|
20580
|
+
}
|
|
20581
|
+
|
|
20582
|
+
/** Represents a ReplDomainSingleDomain. */
|
|
20583
|
+
class ReplDomainSingleDomain {
|
|
20584
|
+
|
|
20585
|
+
/**
|
|
20586
|
+
* Constructs a new ReplDomainSingleDomain.
|
|
20587
|
+
* @param [properties] Properties to set
|
|
20588
|
+
*/
|
|
20589
|
+
private constructor(properties?: replit.goval.api.IReplDomainSingleDomain);
|
|
20590
|
+
|
|
20591
|
+
/** ReplDomainSingleDomain user. */
|
|
20592
|
+
public user: string;
|
|
20593
|
+
|
|
20594
|
+
/** ReplDomainSingleDomain suffix. */
|
|
20595
|
+
public suffix: string;
|
|
20596
|
+
|
|
20597
|
+
/**
|
|
20598
|
+
* Creates a new ReplDomainSingleDomain instance using the specified properties.
|
|
20599
|
+
* @param [properties] Properties to set
|
|
20600
|
+
* @returns ReplDomainSingleDomain instance
|
|
20601
|
+
*/
|
|
20602
|
+
public static create(properties?: replit.goval.api.IReplDomainSingleDomain): replit.goval.api.ReplDomainSingleDomain;
|
|
20603
|
+
|
|
20604
|
+
/**
|
|
20605
|
+
* Encodes the specified ReplDomainSingleDomain message. Does not implicitly {@link replit.goval.api.ReplDomainSingleDomain.verify|verify} messages.
|
|
20606
|
+
* @param message ReplDomainSingleDomain message or plain object to encode
|
|
20607
|
+
* @param [writer] Writer to encode to
|
|
20608
|
+
* @returns Writer
|
|
20609
|
+
*/
|
|
20610
|
+
public static encode(message: replit.goval.api.ReplDomainSingleDomain, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
20611
|
+
|
|
20612
|
+
/**
|
|
20613
|
+
* Encodes the specified ReplDomainSingleDomain message, length delimited. Does not implicitly {@link replit.goval.api.ReplDomainSingleDomain.verify|verify} messages.
|
|
20614
|
+
* @param message ReplDomainSingleDomain message or plain object to encode
|
|
20615
|
+
* @param [writer] Writer to encode to
|
|
20616
|
+
* @returns Writer
|
|
20617
|
+
*/
|
|
20618
|
+
public static encodeDelimited(message: replit.goval.api.ReplDomainSingleDomain, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
20619
|
+
|
|
20620
|
+
/**
|
|
20621
|
+
* Decodes a ReplDomainSingleDomain message from the specified reader or buffer.
|
|
20622
|
+
* @param reader Reader or buffer to decode from
|
|
20623
|
+
* @param [length] Message length if known beforehand
|
|
20624
|
+
* @returns ReplDomainSingleDomain
|
|
20625
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20626
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20627
|
+
*/
|
|
20628
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.ReplDomainSingleDomain;
|
|
20629
|
+
|
|
20630
|
+
/**
|
|
20631
|
+
* Decodes a ReplDomainSingleDomain message from the specified reader or buffer, length delimited.
|
|
20632
|
+
* @param reader Reader or buffer to decode from
|
|
20633
|
+
* @returns ReplDomainSingleDomain
|
|
20634
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20635
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20636
|
+
*/
|
|
20637
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.ReplDomainSingleDomain;
|
|
20638
|
+
|
|
20639
|
+
/**
|
|
20640
|
+
* Verifies a ReplDomainSingleDomain message.
|
|
20641
|
+
* @param message Plain object to verify
|
|
20642
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
20643
|
+
*/
|
|
20644
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
20645
|
+
|
|
20646
|
+
/**
|
|
20647
|
+
* Creates a ReplDomainSingleDomain message from a plain object. Also converts values to their respective internal types.
|
|
20648
|
+
* @param object Plain object
|
|
20649
|
+
* @returns ReplDomainSingleDomain
|
|
20650
|
+
*/
|
|
20651
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.ReplDomainSingleDomain;
|
|
20652
|
+
|
|
20653
|
+
/**
|
|
20654
|
+
* Creates a plain object from a ReplDomainSingleDomain message. Also converts values to other types if specified.
|
|
20655
|
+
* @param message ReplDomainSingleDomain
|
|
20656
|
+
* @param [options] Conversion options
|
|
20657
|
+
* @returns Plain object
|
|
20658
|
+
*/
|
|
20659
|
+
public static toObject(message: replit.goval.api.ReplDomainSingleDomain, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
20660
|
+
|
|
20661
|
+
/**
|
|
20662
|
+
* Converts this ReplDomainSingleDomain to JSON.
|
|
20663
|
+
* @returns JSON object
|
|
20664
|
+
*/
|
|
20665
|
+
public toJSON(): { [k: string]: any };
|
|
20666
|
+
}
|
|
20667
|
+
|
|
20668
|
+
/** Properties of a ReplDomainId. */
|
|
20669
|
+
interface IReplDomainId {
|
|
20670
|
+
|
|
20671
|
+
/** ReplDomainId id */
|
|
20672
|
+
id?: (string|null);
|
|
20673
|
+
|
|
20674
|
+
/** ReplDomainId suffix */
|
|
20675
|
+
suffix?: (string|null);
|
|
20676
|
+
}
|
|
20677
|
+
|
|
20678
|
+
/** Represents a ReplDomainId. */
|
|
20679
|
+
class ReplDomainId {
|
|
20680
|
+
|
|
20681
|
+
/**
|
|
20682
|
+
* Constructs a new ReplDomainId.
|
|
20683
|
+
* @param [properties] Properties to set
|
|
20684
|
+
*/
|
|
20685
|
+
private constructor(properties?: replit.goval.api.IReplDomainId);
|
|
20686
|
+
|
|
20687
|
+
/** ReplDomainId id. */
|
|
20688
|
+
public id: string;
|
|
20689
|
+
|
|
20690
|
+
/** ReplDomainId suffix. */
|
|
20691
|
+
public suffix: string;
|
|
20692
|
+
|
|
20693
|
+
/**
|
|
20694
|
+
* Creates a new ReplDomainId instance using the specified properties.
|
|
20695
|
+
* @param [properties] Properties to set
|
|
20696
|
+
* @returns ReplDomainId instance
|
|
20697
|
+
*/
|
|
20698
|
+
public static create(properties?: replit.goval.api.IReplDomainId): replit.goval.api.ReplDomainId;
|
|
20699
|
+
|
|
20700
|
+
/**
|
|
20701
|
+
* Encodes the specified ReplDomainId message. Does not implicitly {@link replit.goval.api.ReplDomainId.verify|verify} messages.
|
|
20702
|
+
* @param message ReplDomainId message or plain object to encode
|
|
20703
|
+
* @param [writer] Writer to encode to
|
|
20704
|
+
* @returns Writer
|
|
20705
|
+
*/
|
|
20706
|
+
public static encode(message: replit.goval.api.ReplDomainId, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
20707
|
+
|
|
20708
|
+
/**
|
|
20709
|
+
* Encodes the specified ReplDomainId message, length delimited. Does not implicitly {@link replit.goval.api.ReplDomainId.verify|verify} messages.
|
|
20710
|
+
* @param message ReplDomainId message or plain object to encode
|
|
20711
|
+
* @param [writer] Writer to encode to
|
|
20712
|
+
* @returns Writer
|
|
20713
|
+
*/
|
|
20714
|
+
public static encodeDelimited(message: replit.goval.api.ReplDomainId, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
20715
|
+
|
|
20716
|
+
/**
|
|
20717
|
+
* Decodes a ReplDomainId message from the specified reader or buffer.
|
|
20718
|
+
* @param reader Reader or buffer to decode from
|
|
20719
|
+
* @param [length] Message length if known beforehand
|
|
20720
|
+
* @returns ReplDomainId
|
|
20721
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20722
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20723
|
+
*/
|
|
20724
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.ReplDomainId;
|
|
20725
|
+
|
|
20726
|
+
/**
|
|
20727
|
+
* Decodes a ReplDomainId message from the specified reader or buffer, length delimited.
|
|
20728
|
+
* @param reader Reader or buffer to decode from
|
|
20729
|
+
* @returns ReplDomainId
|
|
20730
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20731
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20732
|
+
*/
|
|
20733
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.ReplDomainId;
|
|
20734
|
+
|
|
20735
|
+
/**
|
|
20736
|
+
* Verifies a ReplDomainId message.
|
|
20737
|
+
* @param message Plain object to verify
|
|
20738
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
20739
|
+
*/
|
|
20740
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
20741
|
+
|
|
20742
|
+
/**
|
|
20743
|
+
* Creates a ReplDomainId message from a plain object. Also converts values to their respective internal types.
|
|
20744
|
+
* @param object Plain object
|
|
20745
|
+
* @returns ReplDomainId
|
|
20746
|
+
*/
|
|
20747
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.ReplDomainId;
|
|
20748
|
+
|
|
20749
|
+
/**
|
|
20750
|
+
* Creates a plain object from a ReplDomainId message. Also converts values to other types if specified.
|
|
20751
|
+
* @param message ReplDomainId
|
|
20752
|
+
* @param [options] Conversion options
|
|
20753
|
+
* @returns Plain object
|
|
20754
|
+
*/
|
|
20755
|
+
public static toObject(message: replit.goval.api.ReplDomainId, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
20756
|
+
|
|
20757
|
+
/**
|
|
20758
|
+
* Converts this ReplDomainId to JSON.
|
|
20759
|
+
* @returns JSON object
|
|
20760
|
+
*/
|
|
20761
|
+
public toJSON(): { [k: string]: any };
|
|
20762
|
+
}
|
|
20763
|
+
|
|
20764
|
+
/** Properties of a ReplDomain. */
|
|
20765
|
+
interface IReplDomain {
|
|
20766
|
+
|
|
20767
|
+
/** ReplDomain custom */
|
|
20768
|
+
custom?: (string|null);
|
|
20769
|
+
|
|
20770
|
+
/** ReplDomain id */
|
|
20771
|
+
id?: (replit.goval.api.ReplDomainId|replit.goval.api.IReplDomainId|null);
|
|
20772
|
+
|
|
20773
|
+
/** ReplDomain doubleDash */
|
|
20774
|
+
doubleDash?: (replit.goval.api.ReplDomainDoubleDash|replit.goval.api.IReplDomainDoubleDash|null);
|
|
20775
|
+
|
|
20776
|
+
/** ReplDomain dots */
|
|
20777
|
+
dots?: (replit.goval.api.ReplDomainDots|replit.goval.api.IReplDomainDots|null);
|
|
20778
|
+
|
|
20779
|
+
/** ReplDomain singleDomain */
|
|
20780
|
+
singleDomain?: (replit.goval.api.ReplDomainSingleDomain|replit.goval.api.IReplDomainSingleDomain|null);
|
|
20781
|
+
}
|
|
20782
|
+
|
|
20783
|
+
/** Represents a ReplDomain. */
|
|
20784
|
+
class ReplDomain {
|
|
20785
|
+
|
|
20786
|
+
/**
|
|
20787
|
+
* Constructs a new ReplDomain.
|
|
20788
|
+
* @param [properties] Properties to set
|
|
20789
|
+
*/
|
|
20790
|
+
private constructor(properties?: replit.goval.api.IReplDomain);
|
|
20791
|
+
|
|
20792
|
+
/** ReplDomain custom. */
|
|
20793
|
+
public custom?: (string|null);
|
|
20794
|
+
|
|
20795
|
+
/** ReplDomain id. */
|
|
20796
|
+
public id?: (replit.goval.api.ReplDomainId|null);
|
|
20797
|
+
|
|
20798
|
+
/** ReplDomain doubleDash. */
|
|
20799
|
+
public doubleDash?: (replit.goval.api.ReplDomainDoubleDash|null);
|
|
20800
|
+
|
|
20801
|
+
/** ReplDomain dots. */
|
|
20802
|
+
public dots?: (replit.goval.api.ReplDomainDots|null);
|
|
20803
|
+
|
|
20804
|
+
/** ReplDomain singleDomain. */
|
|
20805
|
+
public singleDomain?: (replit.goval.api.ReplDomainSingleDomain|null);
|
|
20806
|
+
|
|
20807
|
+
/** ReplDomain kind. */
|
|
20808
|
+
public kind?: ("custom"|"id"|"doubleDash"|"dots"|"singleDomain");
|
|
20809
|
+
|
|
20810
|
+
/**
|
|
20811
|
+
* Creates a new ReplDomain instance using the specified properties.
|
|
20812
|
+
* @param [properties] Properties to set
|
|
20813
|
+
* @returns ReplDomain instance
|
|
20814
|
+
*/
|
|
20815
|
+
public static create(properties?: replit.goval.api.IReplDomain): replit.goval.api.ReplDomain;
|
|
20816
|
+
|
|
20817
|
+
/**
|
|
20818
|
+
* Encodes the specified ReplDomain message. Does not implicitly {@link replit.goval.api.ReplDomain.verify|verify} messages.
|
|
20819
|
+
* @param message ReplDomain message or plain object to encode
|
|
20820
|
+
* @param [writer] Writer to encode to
|
|
20821
|
+
* @returns Writer
|
|
20822
|
+
*/
|
|
20823
|
+
public static encode(message: replit.goval.api.ReplDomain, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
20824
|
+
|
|
20825
|
+
/**
|
|
20826
|
+
* Encodes the specified ReplDomain message, length delimited. Does not implicitly {@link replit.goval.api.ReplDomain.verify|verify} messages.
|
|
20827
|
+
* @param message ReplDomain message or plain object to encode
|
|
20828
|
+
* @param [writer] Writer to encode to
|
|
20829
|
+
* @returns Writer
|
|
20830
|
+
*/
|
|
20831
|
+
public static encodeDelimited(message: replit.goval.api.ReplDomain, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
20832
|
+
|
|
20833
|
+
/**
|
|
20834
|
+
* Decodes a ReplDomain message from the specified reader or buffer.
|
|
20835
|
+
* @param reader Reader or buffer to decode from
|
|
20836
|
+
* @param [length] Message length if known beforehand
|
|
20837
|
+
* @returns ReplDomain
|
|
20838
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20839
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20840
|
+
*/
|
|
20841
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.ReplDomain;
|
|
20842
|
+
|
|
20843
|
+
/**
|
|
20844
|
+
* Decodes a ReplDomain message from the specified reader or buffer, length delimited.
|
|
20845
|
+
* @param reader Reader or buffer to decode from
|
|
20846
|
+
* @returns ReplDomain
|
|
20847
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20848
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20849
|
+
*/
|
|
20850
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.ReplDomain;
|
|
20851
|
+
|
|
20852
|
+
/**
|
|
20853
|
+
* Verifies a ReplDomain message.
|
|
20854
|
+
* @param message Plain object to verify
|
|
20855
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
20856
|
+
*/
|
|
20857
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
20858
|
+
|
|
20859
|
+
/**
|
|
20860
|
+
* Creates a ReplDomain message from a plain object. Also converts values to their respective internal types.
|
|
20861
|
+
* @param object Plain object
|
|
20862
|
+
* @returns ReplDomain
|
|
20863
|
+
*/
|
|
20864
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.ReplDomain;
|
|
20865
|
+
|
|
20866
|
+
/**
|
|
20867
|
+
* Creates a plain object from a ReplDomain message. Also converts values to other types if specified.
|
|
20868
|
+
* @param message ReplDomain
|
|
20869
|
+
* @param [options] Conversion options
|
|
20870
|
+
* @returns Plain object
|
|
20871
|
+
*/
|
|
20872
|
+
public static toObject(message: replit.goval.api.ReplDomain, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
20873
|
+
|
|
20874
|
+
/**
|
|
20875
|
+
* Converts this ReplDomain to JSON.
|
|
20876
|
+
* @returns JSON object
|
|
20877
|
+
*/
|
|
20878
|
+
public toJSON(): { [k: string]: any };
|
|
20879
|
+
}
|
|
20880
|
+
|
|
20361
20881
|
/** Properties of a ReplToken. */
|
|
20362
20882
|
interface IReplToken {
|
|
20363
20883
|
|
|
@@ -21579,6 +22099,8 @@ export namespace replit {
|
|
|
21579
22099
|
SIGN_INTERMEDIATE_CERT = 1,
|
|
21580
22100
|
IDENTITY = 5,
|
|
21581
22101
|
GHOSTWRITER = 6,
|
|
22102
|
+
RENEW_IDENTITY = 7,
|
|
22103
|
+
RENEW_KV = 8,
|
|
21582
22104
|
ANY_REPLID = 2,
|
|
21583
22105
|
ANY_USER = 3,
|
|
21584
22106
|
ANY_CLUSTER = 4
|