@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/main/index.js.flow
CHANGED
|
@@ -125,6 +125,8 @@ declare var npm$namespace$replit$goval$api: {|
|
|
|
125
125
|
IRoster: Class<replit$goval$api$IRoster>,
|
|
126
126
|
IOpenFile: Class<replit$goval$api$IOpenFile>,
|
|
127
127
|
IFileOpened: Class<replit$goval$api$IFileOpened>,
|
|
128
|
+
IReplspaceApiOpenFile: Class<replit$goval$api$IReplspaceApiOpenFile>,
|
|
129
|
+
IReplspaceApiCloseFile: Class<replit$goval$api$IReplspaceApiCloseFile>,
|
|
128
130
|
IUpdateSessionTimestamp: Class<replit$goval$api$IUpdateSessionTimestamp>,
|
|
129
131
|
ISessionTimestampUpdated: Class<replit$goval$api$ISessionTimestampUpdated>,
|
|
130
132
|
IFollowUser: Class<replit$goval$api$IFollowUser>,
|
|
@@ -321,6 +323,8 @@ declare var npm$namespace$replit$goval$api: {|
|
|
|
321
323
|
Roster: typeof replit$goval$api$Roster,
|
|
322
324
|
OpenFile: typeof replit$goval$api$OpenFile,
|
|
323
325
|
FileOpened: typeof replit$goval$api$FileOpened,
|
|
326
|
+
ReplspaceApiOpenFile: typeof replit$goval$api$ReplspaceApiOpenFile,
|
|
327
|
+
ReplspaceApiCloseFile: typeof replit$goval$api$ReplspaceApiCloseFile,
|
|
324
328
|
UpdateSessionTimestamp: typeof replit$goval$api$UpdateSessionTimestamp,
|
|
325
329
|
SessionTimestampUpdated: typeof replit$goval$api$SessionTimestampUpdated,
|
|
326
330
|
FollowUser: typeof replit$goval$api$FollowUser,
|
|
@@ -1522,6 +1526,22 @@ declare type replit$goval$api$ICommand = {|
|
|
|
1522
1526
|
*/
|
|
1523
1527
|
userEvent?: replit$goval$api$UserEvent | replit$goval$api$IUserEvent | null,
|
|
1524
1528
|
|
|
1529
|
+
/**
|
|
1530
|
+
* Command replspaceApiOpenFile
|
|
1531
|
+
*/
|
|
1532
|
+
replspaceApiOpenFile?:
|
|
1533
|
+
| replit$goval$api$ReplspaceApiOpenFile
|
|
1534
|
+
| replit$goval$api$IReplspaceApiOpenFile
|
|
1535
|
+
| null,
|
|
1536
|
+
|
|
1537
|
+
/**
|
|
1538
|
+
* Command replspaceApiCloseFile
|
|
1539
|
+
*/
|
|
1540
|
+
replspaceApiCloseFile?:
|
|
1541
|
+
| replit$goval$api$ReplspaceApiCloseFile
|
|
1542
|
+
| replit$goval$api$IReplspaceApiCloseFile
|
|
1543
|
+
| null,
|
|
1544
|
+
|
|
1525
1545
|
/**
|
|
1526
1546
|
* Command ref
|
|
1527
1547
|
*/
|
|
@@ -2370,6 +2390,16 @@ declare class replit$goval$api$Command {
|
|
|
2370
2390
|
*/
|
|
2371
2391
|
userEvent?: replit$goval$api$UserEvent | null;
|
|
2372
2392
|
|
|
2393
|
+
/**
|
|
2394
|
+
* Command replspaceApiOpenFile.
|
|
2395
|
+
*/
|
|
2396
|
+
replspaceApiOpenFile?: replit$goval$api$ReplspaceApiOpenFile | null;
|
|
2397
|
+
|
|
2398
|
+
/**
|
|
2399
|
+
* Command replspaceApiCloseFile.
|
|
2400
|
+
*/
|
|
2401
|
+
replspaceApiCloseFile?: replit$goval$api$ReplspaceApiCloseFile | null;
|
|
2402
|
+
|
|
2373
2403
|
/**
|
|
2374
2404
|
* Command ref.
|
|
2375
2405
|
*/
|
|
@@ -2548,7 +2578,9 @@ declare class replit$goval$api$Command {
|
|
|
2548
2578
|
| "nixChannelLatestStableResponse"
|
|
2549
2579
|
| "nixPackageSearchRequest"
|
|
2550
2580
|
| "nixPackageSearchResponse"
|
|
2551
|
-
| "userEvent"
|
|
2581
|
+
| "userEvent"
|
|
2582
|
+
| "replspaceApiOpenFile"
|
|
2583
|
+
| "replspaceApiCloseFile";
|
|
2552
2584
|
|
|
2553
2585
|
/**
|
|
2554
2586
|
* Creates a new Command instance using the specified properties.
|
|
@@ -16163,6 +16195,276 @@ declare class replit$goval$api$FileOpened {
|
|
|
16163
16195
|
|};
|
|
16164
16196
|
}
|
|
16165
16197
|
|
|
16198
|
+
/**
|
|
16199
|
+
* Properties of a ReplspaceApiOpenFile.
|
|
16200
|
+
*/
|
|
16201
|
+
declare type replit$goval$api$IReplspaceApiOpenFile = {|
|
|
16202
|
+
/**
|
|
16203
|
+
* ReplspaceApiOpenFile file
|
|
16204
|
+
*/
|
|
16205
|
+
file?: string | null,
|
|
16206
|
+
|
|
16207
|
+
/**
|
|
16208
|
+
* ReplspaceApiOpenFile waitForClose
|
|
16209
|
+
*/
|
|
16210
|
+
waitForClose?: boolean | null,
|
|
16211
|
+
|
|
16212
|
+
/**
|
|
16213
|
+
* ReplspaceApiOpenFile nonce
|
|
16214
|
+
*/
|
|
16215
|
+
nonce?: string | null,
|
|
16216
|
+
|};
|
|
16217
|
+
|
|
16218
|
+
/**
|
|
16219
|
+
* Represents a ReplspaceApiOpenFile.
|
|
16220
|
+
*/
|
|
16221
|
+
declare class replit$goval$api$ReplspaceApiOpenFile {
|
|
16222
|
+
/**
|
|
16223
|
+
* Constructs a new ReplspaceApiOpenFile.
|
|
16224
|
+
* @param [properties] Properties to set
|
|
16225
|
+
*/
|
|
16226
|
+
constructor(properties?: replit$goval$api$IReplspaceApiOpenFile): this;
|
|
16227
|
+
|
|
16228
|
+
/**
|
|
16229
|
+
* ReplspaceApiOpenFile file.
|
|
16230
|
+
*/
|
|
16231
|
+
file: string;
|
|
16232
|
+
|
|
16233
|
+
/**
|
|
16234
|
+
* ReplspaceApiOpenFile waitForClose.
|
|
16235
|
+
*/
|
|
16236
|
+
waitForClose: boolean;
|
|
16237
|
+
|
|
16238
|
+
/**
|
|
16239
|
+
* ReplspaceApiOpenFile nonce.
|
|
16240
|
+
*/
|
|
16241
|
+
nonce: string;
|
|
16242
|
+
|
|
16243
|
+
/**
|
|
16244
|
+
* Creates a new ReplspaceApiOpenFile instance using the specified properties.
|
|
16245
|
+
* @param [properties] Properties to set
|
|
16246
|
+
* @returns ReplspaceApiOpenFile instance
|
|
16247
|
+
*/
|
|
16248
|
+
static create(
|
|
16249
|
+
properties?: replit$goval$api$IReplspaceApiOpenFile
|
|
16250
|
+
): replit$goval$api$ReplspaceApiOpenFile;
|
|
16251
|
+
|
|
16252
|
+
/**
|
|
16253
|
+
* [object Object],[object Object],[object Object]
|
|
16254
|
+
* @param message ReplspaceApiOpenFile message or plain object to encode
|
|
16255
|
+
* @param [writer] Writer to encode to
|
|
16256
|
+
* @returns Writer
|
|
16257
|
+
*/
|
|
16258
|
+
static encode(
|
|
16259
|
+
message: replit$goval$api$ReplspaceApiOpenFile,
|
|
16260
|
+
writer?: $protobuf.Writer
|
|
16261
|
+
): $protobuf.Writer;
|
|
16262
|
+
|
|
16263
|
+
/**
|
|
16264
|
+
* [object Object],[object Object],[object Object]
|
|
16265
|
+
* @param message ReplspaceApiOpenFile message or plain object to encode
|
|
16266
|
+
* @param [writer] Writer to encode to
|
|
16267
|
+
* @returns Writer
|
|
16268
|
+
*/
|
|
16269
|
+
static encodeDelimited(
|
|
16270
|
+
message: replit$goval$api$ReplspaceApiOpenFile,
|
|
16271
|
+
writer?: $protobuf.Writer
|
|
16272
|
+
): $protobuf.Writer;
|
|
16273
|
+
|
|
16274
|
+
/**
|
|
16275
|
+
* Decodes a ReplspaceApiOpenFile message from the specified reader or buffer.
|
|
16276
|
+
* @param reader Reader or buffer to decode from
|
|
16277
|
+
* @param [length] Message length if known beforehand
|
|
16278
|
+
* @returns ReplspaceApiOpenFile
|
|
16279
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
16280
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
16281
|
+
*/
|
|
16282
|
+
static decode(
|
|
16283
|
+
reader: $protobuf.Reader | Uint8Array,
|
|
16284
|
+
length?: number
|
|
16285
|
+
): replit$goval$api$ReplspaceApiOpenFile;
|
|
16286
|
+
|
|
16287
|
+
/**
|
|
16288
|
+
* Decodes a ReplspaceApiOpenFile message from the specified reader or buffer, length delimited.
|
|
16289
|
+
* @param reader Reader or buffer to decode from
|
|
16290
|
+
* @returns ReplspaceApiOpenFile
|
|
16291
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
16292
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
16293
|
+
*/
|
|
16294
|
+
static decodeDelimited(
|
|
16295
|
+
reader: $protobuf.Reader | Uint8Array
|
|
16296
|
+
): replit$goval$api$ReplspaceApiOpenFile;
|
|
16297
|
+
|
|
16298
|
+
/**
|
|
16299
|
+
* Verifies a ReplspaceApiOpenFile message.
|
|
16300
|
+
* @param message Plain object to verify
|
|
16301
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
16302
|
+
*/
|
|
16303
|
+
static verify(message: {|
|
|
16304
|
+
[k: string]: any,
|
|
16305
|
+
|}): string | null;
|
|
16306
|
+
|
|
16307
|
+
/**
|
|
16308
|
+
* Creates a ReplspaceApiOpenFile message from a plain object. Also converts values to their respective internal types.
|
|
16309
|
+
* @param object Plain object
|
|
16310
|
+
* @returns ReplspaceApiOpenFile
|
|
16311
|
+
*/
|
|
16312
|
+
static fromObject(object: {|
|
|
16313
|
+
[k: string]: any,
|
|
16314
|
+
|}): replit$goval$api$ReplspaceApiOpenFile;
|
|
16315
|
+
|
|
16316
|
+
/**
|
|
16317
|
+
* Creates a plain object from a ReplspaceApiOpenFile message. Also converts values to other types if specified.
|
|
16318
|
+
* @param message ReplspaceApiOpenFile
|
|
16319
|
+
* @param [options] Conversion options
|
|
16320
|
+
* @returns Plain object
|
|
16321
|
+
*/
|
|
16322
|
+
static toObject(
|
|
16323
|
+
message: replit$goval$api$ReplspaceApiOpenFile,
|
|
16324
|
+
options?: $protobuf.IConversionOptions
|
|
16325
|
+
): {|
|
|
16326
|
+
[k: string]: any,
|
|
16327
|
+
|};
|
|
16328
|
+
|
|
16329
|
+
/**
|
|
16330
|
+
* Converts this ReplspaceApiOpenFile to JSON.
|
|
16331
|
+
* @returns JSON object
|
|
16332
|
+
*/
|
|
16333
|
+
toJSON(): {|
|
|
16334
|
+
[k: string]: any,
|
|
16335
|
+
|};
|
|
16336
|
+
}
|
|
16337
|
+
|
|
16338
|
+
/**
|
|
16339
|
+
* Properties of a ReplspaceApiCloseFile.
|
|
16340
|
+
*/
|
|
16341
|
+
declare type replit$goval$api$IReplspaceApiCloseFile = {|
|
|
16342
|
+
/**
|
|
16343
|
+
* ReplspaceApiCloseFile file
|
|
16344
|
+
*/
|
|
16345
|
+
file?: string | null,
|
|
16346
|
+
|
|
16347
|
+
/**
|
|
16348
|
+
* ReplspaceApiCloseFile nonce
|
|
16349
|
+
*/
|
|
16350
|
+
nonce?: string | null,
|
|
16351
|
+
|};
|
|
16352
|
+
|
|
16353
|
+
/**
|
|
16354
|
+
* Represents a ReplspaceApiCloseFile.
|
|
16355
|
+
*/
|
|
16356
|
+
declare class replit$goval$api$ReplspaceApiCloseFile {
|
|
16357
|
+
/**
|
|
16358
|
+
* Constructs a new ReplspaceApiCloseFile.
|
|
16359
|
+
* @param [properties] Properties to set
|
|
16360
|
+
*/
|
|
16361
|
+
constructor(properties?: replit$goval$api$IReplspaceApiCloseFile): this;
|
|
16362
|
+
|
|
16363
|
+
/**
|
|
16364
|
+
* ReplspaceApiCloseFile file.
|
|
16365
|
+
*/
|
|
16366
|
+
file: string;
|
|
16367
|
+
|
|
16368
|
+
/**
|
|
16369
|
+
* ReplspaceApiCloseFile nonce.
|
|
16370
|
+
*/
|
|
16371
|
+
nonce: string;
|
|
16372
|
+
|
|
16373
|
+
/**
|
|
16374
|
+
* Creates a new ReplspaceApiCloseFile instance using the specified properties.
|
|
16375
|
+
* @param [properties] Properties to set
|
|
16376
|
+
* @returns ReplspaceApiCloseFile instance
|
|
16377
|
+
*/
|
|
16378
|
+
static create(
|
|
16379
|
+
properties?: replit$goval$api$IReplspaceApiCloseFile
|
|
16380
|
+
): replit$goval$api$ReplspaceApiCloseFile;
|
|
16381
|
+
|
|
16382
|
+
/**
|
|
16383
|
+
* [object Object],[object Object],[object Object]
|
|
16384
|
+
* @param message ReplspaceApiCloseFile message or plain object to encode
|
|
16385
|
+
* @param [writer] Writer to encode to
|
|
16386
|
+
* @returns Writer
|
|
16387
|
+
*/
|
|
16388
|
+
static encode(
|
|
16389
|
+
message: replit$goval$api$ReplspaceApiCloseFile,
|
|
16390
|
+
writer?: $protobuf.Writer
|
|
16391
|
+
): $protobuf.Writer;
|
|
16392
|
+
|
|
16393
|
+
/**
|
|
16394
|
+
* [object Object],[object Object],[object Object]
|
|
16395
|
+
* @param message ReplspaceApiCloseFile message or plain object to encode
|
|
16396
|
+
* @param [writer] Writer to encode to
|
|
16397
|
+
* @returns Writer
|
|
16398
|
+
*/
|
|
16399
|
+
static encodeDelimited(
|
|
16400
|
+
message: replit$goval$api$ReplspaceApiCloseFile,
|
|
16401
|
+
writer?: $protobuf.Writer
|
|
16402
|
+
): $protobuf.Writer;
|
|
16403
|
+
|
|
16404
|
+
/**
|
|
16405
|
+
* Decodes a ReplspaceApiCloseFile message from the specified reader or buffer.
|
|
16406
|
+
* @param reader Reader or buffer to decode from
|
|
16407
|
+
* @param [length] Message length if known beforehand
|
|
16408
|
+
* @returns ReplspaceApiCloseFile
|
|
16409
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
16410
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
16411
|
+
*/
|
|
16412
|
+
static decode(
|
|
16413
|
+
reader: $protobuf.Reader | Uint8Array,
|
|
16414
|
+
length?: number
|
|
16415
|
+
): replit$goval$api$ReplspaceApiCloseFile;
|
|
16416
|
+
|
|
16417
|
+
/**
|
|
16418
|
+
* Decodes a ReplspaceApiCloseFile message from the specified reader or buffer, length delimited.
|
|
16419
|
+
* @param reader Reader or buffer to decode from
|
|
16420
|
+
* @returns ReplspaceApiCloseFile
|
|
16421
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
16422
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
16423
|
+
*/
|
|
16424
|
+
static decodeDelimited(
|
|
16425
|
+
reader: $protobuf.Reader | Uint8Array
|
|
16426
|
+
): replit$goval$api$ReplspaceApiCloseFile;
|
|
16427
|
+
|
|
16428
|
+
/**
|
|
16429
|
+
* Verifies a ReplspaceApiCloseFile message.
|
|
16430
|
+
* @param message Plain object to verify
|
|
16431
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
16432
|
+
*/
|
|
16433
|
+
static verify(message: {|
|
|
16434
|
+
[k: string]: any,
|
|
16435
|
+
|}): string | null;
|
|
16436
|
+
|
|
16437
|
+
/**
|
|
16438
|
+
* Creates a ReplspaceApiCloseFile message from a plain object. Also converts values to their respective internal types.
|
|
16439
|
+
* @param object Plain object
|
|
16440
|
+
* @returns ReplspaceApiCloseFile
|
|
16441
|
+
*/
|
|
16442
|
+
static fromObject(object: {|
|
|
16443
|
+
[k: string]: any,
|
|
16444
|
+
|}): replit$goval$api$ReplspaceApiCloseFile;
|
|
16445
|
+
|
|
16446
|
+
/**
|
|
16447
|
+
* Creates a plain object from a ReplspaceApiCloseFile message. Also converts values to other types if specified.
|
|
16448
|
+
* @param message ReplspaceApiCloseFile
|
|
16449
|
+
* @param [options] Conversion options
|
|
16450
|
+
* @returns Plain object
|
|
16451
|
+
*/
|
|
16452
|
+
static toObject(
|
|
16453
|
+
message: replit$goval$api$ReplspaceApiCloseFile,
|
|
16454
|
+
options?: $protobuf.IConversionOptions
|
|
16455
|
+
): {|
|
|
16456
|
+
[k: string]: any,
|
|
16457
|
+
|};
|
|
16458
|
+
|
|
16459
|
+
/**
|
|
16460
|
+
* Converts this ReplspaceApiCloseFile to JSON.
|
|
16461
|
+
* @returns JSON object
|
|
16462
|
+
*/
|
|
16463
|
+
toJSON(): {|
|
|
16464
|
+
[k: string]: any,
|
|
16465
|
+
|};
|
|
16466
|
+
}
|
|
16467
|
+
|
|
16166
16468
|
/**
|
|
16167
16469
|
* Properties of an UpdateSessionTimestamp.
|
|
16168
16470
|
*/
|
|
@@ -30043,16 +30345,148 @@ declare class replit$goval$api$features$Feature {
|
|
|
30043
30345
|
|
|
30044
30346
|
declare var npm$namespace$replit$goval$api$repl: {|
|
|
30045
30347
|
Persistence: typeof replit$goval$api$repl$Persistence,
|
|
30348
|
+
IBuckets: Class<replit$goval$api$repl$IBuckets>,
|
|
30046
30349
|
IRepl: Class<replit$goval$api$repl$IRepl>,
|
|
30047
30350
|
IResourceLimits: Class<replit$goval$api$repl$IResourceLimits>,
|
|
30048
30351
|
IPermissions: Class<replit$goval$api$repl$IPermissions>,
|
|
30049
30352
|
IMetadata: Class<replit$goval$api$repl$IMetadata>,
|
|
30353
|
+
Buckets: typeof replit$goval$api$repl$Buckets,
|
|
30050
30354
|
Repl: typeof replit$goval$api$repl$Repl,
|
|
30051
30355
|
ResourceLimits: typeof replit$goval$api$repl$ResourceLimits,
|
|
30052
30356
|
Permissions: typeof replit$goval$api$repl$Permissions,
|
|
30053
30357
|
Metadata: typeof replit$goval$api$repl$Metadata,
|
|
30054
30358
|
|};
|
|
30055
30359
|
|
|
30360
|
+
/**
|
|
30361
|
+
* Properties of a Buckets.
|
|
30362
|
+
*/
|
|
30363
|
+
declare type replit$goval$api$repl$IBuckets = {|
|
|
30364
|
+
/**
|
|
30365
|
+
* Buckets snapshots
|
|
30366
|
+
*/
|
|
30367
|
+
snapshots?: string | null,
|
|
30368
|
+
|
|
30369
|
+
/**
|
|
30370
|
+
* Buckets metadata
|
|
30371
|
+
*/
|
|
30372
|
+
metadata?: string | null,
|
|
30373
|
+
|};
|
|
30374
|
+
|
|
30375
|
+
/**
|
|
30376
|
+
* Represents a Buckets.
|
|
30377
|
+
*/
|
|
30378
|
+
declare class replit$goval$api$repl$Buckets {
|
|
30379
|
+
/**
|
|
30380
|
+
* Constructs a new Buckets.
|
|
30381
|
+
* @param [properties] Properties to set
|
|
30382
|
+
*/
|
|
30383
|
+
constructor(properties?: replit$goval$api$repl$IBuckets): this;
|
|
30384
|
+
|
|
30385
|
+
/**
|
|
30386
|
+
* Buckets snapshots.
|
|
30387
|
+
*/
|
|
30388
|
+
snapshots: string;
|
|
30389
|
+
|
|
30390
|
+
/**
|
|
30391
|
+
* Buckets metadata.
|
|
30392
|
+
*/
|
|
30393
|
+
metadata: string;
|
|
30394
|
+
|
|
30395
|
+
/**
|
|
30396
|
+
* Creates a new Buckets instance using the specified properties.
|
|
30397
|
+
* @param [properties] Properties to set
|
|
30398
|
+
* @returns Buckets instance
|
|
30399
|
+
*/
|
|
30400
|
+
static create(
|
|
30401
|
+
properties?: replit$goval$api$repl$IBuckets
|
|
30402
|
+
): replit$goval$api$repl$Buckets;
|
|
30403
|
+
|
|
30404
|
+
/**
|
|
30405
|
+
* [object Object],[object Object],[object Object]
|
|
30406
|
+
* @param message Buckets message or plain object to encode
|
|
30407
|
+
* @param [writer] Writer to encode to
|
|
30408
|
+
* @returns Writer
|
|
30409
|
+
*/
|
|
30410
|
+
static encode(
|
|
30411
|
+
message: replit$goval$api$repl$Buckets,
|
|
30412
|
+
writer?: $protobuf.Writer
|
|
30413
|
+
): $protobuf.Writer;
|
|
30414
|
+
|
|
30415
|
+
/**
|
|
30416
|
+
* [object Object],[object Object],[object Object]
|
|
30417
|
+
* @param message Buckets message or plain object to encode
|
|
30418
|
+
* @param [writer] Writer to encode to
|
|
30419
|
+
* @returns Writer
|
|
30420
|
+
*/
|
|
30421
|
+
static encodeDelimited(
|
|
30422
|
+
message: replit$goval$api$repl$Buckets,
|
|
30423
|
+
writer?: $protobuf.Writer
|
|
30424
|
+
): $protobuf.Writer;
|
|
30425
|
+
|
|
30426
|
+
/**
|
|
30427
|
+
* Decodes a Buckets message from the specified reader or buffer.
|
|
30428
|
+
* @param reader Reader or buffer to decode from
|
|
30429
|
+
* @param [length] Message length if known beforehand
|
|
30430
|
+
* @returns Buckets
|
|
30431
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
30432
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
30433
|
+
*/
|
|
30434
|
+
static decode(
|
|
30435
|
+
reader: $protobuf.Reader | Uint8Array,
|
|
30436
|
+
length?: number
|
|
30437
|
+
): replit$goval$api$repl$Buckets;
|
|
30438
|
+
|
|
30439
|
+
/**
|
|
30440
|
+
* Decodes a Buckets message from the specified reader or buffer, length delimited.
|
|
30441
|
+
* @param reader Reader or buffer to decode from
|
|
30442
|
+
* @returns Buckets
|
|
30443
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
30444
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
30445
|
+
*/
|
|
30446
|
+
static decodeDelimited(
|
|
30447
|
+
reader: $protobuf.Reader | Uint8Array
|
|
30448
|
+
): replit$goval$api$repl$Buckets;
|
|
30449
|
+
|
|
30450
|
+
/**
|
|
30451
|
+
* Verifies a Buckets message.
|
|
30452
|
+
* @param message Plain object to verify
|
|
30453
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
30454
|
+
*/
|
|
30455
|
+
static verify(message: {|
|
|
30456
|
+
[k: string]: any,
|
|
30457
|
+
|}): string | null;
|
|
30458
|
+
|
|
30459
|
+
/**
|
|
30460
|
+
* Creates a Buckets message from a plain object. Also converts values to their respective internal types.
|
|
30461
|
+
* @param object Plain object
|
|
30462
|
+
* @returns Buckets
|
|
30463
|
+
*/
|
|
30464
|
+
static fromObject(object: {|
|
|
30465
|
+
[k: string]: any,
|
|
30466
|
+
|}): replit$goval$api$repl$Buckets;
|
|
30467
|
+
|
|
30468
|
+
/**
|
|
30469
|
+
* Creates a plain object from a Buckets message. Also converts values to other types if specified.
|
|
30470
|
+
* @param message Buckets
|
|
30471
|
+
* @param [options] Conversion options
|
|
30472
|
+
* @returns Plain object
|
|
30473
|
+
*/
|
|
30474
|
+
static toObject(
|
|
30475
|
+
message: replit$goval$api$repl$Buckets,
|
|
30476
|
+
options?: $protobuf.IConversionOptions
|
|
30477
|
+
): {|
|
|
30478
|
+
[k: string]: any,
|
|
30479
|
+
|};
|
|
30480
|
+
|
|
30481
|
+
/**
|
|
30482
|
+
* Converts this Buckets to JSON.
|
|
30483
|
+
* @returns JSON object
|
|
30484
|
+
*/
|
|
30485
|
+
toJSON(): {|
|
|
30486
|
+
[k: string]: any,
|
|
30487
|
+
|};
|
|
30488
|
+
}
|
|
30489
|
+
|
|
30056
30490
|
/**
|
|
30057
30491
|
* Properties of a Repl.
|
|
30058
30492
|
*/
|
|
@@ -30091,6 +30525,14 @@ declare type replit$goval$api$repl$IRepl = {|
|
|
|
30091
30525
|
* Repl database
|
|
30092
30526
|
*/
|
|
30093
30527
|
database?: string | null,
|
|
30528
|
+
|
|
30529
|
+
/**
|
|
30530
|
+
* Repl buckets
|
|
30531
|
+
*/
|
|
30532
|
+
buckets?:
|
|
30533
|
+
| replit$goval$api$repl$Buckets
|
|
30534
|
+
| replit$goval$api$repl$IBuckets
|
|
30535
|
+
| null,
|
|
30094
30536
|
|};
|
|
30095
30537
|
|
|
30096
30538
|
/**
|
|
@@ -30138,6 +30580,11 @@ declare class replit$goval$api$repl$Repl {
|
|
|
30138
30580
|
*/
|
|
30139
30581
|
database: string;
|
|
30140
30582
|
|
|
30583
|
+
/**
|
|
30584
|
+
* Repl buckets.
|
|
30585
|
+
*/
|
|
30586
|
+
buckets?: replit$goval$api$repl$Buckets | null;
|
|
30587
|
+
|
|
30141
30588
|
/**
|
|
30142
30589
|
* Creates a new Repl instance using the specified properties.
|
|
30143
30590
|
* @param [properties] Properties to set
|