@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/gen.sh
CHANGED
|
@@ -47,8 +47,7 @@ flowgen \
|
|
|
47
47
|
|
|
48
48
|
if [ "$MODE" = "fix" ]; then
|
|
49
49
|
sed -i.bak 's/declare var replit: typeof npm\$namespace\$replit;/export var replit = npm$namespace$replit;/' "${TARGET}.js.flow"
|
|
50
|
-
|
|
51
|
-
|
|
50
|
+
sed -i.bak 's/declare var google: typeof npm\$namespace\$google;/export var google = npm$namespace$google;/' "${TARGET}.js.flow"
|
|
52
51
|
sed -i.bak 's/declare export { api };/export var api = npm$namespace$replit$goval$api;/' "${TARGET}.js.flow"
|
|
53
52
|
rm -f "${TARGET}.js.flow.bak"
|
|
54
53
|
fi
|
package/main/index.d.ts
CHANGED
|
@@ -77,6 +77,9 @@ export namespace replit {
|
|
|
77
77
|
/** Command log */
|
|
78
78
|
log?: (string|null);
|
|
79
79
|
|
|
80
|
+
/** Command record */
|
|
81
|
+
record?: (string|null);
|
|
82
|
+
|
|
80
83
|
/** Command saneTerm */
|
|
81
84
|
saneTerm?: (replit.goval.api.SaneTerm|replit.goval.api.ISaneTerm|null);
|
|
82
85
|
|
|
@@ -582,6 +585,9 @@ export namespace replit {
|
|
|
582
585
|
/** Command log. */
|
|
583
586
|
public log?: (string|null);
|
|
584
587
|
|
|
588
|
+
/** Command record. */
|
|
589
|
+
public record?: (string|null);
|
|
590
|
+
|
|
585
591
|
/** Command saneTerm. */
|
|
586
592
|
public saneTerm?: (replit.goval.api.SaneTerm|null);
|
|
587
593
|
|
|
@@ -1012,7 +1018,7 @@ export namespace replit {
|
|
|
1012
1018
|
public traceInfo: { [k: string]: string };
|
|
1013
1019
|
|
|
1014
1020
|
/** Command body. */
|
|
1015
|
-
public body?: ("openChan"|"openChanRes"|"closeChan"|"closeChanRes"|"containerState"|"portOpen"|"portClose"|"toast"|"protocolError"|"redirect"|"alwaysOn"|"runMain"|"clear"|"eval"|"result"|"input"|"output"|"error"|"stderr"|"log"|"saneTerm"|"resizeTerm"|"state"|"ok"|"persist"|"persistMirror"|"write"|"remove"|"move"|"tryRemove"|"mkdir"|"stat"|"statRes"|"transferStart"|"transferChunk"|"transferComplete"|"transferCancel"|"transfer"|"read"|"readdir"|"files"|"file"|"checkChanges"|"changedFiles"|"lintResults"|"runContainedTest"|"testResult"|"debuggerStart"|"debuggerStep"|"debuggerStatus"|"ensurePackages"|"ping"|"pong"|"hello"|"goodbye"|"proxyGoingAway"|"hint"|"connect"|"send"|"recv"|"disconnect"|"fileAuthReq"|"fileAuthRes"|"mutliFileAuthRes"|"listObjects"|"listObjectsResp"|"ot"|"otstatus"|"otLinkFile"|"otLinkFileResponse"|"otNewCursor"|"otDeleteCursor"|"otFetchRequest"|"otFetchResponse"|"otTransformSelectionRequest"|"otTransformSelectionResponse"|"flush"|"debug"|"startVCR"|"readVCR"|"VCRLog"|"auth"|"execInfo"|"subscribeFile"|"fileEvent"|"roster"|"join"|"part"|"openFile"|"fileOpened"|"followUser"|"unfollowUser"|"updateSessionTimestamp"|"sessionTimestampUpdated"|"exec"|"packageSearch"|"packageSearchResp"|"packageInfo"|"packageInfoResp"|"packageAdd"|"packageRemove"|"packageInstall"|"packageListSpecfile"|"packageListSpecfileResp"|"packageCacheSave"|"chatMessage"|"chatTyping"|"chatScrollback"|"fsSnapshot"|"fsSnapshotEvent"|"fsTakeLock"|"fsReleaseLock"|"hasCap"|"snapshotEvent"|"NoninteractiveFSChangeEvent"|"pid1Config"|"metrics"|"bootStatus"|"readMetaRequest"|"readMetaResponse"|"writeMetaRequest"|"writeMetaResponse"|"appendMetaRequest"|"appendMetaResponse"|"audio"|"pprofRequest"|"pprofResponse"|"audio2"|"PTYConfig"|"debugMain"|"debugState"|"debugMainReply"|"debugInput"|"debugOutput"|"debugStop"|"debugLeave"|"debugSessions"|"debugAddBreakpointRequest"|"debugUpdateBreakpointRequest"|"debugRemoveBreakpointRequest"|"debugBreakpointEvent"|"dotReplitGetRequest"|"dotReplitGetResponse"|"runConfigGetRequest"|"runConfigGetResponse"|"dotReplitUpdateRequest"|"dotReplitUpdateResponse"|"startLSP"|"firewallDenied"|"nixPackageAddRequest"|"nixPackageAddResponse"|"nixPackageRemoveRequest"|"nixPackageRemoveResponse"|"nixPackageListRequest"|"nixPackageListResponse"|"nixChannelsRequest"|"nixChannelsResponse"|"nixChannelLatestStableRequest"|"nixChannelLatestStableResponse"|"nixPackageSearchRequest"|"nixPackageSearchResponse");
|
|
1021
|
+
public body?: ("openChan"|"openChanRes"|"closeChan"|"closeChanRes"|"containerState"|"portOpen"|"portClose"|"toast"|"protocolError"|"redirect"|"alwaysOn"|"runMain"|"clear"|"eval"|"result"|"input"|"output"|"error"|"stderr"|"log"|"record"|"saneTerm"|"resizeTerm"|"state"|"ok"|"persist"|"persistMirror"|"write"|"remove"|"move"|"tryRemove"|"mkdir"|"stat"|"statRes"|"transferStart"|"transferChunk"|"transferComplete"|"transferCancel"|"transfer"|"read"|"readdir"|"files"|"file"|"checkChanges"|"changedFiles"|"lintResults"|"runContainedTest"|"testResult"|"debuggerStart"|"debuggerStep"|"debuggerStatus"|"ensurePackages"|"ping"|"pong"|"hello"|"goodbye"|"proxyGoingAway"|"hint"|"connect"|"send"|"recv"|"disconnect"|"fileAuthReq"|"fileAuthRes"|"mutliFileAuthRes"|"listObjects"|"listObjectsResp"|"ot"|"otstatus"|"otLinkFile"|"otLinkFileResponse"|"otNewCursor"|"otDeleteCursor"|"otFetchRequest"|"otFetchResponse"|"otTransformSelectionRequest"|"otTransformSelectionResponse"|"flush"|"debug"|"startVCR"|"readVCR"|"VCRLog"|"auth"|"execInfo"|"subscribeFile"|"fileEvent"|"roster"|"join"|"part"|"openFile"|"fileOpened"|"followUser"|"unfollowUser"|"updateSessionTimestamp"|"sessionTimestampUpdated"|"exec"|"packageSearch"|"packageSearchResp"|"packageInfo"|"packageInfoResp"|"packageAdd"|"packageRemove"|"packageInstall"|"packageListSpecfile"|"packageListSpecfileResp"|"packageCacheSave"|"chatMessage"|"chatTyping"|"chatScrollback"|"fsSnapshot"|"fsSnapshotEvent"|"fsTakeLock"|"fsReleaseLock"|"hasCap"|"snapshotEvent"|"NoninteractiveFSChangeEvent"|"pid1Config"|"metrics"|"bootStatus"|"readMetaRequest"|"readMetaResponse"|"writeMetaRequest"|"writeMetaResponse"|"appendMetaRequest"|"appendMetaResponse"|"audio"|"pprofRequest"|"pprofResponse"|"audio2"|"PTYConfig"|"debugMain"|"debugState"|"debugMainReply"|"debugInput"|"debugOutput"|"debugStop"|"debugLeave"|"debugSessions"|"debugAddBreakpointRequest"|"debugUpdateBreakpointRequest"|"debugRemoveBreakpointRequest"|"debugBreakpointEvent"|"dotReplitGetRequest"|"dotReplitGetResponse"|"runConfigGetRequest"|"runConfigGetResponse"|"dotReplitUpdateRequest"|"dotReplitUpdateResponse"|"startLSP"|"firewallDenied"|"nixPackageAddRequest"|"nixPackageAddResponse"|"nixPackageRemoveRequest"|"nixPackageRemoveResponse"|"nixPackageListRequest"|"nixPackageListResponse"|"nixChannelsRequest"|"nixChannelsResponse"|"nixChannelLatestStableRequest"|"nixChannelLatestStableResponse"|"nixPackageSearchRequest"|"nixPackageSearchResponse");
|
|
1016
1022
|
|
|
1017
1023
|
/**
|
|
1018
1024
|
* Creates a new Command instance using the specified properties.
|
|
@@ -17940,6 +17946,114 @@ export namespace replit {
|
|
|
17940
17946
|
public toJSON(): { [k: string]: any };
|
|
17941
17947
|
}
|
|
17942
17948
|
|
|
17949
|
+
/** Properties of a ReplLogMessage. */
|
|
17950
|
+
interface IReplLogMessage {
|
|
17951
|
+
|
|
17952
|
+
/** ReplLogMessage timestamp */
|
|
17953
|
+
timestamp?: (google.protobuf.Timestamp|google.protobuf.ITimestamp|null);
|
|
17954
|
+
|
|
17955
|
+
/** ReplLogMessage replId */
|
|
17956
|
+
replId?: (string|null);
|
|
17957
|
+
|
|
17958
|
+
/** ReplLogMessage logLine */
|
|
17959
|
+
logLine?: (string|null);
|
|
17960
|
+
|
|
17961
|
+
/** ReplLogMessage userName */
|
|
17962
|
+
userName?: (string|null);
|
|
17963
|
+
}
|
|
17964
|
+
|
|
17965
|
+
/** Represents a ReplLogMessage. */
|
|
17966
|
+
class ReplLogMessage {
|
|
17967
|
+
|
|
17968
|
+
/**
|
|
17969
|
+
* Constructs a new ReplLogMessage.
|
|
17970
|
+
* @param [properties] Properties to set
|
|
17971
|
+
*/
|
|
17972
|
+
private constructor(properties?: replit.goval.api.IReplLogMessage);
|
|
17973
|
+
|
|
17974
|
+
/** ReplLogMessage timestamp. */
|
|
17975
|
+
public timestamp?: (google.protobuf.Timestamp|null);
|
|
17976
|
+
|
|
17977
|
+
/** ReplLogMessage replId. */
|
|
17978
|
+
public replId: string;
|
|
17979
|
+
|
|
17980
|
+
/** ReplLogMessage logLine. */
|
|
17981
|
+
public logLine: string;
|
|
17982
|
+
|
|
17983
|
+
/** ReplLogMessage userName. */
|
|
17984
|
+
public userName: string;
|
|
17985
|
+
|
|
17986
|
+
/**
|
|
17987
|
+
* Creates a new ReplLogMessage instance using the specified properties.
|
|
17988
|
+
* @param [properties] Properties to set
|
|
17989
|
+
* @returns ReplLogMessage instance
|
|
17990
|
+
*/
|
|
17991
|
+
public static create(properties?: replit.goval.api.IReplLogMessage): replit.goval.api.ReplLogMessage;
|
|
17992
|
+
|
|
17993
|
+
/**
|
|
17994
|
+
* Encodes the specified ReplLogMessage message. Does not implicitly {@link replit.goval.api.ReplLogMessage.verify|verify} messages.
|
|
17995
|
+
* @param message ReplLogMessage message or plain object to encode
|
|
17996
|
+
* @param [writer] Writer to encode to
|
|
17997
|
+
* @returns Writer
|
|
17998
|
+
*/
|
|
17999
|
+
public static encode(message: replit.goval.api.ReplLogMessage, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
18000
|
+
|
|
18001
|
+
/**
|
|
18002
|
+
* Encodes the specified ReplLogMessage message, length delimited. Does not implicitly {@link replit.goval.api.ReplLogMessage.verify|verify} messages.
|
|
18003
|
+
* @param message ReplLogMessage message or plain object to encode
|
|
18004
|
+
* @param [writer] Writer to encode to
|
|
18005
|
+
* @returns Writer
|
|
18006
|
+
*/
|
|
18007
|
+
public static encodeDelimited(message: replit.goval.api.ReplLogMessage, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
18008
|
+
|
|
18009
|
+
/**
|
|
18010
|
+
* Decodes a ReplLogMessage message from the specified reader or buffer.
|
|
18011
|
+
* @param reader Reader or buffer to decode from
|
|
18012
|
+
* @param [length] Message length if known beforehand
|
|
18013
|
+
* @returns ReplLogMessage
|
|
18014
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
18015
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
18016
|
+
*/
|
|
18017
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.ReplLogMessage;
|
|
18018
|
+
|
|
18019
|
+
/**
|
|
18020
|
+
* Decodes a ReplLogMessage message from the specified reader or buffer, length delimited.
|
|
18021
|
+
* @param reader Reader or buffer to decode from
|
|
18022
|
+
* @returns ReplLogMessage
|
|
18023
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
18024
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
18025
|
+
*/
|
|
18026
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.ReplLogMessage;
|
|
18027
|
+
|
|
18028
|
+
/**
|
|
18029
|
+
* Verifies a ReplLogMessage message.
|
|
18030
|
+
* @param message Plain object to verify
|
|
18031
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
18032
|
+
*/
|
|
18033
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
18034
|
+
|
|
18035
|
+
/**
|
|
18036
|
+
* Creates a ReplLogMessage message from a plain object. Also converts values to their respective internal types.
|
|
18037
|
+
* @param object Plain object
|
|
18038
|
+
* @returns ReplLogMessage
|
|
18039
|
+
*/
|
|
18040
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.ReplLogMessage;
|
|
18041
|
+
|
|
18042
|
+
/**
|
|
18043
|
+
* Creates a plain object from a ReplLogMessage message. Also converts values to other types if specified.
|
|
18044
|
+
* @param message ReplLogMessage
|
|
18045
|
+
* @param [options] Conversion options
|
|
18046
|
+
* @returns Plain object
|
|
18047
|
+
*/
|
|
18048
|
+
public static toObject(message: replit.goval.api.ReplLogMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
18049
|
+
|
|
18050
|
+
/**
|
|
18051
|
+
* Converts this ReplLogMessage to JSON.
|
|
18052
|
+
* @returns JSON object
|
|
18053
|
+
*/
|
|
18054
|
+
public toJSON(): { [k: string]: any };
|
|
18055
|
+
}
|
|
18056
|
+
|
|
17943
18057
|
/** Properties of a ReplToken. */
|
|
17944
18058
|
interface IReplToken {
|
|
17945
18059
|
|
|
@@ -19616,6 +19730,9 @@ export namespace replit {
|
|
|
19616
19730
|
/** LoreCommand govalCommand */
|
|
19617
19731
|
govalCommand?: (replit.goval.api.GovalCommand|replit.goval.api.IGovalCommand|null);
|
|
19618
19732
|
|
|
19733
|
+
/** LoreCommand multiGovalCommand */
|
|
19734
|
+
multiGovalCommand?: (replit.goval.api.MultiGovalCommand|replit.goval.api.IMultiGovalCommand|null);
|
|
19735
|
+
|
|
19619
19736
|
/** LoreCommand restore */
|
|
19620
19737
|
restore?: (replit.goval.api.Restore|replit.goval.api.IRestore|null);
|
|
19621
19738
|
}
|
|
@@ -19638,11 +19755,14 @@ export namespace replit {
|
|
|
19638
19755
|
/** LoreCommand govalCommand. */
|
|
19639
19756
|
public govalCommand?: (replit.goval.api.GovalCommand|null);
|
|
19640
19757
|
|
|
19758
|
+
/** LoreCommand multiGovalCommand. */
|
|
19759
|
+
public multiGovalCommand?: (replit.goval.api.MultiGovalCommand|null);
|
|
19760
|
+
|
|
19641
19761
|
/** LoreCommand restore. */
|
|
19642
19762
|
public restore?: (replit.goval.api.Restore|null);
|
|
19643
19763
|
|
|
19644
19764
|
/** LoreCommand command. */
|
|
19645
|
-
public command?: ("clusterTransfer"|"softTakedown"|"govalCommand"|"restore");
|
|
19765
|
+
public command?: ("clusterTransfer"|"softTakedown"|"govalCommand"|"multiGovalCommand"|"restore");
|
|
19646
19766
|
|
|
19647
19767
|
/**
|
|
19648
19768
|
* Creates a new LoreCommand instance using the specified properties.
|
|
@@ -19924,6 +20044,12 @@ export namespace replit {
|
|
|
19924
20044
|
|
|
19925
20045
|
/** GovalCommand updateMetadata */
|
|
19926
20046
|
updateMetadata?: (replit.goval.api.repl.Metadata|replit.goval.api.repl.IMetadata|null);
|
|
20047
|
+
|
|
20048
|
+
/** GovalCommand partialUpdateMetadata */
|
|
20049
|
+
partialUpdateMetadata?: (replit.goval.api.PartialUpdateMetadata|replit.goval.api.IPartialUpdateMetadata|null);
|
|
20050
|
+
|
|
20051
|
+
/** GovalCommand killRepl */
|
|
20052
|
+
killRepl?: (replit.goval.api.KillRepl|replit.goval.api.IKillRepl|null);
|
|
19927
20053
|
}
|
|
19928
20054
|
|
|
19929
20055
|
/** Represents a GovalCommand. */
|
|
@@ -19938,8 +20064,14 @@ export namespace replit {
|
|
|
19938
20064
|
/** GovalCommand updateMetadata. */
|
|
19939
20065
|
public updateMetadata?: (replit.goval.api.repl.Metadata|null);
|
|
19940
20066
|
|
|
20067
|
+
/** GovalCommand partialUpdateMetadata. */
|
|
20068
|
+
public partialUpdateMetadata?: (replit.goval.api.PartialUpdateMetadata|null);
|
|
20069
|
+
|
|
20070
|
+
/** GovalCommand killRepl. */
|
|
20071
|
+
public killRepl?: (replit.goval.api.KillRepl|null);
|
|
20072
|
+
|
|
19941
20073
|
/** GovalCommand command. */
|
|
19942
|
-
public command?: "updateMetadata";
|
|
20074
|
+
public command?: ("updateMetadata"|"partialUpdateMetadata"|"killRepl");
|
|
19943
20075
|
|
|
19944
20076
|
/**
|
|
19945
20077
|
* Creates a new GovalCommand instance using the specified properties.
|
|
@@ -20012,6 +20144,288 @@ export namespace replit {
|
|
|
20012
20144
|
public toJSON(): { [k: string]: any };
|
|
20013
20145
|
}
|
|
20014
20146
|
|
|
20147
|
+
/** Properties of a PartialUpdateMetadata. */
|
|
20148
|
+
interface IPartialUpdateMetadata {
|
|
20149
|
+
|
|
20150
|
+
/** PartialUpdateMetadata fieldMask */
|
|
20151
|
+
fieldMask?: (google.protobuf.FieldMask|google.protobuf.IFieldMask|null);
|
|
20152
|
+
|
|
20153
|
+
/** PartialUpdateMetadata updateMetadata */
|
|
20154
|
+
updateMetadata?: (replit.goval.api.repl.Metadata|replit.goval.api.repl.IMetadata|null);
|
|
20155
|
+
}
|
|
20156
|
+
|
|
20157
|
+
/** Represents a PartialUpdateMetadata. */
|
|
20158
|
+
class PartialUpdateMetadata {
|
|
20159
|
+
|
|
20160
|
+
/**
|
|
20161
|
+
* Constructs a new PartialUpdateMetadata.
|
|
20162
|
+
* @param [properties] Properties to set
|
|
20163
|
+
*/
|
|
20164
|
+
private constructor(properties?: replit.goval.api.IPartialUpdateMetadata);
|
|
20165
|
+
|
|
20166
|
+
/** PartialUpdateMetadata fieldMask. */
|
|
20167
|
+
public fieldMask?: (google.protobuf.FieldMask|null);
|
|
20168
|
+
|
|
20169
|
+
/** PartialUpdateMetadata updateMetadata. */
|
|
20170
|
+
public updateMetadata?: (replit.goval.api.repl.Metadata|null);
|
|
20171
|
+
|
|
20172
|
+
/**
|
|
20173
|
+
* Creates a new PartialUpdateMetadata instance using the specified properties.
|
|
20174
|
+
* @param [properties] Properties to set
|
|
20175
|
+
* @returns PartialUpdateMetadata instance
|
|
20176
|
+
*/
|
|
20177
|
+
public static create(properties?: replit.goval.api.IPartialUpdateMetadata): replit.goval.api.PartialUpdateMetadata;
|
|
20178
|
+
|
|
20179
|
+
/**
|
|
20180
|
+
* Encodes the specified PartialUpdateMetadata message. Does not implicitly {@link replit.goval.api.PartialUpdateMetadata.verify|verify} messages.
|
|
20181
|
+
* @param message PartialUpdateMetadata message or plain object to encode
|
|
20182
|
+
* @param [writer] Writer to encode to
|
|
20183
|
+
* @returns Writer
|
|
20184
|
+
*/
|
|
20185
|
+
public static encode(message: replit.goval.api.PartialUpdateMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
20186
|
+
|
|
20187
|
+
/**
|
|
20188
|
+
* Encodes the specified PartialUpdateMetadata message, length delimited. Does not implicitly {@link replit.goval.api.PartialUpdateMetadata.verify|verify} messages.
|
|
20189
|
+
* @param message PartialUpdateMetadata message or plain object to encode
|
|
20190
|
+
* @param [writer] Writer to encode to
|
|
20191
|
+
* @returns Writer
|
|
20192
|
+
*/
|
|
20193
|
+
public static encodeDelimited(message: replit.goval.api.PartialUpdateMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
20194
|
+
|
|
20195
|
+
/**
|
|
20196
|
+
* Decodes a PartialUpdateMetadata message from the specified reader or buffer.
|
|
20197
|
+
* @param reader Reader or buffer to decode from
|
|
20198
|
+
* @param [length] Message length if known beforehand
|
|
20199
|
+
* @returns PartialUpdateMetadata
|
|
20200
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20201
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20202
|
+
*/
|
|
20203
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.PartialUpdateMetadata;
|
|
20204
|
+
|
|
20205
|
+
/**
|
|
20206
|
+
* Decodes a PartialUpdateMetadata message from the specified reader or buffer, length delimited.
|
|
20207
|
+
* @param reader Reader or buffer to decode from
|
|
20208
|
+
* @returns PartialUpdateMetadata
|
|
20209
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20210
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20211
|
+
*/
|
|
20212
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.PartialUpdateMetadata;
|
|
20213
|
+
|
|
20214
|
+
/**
|
|
20215
|
+
* Verifies a PartialUpdateMetadata message.
|
|
20216
|
+
* @param message Plain object to verify
|
|
20217
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
20218
|
+
*/
|
|
20219
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
20220
|
+
|
|
20221
|
+
/**
|
|
20222
|
+
* Creates a PartialUpdateMetadata message from a plain object. Also converts values to their respective internal types.
|
|
20223
|
+
* @param object Plain object
|
|
20224
|
+
* @returns PartialUpdateMetadata
|
|
20225
|
+
*/
|
|
20226
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.PartialUpdateMetadata;
|
|
20227
|
+
|
|
20228
|
+
/**
|
|
20229
|
+
* Creates a plain object from a PartialUpdateMetadata message. Also converts values to other types if specified.
|
|
20230
|
+
* @param message PartialUpdateMetadata
|
|
20231
|
+
* @param [options] Conversion options
|
|
20232
|
+
* @returns Plain object
|
|
20233
|
+
*/
|
|
20234
|
+
public static toObject(message: replit.goval.api.PartialUpdateMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
20235
|
+
|
|
20236
|
+
/**
|
|
20237
|
+
* Converts this PartialUpdateMetadata to JSON.
|
|
20238
|
+
* @returns JSON object
|
|
20239
|
+
*/
|
|
20240
|
+
public toJSON(): { [k: string]: any };
|
|
20241
|
+
}
|
|
20242
|
+
|
|
20243
|
+
/** Properties of a MultiGovalCommand. */
|
|
20244
|
+
interface IMultiGovalCommand {
|
|
20245
|
+
|
|
20246
|
+
/** MultiGovalCommand replId */
|
|
20247
|
+
replId?: (string|null);
|
|
20248
|
+
|
|
20249
|
+
/** MultiGovalCommand govalCommands */
|
|
20250
|
+
govalCommands?: ((replit.goval.api.GovalCommand|replit.goval.api.IGovalCommand)[]|null);
|
|
20251
|
+
}
|
|
20252
|
+
|
|
20253
|
+
/** Represents a MultiGovalCommand. */
|
|
20254
|
+
class MultiGovalCommand {
|
|
20255
|
+
|
|
20256
|
+
/**
|
|
20257
|
+
* Constructs a new MultiGovalCommand.
|
|
20258
|
+
* @param [properties] Properties to set
|
|
20259
|
+
*/
|
|
20260
|
+
private constructor(properties?: replit.goval.api.IMultiGovalCommand);
|
|
20261
|
+
|
|
20262
|
+
/** MultiGovalCommand replId. */
|
|
20263
|
+
public replId: string;
|
|
20264
|
+
|
|
20265
|
+
/** MultiGovalCommand govalCommands. */
|
|
20266
|
+
public govalCommands: replit.goval.api.GovalCommand[];
|
|
20267
|
+
|
|
20268
|
+
/**
|
|
20269
|
+
* Creates a new MultiGovalCommand instance using the specified properties.
|
|
20270
|
+
* @param [properties] Properties to set
|
|
20271
|
+
* @returns MultiGovalCommand instance
|
|
20272
|
+
*/
|
|
20273
|
+
public static create(properties?: replit.goval.api.IMultiGovalCommand): replit.goval.api.MultiGovalCommand;
|
|
20274
|
+
|
|
20275
|
+
/**
|
|
20276
|
+
* Encodes the specified MultiGovalCommand message. Does not implicitly {@link replit.goval.api.MultiGovalCommand.verify|verify} messages.
|
|
20277
|
+
* @param message MultiGovalCommand message or plain object to encode
|
|
20278
|
+
* @param [writer] Writer to encode to
|
|
20279
|
+
* @returns Writer
|
|
20280
|
+
*/
|
|
20281
|
+
public static encode(message: replit.goval.api.MultiGovalCommand, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
20282
|
+
|
|
20283
|
+
/**
|
|
20284
|
+
* Encodes the specified MultiGovalCommand message, length delimited. Does not implicitly {@link replit.goval.api.MultiGovalCommand.verify|verify} messages.
|
|
20285
|
+
* @param message MultiGovalCommand message or plain object to encode
|
|
20286
|
+
* @param [writer] Writer to encode to
|
|
20287
|
+
* @returns Writer
|
|
20288
|
+
*/
|
|
20289
|
+
public static encodeDelimited(message: replit.goval.api.MultiGovalCommand, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
20290
|
+
|
|
20291
|
+
/**
|
|
20292
|
+
* Decodes a MultiGovalCommand message from the specified reader or buffer.
|
|
20293
|
+
* @param reader Reader or buffer to decode from
|
|
20294
|
+
* @param [length] Message length if known beforehand
|
|
20295
|
+
* @returns MultiGovalCommand
|
|
20296
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20297
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20298
|
+
*/
|
|
20299
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.MultiGovalCommand;
|
|
20300
|
+
|
|
20301
|
+
/**
|
|
20302
|
+
* Decodes a MultiGovalCommand message from the specified reader or buffer, length delimited.
|
|
20303
|
+
* @param reader Reader or buffer to decode from
|
|
20304
|
+
* @returns MultiGovalCommand
|
|
20305
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20306
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20307
|
+
*/
|
|
20308
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.MultiGovalCommand;
|
|
20309
|
+
|
|
20310
|
+
/**
|
|
20311
|
+
* Verifies a MultiGovalCommand message.
|
|
20312
|
+
* @param message Plain object to verify
|
|
20313
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
20314
|
+
*/
|
|
20315
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
20316
|
+
|
|
20317
|
+
/**
|
|
20318
|
+
* Creates a MultiGovalCommand message from a plain object. Also converts values to their respective internal types.
|
|
20319
|
+
* @param object Plain object
|
|
20320
|
+
* @returns MultiGovalCommand
|
|
20321
|
+
*/
|
|
20322
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.MultiGovalCommand;
|
|
20323
|
+
|
|
20324
|
+
/**
|
|
20325
|
+
* Creates a plain object from a MultiGovalCommand message. Also converts values to other types if specified.
|
|
20326
|
+
* @param message MultiGovalCommand
|
|
20327
|
+
* @param [options] Conversion options
|
|
20328
|
+
* @returns Plain object
|
|
20329
|
+
*/
|
|
20330
|
+
public static toObject(message: replit.goval.api.MultiGovalCommand, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
20331
|
+
|
|
20332
|
+
/**
|
|
20333
|
+
* Converts this MultiGovalCommand to JSON.
|
|
20334
|
+
* @returns JSON object
|
|
20335
|
+
*/
|
|
20336
|
+
public toJSON(): { [k: string]: any };
|
|
20337
|
+
}
|
|
20338
|
+
|
|
20339
|
+
/** Properties of a KillRepl. */
|
|
20340
|
+
interface IKillRepl {
|
|
20341
|
+
|
|
20342
|
+
/** KillRepl replId */
|
|
20343
|
+
replId?: (string|null);
|
|
20344
|
+
}
|
|
20345
|
+
|
|
20346
|
+
/** Represents a KillRepl. */
|
|
20347
|
+
class KillRepl {
|
|
20348
|
+
|
|
20349
|
+
/**
|
|
20350
|
+
* Constructs a new KillRepl.
|
|
20351
|
+
* @param [properties] Properties to set
|
|
20352
|
+
*/
|
|
20353
|
+
private constructor(properties?: replit.goval.api.IKillRepl);
|
|
20354
|
+
|
|
20355
|
+
/** KillRepl replId. */
|
|
20356
|
+
public replId: string;
|
|
20357
|
+
|
|
20358
|
+
/**
|
|
20359
|
+
* Creates a new KillRepl instance using the specified properties.
|
|
20360
|
+
* @param [properties] Properties to set
|
|
20361
|
+
* @returns KillRepl instance
|
|
20362
|
+
*/
|
|
20363
|
+
public static create(properties?: replit.goval.api.IKillRepl): replit.goval.api.KillRepl;
|
|
20364
|
+
|
|
20365
|
+
/**
|
|
20366
|
+
* Encodes the specified KillRepl message. Does not implicitly {@link replit.goval.api.KillRepl.verify|verify} messages.
|
|
20367
|
+
* @param message KillRepl message or plain object to encode
|
|
20368
|
+
* @param [writer] Writer to encode to
|
|
20369
|
+
* @returns Writer
|
|
20370
|
+
*/
|
|
20371
|
+
public static encode(message: replit.goval.api.KillRepl, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
20372
|
+
|
|
20373
|
+
/**
|
|
20374
|
+
* Encodes the specified KillRepl message, length delimited. Does not implicitly {@link replit.goval.api.KillRepl.verify|verify} messages.
|
|
20375
|
+
* @param message KillRepl message or plain object to encode
|
|
20376
|
+
* @param [writer] Writer to encode to
|
|
20377
|
+
* @returns Writer
|
|
20378
|
+
*/
|
|
20379
|
+
public static encodeDelimited(message: replit.goval.api.KillRepl, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
20380
|
+
|
|
20381
|
+
/**
|
|
20382
|
+
* Decodes a KillRepl message from the specified reader or buffer.
|
|
20383
|
+
* @param reader Reader or buffer to decode from
|
|
20384
|
+
* @param [length] Message length if known beforehand
|
|
20385
|
+
* @returns KillRepl
|
|
20386
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20387
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20388
|
+
*/
|
|
20389
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.KillRepl;
|
|
20390
|
+
|
|
20391
|
+
/**
|
|
20392
|
+
* Decodes a KillRepl message from the specified reader or buffer, length delimited.
|
|
20393
|
+
* @param reader Reader or buffer to decode from
|
|
20394
|
+
* @returns KillRepl
|
|
20395
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20396
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20397
|
+
*/
|
|
20398
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.KillRepl;
|
|
20399
|
+
|
|
20400
|
+
/**
|
|
20401
|
+
* Verifies a KillRepl message.
|
|
20402
|
+
* @param message Plain object to verify
|
|
20403
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
20404
|
+
*/
|
|
20405
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
20406
|
+
|
|
20407
|
+
/**
|
|
20408
|
+
* Creates a KillRepl message from a plain object. Also converts values to their respective internal types.
|
|
20409
|
+
* @param object Plain object
|
|
20410
|
+
* @returns KillRepl
|
|
20411
|
+
*/
|
|
20412
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.KillRepl;
|
|
20413
|
+
|
|
20414
|
+
/**
|
|
20415
|
+
* Creates a plain object from a KillRepl message. Also converts values to other types if specified.
|
|
20416
|
+
* @param message KillRepl
|
|
20417
|
+
* @param [options] Conversion options
|
|
20418
|
+
* @returns Plain object
|
|
20419
|
+
*/
|
|
20420
|
+
public static toObject(message: replit.goval.api.KillRepl, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
20421
|
+
|
|
20422
|
+
/**
|
|
20423
|
+
* Converts this KillRepl to JSON.
|
|
20424
|
+
* @returns JSON object
|
|
20425
|
+
*/
|
|
20426
|
+
public toJSON(): { [k: string]: any };
|
|
20427
|
+
}
|
|
20428
|
+
|
|
20015
20429
|
/** Properties of a Restore. */
|
|
20016
20430
|
interface IRestore {
|
|
20017
20431
|
|
|
@@ -21286,6 +21700,96 @@ export namespace google {
|
|
|
21286
21700
|
*/
|
|
21287
21701
|
public toJSON(): { [k: string]: any };
|
|
21288
21702
|
}
|
|
21703
|
+
|
|
21704
|
+
/** Properties of a FieldMask. */
|
|
21705
|
+
interface IFieldMask {
|
|
21706
|
+
|
|
21707
|
+
/** FieldMask paths */
|
|
21708
|
+
paths?: (string[]|null);
|
|
21709
|
+
}
|
|
21710
|
+
|
|
21711
|
+
/** Represents a FieldMask. */
|
|
21712
|
+
class FieldMask {
|
|
21713
|
+
|
|
21714
|
+
/**
|
|
21715
|
+
* Constructs a new FieldMask.
|
|
21716
|
+
* @param [properties] Properties to set
|
|
21717
|
+
*/
|
|
21718
|
+
private constructor(properties?: google.protobuf.IFieldMask);
|
|
21719
|
+
|
|
21720
|
+
/** FieldMask paths. */
|
|
21721
|
+
public paths: string[];
|
|
21722
|
+
|
|
21723
|
+
/**
|
|
21724
|
+
* Creates a new FieldMask instance using the specified properties.
|
|
21725
|
+
* @param [properties] Properties to set
|
|
21726
|
+
* @returns FieldMask instance
|
|
21727
|
+
*/
|
|
21728
|
+
public static create(properties?: google.protobuf.IFieldMask): google.protobuf.FieldMask;
|
|
21729
|
+
|
|
21730
|
+
/**
|
|
21731
|
+
* Encodes the specified FieldMask message. Does not implicitly {@link google.protobuf.FieldMask.verify|verify} messages.
|
|
21732
|
+
* @param message FieldMask message or plain object to encode
|
|
21733
|
+
* @param [writer] Writer to encode to
|
|
21734
|
+
* @returns Writer
|
|
21735
|
+
*/
|
|
21736
|
+
public static encode(message: google.protobuf.FieldMask, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
21737
|
+
|
|
21738
|
+
/**
|
|
21739
|
+
* Encodes the specified FieldMask message, length delimited. Does not implicitly {@link google.protobuf.FieldMask.verify|verify} messages.
|
|
21740
|
+
* @param message FieldMask message or plain object to encode
|
|
21741
|
+
* @param [writer] Writer to encode to
|
|
21742
|
+
* @returns Writer
|
|
21743
|
+
*/
|
|
21744
|
+
public static encodeDelimited(message: google.protobuf.FieldMask, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
21745
|
+
|
|
21746
|
+
/**
|
|
21747
|
+
* Decodes a FieldMask message from the specified reader or buffer.
|
|
21748
|
+
* @param reader Reader or buffer to decode from
|
|
21749
|
+
* @param [length] Message length if known beforehand
|
|
21750
|
+
* @returns FieldMask
|
|
21751
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
21752
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
21753
|
+
*/
|
|
21754
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldMask;
|
|
21755
|
+
|
|
21756
|
+
/**
|
|
21757
|
+
* Decodes a FieldMask message from the specified reader or buffer, length delimited.
|
|
21758
|
+
* @param reader Reader or buffer to decode from
|
|
21759
|
+
* @returns FieldMask
|
|
21760
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
21761
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
21762
|
+
*/
|
|
21763
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldMask;
|
|
21764
|
+
|
|
21765
|
+
/**
|
|
21766
|
+
* Verifies a FieldMask message.
|
|
21767
|
+
* @param message Plain object to verify
|
|
21768
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
21769
|
+
*/
|
|
21770
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
21771
|
+
|
|
21772
|
+
/**
|
|
21773
|
+
* Creates a FieldMask message from a plain object. Also converts values to their respective internal types.
|
|
21774
|
+
* @param object Plain object
|
|
21775
|
+
* @returns FieldMask
|
|
21776
|
+
*/
|
|
21777
|
+
public static fromObject(object: { [k: string]: any }): google.protobuf.FieldMask;
|
|
21778
|
+
|
|
21779
|
+
/**
|
|
21780
|
+
* Creates a plain object from a FieldMask message. Also converts values to other types if specified.
|
|
21781
|
+
* @param message FieldMask
|
|
21782
|
+
* @param [options] Conversion options
|
|
21783
|
+
* @returns Plain object
|
|
21784
|
+
*/
|
|
21785
|
+
public static toObject(message: google.protobuf.FieldMask, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
21786
|
+
|
|
21787
|
+
/**
|
|
21788
|
+
* Converts this FieldMask to JSON.
|
|
21789
|
+
* @returns JSON object
|
|
21790
|
+
*/
|
|
21791
|
+
public toJSON(): { [k: string]: any };
|
|
21792
|
+
}
|
|
21289
21793
|
}
|
|
21290
21794
|
}
|
|
21291
21795
|
import api = replit.goval.api; export { api };
|