@replit/protocol 0.3.61 → 0.3.63
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 +116 -1
- package/main/index.js +306 -2
- package/package.json +1 -1
package/main/index.d.ts
CHANGED
|
@@ -267,6 +267,9 @@ export namespace replit {
|
|
|
267
267
|
/** Command flush */
|
|
268
268
|
flush?: (replit.goval.api.Flush|replit.goval.api.IFlush|null);
|
|
269
269
|
|
|
270
|
+
/** Command otFlushNotification */
|
|
271
|
+
otFlushNotification?: (replit.goval.api.OTFlushNotification|replit.goval.api.IOTFlushNotification|null);
|
|
272
|
+
|
|
270
273
|
/** Command debug */
|
|
271
274
|
debug?: (replit.goval.api.Debug|replit.goval.api.IDebug|null);
|
|
272
275
|
|
|
@@ -889,6 +892,9 @@ export namespace replit {
|
|
|
889
892
|
/** Command flush. */
|
|
890
893
|
public flush?: (replit.goval.api.Flush|null);
|
|
891
894
|
|
|
895
|
+
/** Command otFlushNotification. */
|
|
896
|
+
public otFlushNotification?: (replit.goval.api.OTFlushNotification|null);
|
|
897
|
+
|
|
892
898
|
/** Command debug. */
|
|
893
899
|
public debug?: (replit.goval.api.Debug|null);
|
|
894
900
|
|
|
@@ -1247,7 +1253,7 @@ export namespace replit {
|
|
|
1247
1253
|
public forceTrace: boolean;
|
|
1248
1254
|
|
|
1249
1255
|
/** Command body. */
|
|
1250
|
-
public body?: ("openChan"|"openChanRes"|"closeChan"|"closeChanRes"|"containerState"|"portOpen"|"portClose"|"toast"|"protocolError"|"redirect"|"runMain"|"clear"|"eval"|"result"|"input"|"output"|"error"|"stderr"|"log"|"inputClose"|"outputBlockStartEvent"|"outputBlockEndEvent"|"exitCodeEvent"|"splitStderrRequest"|"shellMetadata"|"saneTerm"|"resizeTerm"|"state"|"ok"|"persist"|"persistMirror"|"write"|"remove"|"move"|"tryRemove"|"mkdir"|"stat"|"resetNixFilesystem"|"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"|"packageAddResponse"|"packageRemove"|"packageInstall"|"packageInstallResponse"|"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"|"nixPackageInfoRequest"|"nixPackageInfoResponse"|"userEvent"|"replspaceApiOpenFile"|"replspaceApiCloseFile"|"replspaceApiGetGitHubToken"|"replspaceApiGitHubToken"|"focused"|"nixModulesGetRequest"|"nixModulesGetResponse"|"nixModulesChanged"|"nixModulesBuildRequest"|"packageSetPackagerRequest"|"packageSetPackagerResp"|"toolchainGetRequest"|"toolchainGetResponse"|"toolchainChanged"|"replspaceApiOpenMultipleFiles"|"nixModulesGetRegistryRequest"|"nixModulesGetRegistryResponse"|"replspaceApiShellTracker"|"nixModuleConfigGetRequest"|"nixModuleConfigGetResponse"|"nixModuleConfigSetRequest"|"nixModuleConfigSetResponse"|"replspaceApiSSHTokenGetRequest"|"replspaceApiSSHTokenGetResponse"|"secretsGetRequest"|"secretsGetResponse"|"secretsSetRequest");
|
|
1256
|
+
public body?: ("openChan"|"openChanRes"|"closeChan"|"closeChanRes"|"containerState"|"portOpen"|"portClose"|"toast"|"protocolError"|"redirect"|"runMain"|"clear"|"eval"|"result"|"input"|"output"|"error"|"stderr"|"log"|"inputClose"|"outputBlockStartEvent"|"outputBlockEndEvent"|"exitCodeEvent"|"splitStderrRequest"|"shellMetadata"|"saneTerm"|"resizeTerm"|"state"|"ok"|"persist"|"persistMirror"|"write"|"remove"|"move"|"tryRemove"|"mkdir"|"stat"|"resetNixFilesystem"|"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"|"otFlushNotification"|"debug"|"startVCR"|"readVCR"|"VCRLog"|"auth"|"execInfo"|"subscribeFile"|"fileEvent"|"roster"|"join"|"part"|"openFile"|"fileOpened"|"followUser"|"unfollowUser"|"updateSessionTimestamp"|"sessionTimestampUpdated"|"exec"|"packageSearch"|"packageSearchResp"|"packageInfo"|"packageInfoResp"|"packageAdd"|"packageAddResponse"|"packageRemove"|"packageInstall"|"packageInstallResponse"|"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"|"nixPackageInfoRequest"|"nixPackageInfoResponse"|"userEvent"|"replspaceApiOpenFile"|"replspaceApiCloseFile"|"replspaceApiGetGitHubToken"|"replspaceApiGitHubToken"|"focused"|"nixModulesGetRequest"|"nixModulesGetResponse"|"nixModulesChanged"|"nixModulesBuildRequest"|"packageSetPackagerRequest"|"packageSetPackagerResp"|"toolchainGetRequest"|"toolchainGetResponse"|"toolchainChanged"|"replspaceApiOpenMultipleFiles"|"nixModulesGetRegistryRequest"|"nixModulesGetRegistryResponse"|"replspaceApiShellTracker"|"nixModuleConfigGetRequest"|"nixModuleConfigGetResponse"|"nixModuleConfigSetRequest"|"nixModuleConfigSetResponse"|"replspaceApiSSHTokenGetRequest"|"replspaceApiSSHTokenGetResponse"|"secretsGetRequest"|"secretsGetResponse"|"secretsSetRequest");
|
|
1251
1257
|
|
|
1252
1258
|
/**
|
|
1253
1259
|
* Creates a new Command instance using the specified properties.
|
|
@@ -5029,6 +5035,103 @@ export namespace replit {
|
|
|
5029
5035
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
5030
5036
|
}
|
|
5031
5037
|
|
|
5038
|
+
/** Properties of a OTFlushNotification. */
|
|
5039
|
+
interface IOTFlushNotification {
|
|
5040
|
+
|
|
5041
|
+
/** OTFlushNotification diskVersion */
|
|
5042
|
+
diskVersion?: (number|null);
|
|
5043
|
+
}
|
|
5044
|
+
|
|
5045
|
+
/** Represents a OTFlushNotification. */
|
|
5046
|
+
class OTFlushNotification {
|
|
5047
|
+
|
|
5048
|
+
/**
|
|
5049
|
+
* Constructs a new OTFlushNotification.
|
|
5050
|
+
* @param [properties] Properties to set
|
|
5051
|
+
*/
|
|
5052
|
+
private constructor(properties?: replit.goval.api.IOTFlushNotification);
|
|
5053
|
+
|
|
5054
|
+
/** OTFlushNotification diskVersion. */
|
|
5055
|
+
public diskVersion: number;
|
|
5056
|
+
|
|
5057
|
+
/**
|
|
5058
|
+
* Creates a new OTFlushNotification instance using the specified properties.
|
|
5059
|
+
* @param [properties] Properties to set
|
|
5060
|
+
* @returns OTFlushNotification instance
|
|
5061
|
+
*/
|
|
5062
|
+
public static create(properties?: replit.goval.api.IOTFlushNotification): replit.goval.api.OTFlushNotification;
|
|
5063
|
+
|
|
5064
|
+
/**
|
|
5065
|
+
* Encodes the specified OTFlushNotification message. Does not implicitly {@link replit.goval.api.OTFlushNotification.verify|verify} messages.
|
|
5066
|
+
* @param message OTFlushNotification message or plain object to encode
|
|
5067
|
+
* @param [writer] Writer to encode to
|
|
5068
|
+
* @returns Writer
|
|
5069
|
+
*/
|
|
5070
|
+
public static encode(message: replit.goval.api.OTFlushNotification, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5071
|
+
|
|
5072
|
+
/**
|
|
5073
|
+
* Encodes the specified OTFlushNotification message, length delimited. Does not implicitly {@link replit.goval.api.OTFlushNotification.verify|verify} messages.
|
|
5074
|
+
* @param message OTFlushNotification message or plain object to encode
|
|
5075
|
+
* @param [writer] Writer to encode to
|
|
5076
|
+
* @returns Writer
|
|
5077
|
+
*/
|
|
5078
|
+
public static encodeDelimited(message: replit.goval.api.OTFlushNotification, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
5079
|
+
|
|
5080
|
+
/**
|
|
5081
|
+
* Decodes a OTFlushNotification message from the specified reader or buffer.
|
|
5082
|
+
* @param reader Reader or buffer to decode from
|
|
5083
|
+
* @param [length] Message length if known beforehand
|
|
5084
|
+
* @returns OTFlushNotification
|
|
5085
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5086
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5087
|
+
*/
|
|
5088
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.OTFlushNotification;
|
|
5089
|
+
|
|
5090
|
+
/**
|
|
5091
|
+
* Decodes a OTFlushNotification message from the specified reader or buffer, length delimited.
|
|
5092
|
+
* @param reader Reader or buffer to decode from
|
|
5093
|
+
* @returns OTFlushNotification
|
|
5094
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
5095
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
5096
|
+
*/
|
|
5097
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.OTFlushNotification;
|
|
5098
|
+
|
|
5099
|
+
/**
|
|
5100
|
+
* Verifies a OTFlushNotification message.
|
|
5101
|
+
* @param message Plain object to verify
|
|
5102
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
5103
|
+
*/
|
|
5104
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
5105
|
+
|
|
5106
|
+
/**
|
|
5107
|
+
* Creates a OTFlushNotification message from a plain object. Also converts values to their respective internal types.
|
|
5108
|
+
* @param object Plain object
|
|
5109
|
+
* @returns OTFlushNotification
|
|
5110
|
+
*/
|
|
5111
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.OTFlushNotification;
|
|
5112
|
+
|
|
5113
|
+
/**
|
|
5114
|
+
* Creates a plain object from a OTFlushNotification message. Also converts values to other types if specified.
|
|
5115
|
+
* @param message OTFlushNotification
|
|
5116
|
+
* @param [options] Conversion options
|
|
5117
|
+
* @returns Plain object
|
|
5118
|
+
*/
|
|
5119
|
+
public static toObject(message: replit.goval.api.OTFlushNotification, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
5120
|
+
|
|
5121
|
+
/**
|
|
5122
|
+
* Converts this OTFlushNotification to JSON.
|
|
5123
|
+
* @returns JSON object
|
|
5124
|
+
*/
|
|
5125
|
+
public toJSON(): { [k: string]: any };
|
|
5126
|
+
|
|
5127
|
+
/**
|
|
5128
|
+
* Gets the default type url for OTFlushNotification
|
|
5129
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
5130
|
+
* @returns The default type url
|
|
5131
|
+
*/
|
|
5132
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
5133
|
+
}
|
|
5134
|
+
|
|
5032
5135
|
/** Properties of an Auth. */
|
|
5033
5136
|
interface IAuth {
|
|
5034
5137
|
|
|
@@ -21701,6 +21804,9 @@ export namespace replit {
|
|
|
21701
21804
|
|
|
21702
21805
|
/** NixModule formatters */
|
|
21703
21806
|
formatters?: ((replit.goval.api.FormatterOption|replit.goval.api.IFormatterOption)[]|null);
|
|
21807
|
+
|
|
21808
|
+
/** NixModule displayVersion */
|
|
21809
|
+
displayVersion?: (string|null);
|
|
21704
21810
|
}
|
|
21705
21811
|
|
|
21706
21812
|
/** Represents a NixModule. */
|
|
@@ -21751,6 +21857,9 @@ export namespace replit {
|
|
|
21751
21857
|
/** NixModule formatters. */
|
|
21752
21858
|
public formatters: replit.goval.api.FormatterOption[];
|
|
21753
21859
|
|
|
21860
|
+
/** NixModule displayVersion. */
|
|
21861
|
+
public displayVersion: string;
|
|
21862
|
+
|
|
21754
21863
|
/**
|
|
21755
21864
|
* Creates a new NixModule instance using the specified properties.
|
|
21756
21865
|
* @param [properties] Properties to set
|
|
@@ -22149,6 +22258,9 @@ export namespace replit {
|
|
|
22149
22258
|
|
|
22150
22259
|
/** NixModulesGetRegistryResponse modulesV2 */
|
|
22151
22260
|
modulesV2?: ((replit.goval.api.NixModulesV2RegistryEntry|replit.goval.api.INixModulesV2RegistryEntry)[]|null);
|
|
22261
|
+
|
|
22262
|
+
/** NixModulesGetRegistryResponse fullModules */
|
|
22263
|
+
fullModules?: ((replit.goval.api.NixModule|replit.goval.api.INixModule)[]|null);
|
|
22152
22264
|
}
|
|
22153
22265
|
|
|
22154
22266
|
/** Represents a NixModulesGetRegistryResponse. */
|
|
@@ -22181,6 +22293,9 @@ export namespace replit {
|
|
|
22181
22293
|
/** NixModulesGetRegistryResponse modulesV2. */
|
|
22182
22294
|
public modulesV2: replit.goval.api.NixModulesV2RegistryEntry[];
|
|
22183
22295
|
|
|
22296
|
+
/** NixModulesGetRegistryResponse fullModules. */
|
|
22297
|
+
public fullModules: replit.goval.api.NixModule[];
|
|
22298
|
+
|
|
22184
22299
|
/**
|
|
22185
22300
|
* Creates a new NixModulesGetRegistryResponse instance using the specified properties.
|
|
22186
22301
|
* @param [properties] Properties to set
|
package/main/index.js
CHANGED
|
@@ -134,6 +134,7 @@
|
|
|
134
134
|
* @property {replit.goval.api.OTTransformSelectionRequest|replit.goval.api.IOTTransformSelectionRequest|null} [otTransformSelectionRequest] Command otTransformSelectionRequest
|
|
135
135
|
* @property {replit.goval.api.OTTransformSelectionResponse|replit.goval.api.IOTTransformSelectionResponse|null} [otTransformSelectionResponse] Command otTransformSelectionResponse
|
|
136
136
|
* @property {replit.goval.api.Flush|replit.goval.api.IFlush|null} [flush] Command flush
|
|
137
|
+
* @property {replit.goval.api.OTFlushNotification|replit.goval.api.IOTFlushNotification|null} [otFlushNotification] Command otFlushNotification
|
|
137
138
|
* @property {replit.goval.api.Debug|replit.goval.api.IDebug|null} [debug] Command debug
|
|
138
139
|
* @property {replit.goval.api.StartVCR|replit.goval.api.IStartVCR|null} [startVCR] Command startVCR
|
|
139
140
|
* @property {replit.goval.api.ReadVCR|replit.goval.api.IReadVCR|null} [readVCR] Command readVCR
|
|
@@ -950,6 +951,14 @@
|
|
|
950
951
|
*/
|
|
951
952
|
Command.prototype.flush = null;
|
|
952
953
|
|
|
954
|
+
/**
|
|
955
|
+
* Command otFlushNotification.
|
|
956
|
+
* @member {replit.goval.api.OTFlushNotification|null|undefined} otFlushNotification
|
|
957
|
+
* @memberof replit.goval.api.Command
|
|
958
|
+
* @instance
|
|
959
|
+
*/
|
|
960
|
+
Command.prototype.otFlushNotification = null;
|
|
961
|
+
|
|
953
962
|
/**
|
|
954
963
|
* Command debug.
|
|
955
964
|
* @member {replit.goval.api.Debug|null|undefined} debug
|
|
@@ -1907,12 +1916,12 @@
|
|
|
1907
1916
|
|
|
1908
1917
|
/**
|
|
1909
1918
|
* Command body.
|
|
1910
|
-
* @member {"openChan"|"openChanRes"|"closeChan"|"closeChanRes"|"containerState"|"portOpen"|"portClose"|"toast"|"protocolError"|"redirect"|"runMain"|"clear"|"eval"|"result"|"input"|"output"|"error"|"stderr"|"log"|"inputClose"|"outputBlockStartEvent"|"outputBlockEndEvent"|"exitCodeEvent"|"splitStderrRequest"|"shellMetadata"|"saneTerm"|"resizeTerm"|"state"|"ok"|"persist"|"persistMirror"|"write"|"remove"|"move"|"tryRemove"|"mkdir"|"stat"|"resetNixFilesystem"|"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"|"packageAddResponse"|"packageRemove"|"packageInstall"|"packageInstallResponse"|"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"|"nixPackageInfoRequest"|"nixPackageInfoResponse"|"userEvent"|"replspaceApiOpenFile"|"replspaceApiCloseFile"|"replspaceApiGetGitHubToken"|"replspaceApiGitHubToken"|"focused"|"nixModulesGetRequest"|"nixModulesGetResponse"|"nixModulesChanged"|"nixModulesBuildRequest"|"packageSetPackagerRequest"|"packageSetPackagerResp"|"toolchainGetRequest"|"toolchainGetResponse"|"toolchainChanged"|"replspaceApiOpenMultipleFiles"|"nixModulesGetRegistryRequest"|"nixModulesGetRegistryResponse"|"replspaceApiShellTracker"|"nixModuleConfigGetRequest"|"nixModuleConfigGetResponse"|"nixModuleConfigSetRequest"|"nixModuleConfigSetResponse"|"replspaceApiSSHTokenGetRequest"|"replspaceApiSSHTokenGetResponse"|"secretsGetRequest"|"secretsGetResponse"|"secretsSetRequest"|undefined} body
|
|
1919
|
+
* @member {"openChan"|"openChanRes"|"closeChan"|"closeChanRes"|"containerState"|"portOpen"|"portClose"|"toast"|"protocolError"|"redirect"|"runMain"|"clear"|"eval"|"result"|"input"|"output"|"error"|"stderr"|"log"|"inputClose"|"outputBlockStartEvent"|"outputBlockEndEvent"|"exitCodeEvent"|"splitStderrRequest"|"shellMetadata"|"saneTerm"|"resizeTerm"|"state"|"ok"|"persist"|"persistMirror"|"write"|"remove"|"move"|"tryRemove"|"mkdir"|"stat"|"resetNixFilesystem"|"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"|"otFlushNotification"|"debug"|"startVCR"|"readVCR"|"VCRLog"|"auth"|"execInfo"|"subscribeFile"|"fileEvent"|"roster"|"join"|"part"|"openFile"|"fileOpened"|"followUser"|"unfollowUser"|"updateSessionTimestamp"|"sessionTimestampUpdated"|"exec"|"packageSearch"|"packageSearchResp"|"packageInfo"|"packageInfoResp"|"packageAdd"|"packageAddResponse"|"packageRemove"|"packageInstall"|"packageInstallResponse"|"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"|"nixPackageInfoRequest"|"nixPackageInfoResponse"|"userEvent"|"replspaceApiOpenFile"|"replspaceApiCloseFile"|"replspaceApiGetGitHubToken"|"replspaceApiGitHubToken"|"focused"|"nixModulesGetRequest"|"nixModulesGetResponse"|"nixModulesChanged"|"nixModulesBuildRequest"|"packageSetPackagerRequest"|"packageSetPackagerResp"|"toolchainGetRequest"|"toolchainGetResponse"|"toolchainChanged"|"replspaceApiOpenMultipleFiles"|"nixModulesGetRegistryRequest"|"nixModulesGetRegistryResponse"|"replspaceApiShellTracker"|"nixModuleConfigGetRequest"|"nixModuleConfigGetResponse"|"nixModuleConfigSetRequest"|"nixModuleConfigSetResponse"|"replspaceApiSSHTokenGetRequest"|"replspaceApiSSHTokenGetResponse"|"secretsGetRequest"|"secretsGetResponse"|"secretsSetRequest"|undefined} body
|
|
1911
1920
|
* @memberof replit.goval.api.Command
|
|
1912
1921
|
* @instance
|
|
1913
1922
|
*/
|
|
1914
1923
|
Object.defineProperty(Command.prototype, "body", {
|
|
1915
|
-
get: $util.oneOfGetter($oneOfFields = ["openChan", "openChanRes", "closeChan", "closeChanRes", "containerState", "portOpen", "portClose", "toast", "protocolError", "redirect", "runMain", "clear", "eval", "result", "input", "output", "error", "stderr", "log", "inputClose", "outputBlockStartEvent", "outputBlockEndEvent", "exitCodeEvent", "splitStderrRequest", "shellMetadata", "saneTerm", "resizeTerm", "state", "ok", "persist", "persistMirror", "write", "remove", "move", "tryRemove", "mkdir", "stat", "resetNixFilesystem", "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", "packageAddResponse", "packageRemove", "packageInstall", "packageInstallResponse", "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", "nixPackageInfoRequest", "nixPackageInfoResponse", "userEvent", "replspaceApiOpenFile", "replspaceApiCloseFile", "replspaceApiGetGitHubToken", "replspaceApiGitHubToken", "focused", "nixModulesGetRequest", "nixModulesGetResponse", "nixModulesChanged", "nixModulesBuildRequest", "packageSetPackagerRequest", "packageSetPackagerResp", "toolchainGetRequest", "toolchainGetResponse", "toolchainChanged", "replspaceApiOpenMultipleFiles", "nixModulesGetRegistryRequest", "nixModulesGetRegistryResponse", "replspaceApiShellTracker", "nixModuleConfigGetRequest", "nixModuleConfigGetResponse", "nixModuleConfigSetRequest", "nixModuleConfigSetResponse", "replspaceApiSSHTokenGetRequest", "replspaceApiSSHTokenGetResponse", "secretsGetRequest", "secretsGetResponse", "secretsSetRequest"]),
|
|
1924
|
+
get: $util.oneOfGetter($oneOfFields = ["openChan", "openChanRes", "closeChan", "closeChanRes", "containerState", "portOpen", "portClose", "toast", "protocolError", "redirect", "runMain", "clear", "eval", "result", "input", "output", "error", "stderr", "log", "inputClose", "outputBlockStartEvent", "outputBlockEndEvent", "exitCodeEvent", "splitStderrRequest", "shellMetadata", "saneTerm", "resizeTerm", "state", "ok", "persist", "persistMirror", "write", "remove", "move", "tryRemove", "mkdir", "stat", "resetNixFilesystem", "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", "otFlushNotification", "debug", "startVCR", "readVCR", "VCRLog", "auth", "execInfo", "subscribeFile", "fileEvent", "roster", "join", "part", "openFile", "fileOpened", "followUser", "unfollowUser", "updateSessionTimestamp", "sessionTimestampUpdated", "exec", "packageSearch", "packageSearchResp", "packageInfo", "packageInfoResp", "packageAdd", "packageAddResponse", "packageRemove", "packageInstall", "packageInstallResponse", "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", "nixPackageInfoRequest", "nixPackageInfoResponse", "userEvent", "replspaceApiOpenFile", "replspaceApiCloseFile", "replspaceApiGetGitHubToken", "replspaceApiGitHubToken", "focused", "nixModulesGetRequest", "nixModulesGetResponse", "nixModulesChanged", "nixModulesBuildRequest", "packageSetPackagerRequest", "packageSetPackagerResp", "toolchainGetRequest", "toolchainGetResponse", "toolchainChanged", "replspaceApiOpenMultipleFiles", "nixModulesGetRegistryRequest", "nixModulesGetRegistryResponse", "replspaceApiShellTracker", "nixModuleConfigGetRequest", "nixModuleConfigGetResponse", "nixModuleConfigSetRequest", "nixModuleConfigSetResponse", "replspaceApiSSHTokenGetRequest", "replspaceApiSSHTokenGetResponse", "secretsGetRequest", "secretsGetResponse", "secretsSetRequest"]),
|
|
1916
1925
|
set: $util.oneOfSetter($oneOfFields)
|
|
1917
1926
|
});
|
|
1918
1927
|
|
|
@@ -2324,6 +2333,8 @@
|
|
|
2324
2333
|
$root.replit.goval.api.NixPackageInfoRequest.encode(message.nixPackageInfoRequest, writer.uint32(/* id 450, wireType 2 =*/3602).fork()).ldelim();
|
|
2325
2334
|
if (message.nixPackageInfoResponse != null && Object.hasOwnProperty.call(message, "nixPackageInfoResponse"))
|
|
2326
2335
|
$root.replit.goval.api.NixPackageInfoResponse.encode(message.nixPackageInfoResponse, writer.uint32(/* id 451, wireType 2 =*/3610).fork()).ldelim();
|
|
2336
|
+
if (message.otFlushNotification != null && Object.hasOwnProperty.call(message, "otFlushNotification"))
|
|
2337
|
+
$root.replit.goval.api.OTFlushNotification.encode(message.otFlushNotification, writer.uint32(/* id 452, wireType 2 =*/3618).fork()).ldelim();
|
|
2327
2338
|
if (message.nixModuleConfigGetRequest != null && Object.hasOwnProperty.call(message, "nixModuleConfigGetRequest"))
|
|
2328
2339
|
$root.replit.goval.api.NixModuleConfigGetRequest.encode(message.nixModuleConfigGetRequest, writer.uint32(/* id 460, wireType 2 =*/3682).fork()).ldelim();
|
|
2329
2340
|
if (message.nixModuleConfigGetResponse != null && Object.hasOwnProperty.call(message, "nixModuleConfigGetResponse"))
|
|
@@ -2723,6 +2734,10 @@
|
|
|
2723
2734
|
message.flush = $root.replit.goval.api.Flush.decode(reader, reader.uint32());
|
|
2724
2735
|
break;
|
|
2725
2736
|
}
|
|
2737
|
+
case 452: {
|
|
2738
|
+
message.otFlushNotification = $root.replit.goval.api.OTFlushNotification.decode(reader, reader.uint32());
|
|
2739
|
+
break;
|
|
2740
|
+
}
|
|
2726
2741
|
case 230: {
|
|
2727
2742
|
message.debug = $root.replit.goval.api.Debug.decode(reader, reader.uint32());
|
|
2728
2743
|
break;
|
|
@@ -4060,6 +4075,16 @@
|
|
|
4060
4075
|
return "flush." + error;
|
|
4061
4076
|
}
|
|
4062
4077
|
}
|
|
4078
|
+
if (message.otFlushNotification != null && message.hasOwnProperty("otFlushNotification")) {
|
|
4079
|
+
if (properties.body === 1)
|
|
4080
|
+
return "body: multiple values";
|
|
4081
|
+
properties.body = 1;
|
|
4082
|
+
{
|
|
4083
|
+
var error = $root.replit.goval.api.OTFlushNotification.verify(message.otFlushNotification);
|
|
4084
|
+
if (error)
|
|
4085
|
+
return "otFlushNotification." + error;
|
|
4086
|
+
}
|
|
4087
|
+
}
|
|
4063
4088
|
if (message.debug != null && message.hasOwnProperty("debug")) {
|
|
4064
4089
|
if (properties.body === 1)
|
|
4065
4090
|
return "body: multiple values";
|
|
@@ -5643,6 +5668,11 @@
|
|
|
5643
5668
|
throw TypeError(".replit.goval.api.Command.flush: object expected");
|
|
5644
5669
|
message.flush = $root.replit.goval.api.Flush.fromObject(object.flush);
|
|
5645
5670
|
}
|
|
5671
|
+
if (object.otFlushNotification != null) {
|
|
5672
|
+
if (typeof object.otFlushNotification !== "object")
|
|
5673
|
+
throw TypeError(".replit.goval.api.Command.otFlushNotification: object expected");
|
|
5674
|
+
message.otFlushNotification = $root.replit.goval.api.OTFlushNotification.fromObject(object.otFlushNotification);
|
|
5675
|
+
}
|
|
5646
5676
|
if (object.debug != null) {
|
|
5647
5677
|
if (typeof object.debug !== "object")
|
|
5648
5678
|
throw TypeError(".replit.goval.api.Command.debug: object expected");
|
|
@@ -7206,6 +7236,11 @@
|
|
|
7206
7236
|
if (options.oneofs)
|
|
7207
7237
|
object.body = "nixPackageInfoResponse";
|
|
7208
7238
|
}
|
|
7239
|
+
if (message.otFlushNotification != null && message.hasOwnProperty("otFlushNotification")) {
|
|
7240
|
+
object.otFlushNotification = $root.replit.goval.api.OTFlushNotification.toObject(message.otFlushNotification, options);
|
|
7241
|
+
if (options.oneofs)
|
|
7242
|
+
object.body = "otFlushNotification";
|
|
7243
|
+
}
|
|
7209
7244
|
if (message.nixModuleConfigGetRequest != null && message.hasOwnProperty("nixModuleConfigGetRequest")) {
|
|
7210
7245
|
object.nixModuleConfigGetRequest = $root.replit.goval.api.NixModuleConfigGetRequest.toObject(message.nixModuleConfigGetRequest, options);
|
|
7211
7246
|
if (options.oneofs)
|
|
@@ -15873,6 +15908,208 @@
|
|
|
15873
15908
|
return OTLinkFileResponse;
|
|
15874
15909
|
})();
|
|
15875
15910
|
|
|
15911
|
+
api.OTFlushNotification = (function() {
|
|
15912
|
+
|
|
15913
|
+
/**
|
|
15914
|
+
* Properties of a OTFlushNotification.
|
|
15915
|
+
* @memberof replit.goval.api
|
|
15916
|
+
* @interface IOTFlushNotification
|
|
15917
|
+
* @property {number|null} [diskVersion] OTFlushNotification diskVersion
|
|
15918
|
+
*/
|
|
15919
|
+
|
|
15920
|
+
/**
|
|
15921
|
+
* Constructs a new OTFlushNotification.
|
|
15922
|
+
* @memberof replit.goval.api
|
|
15923
|
+
* @classdesc Represents a OTFlushNotification.
|
|
15924
|
+
* @constructor
|
|
15925
|
+
* @param {replit.goval.api.IOTFlushNotification=} [properties] Properties to set
|
|
15926
|
+
*/
|
|
15927
|
+
function OTFlushNotification(properties) {
|
|
15928
|
+
if (properties)
|
|
15929
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
15930
|
+
if (properties[keys[i]] != null)
|
|
15931
|
+
this[keys[i]] = properties[keys[i]];
|
|
15932
|
+
}
|
|
15933
|
+
|
|
15934
|
+
/**
|
|
15935
|
+
* OTFlushNotification diskVersion.
|
|
15936
|
+
* @member {number} diskVersion
|
|
15937
|
+
* @memberof replit.goval.api.OTFlushNotification
|
|
15938
|
+
* @instance
|
|
15939
|
+
*/
|
|
15940
|
+
OTFlushNotification.prototype.diskVersion = 0;
|
|
15941
|
+
|
|
15942
|
+
/**
|
|
15943
|
+
* Creates a new OTFlushNotification instance using the specified properties.
|
|
15944
|
+
* @function create
|
|
15945
|
+
* @memberof replit.goval.api.OTFlushNotification
|
|
15946
|
+
* @static
|
|
15947
|
+
* @param {replit.goval.api.IOTFlushNotification=} [properties] Properties to set
|
|
15948
|
+
* @returns {replit.goval.api.OTFlushNotification} OTFlushNotification instance
|
|
15949
|
+
*/
|
|
15950
|
+
OTFlushNotification.create = function create(properties) {
|
|
15951
|
+
return OTFlushNotification.fromObject(properties);
|
|
15952
|
+
};
|
|
15953
|
+
|
|
15954
|
+
/**
|
|
15955
|
+
* Encodes the specified OTFlushNotification message. Does not implicitly {@link replit.goval.api.OTFlushNotification.verify|verify} messages.
|
|
15956
|
+
* @function encode
|
|
15957
|
+
* @memberof replit.goval.api.OTFlushNotification
|
|
15958
|
+
* @static
|
|
15959
|
+
* @param {replit.goval.api.OTFlushNotification} message OTFlushNotification message or plain object to encode
|
|
15960
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
15961
|
+
* @returns {$protobuf.Writer} Writer
|
|
15962
|
+
*/
|
|
15963
|
+
OTFlushNotification.encode = function encode(message, writer) {
|
|
15964
|
+
if (!writer)
|
|
15965
|
+
writer = $Writer.create();
|
|
15966
|
+
if (message.diskVersion != null && Object.hasOwnProperty.call(message, "diskVersion"))
|
|
15967
|
+
writer.uint32(/* id 1, wireType 0 =*/8).uint32(message.diskVersion);
|
|
15968
|
+
return writer;
|
|
15969
|
+
};
|
|
15970
|
+
|
|
15971
|
+
/**
|
|
15972
|
+
* Encodes the specified OTFlushNotification message, length delimited. Does not implicitly {@link replit.goval.api.OTFlushNotification.verify|verify} messages.
|
|
15973
|
+
* @function encodeDelimited
|
|
15974
|
+
* @memberof replit.goval.api.OTFlushNotification
|
|
15975
|
+
* @static
|
|
15976
|
+
* @param {replit.goval.api.OTFlushNotification} message OTFlushNotification message or plain object to encode
|
|
15977
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
15978
|
+
* @returns {$protobuf.Writer} Writer
|
|
15979
|
+
*/
|
|
15980
|
+
OTFlushNotification.encodeDelimited = function encodeDelimited(message, writer) {
|
|
15981
|
+
return this.encode(message, writer).ldelim();
|
|
15982
|
+
};
|
|
15983
|
+
|
|
15984
|
+
/**
|
|
15985
|
+
* Decodes a OTFlushNotification message from the specified reader or buffer.
|
|
15986
|
+
* @function decode
|
|
15987
|
+
* @memberof replit.goval.api.OTFlushNotification
|
|
15988
|
+
* @static
|
|
15989
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
15990
|
+
* @param {number} [length] Message length if known beforehand
|
|
15991
|
+
* @returns {replit.goval.api.OTFlushNotification} OTFlushNotification
|
|
15992
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
15993
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
15994
|
+
*/
|
|
15995
|
+
OTFlushNotification.decode = function decode(reader, length) {
|
|
15996
|
+
if (!(reader instanceof $Reader))
|
|
15997
|
+
reader = $Reader.create(reader);
|
|
15998
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.OTFlushNotification();
|
|
15999
|
+
while (reader.pos < end) {
|
|
16000
|
+
var tag = reader.uint32();
|
|
16001
|
+
switch (tag >>> 3) {
|
|
16002
|
+
case 1: {
|
|
16003
|
+
message.diskVersion = reader.uint32();
|
|
16004
|
+
break;
|
|
16005
|
+
}
|
|
16006
|
+
default:
|
|
16007
|
+
reader.skipType(tag & 7);
|
|
16008
|
+
break;
|
|
16009
|
+
}
|
|
16010
|
+
}
|
|
16011
|
+
return message;
|
|
16012
|
+
};
|
|
16013
|
+
|
|
16014
|
+
/**
|
|
16015
|
+
* Decodes a OTFlushNotification message from the specified reader or buffer, length delimited.
|
|
16016
|
+
* @function decodeDelimited
|
|
16017
|
+
* @memberof replit.goval.api.OTFlushNotification
|
|
16018
|
+
* @static
|
|
16019
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
16020
|
+
* @returns {replit.goval.api.OTFlushNotification} OTFlushNotification
|
|
16021
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
16022
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
16023
|
+
*/
|
|
16024
|
+
OTFlushNotification.decodeDelimited = function decodeDelimited(reader) {
|
|
16025
|
+
if (!(reader instanceof $Reader))
|
|
16026
|
+
reader = new $Reader(reader);
|
|
16027
|
+
return this.decode(reader, reader.uint32());
|
|
16028
|
+
};
|
|
16029
|
+
|
|
16030
|
+
/**
|
|
16031
|
+
* Verifies a OTFlushNotification message.
|
|
16032
|
+
* @function verify
|
|
16033
|
+
* @memberof replit.goval.api.OTFlushNotification
|
|
16034
|
+
* @static
|
|
16035
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
16036
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
16037
|
+
*/
|
|
16038
|
+
OTFlushNotification.verify = function verify(message) {
|
|
16039
|
+
if (typeof message !== "object" || message === null)
|
|
16040
|
+
return "object expected";
|
|
16041
|
+
if (message.diskVersion != null && message.hasOwnProperty("diskVersion"))
|
|
16042
|
+
if (!$util.isInteger(message.diskVersion))
|
|
16043
|
+
return "diskVersion: integer expected";
|
|
16044
|
+
return null;
|
|
16045
|
+
};
|
|
16046
|
+
|
|
16047
|
+
/**
|
|
16048
|
+
* Creates a OTFlushNotification message from a plain object. Also converts values to their respective internal types.
|
|
16049
|
+
* @function fromObject
|
|
16050
|
+
* @memberof replit.goval.api.OTFlushNotification
|
|
16051
|
+
* @static
|
|
16052
|
+
* @param {Object.<string,*>} object Plain object
|
|
16053
|
+
* @returns {replit.goval.api.OTFlushNotification} OTFlushNotification
|
|
16054
|
+
*/
|
|
16055
|
+
OTFlushNotification.fromObject = function fromObject(object) {
|
|
16056
|
+
if (object instanceof $root.replit.goval.api.OTFlushNotification)
|
|
16057
|
+
return object;
|
|
16058
|
+
var message = new $root.replit.goval.api.OTFlushNotification();
|
|
16059
|
+
if (object.diskVersion != null)
|
|
16060
|
+
message.diskVersion = object.diskVersion >>> 0;
|
|
16061
|
+
return message;
|
|
16062
|
+
};
|
|
16063
|
+
|
|
16064
|
+
/**
|
|
16065
|
+
* Creates a plain object from a OTFlushNotification message. Also converts values to other types if specified.
|
|
16066
|
+
* @function toObject
|
|
16067
|
+
* @memberof replit.goval.api.OTFlushNotification
|
|
16068
|
+
* @static
|
|
16069
|
+
* @param {replit.goval.api.OTFlushNotification} message OTFlushNotification
|
|
16070
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
16071
|
+
* @returns {Object.<string,*>} Plain object
|
|
16072
|
+
*/
|
|
16073
|
+
OTFlushNotification.toObject = function toObject(message, options) {
|
|
16074
|
+
if (!options)
|
|
16075
|
+
options = {};
|
|
16076
|
+
var object = {};
|
|
16077
|
+
if (options.defaults)
|
|
16078
|
+
object.diskVersion = 0;
|
|
16079
|
+
if (message.diskVersion != null && message.hasOwnProperty("diskVersion"))
|
|
16080
|
+
object.diskVersion = message.diskVersion;
|
|
16081
|
+
return object;
|
|
16082
|
+
};
|
|
16083
|
+
|
|
16084
|
+
/**
|
|
16085
|
+
* Converts this OTFlushNotification to JSON.
|
|
16086
|
+
* @function toJSON
|
|
16087
|
+
* @memberof replit.goval.api.OTFlushNotification
|
|
16088
|
+
* @instance
|
|
16089
|
+
* @returns {Object.<string,*>} JSON object
|
|
16090
|
+
*/
|
|
16091
|
+
OTFlushNotification.prototype.toJSON = function toJSON() {
|
|
16092
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
16093
|
+
};
|
|
16094
|
+
|
|
16095
|
+
/**
|
|
16096
|
+
* Gets the default type url for OTFlushNotification
|
|
16097
|
+
* @function getTypeUrl
|
|
16098
|
+
* @memberof replit.goval.api.OTFlushNotification
|
|
16099
|
+
* @static
|
|
16100
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
16101
|
+
* @returns {string} The default type url
|
|
16102
|
+
*/
|
|
16103
|
+
OTFlushNotification.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
16104
|
+
if (typeUrlPrefix === undefined) {
|
|
16105
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
16106
|
+
}
|
|
16107
|
+
return typeUrlPrefix + "/replit.goval.api.OTFlushNotification";
|
|
16108
|
+
};
|
|
16109
|
+
|
|
16110
|
+
return OTFlushNotification;
|
|
16111
|
+
})();
|
|
16112
|
+
|
|
15876
16113
|
api.Auth = (function() {
|
|
15877
16114
|
|
|
15878
16115
|
/**
|
|
@@ -54902,6 +55139,7 @@
|
|
|
54902
55139
|
* @property {string|null} [resolvedId] NixModule resolvedId
|
|
54903
55140
|
* @property {string|null} [referencedId] NixModule referencedId
|
|
54904
55141
|
* @property {Array.<replit.goval.api.FormatterOption|replit.goval.api.IFormatterOption>|null} [formatters] NixModule formatters
|
|
55142
|
+
* @property {string|null} [displayVersion] NixModule displayVersion
|
|
54905
55143
|
*/
|
|
54906
55144
|
|
|
54907
55145
|
/**
|
|
@@ -55028,6 +55266,14 @@
|
|
|
55028
55266
|
*/
|
|
55029
55267
|
NixModule.prototype.formatters = $util.emptyArray;
|
|
55030
55268
|
|
|
55269
|
+
/**
|
|
55270
|
+
* NixModule displayVersion.
|
|
55271
|
+
* @member {string} displayVersion
|
|
55272
|
+
* @memberof replit.goval.api.NixModule
|
|
55273
|
+
* @instance
|
|
55274
|
+
*/
|
|
55275
|
+
NixModule.prototype.displayVersion = "";
|
|
55276
|
+
|
|
55031
55277
|
/**
|
|
55032
55278
|
* Creates a new NixModule instance using the specified properties.
|
|
55033
55279
|
* @function create
|
|
@@ -55084,6 +55330,8 @@
|
|
|
55084
55330
|
if (message.formatters != null && message.formatters.length)
|
|
55085
55331
|
for (var i = 0; i < message.formatters.length; ++i)
|
|
55086
55332
|
$root.replit.goval.api.FormatterOption.encode(message.formatters[i], writer.uint32(/* id 13, wireType 2 =*/106).fork()).ldelim();
|
|
55333
|
+
if (message.displayVersion != null && Object.hasOwnProperty.call(message, "displayVersion"))
|
|
55334
|
+
writer.uint32(/* id 14, wireType 2 =*/114).string(message.displayVersion);
|
|
55087
55335
|
return writer;
|
|
55088
55336
|
};
|
|
55089
55337
|
|
|
@@ -55182,6 +55430,10 @@
|
|
|
55182
55430
|
message.formatters.push($root.replit.goval.api.FormatterOption.decode(reader, reader.uint32()));
|
|
55183
55431
|
break;
|
|
55184
55432
|
}
|
|
55433
|
+
case 14: {
|
|
55434
|
+
message.displayVersion = reader.string();
|
|
55435
|
+
break;
|
|
55436
|
+
}
|
|
55185
55437
|
default:
|
|
55186
55438
|
reader.skipType(tag & 7);
|
|
55187
55439
|
break;
|
|
@@ -55290,6 +55542,9 @@
|
|
|
55290
55542
|
return "formatters." + error;
|
|
55291
55543
|
}
|
|
55292
55544
|
}
|
|
55545
|
+
if (message.displayVersion != null && message.hasOwnProperty("displayVersion"))
|
|
55546
|
+
if (!$util.isString(message.displayVersion))
|
|
55547
|
+
return "displayVersion: string expected";
|
|
55293
55548
|
return null;
|
|
55294
55549
|
};
|
|
55295
55550
|
|
|
@@ -55376,6 +55631,8 @@
|
|
|
55376
55631
|
message.formatters[i] = $root.replit.goval.api.FormatterOption.fromObject(object.formatters[i]);
|
|
55377
55632
|
}
|
|
55378
55633
|
}
|
|
55634
|
+
if (object.displayVersion != null)
|
|
55635
|
+
message.displayVersion = String(object.displayVersion);
|
|
55379
55636
|
return message;
|
|
55380
55637
|
};
|
|
55381
55638
|
|
|
@@ -55408,6 +55665,7 @@
|
|
|
55408
55665
|
object.buildType = "";
|
|
55409
55666
|
object.resolvedId = "";
|
|
55410
55667
|
object.referencedId = "";
|
|
55668
|
+
object.displayVersion = "";
|
|
55411
55669
|
}
|
|
55412
55670
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
55413
55671
|
object.id = message.id;
|
|
@@ -55453,6 +55711,8 @@
|
|
|
55453
55711
|
for (var j = 0; j < message.formatters.length; ++j)
|
|
55454
55712
|
object.formatters[j] = $root.replit.goval.api.FormatterOption.toObject(message.formatters[j], options);
|
|
55455
55713
|
}
|
|
55714
|
+
if (message.displayVersion != null && message.hasOwnProperty("displayVersion"))
|
|
55715
|
+
object.displayVersion = message.displayVersion;
|
|
55456
55716
|
return object;
|
|
55457
55717
|
};
|
|
55458
55718
|
|
|
@@ -56182,6 +56442,7 @@
|
|
|
56182
56442
|
* @property {Array.<replit.goval.api.FormatterOption|replit.goval.api.IFormatterOption>|null} [formatters] NixModulesGetRegistryResponse formatters
|
|
56183
56443
|
* @property {Array.<replit.goval.api.PackagerOption|replit.goval.api.IPackagerOption>|null} [packagers] NixModulesGetRegistryResponse packagers
|
|
56184
56444
|
* @property {Array.<replit.goval.api.NixModulesV2RegistryEntry|replit.goval.api.INixModulesV2RegistryEntry>|null} [modulesV2] NixModulesGetRegistryResponse modulesV2
|
|
56445
|
+
* @property {Array.<replit.goval.api.NixModule|replit.goval.api.INixModule>|null} [fullModules] NixModulesGetRegistryResponse fullModules
|
|
56185
56446
|
*/
|
|
56186
56447
|
|
|
56187
56448
|
/**
|
|
@@ -56199,6 +56460,7 @@
|
|
|
56199
56460
|
this.formatters = [];
|
|
56200
56461
|
this.packagers = [];
|
|
56201
56462
|
this.modulesV2 = [];
|
|
56463
|
+
this.fullModules = [];
|
|
56202
56464
|
if (properties)
|
|
56203
56465
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
56204
56466
|
if (properties[keys[i]] != null)
|
|
@@ -56261,6 +56523,14 @@
|
|
|
56261
56523
|
*/
|
|
56262
56524
|
NixModulesGetRegistryResponse.prototype.modulesV2 = $util.emptyArray;
|
|
56263
56525
|
|
|
56526
|
+
/**
|
|
56527
|
+
* NixModulesGetRegistryResponse fullModules.
|
|
56528
|
+
* @member {Array.<replit.goval.api.NixModule>} fullModules
|
|
56529
|
+
* @memberof replit.goval.api.NixModulesGetRegistryResponse
|
|
56530
|
+
* @instance
|
|
56531
|
+
*/
|
|
56532
|
+
NixModulesGetRegistryResponse.prototype.fullModules = $util.emptyArray;
|
|
56533
|
+
|
|
56264
56534
|
/**
|
|
56265
56535
|
* Creates a new NixModulesGetRegistryResponse instance using the specified properties.
|
|
56266
56536
|
* @function create
|
|
@@ -56310,6 +56580,9 @@
|
|
|
56310
56580
|
if (message.modulesV2 != null && message.modulesV2.length)
|
|
56311
56581
|
for (var i = 0; i < message.modulesV2.length; ++i)
|
|
56312
56582
|
$root.replit.goval.api.NixModulesV2RegistryEntry.encode(message.modulesV2[i], writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim();
|
|
56583
|
+
if (message.fullModules != null && message.fullModules.length)
|
|
56584
|
+
for (var i = 0; i < message.fullModules.length; ++i)
|
|
56585
|
+
$root.replit.goval.api.NixModule.encode(message.fullModules[i], writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim();
|
|
56313
56586
|
return writer;
|
|
56314
56587
|
};
|
|
56315
56588
|
|
|
@@ -56420,6 +56693,12 @@
|
|
|
56420
56693
|
message.modulesV2.push($root.replit.goval.api.NixModulesV2RegistryEntry.decode(reader, reader.uint32()));
|
|
56421
56694
|
break;
|
|
56422
56695
|
}
|
|
56696
|
+
case 8: {
|
|
56697
|
+
if (!(message.fullModules && message.fullModules.length))
|
|
56698
|
+
message.fullModules = [];
|
|
56699
|
+
message.fullModules.push($root.replit.goval.api.NixModule.decode(reader, reader.uint32()));
|
|
56700
|
+
break;
|
|
56701
|
+
}
|
|
56423
56702
|
default:
|
|
56424
56703
|
reader.skipType(tag & 7);
|
|
56425
56704
|
break;
|
|
@@ -56520,6 +56799,15 @@
|
|
|
56520
56799
|
return "modulesV2." + error;
|
|
56521
56800
|
}
|
|
56522
56801
|
}
|
|
56802
|
+
if (message.fullModules != null && message.hasOwnProperty("fullModules")) {
|
|
56803
|
+
if (!Array.isArray(message.fullModules))
|
|
56804
|
+
return "fullModules: array expected";
|
|
56805
|
+
for (var i = 0; i < message.fullModules.length; ++i) {
|
|
56806
|
+
var error = $root.replit.goval.api.NixModule.verify(message.fullModules[i]);
|
|
56807
|
+
if (error)
|
|
56808
|
+
return "fullModules." + error;
|
|
56809
|
+
}
|
|
56810
|
+
}
|
|
56523
56811
|
return null;
|
|
56524
56812
|
};
|
|
56525
56813
|
|
|
@@ -56605,6 +56893,16 @@
|
|
|
56605
56893
|
message.modulesV2[i] = $root.replit.goval.api.NixModulesV2RegistryEntry.fromObject(object.modulesV2[i]);
|
|
56606
56894
|
}
|
|
56607
56895
|
}
|
|
56896
|
+
if (object.fullModules) {
|
|
56897
|
+
if (!Array.isArray(object.fullModules))
|
|
56898
|
+
throw TypeError(".replit.goval.api.NixModulesGetRegistryResponse.fullModules: array expected");
|
|
56899
|
+
message.fullModules = [];
|
|
56900
|
+
for (var i = 0; i < object.fullModules.length; ++i) {
|
|
56901
|
+
if (typeof object.fullModules[i] !== "object")
|
|
56902
|
+
throw TypeError(".replit.goval.api.NixModulesGetRegistryResponse.fullModules: object expected");
|
|
56903
|
+
message.fullModules[i] = $root.replit.goval.api.NixModule.fromObject(object.fullModules[i]);
|
|
56904
|
+
}
|
|
56905
|
+
}
|
|
56608
56906
|
return message;
|
|
56609
56907
|
};
|
|
56610
56908
|
|
|
@@ -56627,6 +56925,7 @@
|
|
|
56627
56925
|
object.formatters = [];
|
|
56628
56926
|
object.packagers = [];
|
|
56629
56927
|
object.modulesV2 = [];
|
|
56928
|
+
object.fullModules = [];
|
|
56630
56929
|
}
|
|
56631
56930
|
if (options.objects || options.defaults) {
|
|
56632
56931
|
object.autoUpgrade = {};
|
|
@@ -56668,6 +56967,11 @@
|
|
|
56668
56967
|
for (var j = 0; j < message.modulesV2.length; ++j)
|
|
56669
56968
|
object.modulesV2[j] = $root.replit.goval.api.NixModulesV2RegistryEntry.toObject(message.modulesV2[j], options);
|
|
56670
56969
|
}
|
|
56970
|
+
if (message.fullModules && message.fullModules.length) {
|
|
56971
|
+
object.fullModules = [];
|
|
56972
|
+
for (var j = 0; j < message.fullModules.length; ++j)
|
|
56973
|
+
object.fullModules[j] = $root.replit.goval.api.NixModule.toObject(message.fullModules[j], options);
|
|
56974
|
+
}
|
|
56671
56975
|
return object;
|
|
56672
56976
|
};
|
|
56673
56977
|
|