@replit/protocol 0.3.53 → 0.3.55
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 +225 -1
- package/main/index.js +552 -2
- package/package.json +1 -1
package/main/index.d.ts
CHANGED
|
@@ -600,6 +600,12 @@ export namespace replit {
|
|
|
600
600
|
/** Command nixModuleConfigSetResponse */
|
|
601
601
|
nixModuleConfigSetResponse?: (replit.goval.api.NixModuleConfigSetResponse|replit.goval.api.INixModuleConfigSetResponse|null);
|
|
602
602
|
|
|
603
|
+
/** Command replspaceApiSSHTokenGetRequest */
|
|
604
|
+
replspaceApiSSHTokenGetRequest?: (replit.goval.api.ReplspaceApiSSHTokenGetRequest|replit.goval.api.IReplspaceApiSSHTokenGetRequest|null);
|
|
605
|
+
|
|
606
|
+
/** Command replspaceApiSSHTokenGetResponse */
|
|
607
|
+
replspaceApiSSHTokenGetResponse?: (replit.goval.api.ReplspaceApiSSHTokenGetResponse|replit.goval.api.IReplspaceApiSSHTokenGetResponse|null);
|
|
608
|
+
|
|
603
609
|
/** Command ref */
|
|
604
610
|
ref?: (string|null);
|
|
605
611
|
|
|
@@ -1207,6 +1213,12 @@ export namespace replit {
|
|
|
1207
1213
|
/** Command nixModuleConfigSetResponse. */
|
|
1208
1214
|
public nixModuleConfigSetResponse?: (replit.goval.api.NixModuleConfigSetResponse|null);
|
|
1209
1215
|
|
|
1216
|
+
/** Command replspaceApiSSHTokenGetRequest. */
|
|
1217
|
+
public replspaceApiSSHTokenGetRequest?: (replit.goval.api.ReplspaceApiSSHTokenGetRequest|null);
|
|
1218
|
+
|
|
1219
|
+
/** Command replspaceApiSSHTokenGetResponse. */
|
|
1220
|
+
public replspaceApiSSHTokenGetResponse?: (replit.goval.api.ReplspaceApiSSHTokenGetResponse|null);
|
|
1221
|
+
|
|
1210
1222
|
/** Command ref. */
|
|
1211
1223
|
public ref: string;
|
|
1212
1224
|
|
|
@@ -1217,7 +1229,7 @@ export namespace replit {
|
|
|
1217
1229
|
public forceTrace: boolean;
|
|
1218
1230
|
|
|
1219
1231
|
/** Command body. */
|
|
1220
|
-
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");
|
|
1232
|
+
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");
|
|
1221
1233
|
|
|
1222
1234
|
/**
|
|
1223
1235
|
* Creates a new Command instance using the specified properties.
|
|
@@ -23855,6 +23867,212 @@ export namespace replit {
|
|
|
23855
23867
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
23856
23868
|
}
|
|
23857
23869
|
|
|
23870
|
+
/** Properties of a ReplspaceApiSSHTokenGetRequest. */
|
|
23871
|
+
interface IReplspaceApiSSHTokenGetRequest {
|
|
23872
|
+
|
|
23873
|
+
/** ReplspaceApiSSHTokenGetRequest nonce */
|
|
23874
|
+
nonce?: (string|null);
|
|
23875
|
+
|
|
23876
|
+
/** ReplspaceApiSSHTokenGetRequest replid */
|
|
23877
|
+
replid?: (string|null);
|
|
23878
|
+
}
|
|
23879
|
+
|
|
23880
|
+
/** Represents a ReplspaceApiSSHTokenGetRequest. */
|
|
23881
|
+
class ReplspaceApiSSHTokenGetRequest {
|
|
23882
|
+
|
|
23883
|
+
/**
|
|
23884
|
+
* Constructs a new ReplspaceApiSSHTokenGetRequest.
|
|
23885
|
+
* @param [properties] Properties to set
|
|
23886
|
+
*/
|
|
23887
|
+
private constructor(properties?: replit.goval.api.IReplspaceApiSSHTokenGetRequest);
|
|
23888
|
+
|
|
23889
|
+
/** ReplspaceApiSSHTokenGetRequest nonce. */
|
|
23890
|
+
public nonce: string;
|
|
23891
|
+
|
|
23892
|
+
/** ReplspaceApiSSHTokenGetRequest replid. */
|
|
23893
|
+
public replid: string;
|
|
23894
|
+
|
|
23895
|
+
/**
|
|
23896
|
+
* Creates a new ReplspaceApiSSHTokenGetRequest instance using the specified properties.
|
|
23897
|
+
* @param [properties] Properties to set
|
|
23898
|
+
* @returns ReplspaceApiSSHTokenGetRequest instance
|
|
23899
|
+
*/
|
|
23900
|
+
public static create(properties?: replit.goval.api.IReplspaceApiSSHTokenGetRequest): replit.goval.api.ReplspaceApiSSHTokenGetRequest;
|
|
23901
|
+
|
|
23902
|
+
/**
|
|
23903
|
+
* Encodes the specified ReplspaceApiSSHTokenGetRequest message. Does not implicitly {@link replit.goval.api.ReplspaceApiSSHTokenGetRequest.verify|verify} messages.
|
|
23904
|
+
* @param message ReplspaceApiSSHTokenGetRequest message or plain object to encode
|
|
23905
|
+
* @param [writer] Writer to encode to
|
|
23906
|
+
* @returns Writer
|
|
23907
|
+
*/
|
|
23908
|
+
public static encode(message: replit.goval.api.ReplspaceApiSSHTokenGetRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
23909
|
+
|
|
23910
|
+
/**
|
|
23911
|
+
* Encodes the specified ReplspaceApiSSHTokenGetRequest message, length delimited. Does not implicitly {@link replit.goval.api.ReplspaceApiSSHTokenGetRequest.verify|verify} messages.
|
|
23912
|
+
* @param message ReplspaceApiSSHTokenGetRequest message or plain object to encode
|
|
23913
|
+
* @param [writer] Writer to encode to
|
|
23914
|
+
* @returns Writer
|
|
23915
|
+
*/
|
|
23916
|
+
public static encodeDelimited(message: replit.goval.api.ReplspaceApiSSHTokenGetRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
23917
|
+
|
|
23918
|
+
/**
|
|
23919
|
+
* Decodes a ReplspaceApiSSHTokenGetRequest message from the specified reader or buffer.
|
|
23920
|
+
* @param reader Reader or buffer to decode from
|
|
23921
|
+
* @param [length] Message length if known beforehand
|
|
23922
|
+
* @returns ReplspaceApiSSHTokenGetRequest
|
|
23923
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
23924
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
23925
|
+
*/
|
|
23926
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.ReplspaceApiSSHTokenGetRequest;
|
|
23927
|
+
|
|
23928
|
+
/**
|
|
23929
|
+
* Decodes a ReplspaceApiSSHTokenGetRequest message from the specified reader or buffer, length delimited.
|
|
23930
|
+
* @param reader Reader or buffer to decode from
|
|
23931
|
+
* @returns ReplspaceApiSSHTokenGetRequest
|
|
23932
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
23933
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
23934
|
+
*/
|
|
23935
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.ReplspaceApiSSHTokenGetRequest;
|
|
23936
|
+
|
|
23937
|
+
/**
|
|
23938
|
+
* Verifies a ReplspaceApiSSHTokenGetRequest message.
|
|
23939
|
+
* @param message Plain object to verify
|
|
23940
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
23941
|
+
*/
|
|
23942
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
23943
|
+
|
|
23944
|
+
/**
|
|
23945
|
+
* Creates a ReplspaceApiSSHTokenGetRequest message from a plain object. Also converts values to their respective internal types.
|
|
23946
|
+
* @param object Plain object
|
|
23947
|
+
* @returns ReplspaceApiSSHTokenGetRequest
|
|
23948
|
+
*/
|
|
23949
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.ReplspaceApiSSHTokenGetRequest;
|
|
23950
|
+
|
|
23951
|
+
/**
|
|
23952
|
+
* Creates a plain object from a ReplspaceApiSSHTokenGetRequest message. Also converts values to other types if specified.
|
|
23953
|
+
* @param message ReplspaceApiSSHTokenGetRequest
|
|
23954
|
+
* @param [options] Conversion options
|
|
23955
|
+
* @returns Plain object
|
|
23956
|
+
*/
|
|
23957
|
+
public static toObject(message: replit.goval.api.ReplspaceApiSSHTokenGetRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
23958
|
+
|
|
23959
|
+
/**
|
|
23960
|
+
* Converts this ReplspaceApiSSHTokenGetRequest to JSON.
|
|
23961
|
+
* @returns JSON object
|
|
23962
|
+
*/
|
|
23963
|
+
public toJSON(): { [k: string]: any };
|
|
23964
|
+
|
|
23965
|
+
/**
|
|
23966
|
+
* Gets the default type url for ReplspaceApiSSHTokenGetRequest
|
|
23967
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
23968
|
+
* @returns The default type url
|
|
23969
|
+
*/
|
|
23970
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
23971
|
+
}
|
|
23972
|
+
|
|
23973
|
+
/** Properties of a ReplspaceApiSSHTokenGetResponse. */
|
|
23974
|
+
interface IReplspaceApiSSHTokenGetResponse {
|
|
23975
|
+
|
|
23976
|
+
/** ReplspaceApiSSHTokenGetResponse nonce */
|
|
23977
|
+
nonce?: (string|null);
|
|
23978
|
+
|
|
23979
|
+
/** ReplspaceApiSSHTokenGetResponse token */
|
|
23980
|
+
token?: (string|null);
|
|
23981
|
+
}
|
|
23982
|
+
|
|
23983
|
+
/** Represents a ReplspaceApiSSHTokenGetResponse. */
|
|
23984
|
+
class ReplspaceApiSSHTokenGetResponse {
|
|
23985
|
+
|
|
23986
|
+
/**
|
|
23987
|
+
* Constructs a new ReplspaceApiSSHTokenGetResponse.
|
|
23988
|
+
* @param [properties] Properties to set
|
|
23989
|
+
*/
|
|
23990
|
+
private constructor(properties?: replit.goval.api.IReplspaceApiSSHTokenGetResponse);
|
|
23991
|
+
|
|
23992
|
+
/** ReplspaceApiSSHTokenGetResponse nonce. */
|
|
23993
|
+
public nonce: string;
|
|
23994
|
+
|
|
23995
|
+
/** ReplspaceApiSSHTokenGetResponse token. */
|
|
23996
|
+
public token: string;
|
|
23997
|
+
|
|
23998
|
+
/**
|
|
23999
|
+
* Creates a new ReplspaceApiSSHTokenGetResponse instance using the specified properties.
|
|
24000
|
+
* @param [properties] Properties to set
|
|
24001
|
+
* @returns ReplspaceApiSSHTokenGetResponse instance
|
|
24002
|
+
*/
|
|
24003
|
+
public static create(properties?: replit.goval.api.IReplspaceApiSSHTokenGetResponse): replit.goval.api.ReplspaceApiSSHTokenGetResponse;
|
|
24004
|
+
|
|
24005
|
+
/**
|
|
24006
|
+
* Encodes the specified ReplspaceApiSSHTokenGetResponse message. Does not implicitly {@link replit.goval.api.ReplspaceApiSSHTokenGetResponse.verify|verify} messages.
|
|
24007
|
+
* @param message ReplspaceApiSSHTokenGetResponse message or plain object to encode
|
|
24008
|
+
* @param [writer] Writer to encode to
|
|
24009
|
+
* @returns Writer
|
|
24010
|
+
*/
|
|
24011
|
+
public static encode(message: replit.goval.api.ReplspaceApiSSHTokenGetResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
24012
|
+
|
|
24013
|
+
/**
|
|
24014
|
+
* Encodes the specified ReplspaceApiSSHTokenGetResponse message, length delimited. Does not implicitly {@link replit.goval.api.ReplspaceApiSSHTokenGetResponse.verify|verify} messages.
|
|
24015
|
+
* @param message ReplspaceApiSSHTokenGetResponse message or plain object to encode
|
|
24016
|
+
* @param [writer] Writer to encode to
|
|
24017
|
+
* @returns Writer
|
|
24018
|
+
*/
|
|
24019
|
+
public static encodeDelimited(message: replit.goval.api.ReplspaceApiSSHTokenGetResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
24020
|
+
|
|
24021
|
+
/**
|
|
24022
|
+
* Decodes a ReplspaceApiSSHTokenGetResponse message from the specified reader or buffer.
|
|
24023
|
+
* @param reader Reader or buffer to decode from
|
|
24024
|
+
* @param [length] Message length if known beforehand
|
|
24025
|
+
* @returns ReplspaceApiSSHTokenGetResponse
|
|
24026
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
24027
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
24028
|
+
*/
|
|
24029
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.ReplspaceApiSSHTokenGetResponse;
|
|
24030
|
+
|
|
24031
|
+
/**
|
|
24032
|
+
* Decodes a ReplspaceApiSSHTokenGetResponse message from the specified reader or buffer, length delimited.
|
|
24033
|
+
* @param reader Reader or buffer to decode from
|
|
24034
|
+
* @returns ReplspaceApiSSHTokenGetResponse
|
|
24035
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
24036
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
24037
|
+
*/
|
|
24038
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.ReplspaceApiSSHTokenGetResponse;
|
|
24039
|
+
|
|
24040
|
+
/**
|
|
24041
|
+
* Verifies a ReplspaceApiSSHTokenGetResponse message.
|
|
24042
|
+
* @param message Plain object to verify
|
|
24043
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
24044
|
+
*/
|
|
24045
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
24046
|
+
|
|
24047
|
+
/**
|
|
24048
|
+
* Creates a ReplspaceApiSSHTokenGetResponse message from a plain object. Also converts values to their respective internal types.
|
|
24049
|
+
* @param object Plain object
|
|
24050
|
+
* @returns ReplspaceApiSSHTokenGetResponse
|
|
24051
|
+
*/
|
|
24052
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.ReplspaceApiSSHTokenGetResponse;
|
|
24053
|
+
|
|
24054
|
+
/**
|
|
24055
|
+
* Creates a plain object from a ReplspaceApiSSHTokenGetResponse message. Also converts values to other types if specified.
|
|
24056
|
+
* @param message ReplspaceApiSSHTokenGetResponse
|
|
24057
|
+
* @param [options] Conversion options
|
|
24058
|
+
* @returns Plain object
|
|
24059
|
+
*/
|
|
24060
|
+
public static toObject(message: replit.goval.api.ReplspaceApiSSHTokenGetResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
24061
|
+
|
|
24062
|
+
/**
|
|
24063
|
+
* Converts this ReplspaceApiSSHTokenGetResponse to JSON.
|
|
24064
|
+
* @returns JSON object
|
|
24065
|
+
*/
|
|
24066
|
+
public toJSON(): { [k: string]: any };
|
|
24067
|
+
|
|
24068
|
+
/**
|
|
24069
|
+
* Gets the default type url for ReplspaceApiSSHTokenGetResponse
|
|
24070
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
24071
|
+
* @returns The default type url
|
|
24072
|
+
*/
|
|
24073
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
24074
|
+
}
|
|
24075
|
+
|
|
23858
24076
|
/** Properties of a StringList. */
|
|
23859
24077
|
interface IStringList {
|
|
23860
24078
|
|
|
@@ -27959,6 +28177,9 @@ export namespace replit {
|
|
|
27959
28177
|
|
|
27960
28178
|
/** GovalReplIdentity deployment */
|
|
27961
28179
|
deployment?: (replit.goval.api.ReplRuntimeDeployment|replit.goval.api.IReplRuntimeDeployment|null);
|
|
28180
|
+
|
|
28181
|
+
/** GovalReplIdentity org */
|
|
28182
|
+
org?: (replit.goval.api.repl.Org|replit.goval.api.repl.IOrg|null);
|
|
27962
28183
|
}
|
|
27963
28184
|
|
|
27964
28185
|
/** Represents a GovalReplIdentity. */
|
|
@@ -28009,6 +28230,9 @@ export namespace replit {
|
|
|
28009
28230
|
/** GovalReplIdentity deployment. */
|
|
28010
28231
|
public deployment?: (replit.goval.api.ReplRuntimeDeployment|null);
|
|
28011
28232
|
|
|
28233
|
+
/** GovalReplIdentity org. */
|
|
28234
|
+
public org?: (replit.goval.api.repl.Org|null);
|
|
28235
|
+
|
|
28012
28236
|
/** GovalReplIdentity runtime. */
|
|
28013
28237
|
public runtime?: ("interactive"|"hosting"|"deployment");
|
|
28014
28238
|
|
package/main/index.js
CHANGED
|
@@ -245,6 +245,8 @@
|
|
|
245
245
|
* @property {replit.goval.api.NixModuleConfigGetResponse|replit.goval.api.INixModuleConfigGetResponse|null} [nixModuleConfigGetResponse] Command nixModuleConfigGetResponse
|
|
246
246
|
* @property {replit.goval.api.NixModuleConfigSetRequest|replit.goval.api.INixModuleConfigSetRequest|null} [nixModuleConfigSetRequest] Command nixModuleConfigSetRequest
|
|
247
247
|
* @property {replit.goval.api.NixModuleConfigSetResponse|replit.goval.api.INixModuleConfigSetResponse|null} [nixModuleConfigSetResponse] Command nixModuleConfigSetResponse
|
|
248
|
+
* @property {replit.goval.api.ReplspaceApiSSHTokenGetRequest|replit.goval.api.IReplspaceApiSSHTokenGetRequest|null} [replspaceApiSSHTokenGetRequest] Command replspaceApiSSHTokenGetRequest
|
|
249
|
+
* @property {replit.goval.api.ReplspaceApiSSHTokenGetResponse|replit.goval.api.IReplspaceApiSSHTokenGetResponse|null} [replspaceApiSSHTokenGetResponse] Command replspaceApiSSHTokenGetResponse
|
|
248
250
|
* @property {string|null} [ref] Command ref
|
|
249
251
|
* @property {Object.<string,string>|null} [traceInfo] Command traceInfo
|
|
250
252
|
* @property {boolean|null} [forceTrace] Command forceTrace
|
|
@@ -1833,6 +1835,22 @@
|
|
|
1833
1835
|
*/
|
|
1834
1836
|
Command.prototype.nixModuleConfigSetResponse = null;
|
|
1835
1837
|
|
|
1838
|
+
/**
|
|
1839
|
+
* Command replspaceApiSSHTokenGetRequest.
|
|
1840
|
+
* @member {replit.goval.api.ReplspaceApiSSHTokenGetRequest|null|undefined} replspaceApiSSHTokenGetRequest
|
|
1841
|
+
* @memberof replit.goval.api.Command
|
|
1842
|
+
* @instance
|
|
1843
|
+
*/
|
|
1844
|
+
Command.prototype.replspaceApiSSHTokenGetRequest = null;
|
|
1845
|
+
|
|
1846
|
+
/**
|
|
1847
|
+
* Command replspaceApiSSHTokenGetResponse.
|
|
1848
|
+
* @member {replit.goval.api.ReplspaceApiSSHTokenGetResponse|null|undefined} replspaceApiSSHTokenGetResponse
|
|
1849
|
+
* @memberof replit.goval.api.Command
|
|
1850
|
+
* @instance
|
|
1851
|
+
*/
|
|
1852
|
+
Command.prototype.replspaceApiSSHTokenGetResponse = null;
|
|
1853
|
+
|
|
1836
1854
|
/**
|
|
1837
1855
|
* Command ref.
|
|
1838
1856
|
* @member {string} ref
|
|
@@ -1862,12 +1880,12 @@
|
|
|
1862
1880
|
|
|
1863
1881
|
/**
|
|
1864
1882
|
* Command body.
|
|
1865
|
-
* @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"|undefined} body
|
|
1883
|
+
* @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"|undefined} body
|
|
1866
1884
|
* @memberof replit.goval.api.Command
|
|
1867
1885
|
* @instance
|
|
1868
1886
|
*/
|
|
1869
1887
|
Object.defineProperty(Command.prototype, "body", {
|
|
1870
|
-
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"]),
|
|
1888
|
+
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"]),
|
|
1871
1889
|
set: $util.oneOfSetter($oneOfFields)
|
|
1872
1890
|
});
|
|
1873
1891
|
|
|
@@ -2287,6 +2305,10 @@
|
|
|
2287
2305
|
$root.replit.goval.api.NixModuleConfigSetRequest.encode(message.nixModuleConfigSetRequest, writer.uint32(/* id 462, wireType 2 =*/3698).fork()).ldelim();
|
|
2288
2306
|
if (message.nixModuleConfigSetResponse != null && Object.hasOwnProperty.call(message, "nixModuleConfigSetResponse"))
|
|
2289
2307
|
$root.replit.goval.api.NixModuleConfigSetResponse.encode(message.nixModuleConfigSetResponse, writer.uint32(/* id 463, wireType 2 =*/3706).fork()).ldelim();
|
|
2308
|
+
if (message.replspaceApiSSHTokenGetRequest != null && Object.hasOwnProperty.call(message, "replspaceApiSSHTokenGetRequest"))
|
|
2309
|
+
$root.replit.goval.api.ReplspaceApiSSHTokenGetRequest.encode(message.replspaceApiSSHTokenGetRequest, writer.uint32(/* id 464, wireType 2 =*/3714).fork()).ldelim();
|
|
2310
|
+
if (message.replspaceApiSSHTokenGetResponse != null && Object.hasOwnProperty.call(message, "replspaceApiSSHTokenGetResponse"))
|
|
2311
|
+
$root.replit.goval.api.ReplspaceApiSSHTokenGetResponse.encode(message.replspaceApiSSHTokenGetResponse, writer.uint32(/* id 465, wireType 2 =*/3722).fork()).ldelim();
|
|
2290
2312
|
if (message.ref != null && Object.hasOwnProperty.call(message, "ref"))
|
|
2291
2313
|
writer.uint32(/* id 1000, wireType 2 =*/8002).string(message.ref);
|
|
2292
2314
|
if (message.traceInfo != null && Object.hasOwnProperty.call(message, "traceInfo"))
|
|
@@ -3112,6 +3134,14 @@
|
|
|
3112
3134
|
message.nixModuleConfigSetResponse = $root.replit.goval.api.NixModuleConfigSetResponse.decode(reader, reader.uint32());
|
|
3113
3135
|
break;
|
|
3114
3136
|
}
|
|
3137
|
+
case 464: {
|
|
3138
|
+
message.replspaceApiSSHTokenGetRequest = $root.replit.goval.api.ReplspaceApiSSHTokenGetRequest.decode(reader, reader.uint32());
|
|
3139
|
+
break;
|
|
3140
|
+
}
|
|
3141
|
+
case 465: {
|
|
3142
|
+
message.replspaceApiSSHTokenGetResponse = $root.replit.goval.api.ReplspaceApiSSHTokenGetResponse.decode(reader, reader.uint32());
|
|
3143
|
+
break;
|
|
3144
|
+
}
|
|
3115
3145
|
case 1000: {
|
|
3116
3146
|
message.ref = reader.string();
|
|
3117
3147
|
break;
|
|
@@ -5089,6 +5119,26 @@
|
|
|
5089
5119
|
return "nixModuleConfigSetResponse." + error;
|
|
5090
5120
|
}
|
|
5091
5121
|
}
|
|
5122
|
+
if (message.replspaceApiSSHTokenGetRequest != null && message.hasOwnProperty("replspaceApiSSHTokenGetRequest")) {
|
|
5123
|
+
if (properties.body === 1)
|
|
5124
|
+
return "body: multiple values";
|
|
5125
|
+
properties.body = 1;
|
|
5126
|
+
{
|
|
5127
|
+
var error = $root.replit.goval.api.ReplspaceApiSSHTokenGetRequest.verify(message.replspaceApiSSHTokenGetRequest);
|
|
5128
|
+
if (error)
|
|
5129
|
+
return "replspaceApiSSHTokenGetRequest." + error;
|
|
5130
|
+
}
|
|
5131
|
+
}
|
|
5132
|
+
if (message.replspaceApiSSHTokenGetResponse != null && message.hasOwnProperty("replspaceApiSSHTokenGetResponse")) {
|
|
5133
|
+
if (properties.body === 1)
|
|
5134
|
+
return "body: multiple values";
|
|
5135
|
+
properties.body = 1;
|
|
5136
|
+
{
|
|
5137
|
+
var error = $root.replit.goval.api.ReplspaceApiSSHTokenGetResponse.verify(message.replspaceApiSSHTokenGetResponse);
|
|
5138
|
+
if (error)
|
|
5139
|
+
return "replspaceApiSSHTokenGetResponse." + error;
|
|
5140
|
+
}
|
|
5141
|
+
}
|
|
5092
5142
|
if (message.ref != null && message.hasOwnProperty("ref"))
|
|
5093
5143
|
if (!$util.isString(message.ref))
|
|
5094
5144
|
return "ref: string expected";
|
|
@@ -6067,6 +6117,16 @@
|
|
|
6067
6117
|
throw TypeError(".replit.goval.api.Command.nixModuleConfigSetResponse: object expected");
|
|
6068
6118
|
message.nixModuleConfigSetResponse = $root.replit.goval.api.NixModuleConfigSetResponse.fromObject(object.nixModuleConfigSetResponse);
|
|
6069
6119
|
}
|
|
6120
|
+
if (object.replspaceApiSSHTokenGetRequest != null) {
|
|
6121
|
+
if (typeof object.replspaceApiSSHTokenGetRequest !== "object")
|
|
6122
|
+
throw TypeError(".replit.goval.api.Command.replspaceApiSSHTokenGetRequest: object expected");
|
|
6123
|
+
message.replspaceApiSSHTokenGetRequest = $root.replit.goval.api.ReplspaceApiSSHTokenGetRequest.fromObject(object.replspaceApiSSHTokenGetRequest);
|
|
6124
|
+
}
|
|
6125
|
+
if (object.replspaceApiSSHTokenGetResponse != null) {
|
|
6126
|
+
if (typeof object.replspaceApiSSHTokenGetResponse !== "object")
|
|
6127
|
+
throw TypeError(".replit.goval.api.Command.replspaceApiSSHTokenGetResponse: object expected");
|
|
6128
|
+
message.replspaceApiSSHTokenGetResponse = $root.replit.goval.api.ReplspaceApiSSHTokenGetResponse.fromObject(object.replspaceApiSSHTokenGetResponse);
|
|
6129
|
+
}
|
|
6070
6130
|
if (object.ref != null)
|
|
6071
6131
|
message.ref = String(object.ref);
|
|
6072
6132
|
if (object.traceInfo) {
|
|
@@ -7076,6 +7136,16 @@
|
|
|
7076
7136
|
if (options.oneofs)
|
|
7077
7137
|
object.body = "nixModuleConfigSetResponse";
|
|
7078
7138
|
}
|
|
7139
|
+
if (message.replspaceApiSSHTokenGetRequest != null && message.hasOwnProperty("replspaceApiSSHTokenGetRequest")) {
|
|
7140
|
+
object.replspaceApiSSHTokenGetRequest = $root.replit.goval.api.ReplspaceApiSSHTokenGetRequest.toObject(message.replspaceApiSSHTokenGetRequest, options);
|
|
7141
|
+
if (options.oneofs)
|
|
7142
|
+
object.body = "replspaceApiSSHTokenGetRequest";
|
|
7143
|
+
}
|
|
7144
|
+
if (message.replspaceApiSSHTokenGetResponse != null && message.hasOwnProperty("replspaceApiSSHTokenGetResponse")) {
|
|
7145
|
+
object.replspaceApiSSHTokenGetResponse = $root.replit.goval.api.ReplspaceApiSSHTokenGetResponse.toObject(message.replspaceApiSSHTokenGetResponse, options);
|
|
7146
|
+
if (options.oneofs)
|
|
7147
|
+
object.body = "replspaceApiSSHTokenGetResponse";
|
|
7148
|
+
}
|
|
7079
7149
|
if (message.ref != null && message.hasOwnProperty("ref"))
|
|
7080
7150
|
object.ref = message.ref;
|
|
7081
7151
|
var keys2;
|
|
@@ -60478,6 +60548,458 @@
|
|
|
60478
60548
|
return NixModuleConfigValue;
|
|
60479
60549
|
})();
|
|
60480
60550
|
|
|
60551
|
+
api.ReplspaceApiSSHTokenGetRequest = (function() {
|
|
60552
|
+
|
|
60553
|
+
/**
|
|
60554
|
+
* Properties of a ReplspaceApiSSHTokenGetRequest.
|
|
60555
|
+
* @memberof replit.goval.api
|
|
60556
|
+
* @interface IReplspaceApiSSHTokenGetRequest
|
|
60557
|
+
* @property {string|null} [nonce] ReplspaceApiSSHTokenGetRequest nonce
|
|
60558
|
+
* @property {string|null} [replid] ReplspaceApiSSHTokenGetRequest replid
|
|
60559
|
+
*/
|
|
60560
|
+
|
|
60561
|
+
/**
|
|
60562
|
+
* Constructs a new ReplspaceApiSSHTokenGetRequest.
|
|
60563
|
+
* @memberof replit.goval.api
|
|
60564
|
+
* @classdesc Represents a ReplspaceApiSSHTokenGetRequest.
|
|
60565
|
+
* @constructor
|
|
60566
|
+
* @param {replit.goval.api.IReplspaceApiSSHTokenGetRequest=} [properties] Properties to set
|
|
60567
|
+
*/
|
|
60568
|
+
function ReplspaceApiSSHTokenGetRequest(properties) {
|
|
60569
|
+
if (properties)
|
|
60570
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
60571
|
+
if (properties[keys[i]] != null)
|
|
60572
|
+
this[keys[i]] = properties[keys[i]];
|
|
60573
|
+
}
|
|
60574
|
+
|
|
60575
|
+
/**
|
|
60576
|
+
* ReplspaceApiSSHTokenGetRequest nonce.
|
|
60577
|
+
* @member {string} nonce
|
|
60578
|
+
* @memberof replit.goval.api.ReplspaceApiSSHTokenGetRequest
|
|
60579
|
+
* @instance
|
|
60580
|
+
*/
|
|
60581
|
+
ReplspaceApiSSHTokenGetRequest.prototype.nonce = "";
|
|
60582
|
+
|
|
60583
|
+
/**
|
|
60584
|
+
* ReplspaceApiSSHTokenGetRequest replid.
|
|
60585
|
+
* @member {string} replid
|
|
60586
|
+
* @memberof replit.goval.api.ReplspaceApiSSHTokenGetRequest
|
|
60587
|
+
* @instance
|
|
60588
|
+
*/
|
|
60589
|
+
ReplspaceApiSSHTokenGetRequest.prototype.replid = "";
|
|
60590
|
+
|
|
60591
|
+
/**
|
|
60592
|
+
* Creates a new ReplspaceApiSSHTokenGetRequest instance using the specified properties.
|
|
60593
|
+
* @function create
|
|
60594
|
+
* @memberof replit.goval.api.ReplspaceApiSSHTokenGetRequest
|
|
60595
|
+
* @static
|
|
60596
|
+
* @param {replit.goval.api.IReplspaceApiSSHTokenGetRequest=} [properties] Properties to set
|
|
60597
|
+
* @returns {replit.goval.api.ReplspaceApiSSHTokenGetRequest} ReplspaceApiSSHTokenGetRequest instance
|
|
60598
|
+
*/
|
|
60599
|
+
ReplspaceApiSSHTokenGetRequest.create = function create(properties) {
|
|
60600
|
+
return ReplspaceApiSSHTokenGetRequest.fromObject(properties);
|
|
60601
|
+
};
|
|
60602
|
+
|
|
60603
|
+
/**
|
|
60604
|
+
* Encodes the specified ReplspaceApiSSHTokenGetRequest message. Does not implicitly {@link replit.goval.api.ReplspaceApiSSHTokenGetRequest.verify|verify} messages.
|
|
60605
|
+
* @function encode
|
|
60606
|
+
* @memberof replit.goval.api.ReplspaceApiSSHTokenGetRequest
|
|
60607
|
+
* @static
|
|
60608
|
+
* @param {replit.goval.api.ReplspaceApiSSHTokenGetRequest} message ReplspaceApiSSHTokenGetRequest message or plain object to encode
|
|
60609
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
60610
|
+
* @returns {$protobuf.Writer} Writer
|
|
60611
|
+
*/
|
|
60612
|
+
ReplspaceApiSSHTokenGetRequest.encode = function encode(message, writer) {
|
|
60613
|
+
if (!writer)
|
|
60614
|
+
writer = $Writer.create();
|
|
60615
|
+
if (message.nonce != null && Object.hasOwnProperty.call(message, "nonce"))
|
|
60616
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.nonce);
|
|
60617
|
+
if (message.replid != null && Object.hasOwnProperty.call(message, "replid"))
|
|
60618
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.replid);
|
|
60619
|
+
return writer;
|
|
60620
|
+
};
|
|
60621
|
+
|
|
60622
|
+
/**
|
|
60623
|
+
* Encodes the specified ReplspaceApiSSHTokenGetRequest message, length delimited. Does not implicitly {@link replit.goval.api.ReplspaceApiSSHTokenGetRequest.verify|verify} messages.
|
|
60624
|
+
* @function encodeDelimited
|
|
60625
|
+
* @memberof replit.goval.api.ReplspaceApiSSHTokenGetRequest
|
|
60626
|
+
* @static
|
|
60627
|
+
* @param {replit.goval.api.ReplspaceApiSSHTokenGetRequest} message ReplspaceApiSSHTokenGetRequest message or plain object to encode
|
|
60628
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
60629
|
+
* @returns {$protobuf.Writer} Writer
|
|
60630
|
+
*/
|
|
60631
|
+
ReplspaceApiSSHTokenGetRequest.encodeDelimited = function encodeDelimited(message, writer) {
|
|
60632
|
+
return this.encode(message, writer).ldelim();
|
|
60633
|
+
};
|
|
60634
|
+
|
|
60635
|
+
/**
|
|
60636
|
+
* Decodes a ReplspaceApiSSHTokenGetRequest message from the specified reader or buffer.
|
|
60637
|
+
* @function decode
|
|
60638
|
+
* @memberof replit.goval.api.ReplspaceApiSSHTokenGetRequest
|
|
60639
|
+
* @static
|
|
60640
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
60641
|
+
* @param {number} [length] Message length if known beforehand
|
|
60642
|
+
* @returns {replit.goval.api.ReplspaceApiSSHTokenGetRequest} ReplspaceApiSSHTokenGetRequest
|
|
60643
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
60644
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
60645
|
+
*/
|
|
60646
|
+
ReplspaceApiSSHTokenGetRequest.decode = function decode(reader, length) {
|
|
60647
|
+
if (!(reader instanceof $Reader))
|
|
60648
|
+
reader = $Reader.create(reader);
|
|
60649
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.ReplspaceApiSSHTokenGetRequest();
|
|
60650
|
+
while (reader.pos < end) {
|
|
60651
|
+
var tag = reader.uint32();
|
|
60652
|
+
switch (tag >>> 3) {
|
|
60653
|
+
case 1: {
|
|
60654
|
+
message.nonce = reader.string();
|
|
60655
|
+
break;
|
|
60656
|
+
}
|
|
60657
|
+
case 2: {
|
|
60658
|
+
message.replid = reader.string();
|
|
60659
|
+
break;
|
|
60660
|
+
}
|
|
60661
|
+
default:
|
|
60662
|
+
reader.skipType(tag & 7);
|
|
60663
|
+
break;
|
|
60664
|
+
}
|
|
60665
|
+
}
|
|
60666
|
+
return message;
|
|
60667
|
+
};
|
|
60668
|
+
|
|
60669
|
+
/**
|
|
60670
|
+
* Decodes a ReplspaceApiSSHTokenGetRequest message from the specified reader or buffer, length delimited.
|
|
60671
|
+
* @function decodeDelimited
|
|
60672
|
+
* @memberof replit.goval.api.ReplspaceApiSSHTokenGetRequest
|
|
60673
|
+
* @static
|
|
60674
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
60675
|
+
* @returns {replit.goval.api.ReplspaceApiSSHTokenGetRequest} ReplspaceApiSSHTokenGetRequest
|
|
60676
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
60677
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
60678
|
+
*/
|
|
60679
|
+
ReplspaceApiSSHTokenGetRequest.decodeDelimited = function decodeDelimited(reader) {
|
|
60680
|
+
if (!(reader instanceof $Reader))
|
|
60681
|
+
reader = new $Reader(reader);
|
|
60682
|
+
return this.decode(reader, reader.uint32());
|
|
60683
|
+
};
|
|
60684
|
+
|
|
60685
|
+
/**
|
|
60686
|
+
* Verifies a ReplspaceApiSSHTokenGetRequest message.
|
|
60687
|
+
* @function verify
|
|
60688
|
+
* @memberof replit.goval.api.ReplspaceApiSSHTokenGetRequest
|
|
60689
|
+
* @static
|
|
60690
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
60691
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
60692
|
+
*/
|
|
60693
|
+
ReplspaceApiSSHTokenGetRequest.verify = function verify(message) {
|
|
60694
|
+
if (typeof message !== "object" || message === null)
|
|
60695
|
+
return "object expected";
|
|
60696
|
+
if (message.nonce != null && message.hasOwnProperty("nonce"))
|
|
60697
|
+
if (!$util.isString(message.nonce))
|
|
60698
|
+
return "nonce: string expected";
|
|
60699
|
+
if (message.replid != null && message.hasOwnProperty("replid"))
|
|
60700
|
+
if (!$util.isString(message.replid))
|
|
60701
|
+
return "replid: string expected";
|
|
60702
|
+
return null;
|
|
60703
|
+
};
|
|
60704
|
+
|
|
60705
|
+
/**
|
|
60706
|
+
* Creates a ReplspaceApiSSHTokenGetRequest message from a plain object. Also converts values to their respective internal types.
|
|
60707
|
+
* @function fromObject
|
|
60708
|
+
* @memberof replit.goval.api.ReplspaceApiSSHTokenGetRequest
|
|
60709
|
+
* @static
|
|
60710
|
+
* @param {Object.<string,*>} object Plain object
|
|
60711
|
+
* @returns {replit.goval.api.ReplspaceApiSSHTokenGetRequest} ReplspaceApiSSHTokenGetRequest
|
|
60712
|
+
*/
|
|
60713
|
+
ReplspaceApiSSHTokenGetRequest.fromObject = function fromObject(object) {
|
|
60714
|
+
if (object instanceof $root.replit.goval.api.ReplspaceApiSSHTokenGetRequest)
|
|
60715
|
+
return object;
|
|
60716
|
+
var message = new $root.replit.goval.api.ReplspaceApiSSHTokenGetRequest();
|
|
60717
|
+
if (object.nonce != null)
|
|
60718
|
+
message.nonce = String(object.nonce);
|
|
60719
|
+
if (object.replid != null)
|
|
60720
|
+
message.replid = String(object.replid);
|
|
60721
|
+
return message;
|
|
60722
|
+
};
|
|
60723
|
+
|
|
60724
|
+
/**
|
|
60725
|
+
* Creates a plain object from a ReplspaceApiSSHTokenGetRequest message. Also converts values to other types if specified.
|
|
60726
|
+
* @function toObject
|
|
60727
|
+
* @memberof replit.goval.api.ReplspaceApiSSHTokenGetRequest
|
|
60728
|
+
* @static
|
|
60729
|
+
* @param {replit.goval.api.ReplspaceApiSSHTokenGetRequest} message ReplspaceApiSSHTokenGetRequest
|
|
60730
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
60731
|
+
* @returns {Object.<string,*>} Plain object
|
|
60732
|
+
*/
|
|
60733
|
+
ReplspaceApiSSHTokenGetRequest.toObject = function toObject(message, options) {
|
|
60734
|
+
if (!options)
|
|
60735
|
+
options = {};
|
|
60736
|
+
var object = {};
|
|
60737
|
+
if (options.defaults) {
|
|
60738
|
+
object.nonce = "";
|
|
60739
|
+
object.replid = "";
|
|
60740
|
+
}
|
|
60741
|
+
if (message.nonce != null && message.hasOwnProperty("nonce"))
|
|
60742
|
+
object.nonce = message.nonce;
|
|
60743
|
+
if (message.replid != null && message.hasOwnProperty("replid"))
|
|
60744
|
+
object.replid = message.replid;
|
|
60745
|
+
return object;
|
|
60746
|
+
};
|
|
60747
|
+
|
|
60748
|
+
/**
|
|
60749
|
+
* Converts this ReplspaceApiSSHTokenGetRequest to JSON.
|
|
60750
|
+
* @function toJSON
|
|
60751
|
+
* @memberof replit.goval.api.ReplspaceApiSSHTokenGetRequest
|
|
60752
|
+
* @instance
|
|
60753
|
+
* @returns {Object.<string,*>} JSON object
|
|
60754
|
+
*/
|
|
60755
|
+
ReplspaceApiSSHTokenGetRequest.prototype.toJSON = function toJSON() {
|
|
60756
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
60757
|
+
};
|
|
60758
|
+
|
|
60759
|
+
/**
|
|
60760
|
+
* Gets the default type url for ReplspaceApiSSHTokenGetRequest
|
|
60761
|
+
* @function getTypeUrl
|
|
60762
|
+
* @memberof replit.goval.api.ReplspaceApiSSHTokenGetRequest
|
|
60763
|
+
* @static
|
|
60764
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
60765
|
+
* @returns {string} The default type url
|
|
60766
|
+
*/
|
|
60767
|
+
ReplspaceApiSSHTokenGetRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
60768
|
+
if (typeUrlPrefix === undefined) {
|
|
60769
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
60770
|
+
}
|
|
60771
|
+
return typeUrlPrefix + "/replit.goval.api.ReplspaceApiSSHTokenGetRequest";
|
|
60772
|
+
};
|
|
60773
|
+
|
|
60774
|
+
return ReplspaceApiSSHTokenGetRequest;
|
|
60775
|
+
})();
|
|
60776
|
+
|
|
60777
|
+
api.ReplspaceApiSSHTokenGetResponse = (function() {
|
|
60778
|
+
|
|
60779
|
+
/**
|
|
60780
|
+
* Properties of a ReplspaceApiSSHTokenGetResponse.
|
|
60781
|
+
* @memberof replit.goval.api
|
|
60782
|
+
* @interface IReplspaceApiSSHTokenGetResponse
|
|
60783
|
+
* @property {string|null} [nonce] ReplspaceApiSSHTokenGetResponse nonce
|
|
60784
|
+
* @property {string|null} [token] ReplspaceApiSSHTokenGetResponse token
|
|
60785
|
+
*/
|
|
60786
|
+
|
|
60787
|
+
/**
|
|
60788
|
+
* Constructs a new ReplspaceApiSSHTokenGetResponse.
|
|
60789
|
+
* @memberof replit.goval.api
|
|
60790
|
+
* @classdesc Represents a ReplspaceApiSSHTokenGetResponse.
|
|
60791
|
+
* @constructor
|
|
60792
|
+
* @param {replit.goval.api.IReplspaceApiSSHTokenGetResponse=} [properties] Properties to set
|
|
60793
|
+
*/
|
|
60794
|
+
function ReplspaceApiSSHTokenGetResponse(properties) {
|
|
60795
|
+
if (properties)
|
|
60796
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
60797
|
+
if (properties[keys[i]] != null)
|
|
60798
|
+
this[keys[i]] = properties[keys[i]];
|
|
60799
|
+
}
|
|
60800
|
+
|
|
60801
|
+
/**
|
|
60802
|
+
* ReplspaceApiSSHTokenGetResponse nonce.
|
|
60803
|
+
* @member {string} nonce
|
|
60804
|
+
* @memberof replit.goval.api.ReplspaceApiSSHTokenGetResponse
|
|
60805
|
+
* @instance
|
|
60806
|
+
*/
|
|
60807
|
+
ReplspaceApiSSHTokenGetResponse.prototype.nonce = "";
|
|
60808
|
+
|
|
60809
|
+
/**
|
|
60810
|
+
* ReplspaceApiSSHTokenGetResponse token.
|
|
60811
|
+
* @member {string} token
|
|
60812
|
+
* @memberof replit.goval.api.ReplspaceApiSSHTokenGetResponse
|
|
60813
|
+
* @instance
|
|
60814
|
+
*/
|
|
60815
|
+
ReplspaceApiSSHTokenGetResponse.prototype.token = "";
|
|
60816
|
+
|
|
60817
|
+
/**
|
|
60818
|
+
* Creates a new ReplspaceApiSSHTokenGetResponse instance using the specified properties.
|
|
60819
|
+
* @function create
|
|
60820
|
+
* @memberof replit.goval.api.ReplspaceApiSSHTokenGetResponse
|
|
60821
|
+
* @static
|
|
60822
|
+
* @param {replit.goval.api.IReplspaceApiSSHTokenGetResponse=} [properties] Properties to set
|
|
60823
|
+
* @returns {replit.goval.api.ReplspaceApiSSHTokenGetResponse} ReplspaceApiSSHTokenGetResponse instance
|
|
60824
|
+
*/
|
|
60825
|
+
ReplspaceApiSSHTokenGetResponse.create = function create(properties) {
|
|
60826
|
+
return ReplspaceApiSSHTokenGetResponse.fromObject(properties);
|
|
60827
|
+
};
|
|
60828
|
+
|
|
60829
|
+
/**
|
|
60830
|
+
* Encodes the specified ReplspaceApiSSHTokenGetResponse message. Does not implicitly {@link replit.goval.api.ReplspaceApiSSHTokenGetResponse.verify|verify} messages.
|
|
60831
|
+
* @function encode
|
|
60832
|
+
* @memberof replit.goval.api.ReplspaceApiSSHTokenGetResponse
|
|
60833
|
+
* @static
|
|
60834
|
+
* @param {replit.goval.api.ReplspaceApiSSHTokenGetResponse} message ReplspaceApiSSHTokenGetResponse message or plain object to encode
|
|
60835
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
60836
|
+
* @returns {$protobuf.Writer} Writer
|
|
60837
|
+
*/
|
|
60838
|
+
ReplspaceApiSSHTokenGetResponse.encode = function encode(message, writer) {
|
|
60839
|
+
if (!writer)
|
|
60840
|
+
writer = $Writer.create();
|
|
60841
|
+
if (message.nonce != null && Object.hasOwnProperty.call(message, "nonce"))
|
|
60842
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.nonce);
|
|
60843
|
+
if (message.token != null && Object.hasOwnProperty.call(message, "token"))
|
|
60844
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.token);
|
|
60845
|
+
return writer;
|
|
60846
|
+
};
|
|
60847
|
+
|
|
60848
|
+
/**
|
|
60849
|
+
* Encodes the specified ReplspaceApiSSHTokenGetResponse message, length delimited. Does not implicitly {@link replit.goval.api.ReplspaceApiSSHTokenGetResponse.verify|verify} messages.
|
|
60850
|
+
* @function encodeDelimited
|
|
60851
|
+
* @memberof replit.goval.api.ReplspaceApiSSHTokenGetResponse
|
|
60852
|
+
* @static
|
|
60853
|
+
* @param {replit.goval.api.ReplspaceApiSSHTokenGetResponse} message ReplspaceApiSSHTokenGetResponse message or plain object to encode
|
|
60854
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
60855
|
+
* @returns {$protobuf.Writer} Writer
|
|
60856
|
+
*/
|
|
60857
|
+
ReplspaceApiSSHTokenGetResponse.encodeDelimited = function encodeDelimited(message, writer) {
|
|
60858
|
+
return this.encode(message, writer).ldelim();
|
|
60859
|
+
};
|
|
60860
|
+
|
|
60861
|
+
/**
|
|
60862
|
+
* Decodes a ReplspaceApiSSHTokenGetResponse message from the specified reader or buffer.
|
|
60863
|
+
* @function decode
|
|
60864
|
+
* @memberof replit.goval.api.ReplspaceApiSSHTokenGetResponse
|
|
60865
|
+
* @static
|
|
60866
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
60867
|
+
* @param {number} [length] Message length if known beforehand
|
|
60868
|
+
* @returns {replit.goval.api.ReplspaceApiSSHTokenGetResponse} ReplspaceApiSSHTokenGetResponse
|
|
60869
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
60870
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
60871
|
+
*/
|
|
60872
|
+
ReplspaceApiSSHTokenGetResponse.decode = function decode(reader, length) {
|
|
60873
|
+
if (!(reader instanceof $Reader))
|
|
60874
|
+
reader = $Reader.create(reader);
|
|
60875
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.ReplspaceApiSSHTokenGetResponse();
|
|
60876
|
+
while (reader.pos < end) {
|
|
60877
|
+
var tag = reader.uint32();
|
|
60878
|
+
switch (tag >>> 3) {
|
|
60879
|
+
case 1: {
|
|
60880
|
+
message.nonce = reader.string();
|
|
60881
|
+
break;
|
|
60882
|
+
}
|
|
60883
|
+
case 2: {
|
|
60884
|
+
message.token = reader.string();
|
|
60885
|
+
break;
|
|
60886
|
+
}
|
|
60887
|
+
default:
|
|
60888
|
+
reader.skipType(tag & 7);
|
|
60889
|
+
break;
|
|
60890
|
+
}
|
|
60891
|
+
}
|
|
60892
|
+
return message;
|
|
60893
|
+
};
|
|
60894
|
+
|
|
60895
|
+
/**
|
|
60896
|
+
* Decodes a ReplspaceApiSSHTokenGetResponse message from the specified reader or buffer, length delimited.
|
|
60897
|
+
* @function decodeDelimited
|
|
60898
|
+
* @memberof replit.goval.api.ReplspaceApiSSHTokenGetResponse
|
|
60899
|
+
* @static
|
|
60900
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
60901
|
+
* @returns {replit.goval.api.ReplspaceApiSSHTokenGetResponse} ReplspaceApiSSHTokenGetResponse
|
|
60902
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
60903
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
60904
|
+
*/
|
|
60905
|
+
ReplspaceApiSSHTokenGetResponse.decodeDelimited = function decodeDelimited(reader) {
|
|
60906
|
+
if (!(reader instanceof $Reader))
|
|
60907
|
+
reader = new $Reader(reader);
|
|
60908
|
+
return this.decode(reader, reader.uint32());
|
|
60909
|
+
};
|
|
60910
|
+
|
|
60911
|
+
/**
|
|
60912
|
+
* Verifies a ReplspaceApiSSHTokenGetResponse message.
|
|
60913
|
+
* @function verify
|
|
60914
|
+
* @memberof replit.goval.api.ReplspaceApiSSHTokenGetResponse
|
|
60915
|
+
* @static
|
|
60916
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
60917
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
60918
|
+
*/
|
|
60919
|
+
ReplspaceApiSSHTokenGetResponse.verify = function verify(message) {
|
|
60920
|
+
if (typeof message !== "object" || message === null)
|
|
60921
|
+
return "object expected";
|
|
60922
|
+
if (message.nonce != null && message.hasOwnProperty("nonce"))
|
|
60923
|
+
if (!$util.isString(message.nonce))
|
|
60924
|
+
return "nonce: string expected";
|
|
60925
|
+
if (message.token != null && message.hasOwnProperty("token"))
|
|
60926
|
+
if (!$util.isString(message.token))
|
|
60927
|
+
return "token: string expected";
|
|
60928
|
+
return null;
|
|
60929
|
+
};
|
|
60930
|
+
|
|
60931
|
+
/**
|
|
60932
|
+
* Creates a ReplspaceApiSSHTokenGetResponse message from a plain object. Also converts values to their respective internal types.
|
|
60933
|
+
* @function fromObject
|
|
60934
|
+
* @memberof replit.goval.api.ReplspaceApiSSHTokenGetResponse
|
|
60935
|
+
* @static
|
|
60936
|
+
* @param {Object.<string,*>} object Plain object
|
|
60937
|
+
* @returns {replit.goval.api.ReplspaceApiSSHTokenGetResponse} ReplspaceApiSSHTokenGetResponse
|
|
60938
|
+
*/
|
|
60939
|
+
ReplspaceApiSSHTokenGetResponse.fromObject = function fromObject(object) {
|
|
60940
|
+
if (object instanceof $root.replit.goval.api.ReplspaceApiSSHTokenGetResponse)
|
|
60941
|
+
return object;
|
|
60942
|
+
var message = new $root.replit.goval.api.ReplspaceApiSSHTokenGetResponse();
|
|
60943
|
+
if (object.nonce != null)
|
|
60944
|
+
message.nonce = String(object.nonce);
|
|
60945
|
+
if (object.token != null)
|
|
60946
|
+
message.token = String(object.token);
|
|
60947
|
+
return message;
|
|
60948
|
+
};
|
|
60949
|
+
|
|
60950
|
+
/**
|
|
60951
|
+
* Creates a plain object from a ReplspaceApiSSHTokenGetResponse message. Also converts values to other types if specified.
|
|
60952
|
+
* @function toObject
|
|
60953
|
+
* @memberof replit.goval.api.ReplspaceApiSSHTokenGetResponse
|
|
60954
|
+
* @static
|
|
60955
|
+
* @param {replit.goval.api.ReplspaceApiSSHTokenGetResponse} message ReplspaceApiSSHTokenGetResponse
|
|
60956
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
60957
|
+
* @returns {Object.<string,*>} Plain object
|
|
60958
|
+
*/
|
|
60959
|
+
ReplspaceApiSSHTokenGetResponse.toObject = function toObject(message, options) {
|
|
60960
|
+
if (!options)
|
|
60961
|
+
options = {};
|
|
60962
|
+
var object = {};
|
|
60963
|
+
if (options.defaults) {
|
|
60964
|
+
object.nonce = "";
|
|
60965
|
+
object.token = "";
|
|
60966
|
+
}
|
|
60967
|
+
if (message.nonce != null && message.hasOwnProperty("nonce"))
|
|
60968
|
+
object.nonce = message.nonce;
|
|
60969
|
+
if (message.token != null && message.hasOwnProperty("token"))
|
|
60970
|
+
object.token = message.token;
|
|
60971
|
+
return object;
|
|
60972
|
+
};
|
|
60973
|
+
|
|
60974
|
+
/**
|
|
60975
|
+
* Converts this ReplspaceApiSSHTokenGetResponse to JSON.
|
|
60976
|
+
* @function toJSON
|
|
60977
|
+
* @memberof replit.goval.api.ReplspaceApiSSHTokenGetResponse
|
|
60978
|
+
* @instance
|
|
60979
|
+
* @returns {Object.<string,*>} JSON object
|
|
60980
|
+
*/
|
|
60981
|
+
ReplspaceApiSSHTokenGetResponse.prototype.toJSON = function toJSON() {
|
|
60982
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
60983
|
+
};
|
|
60984
|
+
|
|
60985
|
+
/**
|
|
60986
|
+
* Gets the default type url for ReplspaceApiSSHTokenGetResponse
|
|
60987
|
+
* @function getTypeUrl
|
|
60988
|
+
* @memberof replit.goval.api.ReplspaceApiSSHTokenGetResponse
|
|
60989
|
+
* @static
|
|
60990
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
60991
|
+
* @returns {string} The default type url
|
|
60992
|
+
*/
|
|
60993
|
+
ReplspaceApiSSHTokenGetResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
60994
|
+
if (typeUrlPrefix === undefined) {
|
|
60995
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
60996
|
+
}
|
|
60997
|
+
return typeUrlPrefix + "/replit.goval.api.ReplspaceApiSSHTokenGetResponse";
|
|
60998
|
+
};
|
|
60999
|
+
|
|
61000
|
+
return ReplspaceApiSSHTokenGetResponse;
|
|
61001
|
+
})();
|
|
61002
|
+
|
|
60481
61003
|
api.StringList = (function() {
|
|
60482
61004
|
|
|
60483
61005
|
/**
|
|
@@ -70658,6 +71180,7 @@
|
|
|
70658
71180
|
* @property {replit.goval.api.ReplRuntimeInteractive|replit.goval.api.IReplRuntimeInteractive|null} [interactive] GovalReplIdentity interactive
|
|
70659
71181
|
* @property {replit.goval.api.ReplRuntimeHosting|replit.goval.api.IReplRuntimeHosting|null} [hosting] GovalReplIdentity hosting
|
|
70660
71182
|
* @property {replit.goval.api.ReplRuntimeDeployment|replit.goval.api.IReplRuntimeDeployment|null} [deployment] GovalReplIdentity deployment
|
|
71183
|
+
* @property {replit.goval.api.repl.Org|replit.goval.api.repl.IOrg|null} [org] GovalReplIdentity org
|
|
70661
71184
|
*/
|
|
70662
71185
|
|
|
70663
71186
|
/**
|
|
@@ -70779,6 +71302,14 @@
|
|
|
70779
71302
|
*/
|
|
70780
71303
|
GovalReplIdentity.prototype.deployment = null;
|
|
70781
71304
|
|
|
71305
|
+
/**
|
|
71306
|
+
* GovalReplIdentity org.
|
|
71307
|
+
* @member {replit.goval.api.repl.Org|null|undefined} org
|
|
71308
|
+
* @memberof replit.goval.api.GovalReplIdentity
|
|
71309
|
+
* @instance
|
|
71310
|
+
*/
|
|
71311
|
+
GovalReplIdentity.prototype.org = null;
|
|
71312
|
+
|
|
70782
71313
|
// OneOf field names bound to virtual getters and setters
|
|
70783
71314
|
var $oneOfFields;
|
|
70784
71315
|
|
|
@@ -70844,6 +71375,8 @@
|
|
|
70844
71375
|
$root.replit.goval.api.ReplRuntimeDeployment.encode(message.deployment, writer.uint32(/* id 12, wireType 2 =*/98).fork()).ldelim();
|
|
70845
71376
|
if (message.hosting != null && Object.hasOwnProperty.call(message, "hosting"))
|
|
70846
71377
|
$root.replit.goval.api.ReplRuntimeHosting.encode(message.hosting, writer.uint32(/* id 13, wireType 2 =*/106).fork()).ldelim();
|
|
71378
|
+
if (message.org != null && Object.hasOwnProperty.call(message, "org"))
|
|
71379
|
+
$root.replit.goval.api.repl.Org.encode(message.org, writer.uint32(/* id 14, wireType 2 =*/114).fork()).ldelim();
|
|
70847
71380
|
return writer;
|
|
70848
71381
|
};
|
|
70849
71382
|
|
|
@@ -70932,6 +71465,10 @@
|
|
|
70932
71465
|
message.deployment = $root.replit.goval.api.ReplRuntimeDeployment.decode(reader, reader.uint32());
|
|
70933
71466
|
break;
|
|
70934
71467
|
}
|
|
71468
|
+
case 14: {
|
|
71469
|
+
message.org = $root.replit.goval.api.repl.Org.decode(reader, reader.uint32());
|
|
71470
|
+
break;
|
|
71471
|
+
}
|
|
70935
71472
|
default:
|
|
70936
71473
|
reader.skipType(tag & 7);
|
|
70937
71474
|
break;
|
|
@@ -71032,6 +71569,11 @@
|
|
|
71032
71569
|
return "deployment." + error;
|
|
71033
71570
|
}
|
|
71034
71571
|
}
|
|
71572
|
+
if (message.org != null && message.hasOwnProperty("org")) {
|
|
71573
|
+
var error = $root.replit.goval.api.repl.Org.verify(message.org);
|
|
71574
|
+
if (error)
|
|
71575
|
+
return "org." + error;
|
|
71576
|
+
}
|
|
71035
71577
|
return null;
|
|
71036
71578
|
};
|
|
71037
71579
|
|
|
@@ -71097,6 +71639,11 @@
|
|
|
71097
71639
|
throw TypeError(".replit.goval.api.GovalReplIdentity.deployment: object expected");
|
|
71098
71640
|
message.deployment = $root.replit.goval.api.ReplRuntimeDeployment.fromObject(object.deployment);
|
|
71099
71641
|
}
|
|
71642
|
+
if (object.org != null) {
|
|
71643
|
+
if (typeof object.org !== "object")
|
|
71644
|
+
throw TypeError(".replit.goval.api.GovalReplIdentity.org: object expected");
|
|
71645
|
+
message.org = $root.replit.goval.api.repl.Org.fromObject(object.org);
|
|
71646
|
+
}
|
|
71100
71647
|
return message;
|
|
71101
71648
|
};
|
|
71102
71649
|
|
|
@@ -71129,6 +71676,7 @@
|
|
|
71129
71676
|
object.userId = options.longs === String ? "0" : 0;
|
|
71130
71677
|
object.buildInfo = null;
|
|
71131
71678
|
object.isTeam = false;
|
|
71679
|
+
object.org = null;
|
|
71132
71680
|
}
|
|
71133
71681
|
if (message.replid != null && message.hasOwnProperty("replid"))
|
|
71134
71682
|
object.replid = message.replid;
|
|
@@ -71171,6 +71719,8 @@
|
|
|
71171
71719
|
if (options.oneofs)
|
|
71172
71720
|
object.runtime = "hosting";
|
|
71173
71721
|
}
|
|
71722
|
+
if (message.org != null && message.hasOwnProperty("org"))
|
|
71723
|
+
object.org = $root.replit.goval.api.repl.Org.toObject(message.org, options);
|
|
71174
71724
|
return object;
|
|
71175
71725
|
};
|
|
71176
71726
|
|