@replit/protocol 0.4.16 → 0.4.18-luke-is-ent.0
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 +231 -1
- package/main/index.js +569 -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
|
|
|
@@ -28645,6 +28857,9 @@ export namespace replit {
|
|
|
28645
28857
|
|
|
28646
28858
|
/** GovalReplIdentity org */
|
|
28647
28859
|
org?: (replit.goval.api.repl.Org|replit.goval.api.repl.IOrg|null);
|
|
28860
|
+
|
|
28861
|
+
/** GovalReplIdentity isEnterprise */
|
|
28862
|
+
isEnterprise?: (boolean|null);
|
|
28648
28863
|
}
|
|
28649
28864
|
|
|
28650
28865
|
/** Represents a GovalReplIdentity. */
|
|
@@ -28698,6 +28913,9 @@ export namespace replit {
|
|
|
28698
28913
|
/** GovalReplIdentity org. */
|
|
28699
28914
|
public org?: (replit.goval.api.repl.Org|null);
|
|
28700
28915
|
|
|
28916
|
+
/** GovalReplIdentity isEnterprise. */
|
|
28917
|
+
public isEnterprise: boolean;
|
|
28918
|
+
|
|
28701
28919
|
/** GovalReplIdentity runtime. */
|
|
28702
28920
|
public runtime?: ("interactive"|"hosting"|"deployment");
|
|
28703
28921
|
|
|
@@ -31599,6 +31817,9 @@ export namespace replit {
|
|
|
31599
31817
|
|
|
31600
31818
|
/** CreateReplRequest sourceRepl */
|
|
31601
31819
|
sourceRepl?: (replit.goval.api.lore.CreateReplRequest.SourceRepl|replit.goval.api.lore.CreateReplRequest.ISourceRepl|null);
|
|
31820
|
+
|
|
31821
|
+
/** CreateReplRequest copyHelium */
|
|
31822
|
+
copyHelium?: (boolean|null);
|
|
31602
31823
|
}
|
|
31603
31824
|
|
|
31604
31825
|
/** Represents a CreateReplRequest. */
|
|
@@ -31625,6 +31846,9 @@ export namespace replit {
|
|
|
31625
31846
|
/** CreateReplRequest sourceRepl. */
|
|
31626
31847
|
public sourceRepl?: (replit.goval.api.lore.CreateReplRequest.SourceRepl|null);
|
|
31627
31848
|
|
|
31849
|
+
/** CreateReplRequest copyHelium. */
|
|
31850
|
+
public copyHelium: boolean;
|
|
31851
|
+
|
|
31628
31852
|
/** CreateReplRequest location. */
|
|
31629
31853
|
public location?: ("cluster"|"continent");
|
|
31630
31854
|
|
|
@@ -36490,6 +36714,9 @@ export namespace replit {
|
|
|
36490
36714
|
|
|
36491
36715
|
/** Org slug */
|
|
36492
36716
|
slug?: (string|null);
|
|
36717
|
+
|
|
36718
|
+
/** Org isEnterprise */
|
|
36719
|
+
isEnterprise?: (boolean|null);
|
|
36493
36720
|
}
|
|
36494
36721
|
|
|
36495
36722
|
/** Represents an Org. */
|
|
@@ -36510,6 +36737,9 @@ export namespace replit {
|
|
|
36510
36737
|
/** Org slug. */
|
|
36511
36738
|
public slug: string;
|
|
36512
36739
|
|
|
36740
|
+
/** Org isEnterprise. */
|
|
36741
|
+
public isEnterprise: boolean;
|
|
36742
|
+
|
|
36513
36743
|
/**
|
|
36514
36744
|
* Creates a new Org instance using the specified properties.
|
|
36515
36745
|
* @param [properties] Properties to set
|
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
|
/**
|
|
@@ -72400,6 +72898,7 @@
|
|
|
72400
72898
|
* @property {replit.goval.api.ReplRuntimeHosting|replit.goval.api.IReplRuntimeHosting|null} [hosting] GovalReplIdentity hosting
|
|
72401
72899
|
* @property {replit.goval.api.ReplRuntimeDeployment|replit.goval.api.IReplRuntimeDeployment|null} [deployment] GovalReplIdentity deployment
|
|
72402
72900
|
* @property {replit.goval.api.repl.Org|replit.goval.api.repl.IOrg|null} [org] GovalReplIdentity org
|
|
72901
|
+
* @property {boolean|null} [isEnterprise] GovalReplIdentity isEnterprise
|
|
72403
72902
|
*/
|
|
72404
72903
|
|
|
72405
72904
|
/**
|
|
@@ -72529,6 +73028,14 @@
|
|
|
72529
73028
|
*/
|
|
72530
73029
|
GovalReplIdentity.prototype.org = null;
|
|
72531
73030
|
|
|
73031
|
+
/**
|
|
73032
|
+
* GovalReplIdentity isEnterprise.
|
|
73033
|
+
* @member {boolean} isEnterprise
|
|
73034
|
+
* @memberof replit.goval.api.GovalReplIdentity
|
|
73035
|
+
* @instance
|
|
73036
|
+
*/
|
|
73037
|
+
GovalReplIdentity.prototype.isEnterprise = false;
|
|
73038
|
+
|
|
72532
73039
|
// OneOf field names bound to virtual getters and setters
|
|
72533
73040
|
var $oneOfFields;
|
|
72534
73041
|
|
|
@@ -72596,6 +73103,8 @@
|
|
|
72596
73103
|
$root.replit.goval.api.ReplRuntimeHosting.encode(message.hosting, writer.uint32(/* id 13, wireType 2 =*/106).fork()).ldelim();
|
|
72597
73104
|
if (message.org != null && Object.hasOwnProperty.call(message, "org"))
|
|
72598
73105
|
$root.replit.goval.api.repl.Org.encode(message.org, writer.uint32(/* id 14, wireType 2 =*/114).fork()).ldelim();
|
|
73106
|
+
if (message.isEnterprise != null && Object.hasOwnProperty.call(message, "isEnterprise"))
|
|
73107
|
+
writer.uint32(/* id 15, wireType 0 =*/120).bool(message.isEnterprise);
|
|
72599
73108
|
return writer;
|
|
72600
73109
|
};
|
|
72601
73110
|
|
|
@@ -72688,6 +73197,10 @@
|
|
|
72688
73197
|
message.org = $root.replit.goval.api.repl.Org.decode(reader, reader.uint32());
|
|
72689
73198
|
break;
|
|
72690
73199
|
}
|
|
73200
|
+
case 15: {
|
|
73201
|
+
message.isEnterprise = reader.bool();
|
|
73202
|
+
break;
|
|
73203
|
+
}
|
|
72691
73204
|
default:
|
|
72692
73205
|
reader.skipType(tag & 7);
|
|
72693
73206
|
break;
|
|
@@ -72793,6 +73306,9 @@
|
|
|
72793
73306
|
if (error)
|
|
72794
73307
|
return "org." + error;
|
|
72795
73308
|
}
|
|
73309
|
+
if (message.isEnterprise != null && message.hasOwnProperty("isEnterprise"))
|
|
73310
|
+
if (typeof message.isEnterprise !== "boolean")
|
|
73311
|
+
return "isEnterprise: boolean expected";
|
|
72796
73312
|
return null;
|
|
72797
73313
|
};
|
|
72798
73314
|
|
|
@@ -72863,6 +73379,8 @@
|
|
|
72863
73379
|
throw TypeError(".replit.goval.api.GovalReplIdentity.org: object expected");
|
|
72864
73380
|
message.org = $root.replit.goval.api.repl.Org.fromObject(object.org);
|
|
72865
73381
|
}
|
|
73382
|
+
if (object.isEnterprise != null)
|
|
73383
|
+
message.isEnterprise = Boolean(object.isEnterprise);
|
|
72866
73384
|
return message;
|
|
72867
73385
|
};
|
|
72868
73386
|
|
|
@@ -72896,6 +73414,7 @@
|
|
|
72896
73414
|
object.buildInfo = null;
|
|
72897
73415
|
object.isTeam = false;
|
|
72898
73416
|
object.org = null;
|
|
73417
|
+
object.isEnterprise = false;
|
|
72899
73418
|
}
|
|
72900
73419
|
if (message.replid != null && message.hasOwnProperty("replid"))
|
|
72901
73420
|
object.replid = message.replid;
|
|
@@ -72940,6 +73459,8 @@
|
|
|
72940
73459
|
}
|
|
72941
73460
|
if (message.org != null && message.hasOwnProperty("org"))
|
|
72942
73461
|
object.org = $root.replit.goval.api.repl.Org.toObject(message.org, options);
|
|
73462
|
+
if (message.isEnterprise != null && message.hasOwnProperty("isEnterprise"))
|
|
73463
|
+
object.isEnterprise = message.isEnterprise;
|
|
72943
73464
|
return object;
|
|
72944
73465
|
};
|
|
72945
73466
|
|
|
@@ -79940,6 +80461,7 @@
|
|
|
79940
80461
|
* @property {string|null} [continent] CreateReplRequest continent
|
|
79941
80462
|
* @property {replit.goval.api.lore.ReplLocation|replit.goval.api.lore.IReplLocation|null} [replLocation] CreateReplRequest replLocation
|
|
79942
80463
|
* @property {replit.goval.api.lore.CreateReplRequest.SourceRepl|replit.goval.api.lore.CreateReplRequest.ISourceRepl|null} [sourceRepl] CreateReplRequest sourceRepl
|
|
80464
|
+
* @property {boolean|null} [copyHelium] CreateReplRequest copyHelium
|
|
79943
80465
|
*/
|
|
79944
80466
|
|
|
79945
80467
|
/**
|
|
@@ -79996,6 +80518,14 @@
|
|
|
79996
80518
|
*/
|
|
79997
80519
|
CreateReplRequest.prototype.sourceRepl = null;
|
|
79998
80520
|
|
|
80521
|
+
/**
|
|
80522
|
+
* CreateReplRequest copyHelium.
|
|
80523
|
+
* @member {boolean} copyHelium
|
|
80524
|
+
* @memberof replit.goval.api.lore.CreateReplRequest
|
|
80525
|
+
* @instance
|
|
80526
|
+
*/
|
|
80527
|
+
CreateReplRequest.prototype.copyHelium = false;
|
|
80528
|
+
|
|
79999
80529
|
// OneOf field names bound to virtual getters and setters
|
|
80000
80530
|
var $oneOfFields;
|
|
80001
80531
|
|
|
@@ -80044,6 +80574,8 @@
|
|
|
80044
80574
|
writer.uint32(/* id 6, wireType 2 =*/50).string(message.continent);
|
|
80045
80575
|
if (message.replLocation != null && Object.hasOwnProperty.call(message, "replLocation"))
|
|
80046
80576
|
$root.replit.goval.api.lore.ReplLocation.encode(message.replLocation, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim();
|
|
80577
|
+
if (message.copyHelium != null && Object.hasOwnProperty.call(message, "copyHelium"))
|
|
80578
|
+
writer.uint32(/* id 8, wireType 0 =*/64).bool(message.copyHelium);
|
|
80047
80579
|
return writer;
|
|
80048
80580
|
};
|
|
80049
80581
|
|
|
@@ -80098,6 +80630,10 @@
|
|
|
80098
80630
|
message.sourceRepl = $root.replit.goval.api.lore.CreateReplRequest.SourceRepl.decode(reader, reader.uint32());
|
|
80099
80631
|
break;
|
|
80100
80632
|
}
|
|
80633
|
+
case 8: {
|
|
80634
|
+
message.copyHelium = reader.bool();
|
|
80635
|
+
break;
|
|
80636
|
+
}
|
|
80101
80637
|
default:
|
|
80102
80638
|
reader.skipType(tag & 7);
|
|
80103
80639
|
break;
|
|
@@ -80161,6 +80697,9 @@
|
|
|
80161
80697
|
if (error)
|
|
80162
80698
|
return "sourceRepl." + error;
|
|
80163
80699
|
}
|
|
80700
|
+
if (message.copyHelium != null && message.hasOwnProperty("copyHelium"))
|
|
80701
|
+
if (typeof message.copyHelium !== "boolean")
|
|
80702
|
+
return "copyHelium: boolean expected";
|
|
80164
80703
|
return null;
|
|
80165
80704
|
};
|
|
80166
80705
|
|
|
@@ -80195,6 +80734,8 @@
|
|
|
80195
80734
|
throw TypeError(".replit.goval.api.lore.CreateReplRequest.sourceRepl: object expected");
|
|
80196
80735
|
message.sourceRepl = $root.replit.goval.api.lore.CreateReplRequest.SourceRepl.fromObject(object.sourceRepl);
|
|
80197
80736
|
}
|
|
80737
|
+
if (object.copyHelium != null)
|
|
80738
|
+
message.copyHelium = Boolean(object.copyHelium);
|
|
80198
80739
|
return message;
|
|
80199
80740
|
};
|
|
80200
80741
|
|
|
@@ -80215,6 +80756,7 @@
|
|
|
80215
80756
|
object.repl = null;
|
|
80216
80757
|
object.sourceRepl = null;
|
|
80217
80758
|
object.replLocation = null;
|
|
80759
|
+
object.copyHelium = false;
|
|
80218
80760
|
}
|
|
80219
80761
|
if (message.repl != null && message.hasOwnProperty("repl"))
|
|
80220
80762
|
object.repl = $root.replit.goval.api.lore.CreateReplRequest.Repl.toObject(message.repl, options);
|
|
@@ -80232,6 +80774,8 @@
|
|
|
80232
80774
|
}
|
|
80233
80775
|
if (message.replLocation != null && message.hasOwnProperty("replLocation"))
|
|
80234
80776
|
object.replLocation = $root.replit.goval.api.lore.ReplLocation.toObject(message.replLocation, options);
|
|
80777
|
+
if (message.copyHelium != null && message.hasOwnProperty("copyHelium"))
|
|
80778
|
+
object.copyHelium = message.copyHelium;
|
|
80235
80779
|
return object;
|
|
80236
80780
|
};
|
|
80237
80781
|
|
|
@@ -90808,6 +91352,7 @@
|
|
|
90808
91352
|
* @property {string|null} [id] Org id
|
|
90809
91353
|
* @property {replit.goval.api.repl.Org.OrgType|null} [type] Org type
|
|
90810
91354
|
* @property {string|null} [slug] Org slug
|
|
91355
|
+
* @property {boolean|null} [isEnterprise] Org isEnterprise
|
|
90811
91356
|
*/
|
|
90812
91357
|
|
|
90813
91358
|
/**
|
|
@@ -90848,6 +91393,14 @@
|
|
|
90848
91393
|
*/
|
|
90849
91394
|
Org.prototype.slug = "";
|
|
90850
91395
|
|
|
91396
|
+
/**
|
|
91397
|
+
* Org isEnterprise.
|
|
91398
|
+
* @member {boolean} isEnterprise
|
|
91399
|
+
* @memberof replit.goval.api.repl.Org
|
|
91400
|
+
* @instance
|
|
91401
|
+
*/
|
|
91402
|
+
Org.prototype.isEnterprise = false;
|
|
91403
|
+
|
|
90851
91404
|
/**
|
|
90852
91405
|
* Creates a new Org instance using the specified properties.
|
|
90853
91406
|
* @function create
|
|
@@ -90878,6 +91431,8 @@
|
|
|
90878
91431
|
writer.uint32(/* id 2, wireType 0 =*/16).int32(message.type);
|
|
90879
91432
|
if (message.slug != null && Object.hasOwnProperty.call(message, "slug"))
|
|
90880
91433
|
writer.uint32(/* id 3, wireType 2 =*/26).string(message.slug);
|
|
91434
|
+
if (message.isEnterprise != null && Object.hasOwnProperty.call(message, "isEnterprise"))
|
|
91435
|
+
writer.uint32(/* id 4, wireType 0 =*/32).bool(message.isEnterprise);
|
|
90881
91436
|
return writer;
|
|
90882
91437
|
};
|
|
90883
91438
|
|
|
@@ -90924,6 +91479,10 @@
|
|
|
90924
91479
|
message.slug = reader.string();
|
|
90925
91480
|
break;
|
|
90926
91481
|
}
|
|
91482
|
+
case 4: {
|
|
91483
|
+
message.isEnterprise = reader.bool();
|
|
91484
|
+
break;
|
|
91485
|
+
}
|
|
90927
91486
|
default:
|
|
90928
91487
|
reader.skipType(tag & 7);
|
|
90929
91488
|
break;
|
|
@@ -90974,6 +91533,9 @@
|
|
|
90974
91533
|
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
90975
91534
|
if (!$util.isString(message.slug))
|
|
90976
91535
|
return "slug: string expected";
|
|
91536
|
+
if (message.isEnterprise != null && message.hasOwnProperty("isEnterprise"))
|
|
91537
|
+
if (typeof message.isEnterprise !== "boolean")
|
|
91538
|
+
return "isEnterprise: boolean expected";
|
|
90977
91539
|
return null;
|
|
90978
91540
|
};
|
|
90979
91541
|
|
|
@@ -91013,6 +91575,8 @@
|
|
|
91013
91575
|
}
|
|
91014
91576
|
if (object.slug != null)
|
|
91015
91577
|
message.slug = String(object.slug);
|
|
91578
|
+
if (object.isEnterprise != null)
|
|
91579
|
+
message.isEnterprise = Boolean(object.isEnterprise);
|
|
91016
91580
|
return message;
|
|
91017
91581
|
};
|
|
91018
91582
|
|
|
@@ -91033,6 +91597,7 @@
|
|
|
91033
91597
|
object.id = "";
|
|
91034
91598
|
object.type = options.enums === String ? "TYPE_UNSPECIFIED" : 0;
|
|
91035
91599
|
object.slug = "";
|
|
91600
|
+
object.isEnterprise = false;
|
|
91036
91601
|
}
|
|
91037
91602
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
91038
91603
|
object.id = message.id;
|
|
@@ -91040,6 +91605,8 @@
|
|
|
91040
91605
|
object.type = options.enums === String ? $root.replit.goval.api.repl.Org.OrgType[message.type] === undefined ? message.type : $root.replit.goval.api.repl.Org.OrgType[message.type] : message.type;
|
|
91041
91606
|
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
91042
91607
|
object.slug = message.slug;
|
|
91608
|
+
if (message.isEnterprise != null && message.hasOwnProperty("isEnterprise"))
|
|
91609
|
+
object.isEnterprise = message.isEnterprise;
|
|
91043
91610
|
return object;
|
|
91044
91611
|
};
|
|
91045
91612
|
|