@replit/protocol 0.2.76 → 0.2.78
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/gen.sh +1 -2
- package/main/index.d.ts +507 -3
- package/main/index.js +1231 -6
- package/main/index.js.flow +720 -3
- package/package.json +1 -1
package/main/index.js.flow
CHANGED
|
@@ -193,6 +193,7 @@ declare var npm$namespace$replit$goval$api: {|
|
|
|
193
193
|
IDapIntegratedAdapterConfig: Class<replit$goval$api$IDapIntegratedAdapterConfig>,
|
|
194
194
|
IProxyGoingAway: Class<replit$goval$api$IProxyGoingAway>,
|
|
195
195
|
IFirewallDenied: Class<replit$goval$api$IFirewallDenied>,
|
|
196
|
+
IReplLogMessage: Class<replit$goval$api$IReplLogMessage>,
|
|
196
197
|
IReplToken: Class<replit$goval$api$IReplToken>,
|
|
197
198
|
ITLSCertificate: Class<replit$goval$api$ITLSCertificate>,
|
|
198
199
|
IReplTransfer: Class<replit$goval$api$IReplTransfer>,
|
|
@@ -209,6 +210,9 @@ declare var npm$namespace$replit$goval$api: {|
|
|
|
209
210
|
IClusterTransfer: Class<replit$goval$api$IClusterTransfer>,
|
|
210
211
|
ISoftTakedown: Class<replit$goval$api$ISoftTakedown>,
|
|
211
212
|
IGovalCommand: Class<replit$goval$api$IGovalCommand>,
|
|
213
|
+
IPartialUpdateMetadata: Class<replit$goval$api$IPartialUpdateMetadata>,
|
|
214
|
+
IMultiGovalCommand: Class<replit$goval$api$IMultiGovalCommand>,
|
|
215
|
+
IKillRepl: Class<replit$goval$api$IKillRepl>,
|
|
212
216
|
IRestore: Class<replit$goval$api$IRestore>,
|
|
213
217
|
Command: typeof replit$goval$api$Command,
|
|
214
218
|
NixPackageAddRequest: typeof replit$goval$api$NixPackageAddRequest,
|
|
@@ -382,6 +386,7 @@ declare var npm$namespace$replit$goval$api: {|
|
|
|
382
386
|
DapIntegratedAdapterConfig: typeof replit$goval$api$DapIntegratedAdapterConfig,
|
|
383
387
|
ProxyGoingAway: typeof replit$goval$api$ProxyGoingAway,
|
|
384
388
|
FirewallDenied: typeof replit$goval$api$FirewallDenied,
|
|
389
|
+
ReplLogMessage: typeof replit$goval$api$ReplLogMessage,
|
|
385
390
|
ReplToken: typeof replit$goval$api$ReplToken,
|
|
386
391
|
TLSCertificate: typeof replit$goval$api$TLSCertificate,
|
|
387
392
|
ReplTransfer: typeof replit$goval$api$ReplTransfer,
|
|
@@ -398,6 +403,9 @@ declare var npm$namespace$replit$goval$api: {|
|
|
|
398
403
|
ClusterTransfer: typeof replit$goval$api$ClusterTransfer,
|
|
399
404
|
SoftTakedown: typeof replit$goval$api$SoftTakedown,
|
|
400
405
|
GovalCommand: typeof replit$goval$api$GovalCommand,
|
|
406
|
+
PartialUpdateMetadata: typeof replit$goval$api$PartialUpdateMetadata,
|
|
407
|
+
MultiGovalCommand: typeof replit$goval$api$MultiGovalCommand,
|
|
408
|
+
KillRepl: typeof replit$goval$api$KillRepl,
|
|
401
409
|
Restore: typeof replit$goval$api$Restore,
|
|
402
410
|
features: typeof npm$namespace$replit$goval$api$features,
|
|
403
411
|
repl: typeof npm$namespace$replit$goval$api$repl,
|
|
@@ -535,6 +543,11 @@ declare type replit$goval$api$ICommand = {|
|
|
|
535
543
|
*/
|
|
536
544
|
log?: string | null,
|
|
537
545
|
|
|
546
|
+
/**
|
|
547
|
+
* Command record
|
|
548
|
+
*/
|
|
549
|
+
record?: string | null,
|
|
550
|
+
|
|
538
551
|
/**
|
|
539
552
|
* Command saneTerm
|
|
540
553
|
*/
|
|
@@ -1631,6 +1644,11 @@ declare class replit$goval$api$Command {
|
|
|
1631
1644
|
*/
|
|
1632
1645
|
log?: string | null;
|
|
1633
1646
|
|
|
1647
|
+
/**
|
|
1648
|
+
* Command record.
|
|
1649
|
+
*/
|
|
1650
|
+
record?: string | null;
|
|
1651
|
+
|
|
1634
1652
|
/**
|
|
1635
1653
|
* Command saneTerm.
|
|
1636
1654
|
*/
|
|
@@ -2372,6 +2390,7 @@ declare class replit$goval$api$Command {
|
|
|
2372
2390
|
| "error"
|
|
2373
2391
|
| "stderr"
|
|
2374
2392
|
| "log"
|
|
2393
|
+
| "record"
|
|
2375
2394
|
| "saneTerm"
|
|
2376
2395
|
| "resizeTerm"
|
|
2377
2396
|
| "state"
|
|
@@ -25548,6 +25567,156 @@ declare class replit$goval$api$FirewallDenied {
|
|
|
25548
25567
|
|};
|
|
25549
25568
|
}
|
|
25550
25569
|
|
|
25570
|
+
/**
|
|
25571
|
+
* Properties of a ReplLogMessage.
|
|
25572
|
+
*/
|
|
25573
|
+
declare type replit$goval$api$IReplLogMessage = {|
|
|
25574
|
+
/**
|
|
25575
|
+
* ReplLogMessage timestamp
|
|
25576
|
+
*/
|
|
25577
|
+
timestamp?: google$protobuf$Timestamp | google$protobuf$ITimestamp | null,
|
|
25578
|
+
|
|
25579
|
+
/**
|
|
25580
|
+
* ReplLogMessage replId
|
|
25581
|
+
*/
|
|
25582
|
+
replId?: string | null,
|
|
25583
|
+
|
|
25584
|
+
/**
|
|
25585
|
+
* ReplLogMessage logLine
|
|
25586
|
+
*/
|
|
25587
|
+
logLine?: string | null,
|
|
25588
|
+
|
|
25589
|
+
/**
|
|
25590
|
+
* ReplLogMessage userName
|
|
25591
|
+
*/
|
|
25592
|
+
userName?: string | null,
|
|
25593
|
+
|};
|
|
25594
|
+
|
|
25595
|
+
/**
|
|
25596
|
+
* Represents a ReplLogMessage.
|
|
25597
|
+
*/
|
|
25598
|
+
declare class replit$goval$api$ReplLogMessage {
|
|
25599
|
+
/**
|
|
25600
|
+
* Constructs a new ReplLogMessage.
|
|
25601
|
+
* @param [properties] Properties to set
|
|
25602
|
+
*/
|
|
25603
|
+
constructor(properties?: replit$goval$api$IReplLogMessage): this;
|
|
25604
|
+
|
|
25605
|
+
/**
|
|
25606
|
+
* ReplLogMessage timestamp.
|
|
25607
|
+
*/
|
|
25608
|
+
timestamp?: google$protobuf$Timestamp | null;
|
|
25609
|
+
|
|
25610
|
+
/**
|
|
25611
|
+
* ReplLogMessage replId.
|
|
25612
|
+
*/
|
|
25613
|
+
replId: string;
|
|
25614
|
+
|
|
25615
|
+
/**
|
|
25616
|
+
* ReplLogMessage logLine.
|
|
25617
|
+
*/
|
|
25618
|
+
logLine: string;
|
|
25619
|
+
|
|
25620
|
+
/**
|
|
25621
|
+
* ReplLogMessage userName.
|
|
25622
|
+
*/
|
|
25623
|
+
userName: string;
|
|
25624
|
+
|
|
25625
|
+
/**
|
|
25626
|
+
* Creates a new ReplLogMessage instance using the specified properties.
|
|
25627
|
+
* @param [properties] Properties to set
|
|
25628
|
+
* @returns ReplLogMessage instance
|
|
25629
|
+
*/
|
|
25630
|
+
static create(
|
|
25631
|
+
properties?: replit$goval$api$IReplLogMessage
|
|
25632
|
+
): replit$goval$api$ReplLogMessage;
|
|
25633
|
+
|
|
25634
|
+
/**
|
|
25635
|
+
* [object Object],[object Object],[object Object]
|
|
25636
|
+
* @param message ReplLogMessage message or plain object to encode
|
|
25637
|
+
* @param [writer] Writer to encode to
|
|
25638
|
+
* @returns Writer
|
|
25639
|
+
*/
|
|
25640
|
+
static encode(
|
|
25641
|
+
message: replit$goval$api$ReplLogMessage,
|
|
25642
|
+
writer?: $protobuf.Writer
|
|
25643
|
+
): $protobuf.Writer;
|
|
25644
|
+
|
|
25645
|
+
/**
|
|
25646
|
+
* [object Object],[object Object],[object Object]
|
|
25647
|
+
* @param message ReplLogMessage message or plain object to encode
|
|
25648
|
+
* @param [writer] Writer to encode to
|
|
25649
|
+
* @returns Writer
|
|
25650
|
+
*/
|
|
25651
|
+
static encodeDelimited(
|
|
25652
|
+
message: replit$goval$api$ReplLogMessage,
|
|
25653
|
+
writer?: $protobuf.Writer
|
|
25654
|
+
): $protobuf.Writer;
|
|
25655
|
+
|
|
25656
|
+
/**
|
|
25657
|
+
* Decodes a ReplLogMessage message from the specified reader or buffer.
|
|
25658
|
+
* @param reader Reader or buffer to decode from
|
|
25659
|
+
* @param [length] Message length if known beforehand
|
|
25660
|
+
* @returns ReplLogMessage
|
|
25661
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
25662
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
25663
|
+
*/
|
|
25664
|
+
static decode(
|
|
25665
|
+
reader: $protobuf.Reader | Uint8Array,
|
|
25666
|
+
length?: number
|
|
25667
|
+
): replit$goval$api$ReplLogMessage;
|
|
25668
|
+
|
|
25669
|
+
/**
|
|
25670
|
+
* Decodes a ReplLogMessage message from the specified reader or buffer, length delimited.
|
|
25671
|
+
* @param reader Reader or buffer to decode from
|
|
25672
|
+
* @returns ReplLogMessage
|
|
25673
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
25674
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
25675
|
+
*/
|
|
25676
|
+
static decodeDelimited(
|
|
25677
|
+
reader: $protobuf.Reader | Uint8Array
|
|
25678
|
+
): replit$goval$api$ReplLogMessage;
|
|
25679
|
+
|
|
25680
|
+
/**
|
|
25681
|
+
* Verifies a ReplLogMessage message.
|
|
25682
|
+
* @param message Plain object to verify
|
|
25683
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
25684
|
+
*/
|
|
25685
|
+
static verify(message: {|
|
|
25686
|
+
[k: string]: any,
|
|
25687
|
+
|}): string | null;
|
|
25688
|
+
|
|
25689
|
+
/**
|
|
25690
|
+
* Creates a ReplLogMessage message from a plain object. Also converts values to their respective internal types.
|
|
25691
|
+
* @param object Plain object
|
|
25692
|
+
* @returns ReplLogMessage
|
|
25693
|
+
*/
|
|
25694
|
+
static fromObject(object: {|
|
|
25695
|
+
[k: string]: any,
|
|
25696
|
+
|}): replit$goval$api$ReplLogMessage;
|
|
25697
|
+
|
|
25698
|
+
/**
|
|
25699
|
+
* Creates a plain object from a ReplLogMessage message. Also converts values to other types if specified.
|
|
25700
|
+
* @param message ReplLogMessage
|
|
25701
|
+
* @param [options] Conversion options
|
|
25702
|
+
* @returns Plain object
|
|
25703
|
+
*/
|
|
25704
|
+
static toObject(
|
|
25705
|
+
message: replit$goval$api$ReplLogMessage,
|
|
25706
|
+
options?: $protobuf.IConversionOptions
|
|
25707
|
+
): {|
|
|
25708
|
+
[k: string]: any,
|
|
25709
|
+
|};
|
|
25710
|
+
|
|
25711
|
+
/**
|
|
25712
|
+
* Converts this ReplLogMessage to JSON.
|
|
25713
|
+
* @returns JSON object
|
|
25714
|
+
*/
|
|
25715
|
+
toJSON(): {|
|
|
25716
|
+
[k: string]: any,
|
|
25717
|
+
|};
|
|
25718
|
+
}
|
|
25719
|
+
|
|
25551
25720
|
/**
|
|
25552
25721
|
* Properties of a ReplToken.
|
|
25553
25722
|
*/
|
|
@@ -27934,6 +28103,14 @@ declare type replit$goval$api$ILoreCommand = {|
|
|
|
27934
28103
|
| replit$goval$api$IGovalCommand
|
|
27935
28104
|
| null,
|
|
27936
28105
|
|
|
28106
|
+
/**
|
|
28107
|
+
* LoreCommand multiGovalCommand
|
|
28108
|
+
*/
|
|
28109
|
+
multiGovalCommand?:
|
|
28110
|
+
| replit$goval$api$MultiGovalCommand
|
|
28111
|
+
| replit$goval$api$IMultiGovalCommand
|
|
28112
|
+
| null,
|
|
28113
|
+
|
|
27937
28114
|
/**
|
|
27938
28115
|
* LoreCommand restore
|
|
27939
28116
|
*/
|
|
@@ -27965,6 +28142,11 @@ declare class replit$goval$api$LoreCommand {
|
|
|
27965
28142
|
*/
|
|
27966
28143
|
govalCommand?: replit$goval$api$GovalCommand | null;
|
|
27967
28144
|
|
|
28145
|
+
/**
|
|
28146
|
+
* LoreCommand multiGovalCommand.
|
|
28147
|
+
*/
|
|
28148
|
+
multiGovalCommand?: replit$goval$api$MultiGovalCommand | null;
|
|
28149
|
+
|
|
27968
28150
|
/**
|
|
27969
28151
|
* LoreCommand restore.
|
|
27970
28152
|
*/
|
|
@@ -27973,7 +28155,12 @@ declare class replit$goval$api$LoreCommand {
|
|
|
27973
28155
|
/**
|
|
27974
28156
|
* LoreCommand command.
|
|
27975
28157
|
*/
|
|
27976
|
-
command?:
|
|
28158
|
+
command?:
|
|
28159
|
+
| "clusterTransfer"
|
|
28160
|
+
| "softTakedown"
|
|
28161
|
+
| "govalCommand"
|
|
28162
|
+
| "multiGovalCommand"
|
|
28163
|
+
| "restore";
|
|
27977
28164
|
|
|
27978
28165
|
/**
|
|
27979
28166
|
* Creates a new LoreCommand instance using the specified properties.
|
|
@@ -28361,6 +28548,19 @@ declare type replit$goval$api$IGovalCommand = {|
|
|
|
28361
28548
|
| replit$goval$api$repl$Metadata
|
|
28362
28549
|
| replit$goval$api$repl$IMetadata
|
|
28363
28550
|
| null,
|
|
28551
|
+
|
|
28552
|
+
/**
|
|
28553
|
+
* GovalCommand partialUpdateMetadata
|
|
28554
|
+
*/
|
|
28555
|
+
partialUpdateMetadata?:
|
|
28556
|
+
| replit$goval$api$PartialUpdateMetadata
|
|
28557
|
+
| replit$goval$api$IPartialUpdateMetadata
|
|
28558
|
+
| null,
|
|
28559
|
+
|
|
28560
|
+
/**
|
|
28561
|
+
* GovalCommand killRepl
|
|
28562
|
+
*/
|
|
28563
|
+
killRepl?: replit$goval$api$KillRepl | replit$goval$api$IKillRepl | null,
|
|
28364
28564
|
|};
|
|
28365
28565
|
|
|
28366
28566
|
/**
|
|
@@ -28378,10 +28578,20 @@ declare class replit$goval$api$GovalCommand {
|
|
|
28378
28578
|
*/
|
|
28379
28579
|
updateMetadata?: replit$goval$api$repl$Metadata | null;
|
|
28380
28580
|
|
|
28581
|
+
/**
|
|
28582
|
+
* GovalCommand partialUpdateMetadata.
|
|
28583
|
+
*/
|
|
28584
|
+
partialUpdateMetadata?: replit$goval$api$PartialUpdateMetadata | null;
|
|
28585
|
+
|
|
28586
|
+
/**
|
|
28587
|
+
* GovalCommand killRepl.
|
|
28588
|
+
*/
|
|
28589
|
+
killRepl?: replit$goval$api$KillRepl | null;
|
|
28590
|
+
|
|
28381
28591
|
/**
|
|
28382
28592
|
* GovalCommand command.
|
|
28383
28593
|
*/
|
|
28384
|
-
command?: "updateMetadata";
|
|
28594
|
+
command?: "updateMetadata" | "partialUpdateMetadata" | "killRepl";
|
|
28385
28595
|
|
|
28386
28596
|
/**
|
|
28387
28597
|
* Creates a new GovalCommand instance using the specified properties.
|
|
@@ -28478,6 +28688,391 @@ declare class replit$goval$api$GovalCommand {
|
|
|
28478
28688
|
|};
|
|
28479
28689
|
}
|
|
28480
28690
|
|
|
28691
|
+
/**
|
|
28692
|
+
* Properties of a PartialUpdateMetadata.
|
|
28693
|
+
*/
|
|
28694
|
+
declare type replit$goval$api$IPartialUpdateMetadata = {|
|
|
28695
|
+
/**
|
|
28696
|
+
* PartialUpdateMetadata fieldMask
|
|
28697
|
+
*/
|
|
28698
|
+
fieldMask?: google$protobuf$FieldMask | google$protobuf$IFieldMask | null,
|
|
28699
|
+
|
|
28700
|
+
/**
|
|
28701
|
+
* PartialUpdateMetadata updateMetadata
|
|
28702
|
+
*/
|
|
28703
|
+
updateMetadata?:
|
|
28704
|
+
| replit$goval$api$repl$Metadata
|
|
28705
|
+
| replit$goval$api$repl$IMetadata
|
|
28706
|
+
| null,
|
|
28707
|
+
|};
|
|
28708
|
+
|
|
28709
|
+
/**
|
|
28710
|
+
* Represents a PartialUpdateMetadata.
|
|
28711
|
+
*/
|
|
28712
|
+
declare class replit$goval$api$PartialUpdateMetadata {
|
|
28713
|
+
/**
|
|
28714
|
+
* Constructs a new PartialUpdateMetadata.
|
|
28715
|
+
* @param [properties] Properties to set
|
|
28716
|
+
*/
|
|
28717
|
+
constructor(properties?: replit$goval$api$IPartialUpdateMetadata): this;
|
|
28718
|
+
|
|
28719
|
+
/**
|
|
28720
|
+
* PartialUpdateMetadata fieldMask.
|
|
28721
|
+
*/
|
|
28722
|
+
fieldMask?: google$protobuf$FieldMask | null;
|
|
28723
|
+
|
|
28724
|
+
/**
|
|
28725
|
+
* PartialUpdateMetadata updateMetadata.
|
|
28726
|
+
*/
|
|
28727
|
+
updateMetadata?: replit$goval$api$repl$Metadata | null;
|
|
28728
|
+
|
|
28729
|
+
/**
|
|
28730
|
+
* Creates a new PartialUpdateMetadata instance using the specified properties.
|
|
28731
|
+
* @param [properties] Properties to set
|
|
28732
|
+
* @returns PartialUpdateMetadata instance
|
|
28733
|
+
*/
|
|
28734
|
+
static create(
|
|
28735
|
+
properties?: replit$goval$api$IPartialUpdateMetadata
|
|
28736
|
+
): replit$goval$api$PartialUpdateMetadata;
|
|
28737
|
+
|
|
28738
|
+
/**
|
|
28739
|
+
* [object Object],[object Object],[object Object]
|
|
28740
|
+
* @param message PartialUpdateMetadata message or plain object to encode
|
|
28741
|
+
* @param [writer] Writer to encode to
|
|
28742
|
+
* @returns Writer
|
|
28743
|
+
*/
|
|
28744
|
+
static encode(
|
|
28745
|
+
message: replit$goval$api$PartialUpdateMetadata,
|
|
28746
|
+
writer?: $protobuf.Writer
|
|
28747
|
+
): $protobuf.Writer;
|
|
28748
|
+
|
|
28749
|
+
/**
|
|
28750
|
+
* [object Object],[object Object],[object Object]
|
|
28751
|
+
* @param message PartialUpdateMetadata message or plain object to encode
|
|
28752
|
+
* @param [writer] Writer to encode to
|
|
28753
|
+
* @returns Writer
|
|
28754
|
+
*/
|
|
28755
|
+
static encodeDelimited(
|
|
28756
|
+
message: replit$goval$api$PartialUpdateMetadata,
|
|
28757
|
+
writer?: $protobuf.Writer
|
|
28758
|
+
): $protobuf.Writer;
|
|
28759
|
+
|
|
28760
|
+
/**
|
|
28761
|
+
* Decodes a PartialUpdateMetadata message from the specified reader or buffer.
|
|
28762
|
+
* @param reader Reader or buffer to decode from
|
|
28763
|
+
* @param [length] Message length if known beforehand
|
|
28764
|
+
* @returns PartialUpdateMetadata
|
|
28765
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
28766
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
28767
|
+
*/
|
|
28768
|
+
static decode(
|
|
28769
|
+
reader: $protobuf.Reader | Uint8Array,
|
|
28770
|
+
length?: number
|
|
28771
|
+
): replit$goval$api$PartialUpdateMetadata;
|
|
28772
|
+
|
|
28773
|
+
/**
|
|
28774
|
+
* Decodes a PartialUpdateMetadata message from the specified reader or buffer, length delimited.
|
|
28775
|
+
* @param reader Reader or buffer to decode from
|
|
28776
|
+
* @returns PartialUpdateMetadata
|
|
28777
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
28778
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
28779
|
+
*/
|
|
28780
|
+
static decodeDelimited(
|
|
28781
|
+
reader: $protobuf.Reader | Uint8Array
|
|
28782
|
+
): replit$goval$api$PartialUpdateMetadata;
|
|
28783
|
+
|
|
28784
|
+
/**
|
|
28785
|
+
* Verifies a PartialUpdateMetadata message.
|
|
28786
|
+
* @param message Plain object to verify
|
|
28787
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
28788
|
+
*/
|
|
28789
|
+
static verify(message: {|
|
|
28790
|
+
[k: string]: any,
|
|
28791
|
+
|}): string | null;
|
|
28792
|
+
|
|
28793
|
+
/**
|
|
28794
|
+
* Creates a PartialUpdateMetadata message from a plain object. Also converts values to their respective internal types.
|
|
28795
|
+
* @param object Plain object
|
|
28796
|
+
* @returns PartialUpdateMetadata
|
|
28797
|
+
*/
|
|
28798
|
+
static fromObject(object: {|
|
|
28799
|
+
[k: string]: any,
|
|
28800
|
+
|}): replit$goval$api$PartialUpdateMetadata;
|
|
28801
|
+
|
|
28802
|
+
/**
|
|
28803
|
+
* Creates a plain object from a PartialUpdateMetadata message. Also converts values to other types if specified.
|
|
28804
|
+
* @param message PartialUpdateMetadata
|
|
28805
|
+
* @param [options] Conversion options
|
|
28806
|
+
* @returns Plain object
|
|
28807
|
+
*/
|
|
28808
|
+
static toObject(
|
|
28809
|
+
message: replit$goval$api$PartialUpdateMetadata,
|
|
28810
|
+
options?: $protobuf.IConversionOptions
|
|
28811
|
+
): {|
|
|
28812
|
+
[k: string]: any,
|
|
28813
|
+
|};
|
|
28814
|
+
|
|
28815
|
+
/**
|
|
28816
|
+
* Converts this PartialUpdateMetadata to JSON.
|
|
28817
|
+
* @returns JSON object
|
|
28818
|
+
*/
|
|
28819
|
+
toJSON(): {|
|
|
28820
|
+
[k: string]: any,
|
|
28821
|
+
|};
|
|
28822
|
+
}
|
|
28823
|
+
|
|
28824
|
+
/**
|
|
28825
|
+
* Properties of a MultiGovalCommand.
|
|
28826
|
+
*/
|
|
28827
|
+
declare type replit$goval$api$IMultiGovalCommand = {|
|
|
28828
|
+
/**
|
|
28829
|
+
* MultiGovalCommand replId
|
|
28830
|
+
*/
|
|
28831
|
+
replId?: string | null,
|
|
28832
|
+
|
|
28833
|
+
/**
|
|
28834
|
+
* MultiGovalCommand govalCommands
|
|
28835
|
+
*/
|
|
28836
|
+
govalCommands?:
|
|
28837
|
+
| (replit$goval$api$GovalCommand | replit$goval$api$IGovalCommand)[]
|
|
28838
|
+
| null,
|
|
28839
|
+
|};
|
|
28840
|
+
|
|
28841
|
+
/**
|
|
28842
|
+
* Represents a MultiGovalCommand.
|
|
28843
|
+
*/
|
|
28844
|
+
declare class replit$goval$api$MultiGovalCommand {
|
|
28845
|
+
/**
|
|
28846
|
+
* Constructs a new MultiGovalCommand.
|
|
28847
|
+
* @param [properties] Properties to set
|
|
28848
|
+
*/
|
|
28849
|
+
constructor(properties?: replit$goval$api$IMultiGovalCommand): this;
|
|
28850
|
+
|
|
28851
|
+
/**
|
|
28852
|
+
* MultiGovalCommand replId.
|
|
28853
|
+
*/
|
|
28854
|
+
replId: string;
|
|
28855
|
+
|
|
28856
|
+
/**
|
|
28857
|
+
* MultiGovalCommand govalCommands.
|
|
28858
|
+
*/
|
|
28859
|
+
govalCommands: replit$goval$api$GovalCommand[];
|
|
28860
|
+
|
|
28861
|
+
/**
|
|
28862
|
+
* Creates a new MultiGovalCommand instance using the specified properties.
|
|
28863
|
+
* @param [properties] Properties to set
|
|
28864
|
+
* @returns MultiGovalCommand instance
|
|
28865
|
+
*/
|
|
28866
|
+
static create(
|
|
28867
|
+
properties?: replit$goval$api$IMultiGovalCommand
|
|
28868
|
+
): replit$goval$api$MultiGovalCommand;
|
|
28869
|
+
|
|
28870
|
+
/**
|
|
28871
|
+
* [object Object],[object Object],[object Object]
|
|
28872
|
+
* @param message MultiGovalCommand message or plain object to encode
|
|
28873
|
+
* @param [writer] Writer to encode to
|
|
28874
|
+
* @returns Writer
|
|
28875
|
+
*/
|
|
28876
|
+
static encode(
|
|
28877
|
+
message: replit$goval$api$MultiGovalCommand,
|
|
28878
|
+
writer?: $protobuf.Writer
|
|
28879
|
+
): $protobuf.Writer;
|
|
28880
|
+
|
|
28881
|
+
/**
|
|
28882
|
+
* [object Object],[object Object],[object Object]
|
|
28883
|
+
* @param message MultiGovalCommand message or plain object to encode
|
|
28884
|
+
* @param [writer] Writer to encode to
|
|
28885
|
+
* @returns Writer
|
|
28886
|
+
*/
|
|
28887
|
+
static encodeDelimited(
|
|
28888
|
+
message: replit$goval$api$MultiGovalCommand,
|
|
28889
|
+
writer?: $protobuf.Writer
|
|
28890
|
+
): $protobuf.Writer;
|
|
28891
|
+
|
|
28892
|
+
/**
|
|
28893
|
+
* Decodes a MultiGovalCommand message from the specified reader or buffer.
|
|
28894
|
+
* @param reader Reader or buffer to decode from
|
|
28895
|
+
* @param [length] Message length if known beforehand
|
|
28896
|
+
* @returns MultiGovalCommand
|
|
28897
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
28898
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
28899
|
+
*/
|
|
28900
|
+
static decode(
|
|
28901
|
+
reader: $protobuf.Reader | Uint8Array,
|
|
28902
|
+
length?: number
|
|
28903
|
+
): replit$goval$api$MultiGovalCommand;
|
|
28904
|
+
|
|
28905
|
+
/**
|
|
28906
|
+
* Decodes a MultiGovalCommand message from the specified reader or buffer, length delimited.
|
|
28907
|
+
* @param reader Reader or buffer to decode from
|
|
28908
|
+
* @returns MultiGovalCommand
|
|
28909
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
28910
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
28911
|
+
*/
|
|
28912
|
+
static decodeDelimited(
|
|
28913
|
+
reader: $protobuf.Reader | Uint8Array
|
|
28914
|
+
): replit$goval$api$MultiGovalCommand;
|
|
28915
|
+
|
|
28916
|
+
/**
|
|
28917
|
+
* Verifies a MultiGovalCommand message.
|
|
28918
|
+
* @param message Plain object to verify
|
|
28919
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
28920
|
+
*/
|
|
28921
|
+
static verify(message: {|
|
|
28922
|
+
[k: string]: any,
|
|
28923
|
+
|}): string | null;
|
|
28924
|
+
|
|
28925
|
+
/**
|
|
28926
|
+
* Creates a MultiGovalCommand message from a plain object. Also converts values to their respective internal types.
|
|
28927
|
+
* @param object Plain object
|
|
28928
|
+
* @returns MultiGovalCommand
|
|
28929
|
+
*/
|
|
28930
|
+
static fromObject(object: {|
|
|
28931
|
+
[k: string]: any,
|
|
28932
|
+
|}): replit$goval$api$MultiGovalCommand;
|
|
28933
|
+
|
|
28934
|
+
/**
|
|
28935
|
+
* Creates a plain object from a MultiGovalCommand message. Also converts values to other types if specified.
|
|
28936
|
+
* @param message MultiGovalCommand
|
|
28937
|
+
* @param [options] Conversion options
|
|
28938
|
+
* @returns Plain object
|
|
28939
|
+
*/
|
|
28940
|
+
static toObject(
|
|
28941
|
+
message: replit$goval$api$MultiGovalCommand,
|
|
28942
|
+
options?: $protobuf.IConversionOptions
|
|
28943
|
+
): {|
|
|
28944
|
+
[k: string]: any,
|
|
28945
|
+
|};
|
|
28946
|
+
|
|
28947
|
+
/**
|
|
28948
|
+
* Converts this MultiGovalCommand to JSON.
|
|
28949
|
+
* @returns JSON object
|
|
28950
|
+
*/
|
|
28951
|
+
toJSON(): {|
|
|
28952
|
+
[k: string]: any,
|
|
28953
|
+
|};
|
|
28954
|
+
}
|
|
28955
|
+
|
|
28956
|
+
/**
|
|
28957
|
+
* Properties of a KillRepl.
|
|
28958
|
+
*/
|
|
28959
|
+
declare type replit$goval$api$IKillRepl = {|
|
|
28960
|
+
/**
|
|
28961
|
+
* KillRepl replId
|
|
28962
|
+
*/
|
|
28963
|
+
replId?: string | null,
|
|
28964
|
+
|};
|
|
28965
|
+
|
|
28966
|
+
/**
|
|
28967
|
+
* Represents a KillRepl.
|
|
28968
|
+
*/
|
|
28969
|
+
declare class replit$goval$api$KillRepl {
|
|
28970
|
+
/**
|
|
28971
|
+
* Constructs a new KillRepl.
|
|
28972
|
+
* @param [properties] Properties to set
|
|
28973
|
+
*/
|
|
28974
|
+
constructor(properties?: replit$goval$api$IKillRepl): this;
|
|
28975
|
+
|
|
28976
|
+
/**
|
|
28977
|
+
* KillRepl replId.
|
|
28978
|
+
*/
|
|
28979
|
+
replId: string;
|
|
28980
|
+
|
|
28981
|
+
/**
|
|
28982
|
+
* Creates a new KillRepl instance using the specified properties.
|
|
28983
|
+
* @param [properties] Properties to set
|
|
28984
|
+
* @returns KillRepl instance
|
|
28985
|
+
*/
|
|
28986
|
+
static create(
|
|
28987
|
+
properties?: replit$goval$api$IKillRepl
|
|
28988
|
+
): replit$goval$api$KillRepl;
|
|
28989
|
+
|
|
28990
|
+
/**
|
|
28991
|
+
* [object Object],[object Object],[object Object]
|
|
28992
|
+
* @param message KillRepl message or plain object to encode
|
|
28993
|
+
* @param [writer] Writer to encode to
|
|
28994
|
+
* @returns Writer
|
|
28995
|
+
*/
|
|
28996
|
+
static encode(
|
|
28997
|
+
message: replit$goval$api$KillRepl,
|
|
28998
|
+
writer?: $protobuf.Writer
|
|
28999
|
+
): $protobuf.Writer;
|
|
29000
|
+
|
|
29001
|
+
/**
|
|
29002
|
+
* [object Object],[object Object],[object Object]
|
|
29003
|
+
* @param message KillRepl message or plain object to encode
|
|
29004
|
+
* @param [writer] Writer to encode to
|
|
29005
|
+
* @returns Writer
|
|
29006
|
+
*/
|
|
29007
|
+
static encodeDelimited(
|
|
29008
|
+
message: replit$goval$api$KillRepl,
|
|
29009
|
+
writer?: $protobuf.Writer
|
|
29010
|
+
): $protobuf.Writer;
|
|
29011
|
+
|
|
29012
|
+
/**
|
|
29013
|
+
* Decodes a KillRepl message from the specified reader or buffer.
|
|
29014
|
+
* @param reader Reader or buffer to decode from
|
|
29015
|
+
* @param [length] Message length if known beforehand
|
|
29016
|
+
* @returns KillRepl
|
|
29017
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
29018
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
29019
|
+
*/
|
|
29020
|
+
static decode(
|
|
29021
|
+
reader: $protobuf.Reader | Uint8Array,
|
|
29022
|
+
length?: number
|
|
29023
|
+
): replit$goval$api$KillRepl;
|
|
29024
|
+
|
|
29025
|
+
/**
|
|
29026
|
+
* Decodes a KillRepl message from the specified reader or buffer, length delimited.
|
|
29027
|
+
* @param reader Reader or buffer to decode from
|
|
29028
|
+
* @returns KillRepl
|
|
29029
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
29030
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
29031
|
+
*/
|
|
29032
|
+
static decodeDelimited(
|
|
29033
|
+
reader: $protobuf.Reader | Uint8Array
|
|
29034
|
+
): replit$goval$api$KillRepl;
|
|
29035
|
+
|
|
29036
|
+
/**
|
|
29037
|
+
* Verifies a KillRepl message.
|
|
29038
|
+
* @param message Plain object to verify
|
|
29039
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
29040
|
+
*/
|
|
29041
|
+
static verify(message: {|
|
|
29042
|
+
[k: string]: any,
|
|
29043
|
+
|}): string | null;
|
|
29044
|
+
|
|
29045
|
+
/**
|
|
29046
|
+
* Creates a KillRepl message from a plain object. Also converts values to their respective internal types.
|
|
29047
|
+
* @param object Plain object
|
|
29048
|
+
* @returns KillRepl
|
|
29049
|
+
*/
|
|
29050
|
+
static fromObject(object: {|
|
|
29051
|
+
[k: string]: any,
|
|
29052
|
+
|}): replit$goval$api$KillRepl;
|
|
29053
|
+
|
|
29054
|
+
/**
|
|
29055
|
+
* Creates a plain object from a KillRepl message. Also converts values to other types if specified.
|
|
29056
|
+
* @param message KillRepl
|
|
29057
|
+
* @param [options] Conversion options
|
|
29058
|
+
* @returns Plain object
|
|
29059
|
+
*/
|
|
29060
|
+
static toObject(
|
|
29061
|
+
message: replit$goval$api$KillRepl,
|
|
29062
|
+
options?: $protobuf.IConversionOptions
|
|
29063
|
+
): {|
|
|
29064
|
+
[k: string]: any,
|
|
29065
|
+
|};
|
|
29066
|
+
|
|
29067
|
+
/**
|
|
29068
|
+
* Converts this KillRepl to JSON.
|
|
29069
|
+
* @returns JSON object
|
|
29070
|
+
*/
|
|
29071
|
+
toJSON(): {|
|
|
29072
|
+
[k: string]: any,
|
|
29073
|
+
|};
|
|
29074
|
+
}
|
|
29075
|
+
|
|
28481
29076
|
/**
|
|
28482
29077
|
* Properties of a Restore.
|
|
28483
29078
|
*/
|
|
@@ -29687,7 +30282,7 @@ declare class replit$goval$api$repl$Metadata {
|
|
|
29687
30282
|
[k: string]: any,
|
|
29688
30283
|
|};
|
|
29689
30284
|
}
|
|
29690
|
-
|
|
30285
|
+
export var google = npm$namespace$google;
|
|
29691
30286
|
|
|
29692
30287
|
declare var npm$namespace$google: {|
|
|
29693
30288
|
protobuf: typeof npm$namespace$google$protobuf,
|
|
@@ -29699,10 +30294,12 @@ declare var npm$namespace$google$protobuf: {|
|
|
|
29699
30294
|
IStruct: Class<google$protobuf$IStruct>,
|
|
29700
30295
|
IValue: Class<google$protobuf$IValue>,
|
|
29701
30296
|
IListValue: Class<google$protobuf$IListValue>,
|
|
30297
|
+
IFieldMask: Class<google$protobuf$IFieldMask>,
|
|
29702
30298
|
Timestamp: typeof google$protobuf$Timestamp,
|
|
29703
30299
|
Struct: typeof google$protobuf$Struct,
|
|
29704
30300
|
Value: typeof google$protobuf$Value,
|
|
29705
30301
|
ListValue: typeof google$protobuf$ListValue,
|
|
30302
|
+
FieldMask: typeof google$protobuf$FieldMask,
|
|
29706
30303
|
|};
|
|
29707
30304
|
|
|
29708
30305
|
/**
|
|
@@ -30263,4 +30860,124 @@ declare class google$protobuf$ListValue {
|
|
|
30263
30860
|
[k: string]: any,
|
|
30264
30861
|
|};
|
|
30265
30862
|
}
|
|
30863
|
+
|
|
30864
|
+
/**
|
|
30865
|
+
* Properties of a FieldMask.
|
|
30866
|
+
*/
|
|
30867
|
+
declare type google$protobuf$IFieldMask = {|
|
|
30868
|
+
/**
|
|
30869
|
+
* FieldMask paths
|
|
30870
|
+
*/
|
|
30871
|
+
paths?: string[] | null,
|
|
30872
|
+
|};
|
|
30873
|
+
|
|
30874
|
+
/**
|
|
30875
|
+
* Represents a FieldMask.
|
|
30876
|
+
*/
|
|
30877
|
+
declare class google$protobuf$FieldMask {
|
|
30878
|
+
/**
|
|
30879
|
+
* Constructs a new FieldMask.
|
|
30880
|
+
* @param [properties] Properties to set
|
|
30881
|
+
*/
|
|
30882
|
+
constructor(properties?: google$protobuf$IFieldMask): this;
|
|
30883
|
+
|
|
30884
|
+
/**
|
|
30885
|
+
* FieldMask paths.
|
|
30886
|
+
*/
|
|
30887
|
+
paths: string[];
|
|
30888
|
+
|
|
30889
|
+
/**
|
|
30890
|
+
* Creates a new FieldMask instance using the specified properties.
|
|
30891
|
+
* @param [properties] Properties to set
|
|
30892
|
+
* @returns FieldMask instance
|
|
30893
|
+
*/
|
|
30894
|
+
static create(
|
|
30895
|
+
properties?: google$protobuf$IFieldMask
|
|
30896
|
+
): google$protobuf$FieldMask;
|
|
30897
|
+
|
|
30898
|
+
/**
|
|
30899
|
+
* [object Object],[object Object],[object Object]
|
|
30900
|
+
* @param message FieldMask message or plain object to encode
|
|
30901
|
+
* @param [writer] Writer to encode to
|
|
30902
|
+
* @returns Writer
|
|
30903
|
+
*/
|
|
30904
|
+
static encode(
|
|
30905
|
+
message: google$protobuf$FieldMask,
|
|
30906
|
+
writer?: $protobuf.Writer
|
|
30907
|
+
): $protobuf.Writer;
|
|
30908
|
+
|
|
30909
|
+
/**
|
|
30910
|
+
* [object Object],[object Object],[object Object]
|
|
30911
|
+
* @param message FieldMask message or plain object to encode
|
|
30912
|
+
* @param [writer] Writer to encode to
|
|
30913
|
+
* @returns Writer
|
|
30914
|
+
*/
|
|
30915
|
+
static encodeDelimited(
|
|
30916
|
+
message: google$protobuf$FieldMask,
|
|
30917
|
+
writer?: $protobuf.Writer
|
|
30918
|
+
): $protobuf.Writer;
|
|
30919
|
+
|
|
30920
|
+
/**
|
|
30921
|
+
* Decodes a FieldMask message from the specified reader or buffer.
|
|
30922
|
+
* @param reader Reader or buffer to decode from
|
|
30923
|
+
* @param [length] Message length if known beforehand
|
|
30924
|
+
* @returns FieldMask
|
|
30925
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
30926
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
30927
|
+
*/
|
|
30928
|
+
static decode(
|
|
30929
|
+
reader: $protobuf.Reader | Uint8Array,
|
|
30930
|
+
length?: number
|
|
30931
|
+
): google$protobuf$FieldMask;
|
|
30932
|
+
|
|
30933
|
+
/**
|
|
30934
|
+
* Decodes a FieldMask message from the specified reader or buffer, length delimited.
|
|
30935
|
+
* @param reader Reader or buffer to decode from
|
|
30936
|
+
* @returns FieldMask
|
|
30937
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
30938
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
30939
|
+
*/
|
|
30940
|
+
static decodeDelimited(
|
|
30941
|
+
reader: $protobuf.Reader | Uint8Array
|
|
30942
|
+
): google$protobuf$FieldMask;
|
|
30943
|
+
|
|
30944
|
+
/**
|
|
30945
|
+
* Verifies a FieldMask message.
|
|
30946
|
+
* @param message Plain object to verify
|
|
30947
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
30948
|
+
*/
|
|
30949
|
+
static verify(message: {|
|
|
30950
|
+
[k: string]: any,
|
|
30951
|
+
|}): string | null;
|
|
30952
|
+
|
|
30953
|
+
/**
|
|
30954
|
+
* Creates a FieldMask message from a plain object. Also converts values to their respective internal types.
|
|
30955
|
+
* @param object Plain object
|
|
30956
|
+
* @returns FieldMask
|
|
30957
|
+
*/
|
|
30958
|
+
static fromObject(object: {|
|
|
30959
|
+
[k: string]: any,
|
|
30960
|
+
|}): google$protobuf$FieldMask;
|
|
30961
|
+
|
|
30962
|
+
/**
|
|
30963
|
+
* Creates a plain object from a FieldMask message. Also converts values to other types if specified.
|
|
30964
|
+
* @param message FieldMask
|
|
30965
|
+
* @param [options] Conversion options
|
|
30966
|
+
* @returns Plain object
|
|
30967
|
+
*/
|
|
30968
|
+
static toObject(
|
|
30969
|
+
message: google$protobuf$FieldMask,
|
|
30970
|
+
options?: $protobuf.IConversionOptions
|
|
30971
|
+
): {|
|
|
30972
|
+
[k: string]: any,
|
|
30973
|
+
|};
|
|
30974
|
+
|
|
30975
|
+
/**
|
|
30976
|
+
* Converts this FieldMask to JSON.
|
|
30977
|
+
* @returns JSON object
|
|
30978
|
+
*/
|
|
30979
|
+
toJSON(): {|
|
|
30980
|
+
[k: string]: any,
|
|
30981
|
+
|};
|
|
30982
|
+
}
|
|
30266
30983
|
export var api = npm$namespace$replit$goval$api;
|