@replit/protocol 0.2.85 → 0.2.87
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/gen.sh +1 -1
- package/main/index.d.ts +313 -1
- package/main/index.js +746 -2
- package/main/index.js.flow +448 -1
- package/package.json +1 -1
package/gen.sh
CHANGED
package/main/index.d.ts
CHANGED
|
@@ -506,6 +506,12 @@ export namespace replit {
|
|
|
506
506
|
/** Command userEvent */
|
|
507
507
|
userEvent?: (replit.goval.api.UserEvent|replit.goval.api.IUserEvent|null);
|
|
508
508
|
|
|
509
|
+
/** Command replspaceApiOpenFile */
|
|
510
|
+
replspaceApiOpenFile?: (replit.goval.api.ReplspaceApiOpenFile|replit.goval.api.IReplspaceApiOpenFile|null);
|
|
511
|
+
|
|
512
|
+
/** Command replspaceApiCloseFile */
|
|
513
|
+
replspaceApiCloseFile?: (replit.goval.api.ReplspaceApiCloseFile|replit.goval.api.IReplspaceApiCloseFile|null);
|
|
514
|
+
|
|
509
515
|
/** Command ref */
|
|
510
516
|
ref?: (string|null);
|
|
511
517
|
|
|
@@ -1017,6 +1023,12 @@ export namespace replit {
|
|
|
1017
1023
|
/** Command userEvent. */
|
|
1018
1024
|
public userEvent?: (replit.goval.api.UserEvent|null);
|
|
1019
1025
|
|
|
1026
|
+
/** Command replspaceApiOpenFile. */
|
|
1027
|
+
public replspaceApiOpenFile?: (replit.goval.api.ReplspaceApiOpenFile|null);
|
|
1028
|
+
|
|
1029
|
+
/** Command replspaceApiCloseFile. */
|
|
1030
|
+
public replspaceApiCloseFile?: (replit.goval.api.ReplspaceApiCloseFile|null);
|
|
1031
|
+
|
|
1020
1032
|
/** Command ref. */
|
|
1021
1033
|
public ref: string;
|
|
1022
1034
|
|
|
@@ -1024,7 +1036,7 @@ export namespace replit {
|
|
|
1024
1036
|
public traceInfo: { [k: string]: string };
|
|
1025
1037
|
|
|
1026
1038
|
/** Command body. */
|
|
1027
|
-
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");
|
|
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");
|
|
1028
1040
|
|
|
1029
1041
|
/**
|
|
1030
1042
|
* Creates a new Command instance using the specified properties.
|
|
@@ -11115,6 +11127,204 @@ export namespace replit {
|
|
|
11115
11127
|
public toJSON(): { [k: string]: any };
|
|
11116
11128
|
}
|
|
11117
11129
|
|
|
11130
|
+
/** Properties of a ReplspaceApiOpenFile. */
|
|
11131
|
+
interface IReplspaceApiOpenFile {
|
|
11132
|
+
|
|
11133
|
+
/** ReplspaceApiOpenFile file */
|
|
11134
|
+
file?: (string|null);
|
|
11135
|
+
|
|
11136
|
+
/** ReplspaceApiOpenFile waitForClose */
|
|
11137
|
+
waitForClose?: (boolean|null);
|
|
11138
|
+
|
|
11139
|
+
/** ReplspaceApiOpenFile nonce */
|
|
11140
|
+
nonce?: (string|null);
|
|
11141
|
+
}
|
|
11142
|
+
|
|
11143
|
+
/** Represents a ReplspaceApiOpenFile. */
|
|
11144
|
+
class ReplspaceApiOpenFile {
|
|
11145
|
+
|
|
11146
|
+
/**
|
|
11147
|
+
* Constructs a new ReplspaceApiOpenFile.
|
|
11148
|
+
* @param [properties] Properties to set
|
|
11149
|
+
*/
|
|
11150
|
+
private constructor(properties?: replit.goval.api.IReplspaceApiOpenFile);
|
|
11151
|
+
|
|
11152
|
+
/** ReplspaceApiOpenFile file. */
|
|
11153
|
+
public file: string;
|
|
11154
|
+
|
|
11155
|
+
/** ReplspaceApiOpenFile waitForClose. */
|
|
11156
|
+
public waitForClose: boolean;
|
|
11157
|
+
|
|
11158
|
+
/** ReplspaceApiOpenFile nonce. */
|
|
11159
|
+
public nonce: string;
|
|
11160
|
+
|
|
11161
|
+
/**
|
|
11162
|
+
* Creates a new ReplspaceApiOpenFile instance using the specified properties.
|
|
11163
|
+
* @param [properties] Properties to set
|
|
11164
|
+
* @returns ReplspaceApiOpenFile instance
|
|
11165
|
+
*/
|
|
11166
|
+
public static create(properties?: replit.goval.api.IReplspaceApiOpenFile): replit.goval.api.ReplspaceApiOpenFile;
|
|
11167
|
+
|
|
11168
|
+
/**
|
|
11169
|
+
* Encodes the specified ReplspaceApiOpenFile message. Does not implicitly {@link replit.goval.api.ReplspaceApiOpenFile.verify|verify} messages.
|
|
11170
|
+
* @param message ReplspaceApiOpenFile message or plain object to encode
|
|
11171
|
+
* @param [writer] Writer to encode to
|
|
11172
|
+
* @returns Writer
|
|
11173
|
+
*/
|
|
11174
|
+
public static encode(message: replit.goval.api.ReplspaceApiOpenFile, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
11175
|
+
|
|
11176
|
+
/**
|
|
11177
|
+
* Encodes the specified ReplspaceApiOpenFile message, length delimited. Does not implicitly {@link replit.goval.api.ReplspaceApiOpenFile.verify|verify} messages.
|
|
11178
|
+
* @param message ReplspaceApiOpenFile message or plain object to encode
|
|
11179
|
+
* @param [writer] Writer to encode to
|
|
11180
|
+
* @returns Writer
|
|
11181
|
+
*/
|
|
11182
|
+
public static encodeDelimited(message: replit.goval.api.ReplspaceApiOpenFile, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
11183
|
+
|
|
11184
|
+
/**
|
|
11185
|
+
* Decodes a ReplspaceApiOpenFile message from the specified reader or buffer.
|
|
11186
|
+
* @param reader Reader or buffer to decode from
|
|
11187
|
+
* @param [length] Message length if known beforehand
|
|
11188
|
+
* @returns ReplspaceApiOpenFile
|
|
11189
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
11190
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
11191
|
+
*/
|
|
11192
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.ReplspaceApiOpenFile;
|
|
11193
|
+
|
|
11194
|
+
/**
|
|
11195
|
+
* Decodes a ReplspaceApiOpenFile message from the specified reader or buffer, length delimited.
|
|
11196
|
+
* @param reader Reader or buffer to decode from
|
|
11197
|
+
* @returns ReplspaceApiOpenFile
|
|
11198
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
11199
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
11200
|
+
*/
|
|
11201
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.ReplspaceApiOpenFile;
|
|
11202
|
+
|
|
11203
|
+
/**
|
|
11204
|
+
* Verifies a ReplspaceApiOpenFile message.
|
|
11205
|
+
* @param message Plain object to verify
|
|
11206
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
11207
|
+
*/
|
|
11208
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
11209
|
+
|
|
11210
|
+
/**
|
|
11211
|
+
* Creates a ReplspaceApiOpenFile message from a plain object. Also converts values to their respective internal types.
|
|
11212
|
+
* @param object Plain object
|
|
11213
|
+
* @returns ReplspaceApiOpenFile
|
|
11214
|
+
*/
|
|
11215
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.ReplspaceApiOpenFile;
|
|
11216
|
+
|
|
11217
|
+
/**
|
|
11218
|
+
* Creates a plain object from a ReplspaceApiOpenFile message. Also converts values to other types if specified.
|
|
11219
|
+
* @param message ReplspaceApiOpenFile
|
|
11220
|
+
* @param [options] Conversion options
|
|
11221
|
+
* @returns Plain object
|
|
11222
|
+
*/
|
|
11223
|
+
public static toObject(message: replit.goval.api.ReplspaceApiOpenFile, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
11224
|
+
|
|
11225
|
+
/**
|
|
11226
|
+
* Converts this ReplspaceApiOpenFile to JSON.
|
|
11227
|
+
* @returns JSON object
|
|
11228
|
+
*/
|
|
11229
|
+
public toJSON(): { [k: string]: any };
|
|
11230
|
+
}
|
|
11231
|
+
|
|
11232
|
+
/** Properties of a ReplspaceApiCloseFile. */
|
|
11233
|
+
interface IReplspaceApiCloseFile {
|
|
11234
|
+
|
|
11235
|
+
/** ReplspaceApiCloseFile file */
|
|
11236
|
+
file?: (string|null);
|
|
11237
|
+
|
|
11238
|
+
/** ReplspaceApiCloseFile nonce */
|
|
11239
|
+
nonce?: (string|null);
|
|
11240
|
+
}
|
|
11241
|
+
|
|
11242
|
+
/** Represents a ReplspaceApiCloseFile. */
|
|
11243
|
+
class ReplspaceApiCloseFile {
|
|
11244
|
+
|
|
11245
|
+
/**
|
|
11246
|
+
* Constructs a new ReplspaceApiCloseFile.
|
|
11247
|
+
* @param [properties] Properties to set
|
|
11248
|
+
*/
|
|
11249
|
+
private constructor(properties?: replit.goval.api.IReplspaceApiCloseFile);
|
|
11250
|
+
|
|
11251
|
+
/** ReplspaceApiCloseFile file. */
|
|
11252
|
+
public file: string;
|
|
11253
|
+
|
|
11254
|
+
/** ReplspaceApiCloseFile nonce. */
|
|
11255
|
+
public nonce: string;
|
|
11256
|
+
|
|
11257
|
+
/**
|
|
11258
|
+
* Creates a new ReplspaceApiCloseFile instance using the specified properties.
|
|
11259
|
+
* @param [properties] Properties to set
|
|
11260
|
+
* @returns ReplspaceApiCloseFile instance
|
|
11261
|
+
*/
|
|
11262
|
+
public static create(properties?: replit.goval.api.IReplspaceApiCloseFile): replit.goval.api.ReplspaceApiCloseFile;
|
|
11263
|
+
|
|
11264
|
+
/**
|
|
11265
|
+
* Encodes the specified ReplspaceApiCloseFile message. Does not implicitly {@link replit.goval.api.ReplspaceApiCloseFile.verify|verify} messages.
|
|
11266
|
+
* @param message ReplspaceApiCloseFile message or plain object to encode
|
|
11267
|
+
* @param [writer] Writer to encode to
|
|
11268
|
+
* @returns Writer
|
|
11269
|
+
*/
|
|
11270
|
+
public static encode(message: replit.goval.api.ReplspaceApiCloseFile, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
11271
|
+
|
|
11272
|
+
/**
|
|
11273
|
+
* Encodes the specified ReplspaceApiCloseFile message, length delimited. Does not implicitly {@link replit.goval.api.ReplspaceApiCloseFile.verify|verify} messages.
|
|
11274
|
+
* @param message ReplspaceApiCloseFile message or plain object to encode
|
|
11275
|
+
* @param [writer] Writer to encode to
|
|
11276
|
+
* @returns Writer
|
|
11277
|
+
*/
|
|
11278
|
+
public static encodeDelimited(message: replit.goval.api.ReplspaceApiCloseFile, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
11279
|
+
|
|
11280
|
+
/**
|
|
11281
|
+
* Decodes a ReplspaceApiCloseFile message from the specified reader or buffer.
|
|
11282
|
+
* @param reader Reader or buffer to decode from
|
|
11283
|
+
* @param [length] Message length if known beforehand
|
|
11284
|
+
* @returns ReplspaceApiCloseFile
|
|
11285
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
11286
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
11287
|
+
*/
|
|
11288
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.ReplspaceApiCloseFile;
|
|
11289
|
+
|
|
11290
|
+
/**
|
|
11291
|
+
* Decodes a ReplspaceApiCloseFile message from the specified reader or buffer, length delimited.
|
|
11292
|
+
* @param reader Reader or buffer to decode from
|
|
11293
|
+
* @returns ReplspaceApiCloseFile
|
|
11294
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
11295
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
11296
|
+
*/
|
|
11297
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.ReplspaceApiCloseFile;
|
|
11298
|
+
|
|
11299
|
+
/**
|
|
11300
|
+
* Verifies a ReplspaceApiCloseFile message.
|
|
11301
|
+
* @param message Plain object to verify
|
|
11302
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
11303
|
+
*/
|
|
11304
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
11305
|
+
|
|
11306
|
+
/**
|
|
11307
|
+
* Creates a ReplspaceApiCloseFile message from a plain object. Also converts values to their respective internal types.
|
|
11308
|
+
* @param object Plain object
|
|
11309
|
+
* @returns ReplspaceApiCloseFile
|
|
11310
|
+
*/
|
|
11311
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.ReplspaceApiCloseFile;
|
|
11312
|
+
|
|
11313
|
+
/**
|
|
11314
|
+
* Creates a plain object from a ReplspaceApiCloseFile message. Also converts values to other types if specified.
|
|
11315
|
+
* @param message ReplspaceApiCloseFile
|
|
11316
|
+
* @param [options] Conversion options
|
|
11317
|
+
* @returns Plain object
|
|
11318
|
+
*/
|
|
11319
|
+
public static toObject(message: replit.goval.api.ReplspaceApiCloseFile, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
11320
|
+
|
|
11321
|
+
/**
|
|
11322
|
+
* Converts this ReplspaceApiCloseFile to JSON.
|
|
11323
|
+
* @returns JSON object
|
|
11324
|
+
*/
|
|
11325
|
+
public toJSON(): { [k: string]: any };
|
|
11326
|
+
}
|
|
11327
|
+
|
|
11118
11328
|
/** Properties of an UpdateSessionTimestamp. */
|
|
11119
11329
|
interface IUpdateSessionTimestamp {
|
|
11120
11330
|
}
|
|
@@ -21120,6 +21330,102 @@ export namespace replit {
|
|
|
21120
21330
|
/** Namespace repl. */
|
|
21121
21331
|
namespace repl {
|
|
21122
21332
|
|
|
21333
|
+
/** Properties of a Buckets. */
|
|
21334
|
+
interface IBuckets {
|
|
21335
|
+
|
|
21336
|
+
/** Buckets snapshots */
|
|
21337
|
+
snapshots?: (string|null);
|
|
21338
|
+
|
|
21339
|
+
/** Buckets metadata */
|
|
21340
|
+
metadata?: (string|null);
|
|
21341
|
+
}
|
|
21342
|
+
|
|
21343
|
+
/** Represents a Buckets. */
|
|
21344
|
+
class Buckets {
|
|
21345
|
+
|
|
21346
|
+
/**
|
|
21347
|
+
* Constructs a new Buckets.
|
|
21348
|
+
* @param [properties] Properties to set
|
|
21349
|
+
*/
|
|
21350
|
+
private constructor(properties?: replit.goval.api.repl.IBuckets);
|
|
21351
|
+
|
|
21352
|
+
/** Buckets snapshots. */
|
|
21353
|
+
public snapshots: string;
|
|
21354
|
+
|
|
21355
|
+
/** Buckets metadata. */
|
|
21356
|
+
public metadata: string;
|
|
21357
|
+
|
|
21358
|
+
/**
|
|
21359
|
+
* Creates a new Buckets instance using the specified properties.
|
|
21360
|
+
* @param [properties] Properties to set
|
|
21361
|
+
* @returns Buckets instance
|
|
21362
|
+
*/
|
|
21363
|
+
public static create(properties?: replit.goval.api.repl.IBuckets): replit.goval.api.repl.Buckets;
|
|
21364
|
+
|
|
21365
|
+
/**
|
|
21366
|
+
* Encodes the specified Buckets message. Does not implicitly {@link replit.goval.api.repl.Buckets.verify|verify} messages.
|
|
21367
|
+
* @param message Buckets message or plain object to encode
|
|
21368
|
+
* @param [writer] Writer to encode to
|
|
21369
|
+
* @returns Writer
|
|
21370
|
+
*/
|
|
21371
|
+
public static encode(message: replit.goval.api.repl.Buckets, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
21372
|
+
|
|
21373
|
+
/**
|
|
21374
|
+
* Encodes the specified Buckets message, length delimited. Does not implicitly {@link replit.goval.api.repl.Buckets.verify|verify} messages.
|
|
21375
|
+
* @param message Buckets message or plain object to encode
|
|
21376
|
+
* @param [writer] Writer to encode to
|
|
21377
|
+
* @returns Writer
|
|
21378
|
+
*/
|
|
21379
|
+
public static encodeDelimited(message: replit.goval.api.repl.Buckets, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
21380
|
+
|
|
21381
|
+
/**
|
|
21382
|
+
* Decodes a Buckets message from the specified reader or buffer.
|
|
21383
|
+
* @param reader Reader or buffer to decode from
|
|
21384
|
+
* @param [length] Message length if known beforehand
|
|
21385
|
+
* @returns Buckets
|
|
21386
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
21387
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
21388
|
+
*/
|
|
21389
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.repl.Buckets;
|
|
21390
|
+
|
|
21391
|
+
/**
|
|
21392
|
+
* Decodes a Buckets message from the specified reader or buffer, length delimited.
|
|
21393
|
+
* @param reader Reader or buffer to decode from
|
|
21394
|
+
* @returns Buckets
|
|
21395
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
21396
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
21397
|
+
*/
|
|
21398
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.repl.Buckets;
|
|
21399
|
+
|
|
21400
|
+
/**
|
|
21401
|
+
* Verifies a Buckets message.
|
|
21402
|
+
* @param message Plain object to verify
|
|
21403
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
21404
|
+
*/
|
|
21405
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
21406
|
+
|
|
21407
|
+
/**
|
|
21408
|
+
* Creates a Buckets message from a plain object. Also converts values to their respective internal types.
|
|
21409
|
+
* @param object Plain object
|
|
21410
|
+
* @returns Buckets
|
|
21411
|
+
*/
|
|
21412
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.repl.Buckets;
|
|
21413
|
+
|
|
21414
|
+
/**
|
|
21415
|
+
* Creates a plain object from a Buckets message. Also converts values to other types if specified.
|
|
21416
|
+
* @param message Buckets
|
|
21417
|
+
* @param [options] Conversion options
|
|
21418
|
+
* @returns Plain object
|
|
21419
|
+
*/
|
|
21420
|
+
public static toObject(message: replit.goval.api.repl.Buckets, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
21421
|
+
|
|
21422
|
+
/**
|
|
21423
|
+
* Converts this Buckets to JSON.
|
|
21424
|
+
* @returns JSON object
|
|
21425
|
+
*/
|
|
21426
|
+
public toJSON(): { [k: string]: any };
|
|
21427
|
+
}
|
|
21428
|
+
|
|
21123
21429
|
/** Properties of a Repl. */
|
|
21124
21430
|
interface IRepl {
|
|
21125
21431
|
|
|
@@ -21143,6 +21449,9 @@ export namespace replit {
|
|
|
21143
21449
|
|
|
21144
21450
|
/** Repl database */
|
|
21145
21451
|
database?: (string|null);
|
|
21452
|
+
|
|
21453
|
+
/** Repl buckets */
|
|
21454
|
+
buckets?: (replit.goval.api.repl.Buckets|replit.goval.api.repl.IBuckets|null);
|
|
21146
21455
|
}
|
|
21147
21456
|
|
|
21148
21457
|
/** Represents a Repl. */
|
|
@@ -21175,6 +21484,9 @@ export namespace replit {
|
|
|
21175
21484
|
/** Repl database. */
|
|
21176
21485
|
public database: string;
|
|
21177
21486
|
|
|
21487
|
+
/** Repl buckets. */
|
|
21488
|
+
public buckets?: (replit.goval.api.repl.Buckets|null);
|
|
21489
|
+
|
|
21178
21490
|
/**
|
|
21179
21491
|
* Creates a new Repl instance using the specified properties.
|
|
21180
21492
|
* @param [properties] Properties to set
|