@replit/protocol 0.4.16 → 0.4.17
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 +219 -1
- package/main/index.js +523 -2
- package/package.json +1 -1
package/main/index.d.ts
CHANGED
|
@@ -525,6 +525,12 @@ export namespace replit {
|
|
|
525
525
|
/** Command replspaceApiGitHubToken */
|
|
526
526
|
replspaceApiGitHubToken?: (replit.goval.api.ReplspaceApiGitHubToken|replit.goval.api.IReplspaceApiGitHubToken|null);
|
|
527
527
|
|
|
528
|
+
/** Command replspaceApiGetBitbucketToken */
|
|
529
|
+
replspaceApiGetBitbucketToken?: (replit.goval.api.ReplspaceApiGetBitbucketToken|replit.goval.api.IReplspaceApiGetBitbucketToken|null);
|
|
530
|
+
|
|
531
|
+
/** Command replspaceApiBitbucketToken */
|
|
532
|
+
replspaceApiBitbucketToken?: (replit.goval.api.ReplspaceApiBitbucketToken|replit.goval.api.IReplspaceApiBitbucketToken|null);
|
|
533
|
+
|
|
528
534
|
/** Command focused */
|
|
529
535
|
focused?: (replit.goval.api.Focused|replit.goval.api.IFocused|null);
|
|
530
536
|
|
|
@@ -1144,6 +1150,12 @@ export namespace replit {
|
|
|
1144
1150
|
/** Command replspaceApiGitHubToken. */
|
|
1145
1151
|
public replspaceApiGitHubToken?: (replit.goval.api.ReplspaceApiGitHubToken|null);
|
|
1146
1152
|
|
|
1153
|
+
/** Command replspaceApiGetBitbucketToken. */
|
|
1154
|
+
public replspaceApiGetBitbucketToken?: (replit.goval.api.ReplspaceApiGetBitbucketToken|null);
|
|
1155
|
+
|
|
1156
|
+
/** Command replspaceApiBitbucketToken. */
|
|
1157
|
+
public replspaceApiBitbucketToken?: (replit.goval.api.ReplspaceApiBitbucketToken|null);
|
|
1158
|
+
|
|
1147
1159
|
/** Command focused. */
|
|
1148
1160
|
public focused?: (replit.goval.api.Focused|null);
|
|
1149
1161
|
|
|
@@ -1241,7 +1253,7 @@ export namespace replit {
|
|
|
1241
1253
|
public forceTrace: boolean;
|
|
1242
1254
|
|
|
1243
1255
|
/** Command body. */
|
|
1244
|
-
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"|"ot"|"otstatus"|"otLinkFile"|"otLinkFileResponse"|"otNewCursor"|"otDeleteCursor"|"otFetchRequest"|"otFetchResponse"|"otTransformSelectionRequest"|"otTransformSelectionResponse"|"flush"|"otFlushNotification"|"debug"|"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"|"paneMetricsTracker"|"nixModuleConfigGetRequest"|"nixModuleConfigGetResponse"|"nixModuleConfigSetRequest"|"nixModuleConfigSetResponse"|"replspaceApiSSHTokenGetRequest"|"replspaceApiSSHTokenGetResponse"|"secretsGetRequest"|"secretsGetResponse"|"secretsSetRequest"|"externalSecretsGetRequest"|"externalSecretsGetResponse"|"externalSecretsSetRequest"|"replResourcesUpdateNotification"|"pid1RefreshSecrets");
|
|
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"|"ot"|"otstatus"|"otLinkFile"|"otLinkFileResponse"|"otNewCursor"|"otDeleteCursor"|"otFetchRequest"|"otFetchResponse"|"otTransformSelectionRequest"|"otTransformSelectionResponse"|"flush"|"otFlushNotification"|"debug"|"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"|"replspaceApiGetBitbucketToken"|"replspaceApiBitbucketToken"|"focused"|"nixModulesGetRequest"|"nixModulesGetResponse"|"nixModulesChanged"|"nixModulesBuildRequest"|"packageSetPackagerRequest"|"packageSetPackagerResp"|"toolchainGetRequest"|"toolchainGetResponse"|"toolchainChanged"|"replspaceApiOpenMultipleFiles"|"nixModulesGetRegistryRequest"|"nixModulesGetRegistryResponse"|"replspaceApiShellTracker"|"paneMetricsTracker"|"nixModuleConfigGetRequest"|"nixModuleConfigGetResponse"|"nixModuleConfigSetRequest"|"nixModuleConfigSetResponse"|"replspaceApiSSHTokenGetRequest"|"replspaceApiSSHTokenGetResponse"|"secretsGetRequest"|"secretsGetResponse"|"secretsSetRequest"|"externalSecretsGetRequest"|"externalSecretsGetResponse"|"externalSecretsSetRequest"|"replResourcesUpdateNotification"|"pid1RefreshSecrets");
|
|
1245
1257
|
|
|
1246
1258
|
/**
|
|
1247
1259
|
* Creates a new Command instance using the specified properties.
|
|
@@ -12041,6 +12053,206 @@ export namespace replit {
|
|
|
12041
12053
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
12042
12054
|
}
|
|
12043
12055
|
|
|
12056
|
+
/** Properties of a ReplspaceApiGetBitbucketToken. */
|
|
12057
|
+
interface IReplspaceApiGetBitbucketToken {
|
|
12058
|
+
|
|
12059
|
+
/** ReplspaceApiGetBitbucketToken nonce */
|
|
12060
|
+
nonce?: (string|null);
|
|
12061
|
+
}
|
|
12062
|
+
|
|
12063
|
+
/** Represents a ReplspaceApiGetBitbucketToken. */
|
|
12064
|
+
class ReplspaceApiGetBitbucketToken {
|
|
12065
|
+
|
|
12066
|
+
/**
|
|
12067
|
+
* Constructs a new ReplspaceApiGetBitbucketToken.
|
|
12068
|
+
* @param [properties] Properties to set
|
|
12069
|
+
*/
|
|
12070
|
+
private constructor(properties?: replit.goval.api.IReplspaceApiGetBitbucketToken);
|
|
12071
|
+
|
|
12072
|
+
/** ReplspaceApiGetBitbucketToken nonce. */
|
|
12073
|
+
public nonce: string;
|
|
12074
|
+
|
|
12075
|
+
/**
|
|
12076
|
+
* Creates a new ReplspaceApiGetBitbucketToken instance using the specified properties.
|
|
12077
|
+
* @param [properties] Properties to set
|
|
12078
|
+
* @returns ReplspaceApiGetBitbucketToken instance
|
|
12079
|
+
*/
|
|
12080
|
+
public static create(properties?: replit.goval.api.IReplspaceApiGetBitbucketToken): replit.goval.api.ReplspaceApiGetBitbucketToken;
|
|
12081
|
+
|
|
12082
|
+
/**
|
|
12083
|
+
* Encodes the specified ReplspaceApiGetBitbucketToken message. Does not implicitly {@link replit.goval.api.ReplspaceApiGetBitbucketToken.verify|verify} messages.
|
|
12084
|
+
* @param message ReplspaceApiGetBitbucketToken message or plain object to encode
|
|
12085
|
+
* @param [writer] Writer to encode to
|
|
12086
|
+
* @returns Writer
|
|
12087
|
+
*/
|
|
12088
|
+
public static encode(message: replit.goval.api.ReplspaceApiGetBitbucketToken, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
12089
|
+
|
|
12090
|
+
/**
|
|
12091
|
+
* Encodes the specified ReplspaceApiGetBitbucketToken message, length delimited. Does not implicitly {@link replit.goval.api.ReplspaceApiGetBitbucketToken.verify|verify} messages.
|
|
12092
|
+
* @param message ReplspaceApiGetBitbucketToken message or plain object to encode
|
|
12093
|
+
* @param [writer] Writer to encode to
|
|
12094
|
+
* @returns Writer
|
|
12095
|
+
*/
|
|
12096
|
+
public static encodeDelimited(message: replit.goval.api.ReplspaceApiGetBitbucketToken, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
12097
|
+
|
|
12098
|
+
/**
|
|
12099
|
+
* Decodes a ReplspaceApiGetBitbucketToken message from the specified reader or buffer.
|
|
12100
|
+
* @param reader Reader or buffer to decode from
|
|
12101
|
+
* @param [length] Message length if known beforehand
|
|
12102
|
+
* @returns ReplspaceApiGetBitbucketToken
|
|
12103
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
12104
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
12105
|
+
*/
|
|
12106
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.ReplspaceApiGetBitbucketToken;
|
|
12107
|
+
|
|
12108
|
+
/**
|
|
12109
|
+
* Decodes a ReplspaceApiGetBitbucketToken message from the specified reader or buffer, length delimited.
|
|
12110
|
+
* @param reader Reader or buffer to decode from
|
|
12111
|
+
* @returns ReplspaceApiGetBitbucketToken
|
|
12112
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
12113
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
12114
|
+
*/
|
|
12115
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.ReplspaceApiGetBitbucketToken;
|
|
12116
|
+
|
|
12117
|
+
/**
|
|
12118
|
+
* Verifies a ReplspaceApiGetBitbucketToken message.
|
|
12119
|
+
* @param message Plain object to verify
|
|
12120
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
12121
|
+
*/
|
|
12122
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
12123
|
+
|
|
12124
|
+
/**
|
|
12125
|
+
* Creates a ReplspaceApiGetBitbucketToken message from a plain object. Also converts values to their respective internal types.
|
|
12126
|
+
* @param object Plain object
|
|
12127
|
+
* @returns ReplspaceApiGetBitbucketToken
|
|
12128
|
+
*/
|
|
12129
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.ReplspaceApiGetBitbucketToken;
|
|
12130
|
+
|
|
12131
|
+
/**
|
|
12132
|
+
* Creates a plain object from a ReplspaceApiGetBitbucketToken message. Also converts values to other types if specified.
|
|
12133
|
+
* @param message ReplspaceApiGetBitbucketToken
|
|
12134
|
+
* @param [options] Conversion options
|
|
12135
|
+
* @returns Plain object
|
|
12136
|
+
*/
|
|
12137
|
+
public static toObject(message: replit.goval.api.ReplspaceApiGetBitbucketToken, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
12138
|
+
|
|
12139
|
+
/**
|
|
12140
|
+
* Converts this ReplspaceApiGetBitbucketToken to JSON.
|
|
12141
|
+
* @returns JSON object
|
|
12142
|
+
*/
|
|
12143
|
+
public toJSON(): { [k: string]: any };
|
|
12144
|
+
|
|
12145
|
+
/**
|
|
12146
|
+
* Gets the default type url for ReplspaceApiGetBitbucketToken
|
|
12147
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
12148
|
+
* @returns The default type url
|
|
12149
|
+
*/
|
|
12150
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
12151
|
+
}
|
|
12152
|
+
|
|
12153
|
+
/** Properties of a ReplspaceApiBitbucketToken. */
|
|
12154
|
+
interface IReplspaceApiBitbucketToken {
|
|
12155
|
+
|
|
12156
|
+
/** ReplspaceApiBitbucketToken nonce */
|
|
12157
|
+
nonce?: (string|null);
|
|
12158
|
+
|
|
12159
|
+
/** ReplspaceApiBitbucketToken token */
|
|
12160
|
+
token?: (string|null);
|
|
12161
|
+
}
|
|
12162
|
+
|
|
12163
|
+
/** Represents a ReplspaceApiBitbucketToken. */
|
|
12164
|
+
class ReplspaceApiBitbucketToken {
|
|
12165
|
+
|
|
12166
|
+
/**
|
|
12167
|
+
* Constructs a new ReplspaceApiBitbucketToken.
|
|
12168
|
+
* @param [properties] Properties to set
|
|
12169
|
+
*/
|
|
12170
|
+
private constructor(properties?: replit.goval.api.IReplspaceApiBitbucketToken);
|
|
12171
|
+
|
|
12172
|
+
/** ReplspaceApiBitbucketToken nonce. */
|
|
12173
|
+
public nonce: string;
|
|
12174
|
+
|
|
12175
|
+
/** ReplspaceApiBitbucketToken token. */
|
|
12176
|
+
public token: string;
|
|
12177
|
+
|
|
12178
|
+
/**
|
|
12179
|
+
* Creates a new ReplspaceApiBitbucketToken instance using the specified properties.
|
|
12180
|
+
* @param [properties] Properties to set
|
|
12181
|
+
* @returns ReplspaceApiBitbucketToken instance
|
|
12182
|
+
*/
|
|
12183
|
+
public static create(properties?: replit.goval.api.IReplspaceApiBitbucketToken): replit.goval.api.ReplspaceApiBitbucketToken;
|
|
12184
|
+
|
|
12185
|
+
/**
|
|
12186
|
+
* Encodes the specified ReplspaceApiBitbucketToken message. Does not implicitly {@link replit.goval.api.ReplspaceApiBitbucketToken.verify|verify} messages.
|
|
12187
|
+
* @param message ReplspaceApiBitbucketToken message or plain object to encode
|
|
12188
|
+
* @param [writer] Writer to encode to
|
|
12189
|
+
* @returns Writer
|
|
12190
|
+
*/
|
|
12191
|
+
public static encode(message: replit.goval.api.ReplspaceApiBitbucketToken, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
12192
|
+
|
|
12193
|
+
/**
|
|
12194
|
+
* Encodes the specified ReplspaceApiBitbucketToken message, length delimited. Does not implicitly {@link replit.goval.api.ReplspaceApiBitbucketToken.verify|verify} messages.
|
|
12195
|
+
* @param message ReplspaceApiBitbucketToken message or plain object to encode
|
|
12196
|
+
* @param [writer] Writer to encode to
|
|
12197
|
+
* @returns Writer
|
|
12198
|
+
*/
|
|
12199
|
+
public static encodeDelimited(message: replit.goval.api.ReplspaceApiBitbucketToken, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
12200
|
+
|
|
12201
|
+
/**
|
|
12202
|
+
* Decodes a ReplspaceApiBitbucketToken message from the specified reader or buffer.
|
|
12203
|
+
* @param reader Reader or buffer to decode from
|
|
12204
|
+
* @param [length] Message length if known beforehand
|
|
12205
|
+
* @returns ReplspaceApiBitbucketToken
|
|
12206
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
12207
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
12208
|
+
*/
|
|
12209
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.ReplspaceApiBitbucketToken;
|
|
12210
|
+
|
|
12211
|
+
/**
|
|
12212
|
+
* Decodes a ReplspaceApiBitbucketToken message from the specified reader or buffer, length delimited.
|
|
12213
|
+
* @param reader Reader or buffer to decode from
|
|
12214
|
+
* @returns ReplspaceApiBitbucketToken
|
|
12215
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
12216
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
12217
|
+
*/
|
|
12218
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.ReplspaceApiBitbucketToken;
|
|
12219
|
+
|
|
12220
|
+
/**
|
|
12221
|
+
* Verifies a ReplspaceApiBitbucketToken message.
|
|
12222
|
+
* @param message Plain object to verify
|
|
12223
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
12224
|
+
*/
|
|
12225
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
12226
|
+
|
|
12227
|
+
/**
|
|
12228
|
+
* Creates a ReplspaceApiBitbucketToken message from a plain object. Also converts values to their respective internal types.
|
|
12229
|
+
* @param object Plain object
|
|
12230
|
+
* @returns ReplspaceApiBitbucketToken
|
|
12231
|
+
*/
|
|
12232
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.ReplspaceApiBitbucketToken;
|
|
12233
|
+
|
|
12234
|
+
/**
|
|
12235
|
+
* Creates a plain object from a ReplspaceApiBitbucketToken message. Also converts values to other types if specified.
|
|
12236
|
+
* @param message ReplspaceApiBitbucketToken
|
|
12237
|
+
* @param [options] Conversion options
|
|
12238
|
+
* @returns Plain object
|
|
12239
|
+
*/
|
|
12240
|
+
public static toObject(message: replit.goval.api.ReplspaceApiBitbucketToken, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
12241
|
+
|
|
12242
|
+
/**
|
|
12243
|
+
* Converts this ReplspaceApiBitbucketToken to JSON.
|
|
12244
|
+
* @returns JSON object
|
|
12245
|
+
*/
|
|
12246
|
+
public toJSON(): { [k: string]: any };
|
|
12247
|
+
|
|
12248
|
+
/**
|
|
12249
|
+
* Gets the default type url for ReplspaceApiBitbucketToken
|
|
12250
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
12251
|
+
* @returns The default type url
|
|
12252
|
+
*/
|
|
12253
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
12254
|
+
}
|
|
12255
|
+
|
|
12044
12256
|
/** Properties of a ReplspaceApiOpenMultipleFiles. */
|
|
12045
12257
|
interface IReplspaceApiOpenMultipleFiles {
|
|
12046
12258
|
|
|
@@ -31599,6 +31811,9 @@ export namespace replit {
|
|
|
31599
31811
|
|
|
31600
31812
|
/** CreateReplRequest sourceRepl */
|
|
31601
31813
|
sourceRepl?: (replit.goval.api.lore.CreateReplRequest.SourceRepl|replit.goval.api.lore.CreateReplRequest.ISourceRepl|null);
|
|
31814
|
+
|
|
31815
|
+
/** CreateReplRequest copyHelium */
|
|
31816
|
+
copyHelium?: (boolean|null);
|
|
31602
31817
|
}
|
|
31603
31818
|
|
|
31604
31819
|
/** Represents a CreateReplRequest. */
|
|
@@ -31625,6 +31840,9 @@ export namespace replit {
|
|
|
31625
31840
|
/** CreateReplRequest sourceRepl. */
|
|
31626
31841
|
public sourceRepl?: (replit.goval.api.lore.CreateReplRequest.SourceRepl|null);
|
|
31627
31842
|
|
|
31843
|
+
/** CreateReplRequest copyHelium. */
|
|
31844
|
+
public copyHelium: boolean;
|
|
31845
|
+
|
|
31628
31846
|
/** CreateReplRequest location. */
|
|
31629
31847
|
public location?: ("cluster"|"continent");
|
|
31630
31848
|
|
package/main/index.js
CHANGED
|
@@ -220,6 +220,8 @@
|
|
|
220
220
|
* @property {replit.goval.api.ReplspaceApiCloseFile|replit.goval.api.IReplspaceApiCloseFile|null} [replspaceApiCloseFile] Command replspaceApiCloseFile
|
|
221
221
|
* @property {replit.goval.api.ReplspaceApiGetGitHubToken|replit.goval.api.IReplspaceApiGetGitHubToken|null} [replspaceApiGetGitHubToken] Command replspaceApiGetGitHubToken
|
|
222
222
|
* @property {replit.goval.api.ReplspaceApiGitHubToken|replit.goval.api.IReplspaceApiGitHubToken|null} [replspaceApiGitHubToken] Command replspaceApiGitHubToken
|
|
223
|
+
* @property {replit.goval.api.ReplspaceApiGetBitbucketToken|replit.goval.api.IReplspaceApiGetBitbucketToken|null} [replspaceApiGetBitbucketToken] Command replspaceApiGetBitbucketToken
|
|
224
|
+
* @property {replit.goval.api.ReplspaceApiBitbucketToken|replit.goval.api.IReplspaceApiBitbucketToken|null} [replspaceApiBitbucketToken] Command replspaceApiBitbucketToken
|
|
223
225
|
* @property {replit.goval.api.Focused|replit.goval.api.IFocused|null} [focused] Command focused
|
|
224
226
|
* @property {replit.goval.api.NixModulesGetRequest|replit.goval.api.INixModulesGetRequest|null} [nixModulesGetRequest] Command nixModulesGetRequest
|
|
225
227
|
* @property {replit.goval.api.NixModulesGetResponse|replit.goval.api.INixModulesGetResponse|null} [nixModulesGetResponse] Command nixModulesGetResponse
|
|
@@ -1637,6 +1639,22 @@
|
|
|
1637
1639
|
*/
|
|
1638
1640
|
Command.prototype.replspaceApiGitHubToken = null;
|
|
1639
1641
|
|
|
1642
|
+
/**
|
|
1643
|
+
* Command replspaceApiGetBitbucketToken.
|
|
1644
|
+
* @member {replit.goval.api.ReplspaceApiGetBitbucketToken|null|undefined} replspaceApiGetBitbucketToken
|
|
1645
|
+
* @memberof replit.goval.api.Command
|
|
1646
|
+
* @instance
|
|
1647
|
+
*/
|
|
1648
|
+
Command.prototype.replspaceApiGetBitbucketToken = null;
|
|
1649
|
+
|
|
1650
|
+
/**
|
|
1651
|
+
* Command replspaceApiBitbucketToken.
|
|
1652
|
+
* @member {replit.goval.api.ReplspaceApiBitbucketToken|null|undefined} replspaceApiBitbucketToken
|
|
1653
|
+
* @memberof replit.goval.api.Command
|
|
1654
|
+
* @instance
|
|
1655
|
+
*/
|
|
1656
|
+
Command.prototype.replspaceApiBitbucketToken = null;
|
|
1657
|
+
|
|
1640
1658
|
/**
|
|
1641
1659
|
* Command focused.
|
|
1642
1660
|
* @member {replit.goval.api.Focused|null|undefined} focused
|
|
@@ -1898,12 +1916,12 @@
|
|
|
1898
1916
|
|
|
1899
1917
|
/**
|
|
1900
1918
|
* Command body.
|
|
1901
|
-
* @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"|"ot"|"otstatus"|"otLinkFile"|"otLinkFileResponse"|"otNewCursor"|"otDeleteCursor"|"otFetchRequest"|"otFetchResponse"|"otTransformSelectionRequest"|"otTransformSelectionResponse"|"flush"|"otFlushNotification"|"debug"|"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"|"paneMetricsTracker"|"nixModuleConfigGetRequest"|"nixModuleConfigGetResponse"|"nixModuleConfigSetRequest"|"nixModuleConfigSetResponse"|"replspaceApiSSHTokenGetRequest"|"replspaceApiSSHTokenGetResponse"|"secretsGetRequest"|"secretsGetResponse"|"secretsSetRequest"|"externalSecretsGetRequest"|"externalSecretsGetResponse"|"externalSecretsSetRequest"|"replResourcesUpdateNotification"|"pid1RefreshSecrets"|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"|"ot"|"otstatus"|"otLinkFile"|"otLinkFileResponse"|"otNewCursor"|"otDeleteCursor"|"otFetchRequest"|"otFetchResponse"|"otTransformSelectionRequest"|"otTransformSelectionResponse"|"flush"|"otFlushNotification"|"debug"|"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"|"replspaceApiGetBitbucketToken"|"replspaceApiBitbucketToken"|"focused"|"nixModulesGetRequest"|"nixModulesGetResponse"|"nixModulesChanged"|"nixModulesBuildRequest"|"packageSetPackagerRequest"|"packageSetPackagerResp"|"toolchainGetRequest"|"toolchainGetResponse"|"toolchainChanged"|"replspaceApiOpenMultipleFiles"|"nixModulesGetRegistryRequest"|"nixModulesGetRegistryResponse"|"replspaceApiShellTracker"|"paneMetricsTracker"|"nixModuleConfigGetRequest"|"nixModuleConfigGetResponse"|"nixModuleConfigSetRequest"|"nixModuleConfigSetResponse"|"replspaceApiSSHTokenGetRequest"|"replspaceApiSSHTokenGetResponse"|"secretsGetRequest"|"secretsGetResponse"|"secretsSetRequest"|"externalSecretsGetRequest"|"externalSecretsGetResponse"|"externalSecretsSetRequest"|"replResourcesUpdateNotification"|"pid1RefreshSecrets"|undefined} body
|
|
1902
1920
|
* @memberof replit.goval.api.Command
|
|
1903
1921
|
* @instance
|
|
1904
1922
|
*/
|
|
1905
1923
|
Object.defineProperty(Command.prototype, "body", {
|
|
1906
|
-
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", "ot", "otstatus", "otLinkFile", "otLinkFileResponse", "otNewCursor", "otDeleteCursor", "otFetchRequest", "otFetchResponse", "otTransformSelectionRequest", "otTransformSelectionResponse", "flush", "otFlushNotification", "debug", "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", "paneMetricsTracker", "nixModuleConfigGetRequest", "nixModuleConfigGetResponse", "nixModuleConfigSetRequest", "nixModuleConfigSetResponse", "replspaceApiSSHTokenGetRequest", "replspaceApiSSHTokenGetResponse", "secretsGetRequest", "secretsGetResponse", "secretsSetRequest", "externalSecretsGetRequest", "externalSecretsGetResponse", "externalSecretsSetRequest", "replResourcesUpdateNotification", "pid1RefreshSecrets"]),
|
|
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", "ot", "otstatus", "otLinkFile", "otLinkFileResponse", "otNewCursor", "otDeleteCursor", "otFetchRequest", "otFetchResponse", "otTransformSelectionRequest", "otTransformSelectionResponse", "flush", "otFlushNotification", "debug", "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", "replspaceApiGetBitbucketToken", "replspaceApiBitbucketToken", "focused", "nixModulesGetRequest", "nixModulesGetResponse", "nixModulesChanged", "nixModulesBuildRequest", "packageSetPackagerRequest", "packageSetPackagerResp", "toolchainGetRequest", "toolchainGetResponse", "toolchainChanged", "replspaceApiOpenMultipleFiles", "nixModulesGetRegistryRequest", "nixModulesGetRegistryResponse", "replspaceApiShellTracker", "paneMetricsTracker", "nixModuleConfigGetRequest", "nixModuleConfigGetResponse", "nixModuleConfigSetRequest", "nixModuleConfigSetResponse", "replspaceApiSSHTokenGetRequest", "replspaceApiSSHTokenGetResponse", "secretsGetRequest", "secretsGetResponse", "secretsSetRequest", "externalSecretsGetRequest", "externalSecretsGetResponse", "externalSecretsSetRequest", "replResourcesUpdateNotification", "pid1RefreshSecrets"]),
|
|
1907
1925
|
set: $util.oneOfSetter($oneOfFields)
|
|
1908
1926
|
});
|
|
1909
1927
|
|
|
@@ -2327,6 +2345,10 @@
|
|
|
2327
2345
|
$root.replit.goval.api.ExternalSecretsGetResponse.encode(message.externalSecretsGetResponse, writer.uint32(/* id 470, wireType 2 =*/3762).fork()).ldelim();
|
|
2328
2346
|
if (message.externalSecretsSetRequest != null && Object.hasOwnProperty.call(message, "externalSecretsSetRequest"))
|
|
2329
2347
|
$root.replit.goval.api.ExternalSecretsSetRequest.encode(message.externalSecretsSetRequest, writer.uint32(/* id 471, wireType 2 =*/3770).fork()).ldelim();
|
|
2348
|
+
if (message.replspaceApiGetBitbucketToken != null && Object.hasOwnProperty.call(message, "replspaceApiGetBitbucketToken"))
|
|
2349
|
+
$root.replit.goval.api.ReplspaceApiGetBitbucketToken.encode(message.replspaceApiGetBitbucketToken, writer.uint32(/* id 472, wireType 2 =*/3778).fork()).ldelim();
|
|
2350
|
+
if (message.replspaceApiBitbucketToken != null && Object.hasOwnProperty.call(message, "replspaceApiBitbucketToken"))
|
|
2351
|
+
$root.replit.goval.api.ReplspaceApiBitbucketToken.encode(message.replspaceApiBitbucketToken, writer.uint32(/* id 473, wireType 2 =*/3786).fork()).ldelim();
|
|
2330
2352
|
if (message.replResourcesUpdateNotification != null && Object.hasOwnProperty.call(message, "replResourcesUpdateNotification"))
|
|
2331
2353
|
$root.replit.goval.api.ReplResourcesUpdateNotification.encode(message.replResourcesUpdateNotification, writer.uint32(/* id 600, wireType 2 =*/4802).fork()).ldelim();
|
|
2332
2354
|
if (message.pid1RefreshSecrets != null && Object.hasOwnProperty.call(message, "pid1RefreshSecrets"))
|
|
@@ -3056,6 +3078,14 @@
|
|
|
3056
3078
|
message.replspaceApiGitHubToken = $root.replit.goval.api.ReplspaceApiGitHubToken.decode(reader, reader.uint32());
|
|
3057
3079
|
break;
|
|
3058
3080
|
}
|
|
3081
|
+
case 472: {
|
|
3082
|
+
message.replspaceApiGetBitbucketToken = $root.replit.goval.api.ReplspaceApiGetBitbucketToken.decode(reader, reader.uint32());
|
|
3083
|
+
break;
|
|
3084
|
+
}
|
|
3085
|
+
case 473: {
|
|
3086
|
+
message.replspaceApiBitbucketToken = $root.replit.goval.api.ReplspaceApiBitbucketToken.decode(reader, reader.uint32());
|
|
3087
|
+
break;
|
|
3088
|
+
}
|
|
3059
3089
|
case 428: {
|
|
3060
3090
|
message.focused = $root.replit.goval.api.Focused.decode(reader, reader.uint32());
|
|
3061
3091
|
break;
|
|
@@ -4899,6 +4929,26 @@
|
|
|
4899
4929
|
return "replspaceApiGitHubToken." + error;
|
|
4900
4930
|
}
|
|
4901
4931
|
}
|
|
4932
|
+
if (message.replspaceApiGetBitbucketToken != null && message.hasOwnProperty("replspaceApiGetBitbucketToken")) {
|
|
4933
|
+
if (properties.body === 1)
|
|
4934
|
+
return "body: multiple values";
|
|
4935
|
+
properties.body = 1;
|
|
4936
|
+
{
|
|
4937
|
+
var error = $root.replit.goval.api.ReplspaceApiGetBitbucketToken.verify(message.replspaceApiGetBitbucketToken);
|
|
4938
|
+
if (error)
|
|
4939
|
+
return "replspaceApiGetBitbucketToken." + error;
|
|
4940
|
+
}
|
|
4941
|
+
}
|
|
4942
|
+
if (message.replspaceApiBitbucketToken != null && message.hasOwnProperty("replspaceApiBitbucketToken")) {
|
|
4943
|
+
if (properties.body === 1)
|
|
4944
|
+
return "body: multiple values";
|
|
4945
|
+
properties.body = 1;
|
|
4946
|
+
{
|
|
4947
|
+
var error = $root.replit.goval.api.ReplspaceApiBitbucketToken.verify(message.replspaceApiBitbucketToken);
|
|
4948
|
+
if (error)
|
|
4949
|
+
return "replspaceApiBitbucketToken." + error;
|
|
4950
|
+
}
|
|
4951
|
+
}
|
|
4902
4952
|
if (message.focused != null && message.hasOwnProperty("focused")) {
|
|
4903
4953
|
if (properties.body === 1)
|
|
4904
4954
|
return "body: multiple values";
|
|
@@ -6042,6 +6092,16 @@
|
|
|
6042
6092
|
throw TypeError(".replit.goval.api.Command.replspaceApiGitHubToken: object expected");
|
|
6043
6093
|
message.replspaceApiGitHubToken = $root.replit.goval.api.ReplspaceApiGitHubToken.fromObject(object.replspaceApiGitHubToken);
|
|
6044
6094
|
}
|
|
6095
|
+
if (object.replspaceApiGetBitbucketToken != null) {
|
|
6096
|
+
if (typeof object.replspaceApiGetBitbucketToken !== "object")
|
|
6097
|
+
throw TypeError(".replit.goval.api.Command.replspaceApiGetBitbucketToken: object expected");
|
|
6098
|
+
message.replspaceApiGetBitbucketToken = $root.replit.goval.api.ReplspaceApiGetBitbucketToken.fromObject(object.replspaceApiGetBitbucketToken);
|
|
6099
|
+
}
|
|
6100
|
+
if (object.replspaceApiBitbucketToken != null) {
|
|
6101
|
+
if (typeof object.replspaceApiBitbucketToken !== "object")
|
|
6102
|
+
throw TypeError(".replit.goval.api.Command.replspaceApiBitbucketToken: object expected");
|
|
6103
|
+
message.replspaceApiBitbucketToken = $root.replit.goval.api.ReplspaceApiBitbucketToken.fromObject(object.replspaceApiBitbucketToken);
|
|
6104
|
+
}
|
|
6045
6105
|
if (object.focused != null) {
|
|
6046
6106
|
if (typeof object.focused !== "object")
|
|
6047
6107
|
throw TypeError(".replit.goval.api.Command.focused: object expected");
|
|
@@ -7206,6 +7266,16 @@
|
|
|
7206
7266
|
if (options.oneofs)
|
|
7207
7267
|
object.body = "externalSecretsSetRequest";
|
|
7208
7268
|
}
|
|
7269
|
+
if (message.replspaceApiGetBitbucketToken != null && message.hasOwnProperty("replspaceApiGetBitbucketToken")) {
|
|
7270
|
+
object.replspaceApiGetBitbucketToken = $root.replit.goval.api.ReplspaceApiGetBitbucketToken.toObject(message.replspaceApiGetBitbucketToken, options);
|
|
7271
|
+
if (options.oneofs)
|
|
7272
|
+
object.body = "replspaceApiGetBitbucketToken";
|
|
7273
|
+
}
|
|
7274
|
+
if (message.replspaceApiBitbucketToken != null && message.hasOwnProperty("replspaceApiBitbucketToken")) {
|
|
7275
|
+
object.replspaceApiBitbucketToken = $root.replit.goval.api.ReplspaceApiBitbucketToken.toObject(message.replspaceApiBitbucketToken, options);
|
|
7276
|
+
if (options.oneofs)
|
|
7277
|
+
object.body = "replspaceApiBitbucketToken";
|
|
7278
|
+
}
|
|
7209
7279
|
if (message.replResourcesUpdateNotification != null && message.hasOwnProperty("replResourcesUpdateNotification")) {
|
|
7210
7280
|
object.replResourcesUpdateNotification = $root.replit.goval.api.ReplResourcesUpdateNotification.toObject(message.replResourcesUpdateNotification, options);
|
|
7211
7281
|
if (options.oneofs)
|
|
@@ -32054,6 +32124,434 @@
|
|
|
32054
32124
|
return ReplspaceApiGitHubToken;
|
|
32055
32125
|
})();
|
|
32056
32126
|
|
|
32127
|
+
api.ReplspaceApiGetBitbucketToken = (function() {
|
|
32128
|
+
|
|
32129
|
+
/**
|
|
32130
|
+
* Properties of a ReplspaceApiGetBitbucketToken.
|
|
32131
|
+
* @memberof replit.goval.api
|
|
32132
|
+
* @interface IReplspaceApiGetBitbucketToken
|
|
32133
|
+
* @property {string|null} [nonce] ReplspaceApiGetBitbucketToken nonce
|
|
32134
|
+
*/
|
|
32135
|
+
|
|
32136
|
+
/**
|
|
32137
|
+
* Constructs a new ReplspaceApiGetBitbucketToken.
|
|
32138
|
+
* @memberof replit.goval.api
|
|
32139
|
+
* @classdesc Represents a ReplspaceApiGetBitbucketToken.
|
|
32140
|
+
* @constructor
|
|
32141
|
+
* @param {replit.goval.api.IReplspaceApiGetBitbucketToken=} [properties] Properties to set
|
|
32142
|
+
*/
|
|
32143
|
+
function ReplspaceApiGetBitbucketToken(properties) {
|
|
32144
|
+
if (properties)
|
|
32145
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
32146
|
+
if (properties[keys[i]] != null)
|
|
32147
|
+
this[keys[i]] = properties[keys[i]];
|
|
32148
|
+
}
|
|
32149
|
+
|
|
32150
|
+
/**
|
|
32151
|
+
* ReplspaceApiGetBitbucketToken nonce.
|
|
32152
|
+
* @member {string} nonce
|
|
32153
|
+
* @memberof replit.goval.api.ReplspaceApiGetBitbucketToken
|
|
32154
|
+
* @instance
|
|
32155
|
+
*/
|
|
32156
|
+
ReplspaceApiGetBitbucketToken.prototype.nonce = "";
|
|
32157
|
+
|
|
32158
|
+
/**
|
|
32159
|
+
* Creates a new ReplspaceApiGetBitbucketToken instance using the specified properties.
|
|
32160
|
+
* @function create
|
|
32161
|
+
* @memberof replit.goval.api.ReplspaceApiGetBitbucketToken
|
|
32162
|
+
* @static
|
|
32163
|
+
* @param {replit.goval.api.IReplspaceApiGetBitbucketToken=} [properties] Properties to set
|
|
32164
|
+
* @returns {replit.goval.api.ReplspaceApiGetBitbucketToken} ReplspaceApiGetBitbucketToken instance
|
|
32165
|
+
*/
|
|
32166
|
+
ReplspaceApiGetBitbucketToken.create = function create(properties) {
|
|
32167
|
+
return ReplspaceApiGetBitbucketToken.fromObject(properties);
|
|
32168
|
+
};
|
|
32169
|
+
|
|
32170
|
+
/**
|
|
32171
|
+
* Encodes the specified ReplspaceApiGetBitbucketToken message. Does not implicitly {@link replit.goval.api.ReplspaceApiGetBitbucketToken.verify|verify} messages.
|
|
32172
|
+
* @function encode
|
|
32173
|
+
* @memberof replit.goval.api.ReplspaceApiGetBitbucketToken
|
|
32174
|
+
* @static
|
|
32175
|
+
* @param {replit.goval.api.ReplspaceApiGetBitbucketToken} message ReplspaceApiGetBitbucketToken message or plain object to encode
|
|
32176
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
32177
|
+
* @returns {$protobuf.Writer} Writer
|
|
32178
|
+
*/
|
|
32179
|
+
ReplspaceApiGetBitbucketToken.encode = function encode(message, writer) {
|
|
32180
|
+
if (!writer)
|
|
32181
|
+
writer = $Writer.create();
|
|
32182
|
+
if (message.nonce != null && Object.hasOwnProperty.call(message, "nonce"))
|
|
32183
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.nonce);
|
|
32184
|
+
return writer;
|
|
32185
|
+
};
|
|
32186
|
+
|
|
32187
|
+
/**
|
|
32188
|
+
* Encodes the specified ReplspaceApiGetBitbucketToken message, length delimited. Does not implicitly {@link replit.goval.api.ReplspaceApiGetBitbucketToken.verify|verify} messages.
|
|
32189
|
+
* @function encodeDelimited
|
|
32190
|
+
* @memberof replit.goval.api.ReplspaceApiGetBitbucketToken
|
|
32191
|
+
* @static
|
|
32192
|
+
* @param {replit.goval.api.ReplspaceApiGetBitbucketToken} message ReplspaceApiGetBitbucketToken message or plain object to encode
|
|
32193
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
32194
|
+
* @returns {$protobuf.Writer} Writer
|
|
32195
|
+
*/
|
|
32196
|
+
ReplspaceApiGetBitbucketToken.encodeDelimited = function encodeDelimited(message, writer) {
|
|
32197
|
+
return this.encode(message, writer).ldelim();
|
|
32198
|
+
};
|
|
32199
|
+
|
|
32200
|
+
/**
|
|
32201
|
+
* Decodes a ReplspaceApiGetBitbucketToken message from the specified reader or buffer.
|
|
32202
|
+
* @function decode
|
|
32203
|
+
* @memberof replit.goval.api.ReplspaceApiGetBitbucketToken
|
|
32204
|
+
* @static
|
|
32205
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
32206
|
+
* @param {number} [length] Message length if known beforehand
|
|
32207
|
+
* @returns {replit.goval.api.ReplspaceApiGetBitbucketToken} ReplspaceApiGetBitbucketToken
|
|
32208
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
32209
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
32210
|
+
*/
|
|
32211
|
+
ReplspaceApiGetBitbucketToken.decode = function decode(reader, length) {
|
|
32212
|
+
if (!(reader instanceof $Reader))
|
|
32213
|
+
reader = $Reader.create(reader);
|
|
32214
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.ReplspaceApiGetBitbucketToken();
|
|
32215
|
+
while (reader.pos < end) {
|
|
32216
|
+
var tag = reader.uint32();
|
|
32217
|
+
switch (tag >>> 3) {
|
|
32218
|
+
case 1: {
|
|
32219
|
+
message.nonce = reader.string();
|
|
32220
|
+
break;
|
|
32221
|
+
}
|
|
32222
|
+
default:
|
|
32223
|
+
reader.skipType(tag & 7);
|
|
32224
|
+
break;
|
|
32225
|
+
}
|
|
32226
|
+
}
|
|
32227
|
+
return message;
|
|
32228
|
+
};
|
|
32229
|
+
|
|
32230
|
+
/**
|
|
32231
|
+
* Decodes a ReplspaceApiGetBitbucketToken message from the specified reader or buffer, length delimited.
|
|
32232
|
+
* @function decodeDelimited
|
|
32233
|
+
* @memberof replit.goval.api.ReplspaceApiGetBitbucketToken
|
|
32234
|
+
* @static
|
|
32235
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
32236
|
+
* @returns {replit.goval.api.ReplspaceApiGetBitbucketToken} ReplspaceApiGetBitbucketToken
|
|
32237
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
32238
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
32239
|
+
*/
|
|
32240
|
+
ReplspaceApiGetBitbucketToken.decodeDelimited = function decodeDelimited(reader) {
|
|
32241
|
+
if (!(reader instanceof $Reader))
|
|
32242
|
+
reader = new $Reader(reader);
|
|
32243
|
+
return this.decode(reader, reader.uint32());
|
|
32244
|
+
};
|
|
32245
|
+
|
|
32246
|
+
/**
|
|
32247
|
+
* Verifies a ReplspaceApiGetBitbucketToken message.
|
|
32248
|
+
* @function verify
|
|
32249
|
+
* @memberof replit.goval.api.ReplspaceApiGetBitbucketToken
|
|
32250
|
+
* @static
|
|
32251
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
32252
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
32253
|
+
*/
|
|
32254
|
+
ReplspaceApiGetBitbucketToken.verify = function verify(message) {
|
|
32255
|
+
if (typeof message !== "object" || message === null)
|
|
32256
|
+
return "object expected";
|
|
32257
|
+
if (message.nonce != null && message.hasOwnProperty("nonce"))
|
|
32258
|
+
if (!$util.isString(message.nonce))
|
|
32259
|
+
return "nonce: string expected";
|
|
32260
|
+
return null;
|
|
32261
|
+
};
|
|
32262
|
+
|
|
32263
|
+
/**
|
|
32264
|
+
* Creates a ReplspaceApiGetBitbucketToken message from a plain object. Also converts values to their respective internal types.
|
|
32265
|
+
* @function fromObject
|
|
32266
|
+
* @memberof replit.goval.api.ReplspaceApiGetBitbucketToken
|
|
32267
|
+
* @static
|
|
32268
|
+
* @param {Object.<string,*>} object Plain object
|
|
32269
|
+
* @returns {replit.goval.api.ReplspaceApiGetBitbucketToken} ReplspaceApiGetBitbucketToken
|
|
32270
|
+
*/
|
|
32271
|
+
ReplspaceApiGetBitbucketToken.fromObject = function fromObject(object) {
|
|
32272
|
+
if (object instanceof $root.replit.goval.api.ReplspaceApiGetBitbucketToken)
|
|
32273
|
+
return object;
|
|
32274
|
+
var message = new $root.replit.goval.api.ReplspaceApiGetBitbucketToken();
|
|
32275
|
+
if (object.nonce != null)
|
|
32276
|
+
message.nonce = String(object.nonce);
|
|
32277
|
+
return message;
|
|
32278
|
+
};
|
|
32279
|
+
|
|
32280
|
+
/**
|
|
32281
|
+
* Creates a plain object from a ReplspaceApiGetBitbucketToken message. Also converts values to other types if specified.
|
|
32282
|
+
* @function toObject
|
|
32283
|
+
* @memberof replit.goval.api.ReplspaceApiGetBitbucketToken
|
|
32284
|
+
* @static
|
|
32285
|
+
* @param {replit.goval.api.ReplspaceApiGetBitbucketToken} message ReplspaceApiGetBitbucketToken
|
|
32286
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
32287
|
+
* @returns {Object.<string,*>} Plain object
|
|
32288
|
+
*/
|
|
32289
|
+
ReplspaceApiGetBitbucketToken.toObject = function toObject(message, options) {
|
|
32290
|
+
if (!options)
|
|
32291
|
+
options = {};
|
|
32292
|
+
var object = {};
|
|
32293
|
+
if (options.defaults)
|
|
32294
|
+
object.nonce = "";
|
|
32295
|
+
if (message.nonce != null && message.hasOwnProperty("nonce"))
|
|
32296
|
+
object.nonce = message.nonce;
|
|
32297
|
+
return object;
|
|
32298
|
+
};
|
|
32299
|
+
|
|
32300
|
+
/**
|
|
32301
|
+
* Converts this ReplspaceApiGetBitbucketToken to JSON.
|
|
32302
|
+
* @function toJSON
|
|
32303
|
+
* @memberof replit.goval.api.ReplspaceApiGetBitbucketToken
|
|
32304
|
+
* @instance
|
|
32305
|
+
* @returns {Object.<string,*>} JSON object
|
|
32306
|
+
*/
|
|
32307
|
+
ReplspaceApiGetBitbucketToken.prototype.toJSON = function toJSON() {
|
|
32308
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
32309
|
+
};
|
|
32310
|
+
|
|
32311
|
+
/**
|
|
32312
|
+
* Gets the default type url for ReplspaceApiGetBitbucketToken
|
|
32313
|
+
* @function getTypeUrl
|
|
32314
|
+
* @memberof replit.goval.api.ReplspaceApiGetBitbucketToken
|
|
32315
|
+
* @static
|
|
32316
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
32317
|
+
* @returns {string} The default type url
|
|
32318
|
+
*/
|
|
32319
|
+
ReplspaceApiGetBitbucketToken.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
32320
|
+
if (typeUrlPrefix === undefined) {
|
|
32321
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
32322
|
+
}
|
|
32323
|
+
return typeUrlPrefix + "/replit.goval.api.ReplspaceApiGetBitbucketToken";
|
|
32324
|
+
};
|
|
32325
|
+
|
|
32326
|
+
return ReplspaceApiGetBitbucketToken;
|
|
32327
|
+
})();
|
|
32328
|
+
|
|
32329
|
+
api.ReplspaceApiBitbucketToken = (function() {
|
|
32330
|
+
|
|
32331
|
+
/**
|
|
32332
|
+
* Properties of a ReplspaceApiBitbucketToken.
|
|
32333
|
+
* @memberof replit.goval.api
|
|
32334
|
+
* @interface IReplspaceApiBitbucketToken
|
|
32335
|
+
* @property {string|null} [nonce] ReplspaceApiBitbucketToken nonce
|
|
32336
|
+
* @property {string|null} [token] ReplspaceApiBitbucketToken token
|
|
32337
|
+
*/
|
|
32338
|
+
|
|
32339
|
+
/**
|
|
32340
|
+
* Constructs a new ReplspaceApiBitbucketToken.
|
|
32341
|
+
* @memberof replit.goval.api
|
|
32342
|
+
* @classdesc Represents a ReplspaceApiBitbucketToken.
|
|
32343
|
+
* @constructor
|
|
32344
|
+
* @param {replit.goval.api.IReplspaceApiBitbucketToken=} [properties] Properties to set
|
|
32345
|
+
*/
|
|
32346
|
+
function ReplspaceApiBitbucketToken(properties) {
|
|
32347
|
+
if (properties)
|
|
32348
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
32349
|
+
if (properties[keys[i]] != null)
|
|
32350
|
+
this[keys[i]] = properties[keys[i]];
|
|
32351
|
+
}
|
|
32352
|
+
|
|
32353
|
+
/**
|
|
32354
|
+
* ReplspaceApiBitbucketToken nonce.
|
|
32355
|
+
* @member {string} nonce
|
|
32356
|
+
* @memberof replit.goval.api.ReplspaceApiBitbucketToken
|
|
32357
|
+
* @instance
|
|
32358
|
+
*/
|
|
32359
|
+
ReplspaceApiBitbucketToken.prototype.nonce = "";
|
|
32360
|
+
|
|
32361
|
+
/**
|
|
32362
|
+
* ReplspaceApiBitbucketToken token.
|
|
32363
|
+
* @member {string} token
|
|
32364
|
+
* @memberof replit.goval.api.ReplspaceApiBitbucketToken
|
|
32365
|
+
* @instance
|
|
32366
|
+
*/
|
|
32367
|
+
ReplspaceApiBitbucketToken.prototype.token = "";
|
|
32368
|
+
|
|
32369
|
+
/**
|
|
32370
|
+
* Creates a new ReplspaceApiBitbucketToken instance using the specified properties.
|
|
32371
|
+
* @function create
|
|
32372
|
+
* @memberof replit.goval.api.ReplspaceApiBitbucketToken
|
|
32373
|
+
* @static
|
|
32374
|
+
* @param {replit.goval.api.IReplspaceApiBitbucketToken=} [properties] Properties to set
|
|
32375
|
+
* @returns {replit.goval.api.ReplspaceApiBitbucketToken} ReplspaceApiBitbucketToken instance
|
|
32376
|
+
*/
|
|
32377
|
+
ReplspaceApiBitbucketToken.create = function create(properties) {
|
|
32378
|
+
return ReplspaceApiBitbucketToken.fromObject(properties);
|
|
32379
|
+
};
|
|
32380
|
+
|
|
32381
|
+
/**
|
|
32382
|
+
* Encodes the specified ReplspaceApiBitbucketToken message. Does not implicitly {@link replit.goval.api.ReplspaceApiBitbucketToken.verify|verify} messages.
|
|
32383
|
+
* @function encode
|
|
32384
|
+
* @memberof replit.goval.api.ReplspaceApiBitbucketToken
|
|
32385
|
+
* @static
|
|
32386
|
+
* @param {replit.goval.api.ReplspaceApiBitbucketToken} message ReplspaceApiBitbucketToken message or plain object to encode
|
|
32387
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
32388
|
+
* @returns {$protobuf.Writer} Writer
|
|
32389
|
+
*/
|
|
32390
|
+
ReplspaceApiBitbucketToken.encode = function encode(message, writer) {
|
|
32391
|
+
if (!writer)
|
|
32392
|
+
writer = $Writer.create();
|
|
32393
|
+
if (message.nonce != null && Object.hasOwnProperty.call(message, "nonce"))
|
|
32394
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.nonce);
|
|
32395
|
+
if (message.token != null && Object.hasOwnProperty.call(message, "token"))
|
|
32396
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.token);
|
|
32397
|
+
return writer;
|
|
32398
|
+
};
|
|
32399
|
+
|
|
32400
|
+
/**
|
|
32401
|
+
* Encodes the specified ReplspaceApiBitbucketToken message, length delimited. Does not implicitly {@link replit.goval.api.ReplspaceApiBitbucketToken.verify|verify} messages.
|
|
32402
|
+
* @function encodeDelimited
|
|
32403
|
+
* @memberof replit.goval.api.ReplspaceApiBitbucketToken
|
|
32404
|
+
* @static
|
|
32405
|
+
* @param {replit.goval.api.ReplspaceApiBitbucketToken} message ReplspaceApiBitbucketToken message or plain object to encode
|
|
32406
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
32407
|
+
* @returns {$protobuf.Writer} Writer
|
|
32408
|
+
*/
|
|
32409
|
+
ReplspaceApiBitbucketToken.encodeDelimited = function encodeDelimited(message, writer) {
|
|
32410
|
+
return this.encode(message, writer).ldelim();
|
|
32411
|
+
};
|
|
32412
|
+
|
|
32413
|
+
/**
|
|
32414
|
+
* Decodes a ReplspaceApiBitbucketToken message from the specified reader or buffer.
|
|
32415
|
+
* @function decode
|
|
32416
|
+
* @memberof replit.goval.api.ReplspaceApiBitbucketToken
|
|
32417
|
+
* @static
|
|
32418
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
32419
|
+
* @param {number} [length] Message length if known beforehand
|
|
32420
|
+
* @returns {replit.goval.api.ReplspaceApiBitbucketToken} ReplspaceApiBitbucketToken
|
|
32421
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
32422
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
32423
|
+
*/
|
|
32424
|
+
ReplspaceApiBitbucketToken.decode = function decode(reader, length) {
|
|
32425
|
+
if (!(reader instanceof $Reader))
|
|
32426
|
+
reader = $Reader.create(reader);
|
|
32427
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.replit.goval.api.ReplspaceApiBitbucketToken();
|
|
32428
|
+
while (reader.pos < end) {
|
|
32429
|
+
var tag = reader.uint32();
|
|
32430
|
+
switch (tag >>> 3) {
|
|
32431
|
+
case 1: {
|
|
32432
|
+
message.nonce = reader.string();
|
|
32433
|
+
break;
|
|
32434
|
+
}
|
|
32435
|
+
case 2: {
|
|
32436
|
+
message.token = reader.string();
|
|
32437
|
+
break;
|
|
32438
|
+
}
|
|
32439
|
+
default:
|
|
32440
|
+
reader.skipType(tag & 7);
|
|
32441
|
+
break;
|
|
32442
|
+
}
|
|
32443
|
+
}
|
|
32444
|
+
return message;
|
|
32445
|
+
};
|
|
32446
|
+
|
|
32447
|
+
/**
|
|
32448
|
+
* Decodes a ReplspaceApiBitbucketToken message from the specified reader or buffer, length delimited.
|
|
32449
|
+
* @function decodeDelimited
|
|
32450
|
+
* @memberof replit.goval.api.ReplspaceApiBitbucketToken
|
|
32451
|
+
* @static
|
|
32452
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
32453
|
+
* @returns {replit.goval.api.ReplspaceApiBitbucketToken} ReplspaceApiBitbucketToken
|
|
32454
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
32455
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
32456
|
+
*/
|
|
32457
|
+
ReplspaceApiBitbucketToken.decodeDelimited = function decodeDelimited(reader) {
|
|
32458
|
+
if (!(reader instanceof $Reader))
|
|
32459
|
+
reader = new $Reader(reader);
|
|
32460
|
+
return this.decode(reader, reader.uint32());
|
|
32461
|
+
};
|
|
32462
|
+
|
|
32463
|
+
/**
|
|
32464
|
+
* Verifies a ReplspaceApiBitbucketToken message.
|
|
32465
|
+
* @function verify
|
|
32466
|
+
* @memberof replit.goval.api.ReplspaceApiBitbucketToken
|
|
32467
|
+
* @static
|
|
32468
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
32469
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
32470
|
+
*/
|
|
32471
|
+
ReplspaceApiBitbucketToken.verify = function verify(message) {
|
|
32472
|
+
if (typeof message !== "object" || message === null)
|
|
32473
|
+
return "object expected";
|
|
32474
|
+
if (message.nonce != null && message.hasOwnProperty("nonce"))
|
|
32475
|
+
if (!$util.isString(message.nonce))
|
|
32476
|
+
return "nonce: string expected";
|
|
32477
|
+
if (message.token != null && message.hasOwnProperty("token"))
|
|
32478
|
+
if (!$util.isString(message.token))
|
|
32479
|
+
return "token: string expected";
|
|
32480
|
+
return null;
|
|
32481
|
+
};
|
|
32482
|
+
|
|
32483
|
+
/**
|
|
32484
|
+
* Creates a ReplspaceApiBitbucketToken message from a plain object. Also converts values to their respective internal types.
|
|
32485
|
+
* @function fromObject
|
|
32486
|
+
* @memberof replit.goval.api.ReplspaceApiBitbucketToken
|
|
32487
|
+
* @static
|
|
32488
|
+
* @param {Object.<string,*>} object Plain object
|
|
32489
|
+
* @returns {replit.goval.api.ReplspaceApiBitbucketToken} ReplspaceApiBitbucketToken
|
|
32490
|
+
*/
|
|
32491
|
+
ReplspaceApiBitbucketToken.fromObject = function fromObject(object) {
|
|
32492
|
+
if (object instanceof $root.replit.goval.api.ReplspaceApiBitbucketToken)
|
|
32493
|
+
return object;
|
|
32494
|
+
var message = new $root.replit.goval.api.ReplspaceApiBitbucketToken();
|
|
32495
|
+
if (object.nonce != null)
|
|
32496
|
+
message.nonce = String(object.nonce);
|
|
32497
|
+
if (object.token != null)
|
|
32498
|
+
message.token = String(object.token);
|
|
32499
|
+
return message;
|
|
32500
|
+
};
|
|
32501
|
+
|
|
32502
|
+
/**
|
|
32503
|
+
* Creates a plain object from a ReplspaceApiBitbucketToken message. Also converts values to other types if specified.
|
|
32504
|
+
* @function toObject
|
|
32505
|
+
* @memberof replit.goval.api.ReplspaceApiBitbucketToken
|
|
32506
|
+
* @static
|
|
32507
|
+
* @param {replit.goval.api.ReplspaceApiBitbucketToken} message ReplspaceApiBitbucketToken
|
|
32508
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
32509
|
+
* @returns {Object.<string,*>} Plain object
|
|
32510
|
+
*/
|
|
32511
|
+
ReplspaceApiBitbucketToken.toObject = function toObject(message, options) {
|
|
32512
|
+
if (!options)
|
|
32513
|
+
options = {};
|
|
32514
|
+
var object = {};
|
|
32515
|
+
if (options.defaults) {
|
|
32516
|
+
object.nonce = "";
|
|
32517
|
+
object.token = "";
|
|
32518
|
+
}
|
|
32519
|
+
if (message.nonce != null && message.hasOwnProperty("nonce"))
|
|
32520
|
+
object.nonce = message.nonce;
|
|
32521
|
+
if (message.token != null && message.hasOwnProperty("token"))
|
|
32522
|
+
object.token = message.token;
|
|
32523
|
+
return object;
|
|
32524
|
+
};
|
|
32525
|
+
|
|
32526
|
+
/**
|
|
32527
|
+
* Converts this ReplspaceApiBitbucketToken to JSON.
|
|
32528
|
+
* @function toJSON
|
|
32529
|
+
* @memberof replit.goval.api.ReplspaceApiBitbucketToken
|
|
32530
|
+
* @instance
|
|
32531
|
+
* @returns {Object.<string,*>} JSON object
|
|
32532
|
+
*/
|
|
32533
|
+
ReplspaceApiBitbucketToken.prototype.toJSON = function toJSON() {
|
|
32534
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
32535
|
+
};
|
|
32536
|
+
|
|
32537
|
+
/**
|
|
32538
|
+
* Gets the default type url for ReplspaceApiBitbucketToken
|
|
32539
|
+
* @function getTypeUrl
|
|
32540
|
+
* @memberof replit.goval.api.ReplspaceApiBitbucketToken
|
|
32541
|
+
* @static
|
|
32542
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
32543
|
+
* @returns {string} The default type url
|
|
32544
|
+
*/
|
|
32545
|
+
ReplspaceApiBitbucketToken.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
32546
|
+
if (typeUrlPrefix === undefined) {
|
|
32547
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
32548
|
+
}
|
|
32549
|
+
return typeUrlPrefix + "/replit.goval.api.ReplspaceApiBitbucketToken";
|
|
32550
|
+
};
|
|
32551
|
+
|
|
32552
|
+
return ReplspaceApiBitbucketToken;
|
|
32553
|
+
})();
|
|
32554
|
+
|
|
32057
32555
|
api.ReplspaceApiOpenMultipleFiles = (function() {
|
|
32058
32556
|
|
|
32059
32557
|
/**
|
|
@@ -79940,6 +80438,7 @@
|
|
|
79940
80438
|
* @property {string|null} [continent] CreateReplRequest continent
|
|
79941
80439
|
* @property {replit.goval.api.lore.ReplLocation|replit.goval.api.lore.IReplLocation|null} [replLocation] CreateReplRequest replLocation
|
|
79942
80440
|
* @property {replit.goval.api.lore.CreateReplRequest.SourceRepl|replit.goval.api.lore.CreateReplRequest.ISourceRepl|null} [sourceRepl] CreateReplRequest sourceRepl
|
|
80441
|
+
* @property {boolean|null} [copyHelium] CreateReplRequest copyHelium
|
|
79943
80442
|
*/
|
|
79944
80443
|
|
|
79945
80444
|
/**
|
|
@@ -79996,6 +80495,14 @@
|
|
|
79996
80495
|
*/
|
|
79997
80496
|
CreateReplRequest.prototype.sourceRepl = null;
|
|
79998
80497
|
|
|
80498
|
+
/**
|
|
80499
|
+
* CreateReplRequest copyHelium.
|
|
80500
|
+
* @member {boolean} copyHelium
|
|
80501
|
+
* @memberof replit.goval.api.lore.CreateReplRequest
|
|
80502
|
+
* @instance
|
|
80503
|
+
*/
|
|
80504
|
+
CreateReplRequest.prototype.copyHelium = false;
|
|
80505
|
+
|
|
79999
80506
|
// OneOf field names bound to virtual getters and setters
|
|
80000
80507
|
var $oneOfFields;
|
|
80001
80508
|
|
|
@@ -80044,6 +80551,8 @@
|
|
|
80044
80551
|
writer.uint32(/* id 6, wireType 2 =*/50).string(message.continent);
|
|
80045
80552
|
if (message.replLocation != null && Object.hasOwnProperty.call(message, "replLocation"))
|
|
80046
80553
|
$root.replit.goval.api.lore.ReplLocation.encode(message.replLocation, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim();
|
|
80554
|
+
if (message.copyHelium != null && Object.hasOwnProperty.call(message, "copyHelium"))
|
|
80555
|
+
writer.uint32(/* id 8, wireType 0 =*/64).bool(message.copyHelium);
|
|
80047
80556
|
return writer;
|
|
80048
80557
|
};
|
|
80049
80558
|
|
|
@@ -80098,6 +80607,10 @@
|
|
|
80098
80607
|
message.sourceRepl = $root.replit.goval.api.lore.CreateReplRequest.SourceRepl.decode(reader, reader.uint32());
|
|
80099
80608
|
break;
|
|
80100
80609
|
}
|
|
80610
|
+
case 8: {
|
|
80611
|
+
message.copyHelium = reader.bool();
|
|
80612
|
+
break;
|
|
80613
|
+
}
|
|
80101
80614
|
default:
|
|
80102
80615
|
reader.skipType(tag & 7);
|
|
80103
80616
|
break;
|
|
@@ -80161,6 +80674,9 @@
|
|
|
80161
80674
|
if (error)
|
|
80162
80675
|
return "sourceRepl." + error;
|
|
80163
80676
|
}
|
|
80677
|
+
if (message.copyHelium != null && message.hasOwnProperty("copyHelium"))
|
|
80678
|
+
if (typeof message.copyHelium !== "boolean")
|
|
80679
|
+
return "copyHelium: boolean expected";
|
|
80164
80680
|
return null;
|
|
80165
80681
|
};
|
|
80166
80682
|
|
|
@@ -80195,6 +80711,8 @@
|
|
|
80195
80711
|
throw TypeError(".replit.goval.api.lore.CreateReplRequest.sourceRepl: object expected");
|
|
80196
80712
|
message.sourceRepl = $root.replit.goval.api.lore.CreateReplRequest.SourceRepl.fromObject(object.sourceRepl);
|
|
80197
80713
|
}
|
|
80714
|
+
if (object.copyHelium != null)
|
|
80715
|
+
message.copyHelium = Boolean(object.copyHelium);
|
|
80198
80716
|
return message;
|
|
80199
80717
|
};
|
|
80200
80718
|
|
|
@@ -80215,6 +80733,7 @@
|
|
|
80215
80733
|
object.repl = null;
|
|
80216
80734
|
object.sourceRepl = null;
|
|
80217
80735
|
object.replLocation = null;
|
|
80736
|
+
object.copyHelium = false;
|
|
80218
80737
|
}
|
|
80219
80738
|
if (message.repl != null && message.hasOwnProperty("repl"))
|
|
80220
80739
|
object.repl = $root.replit.goval.api.lore.CreateReplRequest.Repl.toObject(message.repl, options);
|
|
@@ -80232,6 +80751,8 @@
|
|
|
80232
80751
|
}
|
|
80233
80752
|
if (message.replLocation != null && message.hasOwnProperty("replLocation"))
|
|
80234
80753
|
object.replLocation = $root.replit.goval.api.lore.ReplLocation.toObject(message.replLocation, options);
|
|
80754
|
+
if (message.copyHelium != null && message.hasOwnProperty("copyHelium"))
|
|
80755
|
+
object.copyHelium = message.copyHelium;
|
|
80235
80756
|
return object;
|
|
80236
80757
|
};
|
|
80237
80758
|
|