@replit/protocol 0.3.61 → 0.3.62
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 +110 -1
- package/main/index.js +283 -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
|
|
|
@@ -22149,6 +22252,9 @@ export namespace replit {
|
|
|
22149
22252
|
|
|
22150
22253
|
/** NixModulesGetRegistryResponse modulesV2 */
|
|
22151
22254
|
modulesV2?: ((replit.goval.api.NixModulesV2RegistryEntry|replit.goval.api.INixModulesV2RegistryEntry)[]|null);
|
|
22255
|
+
|
|
22256
|
+
/** NixModulesGetRegistryResponse fullModules */
|
|
22257
|
+
fullModules?: ((replit.goval.api.NixModule|replit.goval.api.INixModule)[]|null);
|
|
22152
22258
|
}
|
|
22153
22259
|
|
|
22154
22260
|
/** Represents a NixModulesGetRegistryResponse. */
|
|
@@ -22181,6 +22287,9 @@ export namespace replit {
|
|
|
22181
22287
|
/** NixModulesGetRegistryResponse modulesV2. */
|
|
22182
22288
|
public modulesV2: replit.goval.api.NixModulesV2RegistryEntry[];
|
|
22183
22289
|
|
|
22290
|
+
/** NixModulesGetRegistryResponse fullModules. */
|
|
22291
|
+
public fullModules: replit.goval.api.NixModule[];
|
|
22292
|
+
|
|
22184
22293
|
/**
|
|
22185
22294
|
* Creates a new NixModulesGetRegistryResponse instance using the specified properties.
|
|
22186
22295
|
* @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
|
/**
|
|
@@ -56182,6 +56419,7 @@
|
|
|
56182
56419
|
* @property {Array.<replit.goval.api.FormatterOption|replit.goval.api.IFormatterOption>|null} [formatters] NixModulesGetRegistryResponse formatters
|
|
56183
56420
|
* @property {Array.<replit.goval.api.PackagerOption|replit.goval.api.IPackagerOption>|null} [packagers] NixModulesGetRegistryResponse packagers
|
|
56184
56421
|
* @property {Array.<replit.goval.api.NixModulesV2RegistryEntry|replit.goval.api.INixModulesV2RegistryEntry>|null} [modulesV2] NixModulesGetRegistryResponse modulesV2
|
|
56422
|
+
* @property {Array.<replit.goval.api.NixModule|replit.goval.api.INixModule>|null} [fullModules] NixModulesGetRegistryResponse fullModules
|
|
56185
56423
|
*/
|
|
56186
56424
|
|
|
56187
56425
|
/**
|
|
@@ -56199,6 +56437,7 @@
|
|
|
56199
56437
|
this.formatters = [];
|
|
56200
56438
|
this.packagers = [];
|
|
56201
56439
|
this.modulesV2 = [];
|
|
56440
|
+
this.fullModules = [];
|
|
56202
56441
|
if (properties)
|
|
56203
56442
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
56204
56443
|
if (properties[keys[i]] != null)
|
|
@@ -56261,6 +56500,14 @@
|
|
|
56261
56500
|
*/
|
|
56262
56501
|
NixModulesGetRegistryResponse.prototype.modulesV2 = $util.emptyArray;
|
|
56263
56502
|
|
|
56503
|
+
/**
|
|
56504
|
+
* NixModulesGetRegistryResponse fullModules.
|
|
56505
|
+
* @member {Array.<replit.goval.api.NixModule>} fullModules
|
|
56506
|
+
* @memberof replit.goval.api.NixModulesGetRegistryResponse
|
|
56507
|
+
* @instance
|
|
56508
|
+
*/
|
|
56509
|
+
NixModulesGetRegistryResponse.prototype.fullModules = $util.emptyArray;
|
|
56510
|
+
|
|
56264
56511
|
/**
|
|
56265
56512
|
* Creates a new NixModulesGetRegistryResponse instance using the specified properties.
|
|
56266
56513
|
* @function create
|
|
@@ -56310,6 +56557,9 @@
|
|
|
56310
56557
|
if (message.modulesV2 != null && message.modulesV2.length)
|
|
56311
56558
|
for (var i = 0; i < message.modulesV2.length; ++i)
|
|
56312
56559
|
$root.replit.goval.api.NixModulesV2RegistryEntry.encode(message.modulesV2[i], writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim();
|
|
56560
|
+
if (message.fullModules != null && message.fullModules.length)
|
|
56561
|
+
for (var i = 0; i < message.fullModules.length; ++i)
|
|
56562
|
+
$root.replit.goval.api.NixModule.encode(message.fullModules[i], writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim();
|
|
56313
56563
|
return writer;
|
|
56314
56564
|
};
|
|
56315
56565
|
|
|
@@ -56420,6 +56670,12 @@
|
|
|
56420
56670
|
message.modulesV2.push($root.replit.goval.api.NixModulesV2RegistryEntry.decode(reader, reader.uint32()));
|
|
56421
56671
|
break;
|
|
56422
56672
|
}
|
|
56673
|
+
case 8: {
|
|
56674
|
+
if (!(message.fullModules && message.fullModules.length))
|
|
56675
|
+
message.fullModules = [];
|
|
56676
|
+
message.fullModules.push($root.replit.goval.api.NixModule.decode(reader, reader.uint32()));
|
|
56677
|
+
break;
|
|
56678
|
+
}
|
|
56423
56679
|
default:
|
|
56424
56680
|
reader.skipType(tag & 7);
|
|
56425
56681
|
break;
|
|
@@ -56520,6 +56776,15 @@
|
|
|
56520
56776
|
return "modulesV2." + error;
|
|
56521
56777
|
}
|
|
56522
56778
|
}
|
|
56779
|
+
if (message.fullModules != null && message.hasOwnProperty("fullModules")) {
|
|
56780
|
+
if (!Array.isArray(message.fullModules))
|
|
56781
|
+
return "fullModules: array expected";
|
|
56782
|
+
for (var i = 0; i < message.fullModules.length; ++i) {
|
|
56783
|
+
var error = $root.replit.goval.api.NixModule.verify(message.fullModules[i]);
|
|
56784
|
+
if (error)
|
|
56785
|
+
return "fullModules." + error;
|
|
56786
|
+
}
|
|
56787
|
+
}
|
|
56523
56788
|
return null;
|
|
56524
56789
|
};
|
|
56525
56790
|
|
|
@@ -56605,6 +56870,16 @@
|
|
|
56605
56870
|
message.modulesV2[i] = $root.replit.goval.api.NixModulesV2RegistryEntry.fromObject(object.modulesV2[i]);
|
|
56606
56871
|
}
|
|
56607
56872
|
}
|
|
56873
|
+
if (object.fullModules) {
|
|
56874
|
+
if (!Array.isArray(object.fullModules))
|
|
56875
|
+
throw TypeError(".replit.goval.api.NixModulesGetRegistryResponse.fullModules: array expected");
|
|
56876
|
+
message.fullModules = [];
|
|
56877
|
+
for (var i = 0; i < object.fullModules.length; ++i) {
|
|
56878
|
+
if (typeof object.fullModules[i] !== "object")
|
|
56879
|
+
throw TypeError(".replit.goval.api.NixModulesGetRegistryResponse.fullModules: object expected");
|
|
56880
|
+
message.fullModules[i] = $root.replit.goval.api.NixModule.fromObject(object.fullModules[i]);
|
|
56881
|
+
}
|
|
56882
|
+
}
|
|
56608
56883
|
return message;
|
|
56609
56884
|
};
|
|
56610
56885
|
|
|
@@ -56627,6 +56902,7 @@
|
|
|
56627
56902
|
object.formatters = [];
|
|
56628
56903
|
object.packagers = [];
|
|
56629
56904
|
object.modulesV2 = [];
|
|
56905
|
+
object.fullModules = [];
|
|
56630
56906
|
}
|
|
56631
56907
|
if (options.objects || options.defaults) {
|
|
56632
56908
|
object.autoUpgrade = {};
|
|
@@ -56668,6 +56944,11 @@
|
|
|
56668
56944
|
for (var j = 0; j < message.modulesV2.length; ++j)
|
|
56669
56945
|
object.modulesV2[j] = $root.replit.goval.api.NixModulesV2RegistryEntry.toObject(message.modulesV2[j], options);
|
|
56670
56946
|
}
|
|
56947
|
+
if (message.fullModules && message.fullModules.length) {
|
|
56948
|
+
object.fullModules = [];
|
|
56949
|
+
for (var j = 0; j < message.fullModules.length; ++j)
|
|
56950
|
+
object.fullModules[j] = $root.replit.goval.api.NixModule.toObject(message.fullModules[j], options);
|
|
56951
|
+
}
|
|
56671
56952
|
return object;
|
|
56672
56953
|
};
|
|
56673
56954
|
|