@replit/protocol 0.4.15 → 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 +317 -2
- package/main/index.js +734 -4
- 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
|
|
|
@@ -35982,6 +36200,97 @@ export namespace replit {
|
|
|
35982
36200
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
35983
36201
|
}
|
|
35984
36202
|
|
|
36203
|
+
/** Properties of a Notary. */
|
|
36204
|
+
interface INotary {
|
|
36205
|
+
}
|
|
36206
|
+
|
|
36207
|
+
/** Represents a Notary. */
|
|
36208
|
+
class Notary {
|
|
36209
|
+
|
|
36210
|
+
/**
|
|
36211
|
+
* Constructs a new Notary.
|
|
36212
|
+
* @param [properties] Properties to set
|
|
36213
|
+
*/
|
|
36214
|
+
private constructor(properties?: replit.goval.api.features.INotary);
|
|
36215
|
+
|
|
36216
|
+
/**
|
|
36217
|
+
* Creates a new Notary instance using the specified properties.
|
|
36218
|
+
* @param [properties] Properties to set
|
|
36219
|
+
* @returns Notary instance
|
|
36220
|
+
*/
|
|
36221
|
+
public static create(properties?: replit.goval.api.features.INotary): replit.goval.api.features.Notary;
|
|
36222
|
+
|
|
36223
|
+
/**
|
|
36224
|
+
* Encodes the specified Notary message. Does not implicitly {@link replit.goval.api.features.Notary.verify|verify} messages.
|
|
36225
|
+
* @param message Notary message or plain object to encode
|
|
36226
|
+
* @param [writer] Writer to encode to
|
|
36227
|
+
* @returns Writer
|
|
36228
|
+
*/
|
|
36229
|
+
public static encode(message: replit.goval.api.features.Notary, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
36230
|
+
|
|
36231
|
+
/**
|
|
36232
|
+
* Encodes the specified Notary message, length delimited. Does not implicitly {@link replit.goval.api.features.Notary.verify|verify} messages.
|
|
36233
|
+
* @param message Notary message or plain object to encode
|
|
36234
|
+
* @param [writer] Writer to encode to
|
|
36235
|
+
* @returns Writer
|
|
36236
|
+
*/
|
|
36237
|
+
public static encodeDelimited(message: replit.goval.api.features.Notary, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
36238
|
+
|
|
36239
|
+
/**
|
|
36240
|
+
* Decodes a Notary message from the specified reader or buffer.
|
|
36241
|
+
* @param reader Reader or buffer to decode from
|
|
36242
|
+
* @param [length] Message length if known beforehand
|
|
36243
|
+
* @returns Notary
|
|
36244
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
36245
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
36246
|
+
*/
|
|
36247
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.features.Notary;
|
|
36248
|
+
|
|
36249
|
+
/**
|
|
36250
|
+
* Decodes a Notary message from the specified reader or buffer, length delimited.
|
|
36251
|
+
* @param reader Reader or buffer to decode from
|
|
36252
|
+
* @returns Notary
|
|
36253
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
36254
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
36255
|
+
*/
|
|
36256
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.features.Notary;
|
|
36257
|
+
|
|
36258
|
+
/**
|
|
36259
|
+
* Verifies a Notary message.
|
|
36260
|
+
* @param message Plain object to verify
|
|
36261
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
36262
|
+
*/
|
|
36263
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
36264
|
+
|
|
36265
|
+
/**
|
|
36266
|
+
* Creates a Notary message from a plain object. Also converts values to their respective internal types.
|
|
36267
|
+
* @param object Plain object
|
|
36268
|
+
* @returns Notary
|
|
36269
|
+
*/
|
|
36270
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.features.Notary;
|
|
36271
|
+
|
|
36272
|
+
/**
|
|
36273
|
+
* Creates a plain object from a Notary message. Also converts values to other types if specified.
|
|
36274
|
+
* @param message Notary
|
|
36275
|
+
* @param [options] Conversion options
|
|
36276
|
+
* @returns Plain object
|
|
36277
|
+
*/
|
|
36278
|
+
public static toObject(message: replit.goval.api.features.Notary, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
36279
|
+
|
|
36280
|
+
/**
|
|
36281
|
+
* Converts this Notary to JSON.
|
|
36282
|
+
* @returns JSON object
|
|
36283
|
+
*/
|
|
36284
|
+
public toJSON(): { [k: string]: any };
|
|
36285
|
+
|
|
36286
|
+
/**
|
|
36287
|
+
* Gets the default type url for Notary
|
|
36288
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
36289
|
+
* @returns The default type url
|
|
36290
|
+
*/
|
|
36291
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
36292
|
+
}
|
|
36293
|
+
|
|
35985
36294
|
/** Properties of a Feature. */
|
|
35986
36295
|
interface IFeature {
|
|
35987
36296
|
|
|
@@ -35991,6 +36300,9 @@ export namespace replit {
|
|
|
35991
36300
|
/** Feature viktor */
|
|
35992
36301
|
viktor?: (replit.goval.api.features.Viktor|replit.goval.api.features.IViktor|null);
|
|
35993
36302
|
|
|
36303
|
+
/** Feature notary */
|
|
36304
|
+
notary?: (replit.goval.api.features.Notary|replit.goval.api.features.INotary|null);
|
|
36305
|
+
|
|
35994
36306
|
/** Feature required */
|
|
35995
36307
|
required?: (boolean|null);
|
|
35996
36308
|
}
|
|
@@ -36010,11 +36322,14 @@ export namespace replit {
|
|
|
36010
36322
|
/** Feature viktor. */
|
|
36011
36323
|
public viktor?: (replit.goval.api.features.Viktor|null);
|
|
36012
36324
|
|
|
36325
|
+
/** Feature notary. */
|
|
36326
|
+
public notary?: (replit.goval.api.features.Notary|null);
|
|
36327
|
+
|
|
36013
36328
|
/** Feature required. */
|
|
36014
36329
|
public required: boolean;
|
|
36015
36330
|
|
|
36016
36331
|
/** Feature feature. */
|
|
36017
|
-
public feature?: ("boosted"|"viktor");
|
|
36332
|
+
public feature?: ("boosted"|"viktor"|"notary");
|
|
36018
36333
|
|
|
36019
36334
|
/**
|
|
36020
36335
|
* Creates a new Feature instance using the specified properties.
|