@replit/protocol 0.2.87 → 0.2.89
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 +209 -2
- package/main/index.js +517 -7
- package/main/index.js.flow +299 -2
- package/package.json +1 -1
- package/yarn-error.log +386 -0
package/main/index.d.ts
CHANGED
|
@@ -512,6 +512,12 @@ export namespace replit {
|
|
|
512
512
|
/** Command replspaceApiCloseFile */
|
|
513
513
|
replspaceApiCloseFile?: (replit.goval.api.ReplspaceApiCloseFile|replit.goval.api.IReplspaceApiCloseFile|null);
|
|
514
514
|
|
|
515
|
+
/** Command replspaceApiGetGitHubToken */
|
|
516
|
+
replspaceApiGetGitHubToken?: (replit.goval.api.ReplspaceApiGetGitHubToken|replit.goval.api.IReplspaceApiGetGitHubToken|null);
|
|
517
|
+
|
|
518
|
+
/** Command replspaceApiGitHubToken */
|
|
519
|
+
replspaceApiGitHubToken?: (replit.goval.api.ReplspaceApiGitHubToken|replit.goval.api.IReplspaceApiGitHubToken|null);
|
|
520
|
+
|
|
515
521
|
/** Command ref */
|
|
516
522
|
ref?: (string|null);
|
|
517
523
|
|
|
@@ -1029,6 +1035,12 @@ export namespace replit {
|
|
|
1029
1035
|
/** Command replspaceApiCloseFile. */
|
|
1030
1036
|
public replspaceApiCloseFile?: (replit.goval.api.ReplspaceApiCloseFile|null);
|
|
1031
1037
|
|
|
1038
|
+
/** Command replspaceApiGetGitHubToken. */
|
|
1039
|
+
public replspaceApiGetGitHubToken?: (replit.goval.api.ReplspaceApiGetGitHubToken|null);
|
|
1040
|
+
|
|
1041
|
+
/** Command replspaceApiGitHubToken. */
|
|
1042
|
+
public replspaceApiGitHubToken?: (replit.goval.api.ReplspaceApiGitHubToken|null);
|
|
1043
|
+
|
|
1032
1044
|
/** Command ref. */
|
|
1033
1045
|
public ref: string;
|
|
1034
1046
|
|
|
@@ -1036,7 +1048,7 @@ export namespace replit {
|
|
|
1036
1048
|
public traceInfo: { [k: string]: string };
|
|
1037
1049
|
|
|
1038
1050
|
/** Command body. */
|
|
1039
|
-
public body?: ("openChan"|"openChanRes"|"closeChan"|"closeChanRes"|"containerState"|"portOpen"|"portClose"|"toast"|"protocolError"|"redirect"|"alwaysOn"|"runMain"|"clear"|"eval"|"result"|"input"|"output"|"error"|"stderr"|"log"|"record"|"saneTerm"|"resizeTerm"|"state"|"ok"|"persist"|"persistMirror"|"write"|"remove"|"move"|"tryRemove"|"mkdir"|"stat"|"statRes"|"transferStart"|"transferChunk"|"transferComplete"|"transferCancel"|"transfer"|"read"|"readdir"|"files"|"file"|"checkChanges"|"changedFiles"|"lintResults"|"runContainedTest"|"testResult"|"debuggerStart"|"debuggerStep"|"debuggerStatus"|"ensurePackages"|"ping"|"pong"|"hello"|"goodbye"|"proxyGoingAway"|"hint"|"connect"|"send"|"recv"|"disconnect"|"fileAuthReq"|"fileAuthRes"|"mutliFileAuthRes"|"listObjects"|"listObjectsResp"|"ot"|"otstatus"|"otLinkFile"|"otLinkFileResponse"|"otNewCursor"|"otDeleteCursor"|"otFetchRequest"|"otFetchResponse"|"otTransformSelectionRequest"|"otTransformSelectionResponse"|"flush"|"debug"|"startVCR"|"readVCR"|"VCRLog"|"auth"|"execInfo"|"subscribeFile"|"fileEvent"|"roster"|"join"|"part"|"openFile"|"fileOpened"|"followUser"|"unfollowUser"|"updateSessionTimestamp"|"sessionTimestampUpdated"|"exec"|"packageSearch"|"packageSearchResp"|"packageInfo"|"packageInfoResp"|"packageAdd"|"packageRemove"|"packageInstall"|"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"|"userEvent"|"replspaceApiOpenFile"|"replspaceApiCloseFile");
|
|
1051
|
+
public body?: ("openChan"|"openChanRes"|"closeChan"|"closeChanRes"|"containerState"|"portOpen"|"portClose"|"toast"|"protocolError"|"redirect"|"alwaysOn"|"runMain"|"clear"|"eval"|"result"|"input"|"output"|"error"|"stderr"|"log"|"record"|"saneTerm"|"resizeTerm"|"state"|"ok"|"persist"|"persistMirror"|"write"|"remove"|"move"|"tryRemove"|"mkdir"|"stat"|"statRes"|"transferStart"|"transferChunk"|"transferComplete"|"transferCancel"|"transfer"|"read"|"readdir"|"files"|"file"|"checkChanges"|"changedFiles"|"lintResults"|"runContainedTest"|"testResult"|"debuggerStart"|"debuggerStep"|"debuggerStatus"|"ensurePackages"|"ping"|"pong"|"hello"|"goodbye"|"proxyGoingAway"|"hint"|"connect"|"send"|"recv"|"disconnect"|"fileAuthReq"|"fileAuthRes"|"mutliFileAuthRes"|"listObjects"|"listObjectsResp"|"ot"|"otstatus"|"otLinkFile"|"otLinkFileResponse"|"otNewCursor"|"otDeleteCursor"|"otFetchRequest"|"otFetchResponse"|"otTransformSelectionRequest"|"otTransformSelectionResponse"|"flush"|"debug"|"startVCR"|"readVCR"|"VCRLog"|"auth"|"execInfo"|"subscribeFile"|"fileEvent"|"roster"|"join"|"part"|"openFile"|"fileOpened"|"followUser"|"unfollowUser"|"updateSessionTimestamp"|"sessionTimestampUpdated"|"exec"|"packageSearch"|"packageSearchResp"|"packageInfo"|"packageInfoResp"|"packageAdd"|"packageRemove"|"packageInstall"|"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"|"userEvent"|"replspaceApiOpenFile"|"replspaceApiCloseFile"|"replspaceApiGetGitHubToken"|"replspaceApiGitHubToken");
|
|
1040
1052
|
|
|
1041
1053
|
/**
|
|
1042
1054
|
* Creates a new Command instance using the specified properties.
|
|
@@ -11325,6 +11337,192 @@ export namespace replit {
|
|
|
11325
11337
|
public toJSON(): { [k: string]: any };
|
|
11326
11338
|
}
|
|
11327
11339
|
|
|
11340
|
+
/** Properties of a ReplspaceApiGetGitHubToken. */
|
|
11341
|
+
interface IReplspaceApiGetGitHubToken {
|
|
11342
|
+
|
|
11343
|
+
/** ReplspaceApiGetGitHubToken nonce */
|
|
11344
|
+
nonce?: (string|null);
|
|
11345
|
+
}
|
|
11346
|
+
|
|
11347
|
+
/** Represents a ReplspaceApiGetGitHubToken. */
|
|
11348
|
+
class ReplspaceApiGetGitHubToken {
|
|
11349
|
+
|
|
11350
|
+
/**
|
|
11351
|
+
* Constructs a new ReplspaceApiGetGitHubToken.
|
|
11352
|
+
* @param [properties] Properties to set
|
|
11353
|
+
*/
|
|
11354
|
+
private constructor(properties?: replit.goval.api.IReplspaceApiGetGitHubToken);
|
|
11355
|
+
|
|
11356
|
+
/** ReplspaceApiGetGitHubToken nonce. */
|
|
11357
|
+
public nonce: string;
|
|
11358
|
+
|
|
11359
|
+
/**
|
|
11360
|
+
* Creates a new ReplspaceApiGetGitHubToken instance using the specified properties.
|
|
11361
|
+
* @param [properties] Properties to set
|
|
11362
|
+
* @returns ReplspaceApiGetGitHubToken instance
|
|
11363
|
+
*/
|
|
11364
|
+
public static create(properties?: replit.goval.api.IReplspaceApiGetGitHubToken): replit.goval.api.ReplspaceApiGetGitHubToken;
|
|
11365
|
+
|
|
11366
|
+
/**
|
|
11367
|
+
* Encodes the specified ReplspaceApiGetGitHubToken message. Does not implicitly {@link replit.goval.api.ReplspaceApiGetGitHubToken.verify|verify} messages.
|
|
11368
|
+
* @param message ReplspaceApiGetGitHubToken message or plain object to encode
|
|
11369
|
+
* @param [writer] Writer to encode to
|
|
11370
|
+
* @returns Writer
|
|
11371
|
+
*/
|
|
11372
|
+
public static encode(message: replit.goval.api.ReplspaceApiGetGitHubToken, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
11373
|
+
|
|
11374
|
+
/**
|
|
11375
|
+
* Encodes the specified ReplspaceApiGetGitHubToken message, length delimited. Does not implicitly {@link replit.goval.api.ReplspaceApiGetGitHubToken.verify|verify} messages.
|
|
11376
|
+
* @param message ReplspaceApiGetGitHubToken message or plain object to encode
|
|
11377
|
+
* @param [writer] Writer to encode to
|
|
11378
|
+
* @returns Writer
|
|
11379
|
+
*/
|
|
11380
|
+
public static encodeDelimited(message: replit.goval.api.ReplspaceApiGetGitHubToken, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
11381
|
+
|
|
11382
|
+
/**
|
|
11383
|
+
* Decodes a ReplspaceApiGetGitHubToken message from the specified reader or buffer.
|
|
11384
|
+
* @param reader Reader or buffer to decode from
|
|
11385
|
+
* @param [length] Message length if known beforehand
|
|
11386
|
+
* @returns ReplspaceApiGetGitHubToken
|
|
11387
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
11388
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
11389
|
+
*/
|
|
11390
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.ReplspaceApiGetGitHubToken;
|
|
11391
|
+
|
|
11392
|
+
/**
|
|
11393
|
+
* Decodes a ReplspaceApiGetGitHubToken message from the specified reader or buffer, length delimited.
|
|
11394
|
+
* @param reader Reader or buffer to decode from
|
|
11395
|
+
* @returns ReplspaceApiGetGitHubToken
|
|
11396
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
11397
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
11398
|
+
*/
|
|
11399
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.ReplspaceApiGetGitHubToken;
|
|
11400
|
+
|
|
11401
|
+
/**
|
|
11402
|
+
* Verifies a ReplspaceApiGetGitHubToken message.
|
|
11403
|
+
* @param message Plain object to verify
|
|
11404
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
11405
|
+
*/
|
|
11406
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
11407
|
+
|
|
11408
|
+
/**
|
|
11409
|
+
* Creates a ReplspaceApiGetGitHubToken message from a plain object. Also converts values to their respective internal types.
|
|
11410
|
+
* @param object Plain object
|
|
11411
|
+
* @returns ReplspaceApiGetGitHubToken
|
|
11412
|
+
*/
|
|
11413
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.ReplspaceApiGetGitHubToken;
|
|
11414
|
+
|
|
11415
|
+
/**
|
|
11416
|
+
* Creates a plain object from a ReplspaceApiGetGitHubToken message. Also converts values to other types if specified.
|
|
11417
|
+
* @param message ReplspaceApiGetGitHubToken
|
|
11418
|
+
* @param [options] Conversion options
|
|
11419
|
+
* @returns Plain object
|
|
11420
|
+
*/
|
|
11421
|
+
public static toObject(message: replit.goval.api.ReplspaceApiGetGitHubToken, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
11422
|
+
|
|
11423
|
+
/**
|
|
11424
|
+
* Converts this ReplspaceApiGetGitHubToken to JSON.
|
|
11425
|
+
* @returns JSON object
|
|
11426
|
+
*/
|
|
11427
|
+
public toJSON(): { [k: string]: any };
|
|
11428
|
+
}
|
|
11429
|
+
|
|
11430
|
+
/** Properties of a ReplspaceApiGitHubToken. */
|
|
11431
|
+
interface IReplspaceApiGitHubToken {
|
|
11432
|
+
|
|
11433
|
+
/** ReplspaceApiGitHubToken nonce */
|
|
11434
|
+
nonce?: (string|null);
|
|
11435
|
+
|
|
11436
|
+
/** ReplspaceApiGitHubToken token */
|
|
11437
|
+
token?: (string|null);
|
|
11438
|
+
}
|
|
11439
|
+
|
|
11440
|
+
/** Represents a ReplspaceApiGitHubToken. */
|
|
11441
|
+
class ReplspaceApiGitHubToken {
|
|
11442
|
+
|
|
11443
|
+
/**
|
|
11444
|
+
* Constructs a new ReplspaceApiGitHubToken.
|
|
11445
|
+
* @param [properties] Properties to set
|
|
11446
|
+
*/
|
|
11447
|
+
private constructor(properties?: replit.goval.api.IReplspaceApiGitHubToken);
|
|
11448
|
+
|
|
11449
|
+
/** ReplspaceApiGitHubToken nonce. */
|
|
11450
|
+
public nonce: string;
|
|
11451
|
+
|
|
11452
|
+
/** ReplspaceApiGitHubToken token. */
|
|
11453
|
+
public token: string;
|
|
11454
|
+
|
|
11455
|
+
/**
|
|
11456
|
+
* Creates a new ReplspaceApiGitHubToken instance using the specified properties.
|
|
11457
|
+
* @param [properties] Properties to set
|
|
11458
|
+
* @returns ReplspaceApiGitHubToken instance
|
|
11459
|
+
*/
|
|
11460
|
+
public static create(properties?: replit.goval.api.IReplspaceApiGitHubToken): replit.goval.api.ReplspaceApiGitHubToken;
|
|
11461
|
+
|
|
11462
|
+
/**
|
|
11463
|
+
* Encodes the specified ReplspaceApiGitHubToken message. Does not implicitly {@link replit.goval.api.ReplspaceApiGitHubToken.verify|verify} messages.
|
|
11464
|
+
* @param message ReplspaceApiGitHubToken message or plain object to encode
|
|
11465
|
+
* @param [writer] Writer to encode to
|
|
11466
|
+
* @returns Writer
|
|
11467
|
+
*/
|
|
11468
|
+
public static encode(message: replit.goval.api.ReplspaceApiGitHubToken, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
11469
|
+
|
|
11470
|
+
/**
|
|
11471
|
+
* Encodes the specified ReplspaceApiGitHubToken message, length delimited. Does not implicitly {@link replit.goval.api.ReplspaceApiGitHubToken.verify|verify} messages.
|
|
11472
|
+
* @param message ReplspaceApiGitHubToken message or plain object to encode
|
|
11473
|
+
* @param [writer] Writer to encode to
|
|
11474
|
+
* @returns Writer
|
|
11475
|
+
*/
|
|
11476
|
+
public static encodeDelimited(message: replit.goval.api.ReplspaceApiGitHubToken, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
11477
|
+
|
|
11478
|
+
/**
|
|
11479
|
+
* Decodes a ReplspaceApiGitHubToken message from the specified reader or buffer.
|
|
11480
|
+
* @param reader Reader or buffer to decode from
|
|
11481
|
+
* @param [length] Message length if known beforehand
|
|
11482
|
+
* @returns ReplspaceApiGitHubToken
|
|
11483
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
11484
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
11485
|
+
*/
|
|
11486
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.ReplspaceApiGitHubToken;
|
|
11487
|
+
|
|
11488
|
+
/**
|
|
11489
|
+
* Decodes a ReplspaceApiGitHubToken message from the specified reader or buffer, length delimited.
|
|
11490
|
+
* @param reader Reader or buffer to decode from
|
|
11491
|
+
* @returns ReplspaceApiGitHubToken
|
|
11492
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
11493
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
11494
|
+
*/
|
|
11495
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.ReplspaceApiGitHubToken;
|
|
11496
|
+
|
|
11497
|
+
/**
|
|
11498
|
+
* Verifies a ReplspaceApiGitHubToken message.
|
|
11499
|
+
* @param message Plain object to verify
|
|
11500
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
11501
|
+
*/
|
|
11502
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
11503
|
+
|
|
11504
|
+
/**
|
|
11505
|
+
* Creates a ReplspaceApiGitHubToken message from a plain object. Also converts values to their respective internal types.
|
|
11506
|
+
* @param object Plain object
|
|
11507
|
+
* @returns ReplspaceApiGitHubToken
|
|
11508
|
+
*/
|
|
11509
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.ReplspaceApiGitHubToken;
|
|
11510
|
+
|
|
11511
|
+
/**
|
|
11512
|
+
* Creates a plain object from a ReplspaceApiGitHubToken message. Also converts values to other types if specified.
|
|
11513
|
+
* @param message ReplspaceApiGitHubToken
|
|
11514
|
+
* @param [options] Conversion options
|
|
11515
|
+
* @returns Plain object
|
|
11516
|
+
*/
|
|
11517
|
+
public static toObject(message: replit.goval.api.ReplspaceApiGitHubToken, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
11518
|
+
|
|
11519
|
+
/**
|
|
11520
|
+
* Converts this ReplspaceApiGitHubToken to JSON.
|
|
11521
|
+
* @returns JSON object
|
|
11522
|
+
*/
|
|
11523
|
+
public toJSON(): { [k: string]: any };
|
|
11524
|
+
}
|
|
11525
|
+
|
|
11328
11526
|
/** Properties of an UpdateSessionTimestamp. */
|
|
11329
11527
|
interface IUpdateSessionTimestamp {
|
|
11330
11528
|
}
|
|
@@ -20171,6 +20369,9 @@ export namespace replit {
|
|
|
20171
20369
|
/** ClusterTransfer newClusterId */
|
|
20172
20370
|
newClusterId?: (string|null);
|
|
20173
20371
|
|
|
20372
|
+
/** ClusterTransfer newContinentId */
|
|
20373
|
+
newContinentId?: (string|null);
|
|
20374
|
+
|
|
20174
20375
|
/** ClusterTransfer transferId */
|
|
20175
20376
|
transferId?: (string|null);
|
|
20176
20377
|
}
|
|
@@ -20191,11 +20392,17 @@ export namespace replit {
|
|
|
20191
20392
|
public user: string;
|
|
20192
20393
|
|
|
20193
20394
|
/** ClusterTransfer newClusterId. */
|
|
20194
|
-
public newClusterId
|
|
20395
|
+
public newClusterId?: (string|null);
|
|
20396
|
+
|
|
20397
|
+
/** ClusterTransfer newContinentId. */
|
|
20398
|
+
public newContinentId?: (string|null);
|
|
20195
20399
|
|
|
20196
20400
|
/** ClusterTransfer transferId. */
|
|
20197
20401
|
public transferId: string;
|
|
20198
20402
|
|
|
20403
|
+
/** ClusterTransfer location. */
|
|
20404
|
+
public location?: ("newClusterId"|"newContinentId");
|
|
20405
|
+
|
|
20199
20406
|
/**
|
|
20200
20407
|
* Creates a new ClusterTransfer instance using the specified properties.
|
|
20201
20408
|
* @param [properties] Properties to set
|