@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.
- package/main/index.d.ts +636 -0
- package/main/index.js +1543 -0
- package/main/index.js.flow +902 -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
|
}
|
|
@@ -16457,6 +16458,9 @@ export namespace replit {
|
|
|
16457
16458
|
|
|
16458
16459
|
/** DotReplit modules */
|
|
16459
16460
|
modules?: (string[]|null);
|
|
16461
|
+
|
|
16462
|
+
/** DotReplit extension */
|
|
16463
|
+
extension?: (replit.goval.api.ExtensionConfig|replit.goval.api.IExtensionConfig|null);
|
|
16460
16464
|
}
|
|
16461
16465
|
|
|
16462
16466
|
/** Represents a DotReplit. */
|
|
@@ -16537,6 +16541,9 @@ export namespace replit {
|
|
|
16537
16541
|
/** DotReplit modules. */
|
|
16538
16542
|
public modules: string[];
|
|
16539
16543
|
|
|
16544
|
+
/** DotReplit extension. */
|
|
16545
|
+
public extension?: (replit.goval.api.ExtensionConfig|null);
|
|
16546
|
+
|
|
16540
16547
|
/**
|
|
16541
16548
|
* Creates a new DotReplit instance using the specified properties.
|
|
16542
16549
|
* @param [properties] Properties to set
|
|
@@ -16994,6 +17001,9 @@ export namespace replit {
|
|
|
16994
17001
|
|
|
16995
17002
|
/** DeploymentConfig build */
|
|
16996
17003
|
build?: (replit.goval.api.Exec|replit.goval.api.IExec|null);
|
|
17004
|
+
|
|
17005
|
+
/** DeploymentConfig ignorePorts */
|
|
17006
|
+
ignorePorts?: (boolean|null);
|
|
16997
17007
|
}
|
|
16998
17008
|
|
|
16999
17009
|
/** Represents a DeploymentConfig. */
|
|
@@ -17011,6 +17021,9 @@ export namespace replit {
|
|
|
17011
17021
|
/** DeploymentConfig build. */
|
|
17012
17022
|
public build?: (replit.goval.api.Exec|null);
|
|
17013
17023
|
|
|
17024
|
+
/** DeploymentConfig ignorePorts. */
|
|
17025
|
+
public ignorePorts: boolean;
|
|
17026
|
+
|
|
17014
17027
|
/**
|
|
17015
17028
|
* Creates a new DeploymentConfig instance using the specified properties.
|
|
17016
17029
|
* @param [properties] Properties to set
|
|
@@ -17082,6 +17095,114 @@ export namespace replit {
|
|
|
17082
17095
|
public toJSON(): { [k: string]: any };
|
|
17083
17096
|
}
|
|
17084
17097
|
|
|
17098
|
+
/** Properties of an ExtensionConfig. */
|
|
17099
|
+
interface IExtensionConfig {
|
|
17100
|
+
|
|
17101
|
+
/** ExtensionConfig isExtension */
|
|
17102
|
+
isExtension?: (boolean|null);
|
|
17103
|
+
|
|
17104
|
+
/** ExtensionConfig extensionID */
|
|
17105
|
+
extensionID?: (string|null);
|
|
17106
|
+
|
|
17107
|
+
/** ExtensionConfig buildCommand */
|
|
17108
|
+
buildCommand?: (string|null);
|
|
17109
|
+
|
|
17110
|
+
/** ExtensionConfig outputDirectory */
|
|
17111
|
+
outputDirectory?: (string|null);
|
|
17112
|
+
}
|
|
17113
|
+
|
|
17114
|
+
/** Represents an ExtensionConfig. */
|
|
17115
|
+
class ExtensionConfig {
|
|
17116
|
+
|
|
17117
|
+
/**
|
|
17118
|
+
* Constructs a new ExtensionConfig.
|
|
17119
|
+
* @param [properties] Properties to set
|
|
17120
|
+
*/
|
|
17121
|
+
private constructor(properties?: replit.goval.api.IExtensionConfig);
|
|
17122
|
+
|
|
17123
|
+
/** ExtensionConfig isExtension. */
|
|
17124
|
+
public isExtension: boolean;
|
|
17125
|
+
|
|
17126
|
+
/** ExtensionConfig extensionID. */
|
|
17127
|
+
public extensionID: string;
|
|
17128
|
+
|
|
17129
|
+
/** ExtensionConfig buildCommand. */
|
|
17130
|
+
public buildCommand: string;
|
|
17131
|
+
|
|
17132
|
+
/** ExtensionConfig outputDirectory. */
|
|
17133
|
+
public outputDirectory: string;
|
|
17134
|
+
|
|
17135
|
+
/**
|
|
17136
|
+
* Creates a new ExtensionConfig instance using the specified properties.
|
|
17137
|
+
* @param [properties] Properties to set
|
|
17138
|
+
* @returns ExtensionConfig instance
|
|
17139
|
+
*/
|
|
17140
|
+
public static create(properties?: replit.goval.api.IExtensionConfig): replit.goval.api.ExtensionConfig;
|
|
17141
|
+
|
|
17142
|
+
/**
|
|
17143
|
+
* Encodes the specified ExtensionConfig message. Does not implicitly {@link replit.goval.api.ExtensionConfig.verify|verify} messages.
|
|
17144
|
+
* @param message ExtensionConfig message or plain object to encode
|
|
17145
|
+
* @param [writer] Writer to encode to
|
|
17146
|
+
* @returns Writer
|
|
17147
|
+
*/
|
|
17148
|
+
public static encode(message: replit.goval.api.ExtensionConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
17149
|
+
|
|
17150
|
+
/**
|
|
17151
|
+
* Encodes the specified ExtensionConfig message, length delimited. Does not implicitly {@link replit.goval.api.ExtensionConfig.verify|verify} messages.
|
|
17152
|
+
* @param message ExtensionConfig message or plain object to encode
|
|
17153
|
+
* @param [writer] Writer to encode to
|
|
17154
|
+
* @returns Writer
|
|
17155
|
+
*/
|
|
17156
|
+
public static encodeDelimited(message: replit.goval.api.ExtensionConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
17157
|
+
|
|
17158
|
+
/**
|
|
17159
|
+
* Decodes an ExtensionConfig message from the specified reader or buffer.
|
|
17160
|
+
* @param reader Reader or buffer to decode from
|
|
17161
|
+
* @param [length] Message length if known beforehand
|
|
17162
|
+
* @returns ExtensionConfig
|
|
17163
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
17164
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
17165
|
+
*/
|
|
17166
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.ExtensionConfig;
|
|
17167
|
+
|
|
17168
|
+
/**
|
|
17169
|
+
* Decodes an ExtensionConfig message from the specified reader or buffer, length delimited.
|
|
17170
|
+
* @param reader Reader or buffer to decode from
|
|
17171
|
+
* @returns ExtensionConfig
|
|
17172
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
17173
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
17174
|
+
*/
|
|
17175
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.ExtensionConfig;
|
|
17176
|
+
|
|
17177
|
+
/**
|
|
17178
|
+
* Verifies an ExtensionConfig message.
|
|
17179
|
+
* @param message Plain object to verify
|
|
17180
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
17181
|
+
*/
|
|
17182
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
17183
|
+
|
|
17184
|
+
/**
|
|
17185
|
+
* Creates an ExtensionConfig message from a plain object. Also converts values to their respective internal types.
|
|
17186
|
+
* @param object Plain object
|
|
17187
|
+
* @returns ExtensionConfig
|
|
17188
|
+
*/
|
|
17189
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.ExtensionConfig;
|
|
17190
|
+
|
|
17191
|
+
/**
|
|
17192
|
+
* Creates a plain object from an ExtensionConfig message. Also converts values to other types if specified.
|
|
17193
|
+
* @param message ExtensionConfig
|
|
17194
|
+
* @param [options] Conversion options
|
|
17195
|
+
* @returns Plain object
|
|
17196
|
+
*/
|
|
17197
|
+
public static toObject(message: replit.goval.api.ExtensionConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
17198
|
+
|
|
17199
|
+
/**
|
|
17200
|
+
* Converts this ExtensionConfig to JSON.
|
|
17201
|
+
* @returns JSON object
|
|
17202
|
+
*/
|
|
17203
|
+
public toJSON(): { [k: string]: any };
|
|
17204
|
+
}
|
|
17205
|
+
|
|
17085
17206
|
/** Properties of a NixConfig. */
|
|
17086
17207
|
interface INixConfig {
|
|
17087
17208
|
|
|
@@ -20358,6 +20479,519 @@ export namespace replit {
|
|
|
20358
20479
|
public toJSON(): { [k: string]: any };
|
|
20359
20480
|
}
|
|
20360
20481
|
|
|
20482
|
+
/** Properties of a ReplDomainDoubleDash. */
|
|
20483
|
+
interface IReplDomainDoubleDash {
|
|
20484
|
+
|
|
20485
|
+
/** ReplDomainDoubleDash user */
|
|
20486
|
+
user?: (string|null);
|
|
20487
|
+
|
|
20488
|
+
/** ReplDomainDoubleDash slug */
|
|
20489
|
+
slug?: (string|null);
|
|
20490
|
+
|
|
20491
|
+
/** ReplDomainDoubleDash suffix */
|
|
20492
|
+
suffix?: (string|null);
|
|
20493
|
+
}
|
|
20494
|
+
|
|
20495
|
+
/** Represents a ReplDomainDoubleDash. */
|
|
20496
|
+
class ReplDomainDoubleDash {
|
|
20497
|
+
|
|
20498
|
+
/**
|
|
20499
|
+
* Constructs a new ReplDomainDoubleDash.
|
|
20500
|
+
* @param [properties] Properties to set
|
|
20501
|
+
*/
|
|
20502
|
+
private constructor(properties?: replit.goval.api.IReplDomainDoubleDash);
|
|
20503
|
+
|
|
20504
|
+
/** ReplDomainDoubleDash user. */
|
|
20505
|
+
public user: string;
|
|
20506
|
+
|
|
20507
|
+
/** ReplDomainDoubleDash slug. */
|
|
20508
|
+
public slug: string;
|
|
20509
|
+
|
|
20510
|
+
/** ReplDomainDoubleDash suffix. */
|
|
20511
|
+
public suffix: string;
|
|
20512
|
+
|
|
20513
|
+
/**
|
|
20514
|
+
* Creates a new ReplDomainDoubleDash instance using the specified properties.
|
|
20515
|
+
* @param [properties] Properties to set
|
|
20516
|
+
* @returns ReplDomainDoubleDash instance
|
|
20517
|
+
*/
|
|
20518
|
+
public static create(properties?: replit.goval.api.IReplDomainDoubleDash): replit.goval.api.ReplDomainDoubleDash;
|
|
20519
|
+
|
|
20520
|
+
/**
|
|
20521
|
+
* Encodes the specified ReplDomainDoubleDash message. Does not implicitly {@link replit.goval.api.ReplDomainDoubleDash.verify|verify} messages.
|
|
20522
|
+
* @param message ReplDomainDoubleDash message or plain object to encode
|
|
20523
|
+
* @param [writer] Writer to encode to
|
|
20524
|
+
* @returns Writer
|
|
20525
|
+
*/
|
|
20526
|
+
public static encode(message: replit.goval.api.ReplDomainDoubleDash, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
20527
|
+
|
|
20528
|
+
/**
|
|
20529
|
+
* Encodes the specified ReplDomainDoubleDash message, length delimited. Does not implicitly {@link replit.goval.api.ReplDomainDoubleDash.verify|verify} messages.
|
|
20530
|
+
* @param message ReplDomainDoubleDash message or plain object to encode
|
|
20531
|
+
* @param [writer] Writer to encode to
|
|
20532
|
+
* @returns Writer
|
|
20533
|
+
*/
|
|
20534
|
+
public static encodeDelimited(message: replit.goval.api.ReplDomainDoubleDash, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
20535
|
+
|
|
20536
|
+
/**
|
|
20537
|
+
* Decodes a ReplDomainDoubleDash message from the specified reader or buffer.
|
|
20538
|
+
* @param reader Reader or buffer to decode from
|
|
20539
|
+
* @param [length] Message length if known beforehand
|
|
20540
|
+
* @returns ReplDomainDoubleDash
|
|
20541
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20542
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20543
|
+
*/
|
|
20544
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.ReplDomainDoubleDash;
|
|
20545
|
+
|
|
20546
|
+
/**
|
|
20547
|
+
* Decodes a ReplDomainDoubleDash message from the specified reader or buffer, length delimited.
|
|
20548
|
+
* @param reader Reader or buffer to decode from
|
|
20549
|
+
* @returns ReplDomainDoubleDash
|
|
20550
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20551
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20552
|
+
*/
|
|
20553
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.ReplDomainDoubleDash;
|
|
20554
|
+
|
|
20555
|
+
/**
|
|
20556
|
+
* Verifies a ReplDomainDoubleDash message.
|
|
20557
|
+
* @param message Plain object to verify
|
|
20558
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
20559
|
+
*/
|
|
20560
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
20561
|
+
|
|
20562
|
+
/**
|
|
20563
|
+
* Creates a ReplDomainDoubleDash message from a plain object. Also converts values to their respective internal types.
|
|
20564
|
+
* @param object Plain object
|
|
20565
|
+
* @returns ReplDomainDoubleDash
|
|
20566
|
+
*/
|
|
20567
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.ReplDomainDoubleDash;
|
|
20568
|
+
|
|
20569
|
+
/**
|
|
20570
|
+
* Creates a plain object from a ReplDomainDoubleDash message. Also converts values to other types if specified.
|
|
20571
|
+
* @param message ReplDomainDoubleDash
|
|
20572
|
+
* @param [options] Conversion options
|
|
20573
|
+
* @returns Plain object
|
|
20574
|
+
*/
|
|
20575
|
+
public static toObject(message: replit.goval.api.ReplDomainDoubleDash, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
20576
|
+
|
|
20577
|
+
/**
|
|
20578
|
+
* Converts this ReplDomainDoubleDash to JSON.
|
|
20579
|
+
* @returns JSON object
|
|
20580
|
+
*/
|
|
20581
|
+
public toJSON(): { [k: string]: any };
|
|
20582
|
+
}
|
|
20583
|
+
|
|
20584
|
+
/** Properties of a ReplDomainDots. */
|
|
20585
|
+
interface IReplDomainDots {
|
|
20586
|
+
|
|
20587
|
+
/** ReplDomainDots user */
|
|
20588
|
+
user?: (string|null);
|
|
20589
|
+
|
|
20590
|
+
/** ReplDomainDots slug */
|
|
20591
|
+
slug?: (string|null);
|
|
20592
|
+
|
|
20593
|
+
/** ReplDomainDots suffix */
|
|
20594
|
+
suffix?: (string|null);
|
|
20595
|
+
}
|
|
20596
|
+
|
|
20597
|
+
/** Represents a ReplDomainDots. */
|
|
20598
|
+
class ReplDomainDots {
|
|
20599
|
+
|
|
20600
|
+
/**
|
|
20601
|
+
* Constructs a new ReplDomainDots.
|
|
20602
|
+
* @param [properties] Properties to set
|
|
20603
|
+
*/
|
|
20604
|
+
private constructor(properties?: replit.goval.api.IReplDomainDots);
|
|
20605
|
+
|
|
20606
|
+
/** ReplDomainDots user. */
|
|
20607
|
+
public user: string;
|
|
20608
|
+
|
|
20609
|
+
/** ReplDomainDots slug. */
|
|
20610
|
+
public slug: string;
|
|
20611
|
+
|
|
20612
|
+
/** ReplDomainDots suffix. */
|
|
20613
|
+
public suffix: string;
|
|
20614
|
+
|
|
20615
|
+
/**
|
|
20616
|
+
* Creates a new ReplDomainDots instance using the specified properties.
|
|
20617
|
+
* @param [properties] Properties to set
|
|
20618
|
+
* @returns ReplDomainDots instance
|
|
20619
|
+
*/
|
|
20620
|
+
public static create(properties?: replit.goval.api.IReplDomainDots): replit.goval.api.ReplDomainDots;
|
|
20621
|
+
|
|
20622
|
+
/**
|
|
20623
|
+
* Encodes the specified ReplDomainDots message. Does not implicitly {@link replit.goval.api.ReplDomainDots.verify|verify} messages.
|
|
20624
|
+
* @param message ReplDomainDots message or plain object to encode
|
|
20625
|
+
* @param [writer] Writer to encode to
|
|
20626
|
+
* @returns Writer
|
|
20627
|
+
*/
|
|
20628
|
+
public static encode(message: replit.goval.api.ReplDomainDots, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
20629
|
+
|
|
20630
|
+
/**
|
|
20631
|
+
* Encodes the specified ReplDomainDots message, length delimited. Does not implicitly {@link replit.goval.api.ReplDomainDots.verify|verify} messages.
|
|
20632
|
+
* @param message ReplDomainDots message or plain object to encode
|
|
20633
|
+
* @param [writer] Writer to encode to
|
|
20634
|
+
* @returns Writer
|
|
20635
|
+
*/
|
|
20636
|
+
public static encodeDelimited(message: replit.goval.api.ReplDomainDots, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
20637
|
+
|
|
20638
|
+
/**
|
|
20639
|
+
* Decodes a ReplDomainDots message from the specified reader or buffer.
|
|
20640
|
+
* @param reader Reader or buffer to decode from
|
|
20641
|
+
* @param [length] Message length if known beforehand
|
|
20642
|
+
* @returns ReplDomainDots
|
|
20643
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20644
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20645
|
+
*/
|
|
20646
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.ReplDomainDots;
|
|
20647
|
+
|
|
20648
|
+
/**
|
|
20649
|
+
* Decodes a ReplDomainDots message from the specified reader or buffer, length delimited.
|
|
20650
|
+
* @param reader Reader or buffer to decode from
|
|
20651
|
+
* @returns ReplDomainDots
|
|
20652
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20653
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20654
|
+
*/
|
|
20655
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.ReplDomainDots;
|
|
20656
|
+
|
|
20657
|
+
/**
|
|
20658
|
+
* Verifies a ReplDomainDots message.
|
|
20659
|
+
* @param message Plain object to verify
|
|
20660
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
20661
|
+
*/
|
|
20662
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
20663
|
+
|
|
20664
|
+
/**
|
|
20665
|
+
* Creates a ReplDomainDots message from a plain object. Also converts values to their respective internal types.
|
|
20666
|
+
* @param object Plain object
|
|
20667
|
+
* @returns ReplDomainDots
|
|
20668
|
+
*/
|
|
20669
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.ReplDomainDots;
|
|
20670
|
+
|
|
20671
|
+
/**
|
|
20672
|
+
* Creates a plain object from a ReplDomainDots message. Also converts values to other types if specified.
|
|
20673
|
+
* @param message ReplDomainDots
|
|
20674
|
+
* @param [options] Conversion options
|
|
20675
|
+
* @returns Plain object
|
|
20676
|
+
*/
|
|
20677
|
+
public static toObject(message: replit.goval.api.ReplDomainDots, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
20678
|
+
|
|
20679
|
+
/**
|
|
20680
|
+
* Converts this ReplDomainDots to JSON.
|
|
20681
|
+
* @returns JSON object
|
|
20682
|
+
*/
|
|
20683
|
+
public toJSON(): { [k: string]: any };
|
|
20684
|
+
}
|
|
20685
|
+
|
|
20686
|
+
/** Properties of a ReplDomainSingleDomain. */
|
|
20687
|
+
interface IReplDomainSingleDomain {
|
|
20688
|
+
|
|
20689
|
+
/** ReplDomainSingleDomain user */
|
|
20690
|
+
user?: (string|null);
|
|
20691
|
+
|
|
20692
|
+
/** ReplDomainSingleDomain suffix */
|
|
20693
|
+
suffix?: (string|null);
|
|
20694
|
+
}
|
|
20695
|
+
|
|
20696
|
+
/** Represents a ReplDomainSingleDomain. */
|
|
20697
|
+
class ReplDomainSingleDomain {
|
|
20698
|
+
|
|
20699
|
+
/**
|
|
20700
|
+
* Constructs a new ReplDomainSingleDomain.
|
|
20701
|
+
* @param [properties] Properties to set
|
|
20702
|
+
*/
|
|
20703
|
+
private constructor(properties?: replit.goval.api.IReplDomainSingleDomain);
|
|
20704
|
+
|
|
20705
|
+
/** ReplDomainSingleDomain user. */
|
|
20706
|
+
public user: string;
|
|
20707
|
+
|
|
20708
|
+
/** ReplDomainSingleDomain suffix. */
|
|
20709
|
+
public suffix: string;
|
|
20710
|
+
|
|
20711
|
+
/**
|
|
20712
|
+
* Creates a new ReplDomainSingleDomain instance using the specified properties.
|
|
20713
|
+
* @param [properties] Properties to set
|
|
20714
|
+
* @returns ReplDomainSingleDomain instance
|
|
20715
|
+
*/
|
|
20716
|
+
public static create(properties?: replit.goval.api.IReplDomainSingleDomain): replit.goval.api.ReplDomainSingleDomain;
|
|
20717
|
+
|
|
20718
|
+
/**
|
|
20719
|
+
* Encodes the specified ReplDomainSingleDomain message. Does not implicitly {@link replit.goval.api.ReplDomainSingleDomain.verify|verify} messages.
|
|
20720
|
+
* @param message ReplDomainSingleDomain message or plain object to encode
|
|
20721
|
+
* @param [writer] Writer to encode to
|
|
20722
|
+
* @returns Writer
|
|
20723
|
+
*/
|
|
20724
|
+
public static encode(message: replit.goval.api.ReplDomainSingleDomain, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
20725
|
+
|
|
20726
|
+
/**
|
|
20727
|
+
* Encodes the specified ReplDomainSingleDomain message, length delimited. Does not implicitly {@link replit.goval.api.ReplDomainSingleDomain.verify|verify} messages.
|
|
20728
|
+
* @param message ReplDomainSingleDomain message or plain object to encode
|
|
20729
|
+
* @param [writer] Writer to encode to
|
|
20730
|
+
* @returns Writer
|
|
20731
|
+
*/
|
|
20732
|
+
public static encodeDelimited(message: replit.goval.api.ReplDomainSingleDomain, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
20733
|
+
|
|
20734
|
+
/**
|
|
20735
|
+
* Decodes a ReplDomainSingleDomain message from the specified reader or buffer.
|
|
20736
|
+
* @param reader Reader or buffer to decode from
|
|
20737
|
+
* @param [length] Message length if known beforehand
|
|
20738
|
+
* @returns ReplDomainSingleDomain
|
|
20739
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20740
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20741
|
+
*/
|
|
20742
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.ReplDomainSingleDomain;
|
|
20743
|
+
|
|
20744
|
+
/**
|
|
20745
|
+
* Decodes a ReplDomainSingleDomain message from the specified reader or buffer, length delimited.
|
|
20746
|
+
* @param reader Reader or buffer to decode from
|
|
20747
|
+
* @returns ReplDomainSingleDomain
|
|
20748
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20749
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20750
|
+
*/
|
|
20751
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.ReplDomainSingleDomain;
|
|
20752
|
+
|
|
20753
|
+
/**
|
|
20754
|
+
* Verifies a ReplDomainSingleDomain message.
|
|
20755
|
+
* @param message Plain object to verify
|
|
20756
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
20757
|
+
*/
|
|
20758
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
20759
|
+
|
|
20760
|
+
/**
|
|
20761
|
+
* Creates a ReplDomainSingleDomain message from a plain object. Also converts values to their respective internal types.
|
|
20762
|
+
* @param object Plain object
|
|
20763
|
+
* @returns ReplDomainSingleDomain
|
|
20764
|
+
*/
|
|
20765
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.ReplDomainSingleDomain;
|
|
20766
|
+
|
|
20767
|
+
/**
|
|
20768
|
+
* Creates a plain object from a ReplDomainSingleDomain message. Also converts values to other types if specified.
|
|
20769
|
+
* @param message ReplDomainSingleDomain
|
|
20770
|
+
* @param [options] Conversion options
|
|
20771
|
+
* @returns Plain object
|
|
20772
|
+
*/
|
|
20773
|
+
public static toObject(message: replit.goval.api.ReplDomainSingleDomain, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
20774
|
+
|
|
20775
|
+
/**
|
|
20776
|
+
* Converts this ReplDomainSingleDomain to JSON.
|
|
20777
|
+
* @returns JSON object
|
|
20778
|
+
*/
|
|
20779
|
+
public toJSON(): { [k: string]: any };
|
|
20780
|
+
}
|
|
20781
|
+
|
|
20782
|
+
/** Properties of a ReplDomainId. */
|
|
20783
|
+
interface IReplDomainId {
|
|
20784
|
+
|
|
20785
|
+
/** ReplDomainId id */
|
|
20786
|
+
id?: (string|null);
|
|
20787
|
+
|
|
20788
|
+
/** ReplDomainId suffix */
|
|
20789
|
+
suffix?: (string|null);
|
|
20790
|
+
}
|
|
20791
|
+
|
|
20792
|
+
/** Represents a ReplDomainId. */
|
|
20793
|
+
class ReplDomainId {
|
|
20794
|
+
|
|
20795
|
+
/**
|
|
20796
|
+
* Constructs a new ReplDomainId.
|
|
20797
|
+
* @param [properties] Properties to set
|
|
20798
|
+
*/
|
|
20799
|
+
private constructor(properties?: replit.goval.api.IReplDomainId);
|
|
20800
|
+
|
|
20801
|
+
/** ReplDomainId id. */
|
|
20802
|
+
public id: string;
|
|
20803
|
+
|
|
20804
|
+
/** ReplDomainId suffix. */
|
|
20805
|
+
public suffix: string;
|
|
20806
|
+
|
|
20807
|
+
/**
|
|
20808
|
+
* Creates a new ReplDomainId instance using the specified properties.
|
|
20809
|
+
* @param [properties] Properties to set
|
|
20810
|
+
* @returns ReplDomainId instance
|
|
20811
|
+
*/
|
|
20812
|
+
public static create(properties?: replit.goval.api.IReplDomainId): replit.goval.api.ReplDomainId;
|
|
20813
|
+
|
|
20814
|
+
/**
|
|
20815
|
+
* Encodes the specified ReplDomainId message. Does not implicitly {@link replit.goval.api.ReplDomainId.verify|verify} messages.
|
|
20816
|
+
* @param message ReplDomainId message or plain object to encode
|
|
20817
|
+
* @param [writer] Writer to encode to
|
|
20818
|
+
* @returns Writer
|
|
20819
|
+
*/
|
|
20820
|
+
public static encode(message: replit.goval.api.ReplDomainId, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
20821
|
+
|
|
20822
|
+
/**
|
|
20823
|
+
* Encodes the specified ReplDomainId message, length delimited. Does not implicitly {@link replit.goval.api.ReplDomainId.verify|verify} messages.
|
|
20824
|
+
* @param message ReplDomainId message or plain object to encode
|
|
20825
|
+
* @param [writer] Writer to encode to
|
|
20826
|
+
* @returns Writer
|
|
20827
|
+
*/
|
|
20828
|
+
public static encodeDelimited(message: replit.goval.api.ReplDomainId, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
20829
|
+
|
|
20830
|
+
/**
|
|
20831
|
+
* Decodes a ReplDomainId message from the specified reader or buffer.
|
|
20832
|
+
* @param reader Reader or buffer to decode from
|
|
20833
|
+
* @param [length] Message length if known beforehand
|
|
20834
|
+
* @returns ReplDomainId
|
|
20835
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20836
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20837
|
+
*/
|
|
20838
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.ReplDomainId;
|
|
20839
|
+
|
|
20840
|
+
/**
|
|
20841
|
+
* Decodes a ReplDomainId message from the specified reader or buffer, length delimited.
|
|
20842
|
+
* @param reader Reader or buffer to decode from
|
|
20843
|
+
* @returns ReplDomainId
|
|
20844
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20845
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20846
|
+
*/
|
|
20847
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.ReplDomainId;
|
|
20848
|
+
|
|
20849
|
+
/**
|
|
20850
|
+
* Verifies a ReplDomainId message.
|
|
20851
|
+
* @param message Plain object to verify
|
|
20852
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
20853
|
+
*/
|
|
20854
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
20855
|
+
|
|
20856
|
+
/**
|
|
20857
|
+
* Creates a ReplDomainId message from a plain object. Also converts values to their respective internal types.
|
|
20858
|
+
* @param object Plain object
|
|
20859
|
+
* @returns ReplDomainId
|
|
20860
|
+
*/
|
|
20861
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.ReplDomainId;
|
|
20862
|
+
|
|
20863
|
+
/**
|
|
20864
|
+
* Creates a plain object from a ReplDomainId message. Also converts values to other types if specified.
|
|
20865
|
+
* @param message ReplDomainId
|
|
20866
|
+
* @param [options] Conversion options
|
|
20867
|
+
* @returns Plain object
|
|
20868
|
+
*/
|
|
20869
|
+
public static toObject(message: replit.goval.api.ReplDomainId, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
20870
|
+
|
|
20871
|
+
/**
|
|
20872
|
+
* Converts this ReplDomainId to JSON.
|
|
20873
|
+
* @returns JSON object
|
|
20874
|
+
*/
|
|
20875
|
+
public toJSON(): { [k: string]: any };
|
|
20876
|
+
}
|
|
20877
|
+
|
|
20878
|
+
/** Properties of a ReplDomain. */
|
|
20879
|
+
interface IReplDomain {
|
|
20880
|
+
|
|
20881
|
+
/** ReplDomain custom */
|
|
20882
|
+
custom?: (string|null);
|
|
20883
|
+
|
|
20884
|
+
/** ReplDomain id */
|
|
20885
|
+
id?: (replit.goval.api.ReplDomainId|replit.goval.api.IReplDomainId|null);
|
|
20886
|
+
|
|
20887
|
+
/** ReplDomain doubleDash */
|
|
20888
|
+
doubleDash?: (replit.goval.api.ReplDomainDoubleDash|replit.goval.api.IReplDomainDoubleDash|null);
|
|
20889
|
+
|
|
20890
|
+
/** ReplDomain dots */
|
|
20891
|
+
dots?: (replit.goval.api.ReplDomainDots|replit.goval.api.IReplDomainDots|null);
|
|
20892
|
+
|
|
20893
|
+
/** ReplDomain singleDomain */
|
|
20894
|
+
singleDomain?: (replit.goval.api.ReplDomainSingleDomain|replit.goval.api.IReplDomainSingleDomain|null);
|
|
20895
|
+
}
|
|
20896
|
+
|
|
20897
|
+
/** Represents a ReplDomain. */
|
|
20898
|
+
class ReplDomain {
|
|
20899
|
+
|
|
20900
|
+
/**
|
|
20901
|
+
* Constructs a new ReplDomain.
|
|
20902
|
+
* @param [properties] Properties to set
|
|
20903
|
+
*/
|
|
20904
|
+
private constructor(properties?: replit.goval.api.IReplDomain);
|
|
20905
|
+
|
|
20906
|
+
/** ReplDomain custom. */
|
|
20907
|
+
public custom?: (string|null);
|
|
20908
|
+
|
|
20909
|
+
/** ReplDomain id. */
|
|
20910
|
+
public id?: (replit.goval.api.ReplDomainId|null);
|
|
20911
|
+
|
|
20912
|
+
/** ReplDomain doubleDash. */
|
|
20913
|
+
public doubleDash?: (replit.goval.api.ReplDomainDoubleDash|null);
|
|
20914
|
+
|
|
20915
|
+
/** ReplDomain dots. */
|
|
20916
|
+
public dots?: (replit.goval.api.ReplDomainDots|null);
|
|
20917
|
+
|
|
20918
|
+
/** ReplDomain singleDomain. */
|
|
20919
|
+
public singleDomain?: (replit.goval.api.ReplDomainSingleDomain|null);
|
|
20920
|
+
|
|
20921
|
+
/** ReplDomain kind. */
|
|
20922
|
+
public kind?: ("custom"|"id"|"doubleDash"|"dots"|"singleDomain");
|
|
20923
|
+
|
|
20924
|
+
/**
|
|
20925
|
+
* Creates a new ReplDomain instance using the specified properties.
|
|
20926
|
+
* @param [properties] Properties to set
|
|
20927
|
+
* @returns ReplDomain instance
|
|
20928
|
+
*/
|
|
20929
|
+
public static create(properties?: replit.goval.api.IReplDomain): replit.goval.api.ReplDomain;
|
|
20930
|
+
|
|
20931
|
+
/**
|
|
20932
|
+
* Encodes the specified ReplDomain message. Does not implicitly {@link replit.goval.api.ReplDomain.verify|verify} messages.
|
|
20933
|
+
* @param message ReplDomain message or plain object to encode
|
|
20934
|
+
* @param [writer] Writer to encode to
|
|
20935
|
+
* @returns Writer
|
|
20936
|
+
*/
|
|
20937
|
+
public static encode(message: replit.goval.api.ReplDomain, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
20938
|
+
|
|
20939
|
+
/**
|
|
20940
|
+
* Encodes the specified ReplDomain message, length delimited. Does not implicitly {@link replit.goval.api.ReplDomain.verify|verify} messages.
|
|
20941
|
+
* @param message ReplDomain message or plain object to encode
|
|
20942
|
+
* @param [writer] Writer to encode to
|
|
20943
|
+
* @returns Writer
|
|
20944
|
+
*/
|
|
20945
|
+
public static encodeDelimited(message: replit.goval.api.ReplDomain, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
20946
|
+
|
|
20947
|
+
/**
|
|
20948
|
+
* Decodes a ReplDomain message from the specified reader or buffer.
|
|
20949
|
+
* @param reader Reader or buffer to decode from
|
|
20950
|
+
* @param [length] Message length if known beforehand
|
|
20951
|
+
* @returns ReplDomain
|
|
20952
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20953
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20954
|
+
*/
|
|
20955
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.ReplDomain;
|
|
20956
|
+
|
|
20957
|
+
/**
|
|
20958
|
+
* Decodes a ReplDomain message from the specified reader or buffer, length delimited.
|
|
20959
|
+
* @param reader Reader or buffer to decode from
|
|
20960
|
+
* @returns ReplDomain
|
|
20961
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20962
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20963
|
+
*/
|
|
20964
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.ReplDomain;
|
|
20965
|
+
|
|
20966
|
+
/**
|
|
20967
|
+
* Verifies a ReplDomain message.
|
|
20968
|
+
* @param message Plain object to verify
|
|
20969
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
20970
|
+
*/
|
|
20971
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
20972
|
+
|
|
20973
|
+
/**
|
|
20974
|
+
* Creates a ReplDomain message from a plain object. Also converts values to their respective internal types.
|
|
20975
|
+
* @param object Plain object
|
|
20976
|
+
* @returns ReplDomain
|
|
20977
|
+
*/
|
|
20978
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.ReplDomain;
|
|
20979
|
+
|
|
20980
|
+
/**
|
|
20981
|
+
* Creates a plain object from a ReplDomain message. Also converts values to other types if specified.
|
|
20982
|
+
* @param message ReplDomain
|
|
20983
|
+
* @param [options] Conversion options
|
|
20984
|
+
* @returns Plain object
|
|
20985
|
+
*/
|
|
20986
|
+
public static toObject(message: replit.goval.api.ReplDomain, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
20987
|
+
|
|
20988
|
+
/**
|
|
20989
|
+
* Converts this ReplDomain to JSON.
|
|
20990
|
+
* @returns JSON object
|
|
20991
|
+
*/
|
|
20992
|
+
public toJSON(): { [k: string]: any };
|
|
20993
|
+
}
|
|
20994
|
+
|
|
20361
20995
|
/** Properties of a ReplToken. */
|
|
20362
20996
|
interface IReplToken {
|
|
20363
20997
|
|
|
@@ -21579,6 +22213,8 @@ export namespace replit {
|
|
|
21579
22213
|
SIGN_INTERMEDIATE_CERT = 1,
|
|
21580
22214
|
IDENTITY = 5,
|
|
21581
22215
|
GHOSTWRITER = 6,
|
|
22216
|
+
RENEW_IDENTITY = 7,
|
|
22217
|
+
RENEW_KV = 8,
|
|
21582
22218
|
ANY_REPLID = 2,
|
|
21583
22219
|
ANY_USER = 3,
|
|
21584
22220
|
ANY_CLUSTER = 4
|