@replit/protocol 0.3.43 → 0.3.44
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/iotester/index.js.flow +2946 -0
- package/main/index.d.ts +325 -364
- package/main/index.js +688 -935
- package/main/index.js.flow +42536 -0
- package/package.json +1 -1
- package/path.sh +0 -1
package/main/index.d.ts
CHANGED
|
@@ -48,9 +48,6 @@ export namespace replit {
|
|
|
48
48
|
/** Command redirect */
|
|
49
49
|
redirect?: (replit.goval.api.Redirect|replit.goval.api.IRedirect|null);
|
|
50
50
|
|
|
51
|
-
/** Command alwaysOn */
|
|
52
|
-
alwaysOn?: (replit.goval.api.AlwaysOn|replit.goval.api.IAlwaysOn|null);
|
|
53
|
-
|
|
54
51
|
/** Command runMain */
|
|
55
52
|
runMain?: (replit.goval.api.RunMain|replit.goval.api.IRunMain|null);
|
|
56
53
|
|
|
@@ -579,9 +576,6 @@ export namespace replit {
|
|
|
579
576
|
/** Command nixModulesGetRegistryResponse */
|
|
580
577
|
nixModulesGetRegistryResponse?: (replit.goval.api.NixModulesGetRegistryResponse|replit.goval.api.INixModulesGetRegistryResponse|null);
|
|
581
578
|
|
|
582
|
-
/** Command pid2Message */
|
|
583
|
-
pid2Message?: (replit.goval.api.RiverMessage|replit.goval.api.IRiverMessage|null);
|
|
584
|
-
|
|
585
579
|
/** Command replspaceApiShellTracker */
|
|
586
580
|
replspaceApiShellTracker?: (replit.goval.api.ReplspaceApiShellTracker|replit.goval.api.IReplspaceApiShellTracker|null);
|
|
587
581
|
|
|
@@ -640,9 +634,6 @@ export namespace replit {
|
|
|
640
634
|
/** Command redirect. */
|
|
641
635
|
public redirect?: (replit.goval.api.Redirect|null);
|
|
642
636
|
|
|
643
|
-
/** Command alwaysOn. */
|
|
644
|
-
public alwaysOn?: (replit.goval.api.AlwaysOn|null);
|
|
645
|
-
|
|
646
637
|
/** Command runMain. */
|
|
647
638
|
public runMain?: (replit.goval.api.RunMain|null);
|
|
648
639
|
|
|
@@ -1171,9 +1162,6 @@ export namespace replit {
|
|
|
1171
1162
|
/** Command nixModulesGetRegistryResponse. */
|
|
1172
1163
|
public nixModulesGetRegistryResponse?: (replit.goval.api.NixModulesGetRegistryResponse|null);
|
|
1173
1164
|
|
|
1174
|
-
/** Command pid2Message. */
|
|
1175
|
-
public pid2Message?: (replit.goval.api.RiverMessage|null);
|
|
1176
|
-
|
|
1177
1165
|
/** Command replspaceApiShellTracker. */
|
|
1178
1166
|
public replspaceApiShellTracker?: (replit.goval.api.ReplspaceApiShellTracker|null);
|
|
1179
1167
|
|
|
@@ -1187,7 +1175,7 @@ export namespace replit {
|
|
|
1187
1175
|
public forceTrace: boolean;
|
|
1188
1176
|
|
|
1189
1177
|
/** Command body. */
|
|
1190
|
-
public body?: ("openChan"|"openChanRes"|"closeChan"|"closeChanRes"|"containerState"|"portOpen"|"portClose"|"toast"|"protocolError"|"redirect"|"
|
|
1178
|
+
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"|"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"|"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"|"userEvent"|"replspaceApiOpenFile"|"replspaceApiCloseFile"|"replspaceApiGetGitHubToken"|"replspaceApiGitHubToken"|"focused"|"nixModulesGetRequest"|"nixModulesGetResponse"|"nixModulesChanged"|"nixModulesBuildRequest"|"packageSetPackagerRequest"|"packageSetPackagerResp"|"toolchainGetRequest"|"toolchainGetResponse"|"toolchainChanged"|"replspaceApiOpenMultipleFiles"|"nixModulesGetRegistryRequest"|"nixModulesGetRegistryResponse"|"replspaceApiShellTracker");
|
|
1191
1179
|
|
|
1192
1180
|
/**
|
|
1193
1181
|
* Creates a new Command instance using the specified properties.
|
|
@@ -1267,151 +1255,6 @@ export namespace replit {
|
|
|
1267
1255
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1268
1256
|
}
|
|
1269
1257
|
|
|
1270
|
-
/** Properties of a RiverMessage. */
|
|
1271
|
-
interface IRiverMessage {
|
|
1272
|
-
|
|
1273
|
-
/** RiverMessage id */
|
|
1274
|
-
id?: (string|null);
|
|
1275
|
-
|
|
1276
|
-
/** RiverMessage replyTo */
|
|
1277
|
-
replyTo?: (string|null);
|
|
1278
|
-
|
|
1279
|
-
/** RiverMessage from */
|
|
1280
|
-
from?: (string|null);
|
|
1281
|
-
|
|
1282
|
-
/** RiverMessage to */
|
|
1283
|
-
to?: (string|null);
|
|
1284
|
-
|
|
1285
|
-
/** RiverMessage serviceName */
|
|
1286
|
-
serviceName?: (string|null);
|
|
1287
|
-
|
|
1288
|
-
/** RiverMessage procedureName */
|
|
1289
|
-
procedureName?: (string|null);
|
|
1290
|
-
|
|
1291
|
-
/** RiverMessage ack */
|
|
1292
|
-
ack?: (string|null);
|
|
1293
|
-
|
|
1294
|
-
/** RiverMessage payload */
|
|
1295
|
-
payload?: (google.protobuf.Value|google.protobuf.IValue|null);
|
|
1296
|
-
}
|
|
1297
|
-
|
|
1298
|
-
/** Represents a RiverMessage. */
|
|
1299
|
-
class RiverMessage {
|
|
1300
|
-
|
|
1301
|
-
/**
|
|
1302
|
-
* Constructs a new RiverMessage.
|
|
1303
|
-
* @param [properties] Properties to set
|
|
1304
|
-
*/
|
|
1305
|
-
private constructor(properties?: replit.goval.api.IRiverMessage);
|
|
1306
|
-
|
|
1307
|
-
/** RiverMessage id. */
|
|
1308
|
-
public id: string;
|
|
1309
|
-
|
|
1310
|
-
/** RiverMessage replyTo. */
|
|
1311
|
-
public replyTo?: (string|null);
|
|
1312
|
-
|
|
1313
|
-
/** RiverMessage from. */
|
|
1314
|
-
public from: string;
|
|
1315
|
-
|
|
1316
|
-
/** RiverMessage to. */
|
|
1317
|
-
public to: string;
|
|
1318
|
-
|
|
1319
|
-
/** RiverMessage serviceName. */
|
|
1320
|
-
public serviceName: string;
|
|
1321
|
-
|
|
1322
|
-
/** RiverMessage procedureName. */
|
|
1323
|
-
public procedureName: string;
|
|
1324
|
-
|
|
1325
|
-
/** RiverMessage ack. */
|
|
1326
|
-
public ack?: (string|null);
|
|
1327
|
-
|
|
1328
|
-
/** RiverMessage payload. */
|
|
1329
|
-
public payload?: (google.protobuf.Value|null);
|
|
1330
|
-
|
|
1331
|
-
/** RiverMessage _replyTo. */
|
|
1332
|
-
public _replyTo?: "replyTo";
|
|
1333
|
-
|
|
1334
|
-
/** RiverMessage _ack. */
|
|
1335
|
-
public _ack?: "ack";
|
|
1336
|
-
|
|
1337
|
-
/**
|
|
1338
|
-
* Creates a new RiverMessage instance using the specified properties.
|
|
1339
|
-
* @param [properties] Properties to set
|
|
1340
|
-
* @returns RiverMessage instance
|
|
1341
|
-
*/
|
|
1342
|
-
public static create(properties?: replit.goval.api.IRiverMessage): replit.goval.api.RiverMessage;
|
|
1343
|
-
|
|
1344
|
-
/**
|
|
1345
|
-
* Encodes the specified RiverMessage message. Does not implicitly {@link replit.goval.api.RiverMessage.verify|verify} messages.
|
|
1346
|
-
* @param message RiverMessage message or plain object to encode
|
|
1347
|
-
* @param [writer] Writer to encode to
|
|
1348
|
-
* @returns Writer
|
|
1349
|
-
*/
|
|
1350
|
-
public static encode(message: replit.goval.api.RiverMessage, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1351
|
-
|
|
1352
|
-
/**
|
|
1353
|
-
* Encodes the specified RiverMessage message, length delimited. Does not implicitly {@link replit.goval.api.RiverMessage.verify|verify} messages.
|
|
1354
|
-
* @param message RiverMessage message or plain object to encode
|
|
1355
|
-
* @param [writer] Writer to encode to
|
|
1356
|
-
* @returns Writer
|
|
1357
|
-
*/
|
|
1358
|
-
public static encodeDelimited(message: replit.goval.api.RiverMessage, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1359
|
-
|
|
1360
|
-
/**
|
|
1361
|
-
* Decodes a RiverMessage message from the specified reader or buffer.
|
|
1362
|
-
* @param reader Reader or buffer to decode from
|
|
1363
|
-
* @param [length] Message length if known beforehand
|
|
1364
|
-
* @returns RiverMessage
|
|
1365
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1366
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1367
|
-
*/
|
|
1368
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.RiverMessage;
|
|
1369
|
-
|
|
1370
|
-
/**
|
|
1371
|
-
* Decodes a RiverMessage message from the specified reader or buffer, length delimited.
|
|
1372
|
-
* @param reader Reader or buffer to decode from
|
|
1373
|
-
* @returns RiverMessage
|
|
1374
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1375
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1376
|
-
*/
|
|
1377
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.RiverMessage;
|
|
1378
|
-
|
|
1379
|
-
/**
|
|
1380
|
-
* Verifies a RiverMessage message.
|
|
1381
|
-
* @param message Plain object to verify
|
|
1382
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
1383
|
-
*/
|
|
1384
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
1385
|
-
|
|
1386
|
-
/**
|
|
1387
|
-
* Creates a RiverMessage message from a plain object. Also converts values to their respective internal types.
|
|
1388
|
-
* @param object Plain object
|
|
1389
|
-
* @returns RiverMessage
|
|
1390
|
-
*/
|
|
1391
|
-
public static fromObject(object: { [k: string]: any }): replit.goval.api.RiverMessage;
|
|
1392
|
-
|
|
1393
|
-
/**
|
|
1394
|
-
* Creates a plain object from a RiverMessage message. Also converts values to other types if specified.
|
|
1395
|
-
* @param message RiverMessage
|
|
1396
|
-
* @param [options] Conversion options
|
|
1397
|
-
* @returns Plain object
|
|
1398
|
-
*/
|
|
1399
|
-
public static toObject(message: replit.goval.api.RiverMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1400
|
-
|
|
1401
|
-
/**
|
|
1402
|
-
* Converts this RiverMessage to JSON.
|
|
1403
|
-
* @returns JSON object
|
|
1404
|
-
*/
|
|
1405
|
-
public toJSON(): { [k: string]: any };
|
|
1406
|
-
|
|
1407
|
-
/**
|
|
1408
|
-
* Gets the default type url for RiverMessage
|
|
1409
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1410
|
-
* @returns The default type url
|
|
1411
|
-
*/
|
|
1412
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1413
|
-
}
|
|
1414
|
-
|
|
1415
1258
|
/** Properties of a NixPackageAddRequest. */
|
|
1416
1259
|
interface INixPackageAddRequest {
|
|
1417
1260
|
|
|
@@ -9569,103 +9412,6 @@ export namespace replit {
|
|
|
9569
9412
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
9570
9413
|
}
|
|
9571
9414
|
|
|
9572
|
-
/** Properties of an AlwaysOn. */
|
|
9573
|
-
interface IAlwaysOn {
|
|
9574
|
-
|
|
9575
|
-
/** AlwaysOn enable */
|
|
9576
|
-
enable?: (boolean|null);
|
|
9577
|
-
}
|
|
9578
|
-
|
|
9579
|
-
/** Represents an AlwaysOn. */
|
|
9580
|
-
class AlwaysOn {
|
|
9581
|
-
|
|
9582
|
-
/**
|
|
9583
|
-
* Constructs a new AlwaysOn.
|
|
9584
|
-
* @param [properties] Properties to set
|
|
9585
|
-
*/
|
|
9586
|
-
private constructor(properties?: replit.goval.api.IAlwaysOn);
|
|
9587
|
-
|
|
9588
|
-
/** AlwaysOn enable. */
|
|
9589
|
-
public enable: boolean;
|
|
9590
|
-
|
|
9591
|
-
/**
|
|
9592
|
-
* Creates a new AlwaysOn instance using the specified properties.
|
|
9593
|
-
* @param [properties] Properties to set
|
|
9594
|
-
* @returns AlwaysOn instance
|
|
9595
|
-
*/
|
|
9596
|
-
public static create(properties?: replit.goval.api.IAlwaysOn): replit.goval.api.AlwaysOn;
|
|
9597
|
-
|
|
9598
|
-
/**
|
|
9599
|
-
* Encodes the specified AlwaysOn message. Does not implicitly {@link replit.goval.api.AlwaysOn.verify|verify} messages.
|
|
9600
|
-
* @param message AlwaysOn message or plain object to encode
|
|
9601
|
-
* @param [writer] Writer to encode to
|
|
9602
|
-
* @returns Writer
|
|
9603
|
-
*/
|
|
9604
|
-
public static encode(message: replit.goval.api.AlwaysOn, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
9605
|
-
|
|
9606
|
-
/**
|
|
9607
|
-
* Encodes the specified AlwaysOn message, length delimited. Does not implicitly {@link replit.goval.api.AlwaysOn.verify|verify} messages.
|
|
9608
|
-
* @param message AlwaysOn message or plain object to encode
|
|
9609
|
-
* @param [writer] Writer to encode to
|
|
9610
|
-
* @returns Writer
|
|
9611
|
-
*/
|
|
9612
|
-
public static encodeDelimited(message: replit.goval.api.AlwaysOn, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
9613
|
-
|
|
9614
|
-
/**
|
|
9615
|
-
* Decodes an AlwaysOn message from the specified reader or buffer.
|
|
9616
|
-
* @param reader Reader or buffer to decode from
|
|
9617
|
-
* @param [length] Message length if known beforehand
|
|
9618
|
-
* @returns AlwaysOn
|
|
9619
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
9620
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
9621
|
-
*/
|
|
9622
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.AlwaysOn;
|
|
9623
|
-
|
|
9624
|
-
/**
|
|
9625
|
-
* Decodes an AlwaysOn message from the specified reader or buffer, length delimited.
|
|
9626
|
-
* @param reader Reader or buffer to decode from
|
|
9627
|
-
* @returns AlwaysOn
|
|
9628
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
9629
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
9630
|
-
*/
|
|
9631
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.AlwaysOn;
|
|
9632
|
-
|
|
9633
|
-
/**
|
|
9634
|
-
* Verifies an AlwaysOn message.
|
|
9635
|
-
* @param message Plain object to verify
|
|
9636
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
9637
|
-
*/
|
|
9638
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
9639
|
-
|
|
9640
|
-
/**
|
|
9641
|
-
* Creates an AlwaysOn message from a plain object. Also converts values to their respective internal types.
|
|
9642
|
-
* @param object Plain object
|
|
9643
|
-
* @returns AlwaysOn
|
|
9644
|
-
*/
|
|
9645
|
-
public static fromObject(object: { [k: string]: any }): replit.goval.api.AlwaysOn;
|
|
9646
|
-
|
|
9647
|
-
/**
|
|
9648
|
-
* Creates a plain object from an AlwaysOn message. Also converts values to other types if specified.
|
|
9649
|
-
* @param message AlwaysOn
|
|
9650
|
-
* @param [options] Conversion options
|
|
9651
|
-
* @returns Plain object
|
|
9652
|
-
*/
|
|
9653
|
-
public static toObject(message: replit.goval.api.AlwaysOn, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
9654
|
-
|
|
9655
|
-
/**
|
|
9656
|
-
* Converts this AlwaysOn to JSON.
|
|
9657
|
-
* @returns JSON object
|
|
9658
|
-
*/
|
|
9659
|
-
public toJSON(): { [k: string]: any };
|
|
9660
|
-
|
|
9661
|
-
/**
|
|
9662
|
-
* Gets the default type url for AlwaysOn
|
|
9663
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
9664
|
-
* @returns The default type url
|
|
9665
|
-
*/
|
|
9666
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
9667
|
-
}
|
|
9668
|
-
|
|
9669
9415
|
/** Properties of a RunMain. */
|
|
9670
9416
|
interface IRunMain {
|
|
9671
9417
|
|
|
@@ -13329,6 +13075,9 @@ export namespace replit {
|
|
|
13329
13075
|
|
|
13330
13076
|
/** Exec splitLogs */
|
|
13331
13077
|
splitLogs?: (boolean|null);
|
|
13078
|
+
|
|
13079
|
+
/** Exec waitForEnv */
|
|
13080
|
+
waitForEnv?: (boolean|null);
|
|
13332
13081
|
}
|
|
13333
13082
|
|
|
13334
13083
|
/** Represents an Exec. */
|
|
@@ -13358,6 +13107,9 @@ export namespace replit {
|
|
|
13358
13107
|
/** Exec splitLogs. */
|
|
13359
13108
|
public splitLogs: boolean;
|
|
13360
13109
|
|
|
13110
|
+
/** Exec waitForEnv. */
|
|
13111
|
+
public waitForEnv: boolean;
|
|
13112
|
+
|
|
13361
13113
|
/**
|
|
13362
13114
|
* Creates a new Exec instance using the specified properties.
|
|
13363
13115
|
* @param [properties] Properties to set
|
|
@@ -18287,6 +18039,9 @@ export namespace replit {
|
|
|
18287
18039
|
|
|
18288
18040
|
/** DotReplit suggestions */
|
|
18289
18041
|
suggestions?: (replit.goval.api.SuggestionsConfig|replit.goval.api.ISuggestionsConfig|null);
|
|
18042
|
+
|
|
18043
|
+
/** DotReplit objectStorage */
|
|
18044
|
+
objectStorage?: (replit.goval.api.ObjectStorageConfig|replit.goval.api.IObjectStorageConfig|null);
|
|
18290
18045
|
}
|
|
18291
18046
|
|
|
18292
18047
|
/** Represents a DotReplit. */
|
|
@@ -18376,6 +18131,9 @@ export namespace replit {
|
|
|
18376
18131
|
/** DotReplit suggestions. */
|
|
18377
18132
|
public suggestions?: (replit.goval.api.SuggestionsConfig|null);
|
|
18378
18133
|
|
|
18134
|
+
/** DotReplit objectStorage. */
|
|
18135
|
+
public objectStorage?: (replit.goval.api.ObjectStorageConfig|null);
|
|
18136
|
+
|
|
18379
18137
|
/**
|
|
18380
18138
|
* Creates a new DotReplit instance using the specified properties.
|
|
18381
18139
|
* @param [properties] Properties to set
|
|
@@ -22394,6 +22152,103 @@ export namespace replit {
|
|
|
22394
22152
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
22395
22153
|
}
|
|
22396
22154
|
|
|
22155
|
+
/** Properties of an ObjectStorageConfig. */
|
|
22156
|
+
interface IObjectStorageConfig {
|
|
22157
|
+
|
|
22158
|
+
/** ObjectStorageConfig defaultBucketID */
|
|
22159
|
+
defaultBucketID?: (string|null);
|
|
22160
|
+
}
|
|
22161
|
+
|
|
22162
|
+
/** Represents an ObjectStorageConfig. */
|
|
22163
|
+
class ObjectStorageConfig {
|
|
22164
|
+
|
|
22165
|
+
/**
|
|
22166
|
+
* Constructs a new ObjectStorageConfig.
|
|
22167
|
+
* @param [properties] Properties to set
|
|
22168
|
+
*/
|
|
22169
|
+
private constructor(properties?: replit.goval.api.IObjectStorageConfig);
|
|
22170
|
+
|
|
22171
|
+
/** ObjectStorageConfig defaultBucketID. */
|
|
22172
|
+
public defaultBucketID: string;
|
|
22173
|
+
|
|
22174
|
+
/**
|
|
22175
|
+
* Creates a new ObjectStorageConfig instance using the specified properties.
|
|
22176
|
+
* @param [properties] Properties to set
|
|
22177
|
+
* @returns ObjectStorageConfig instance
|
|
22178
|
+
*/
|
|
22179
|
+
public static create(properties?: replit.goval.api.IObjectStorageConfig): replit.goval.api.ObjectStorageConfig;
|
|
22180
|
+
|
|
22181
|
+
/**
|
|
22182
|
+
* Encodes the specified ObjectStorageConfig message. Does not implicitly {@link replit.goval.api.ObjectStorageConfig.verify|verify} messages.
|
|
22183
|
+
* @param message ObjectStorageConfig message or plain object to encode
|
|
22184
|
+
* @param [writer] Writer to encode to
|
|
22185
|
+
* @returns Writer
|
|
22186
|
+
*/
|
|
22187
|
+
public static encode(message: replit.goval.api.ObjectStorageConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
22188
|
+
|
|
22189
|
+
/**
|
|
22190
|
+
* Encodes the specified ObjectStorageConfig message, length delimited. Does not implicitly {@link replit.goval.api.ObjectStorageConfig.verify|verify} messages.
|
|
22191
|
+
* @param message ObjectStorageConfig message or plain object to encode
|
|
22192
|
+
* @param [writer] Writer to encode to
|
|
22193
|
+
* @returns Writer
|
|
22194
|
+
*/
|
|
22195
|
+
public static encodeDelimited(message: replit.goval.api.ObjectStorageConfig, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
22196
|
+
|
|
22197
|
+
/**
|
|
22198
|
+
* Decodes an ObjectStorageConfig message from the specified reader or buffer.
|
|
22199
|
+
* @param reader Reader or buffer to decode from
|
|
22200
|
+
* @param [length] Message length if known beforehand
|
|
22201
|
+
* @returns ObjectStorageConfig
|
|
22202
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
22203
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
22204
|
+
*/
|
|
22205
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.ObjectStorageConfig;
|
|
22206
|
+
|
|
22207
|
+
/**
|
|
22208
|
+
* Decodes an ObjectStorageConfig message from the specified reader or buffer, length delimited.
|
|
22209
|
+
* @param reader Reader or buffer to decode from
|
|
22210
|
+
* @returns ObjectStorageConfig
|
|
22211
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
22212
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
22213
|
+
*/
|
|
22214
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.ObjectStorageConfig;
|
|
22215
|
+
|
|
22216
|
+
/**
|
|
22217
|
+
* Verifies an ObjectStorageConfig message.
|
|
22218
|
+
* @param message Plain object to verify
|
|
22219
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
22220
|
+
*/
|
|
22221
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
22222
|
+
|
|
22223
|
+
/**
|
|
22224
|
+
* Creates an ObjectStorageConfig message from a plain object. Also converts values to their respective internal types.
|
|
22225
|
+
* @param object Plain object
|
|
22226
|
+
* @returns ObjectStorageConfig
|
|
22227
|
+
*/
|
|
22228
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.ObjectStorageConfig;
|
|
22229
|
+
|
|
22230
|
+
/**
|
|
22231
|
+
* Creates a plain object from an ObjectStorageConfig message. Also converts values to other types if specified.
|
|
22232
|
+
* @param message ObjectStorageConfig
|
|
22233
|
+
* @param [options] Conversion options
|
|
22234
|
+
* @returns Plain object
|
|
22235
|
+
*/
|
|
22236
|
+
public static toObject(message: replit.goval.api.ObjectStorageConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
22237
|
+
|
|
22238
|
+
/**
|
|
22239
|
+
* Converts this ObjectStorageConfig to JSON.
|
|
22240
|
+
* @returns JSON object
|
|
22241
|
+
*/
|
|
22242
|
+
public toJSON(): { [k: string]: any };
|
|
22243
|
+
|
|
22244
|
+
/**
|
|
22245
|
+
* Gets the default type url for ObjectStorageConfig
|
|
22246
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
22247
|
+
* @returns The default type url
|
|
22248
|
+
*/
|
|
22249
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
22250
|
+
}
|
|
22251
|
+
|
|
22397
22252
|
/** Properties of a ToolchainGetRequest. */
|
|
22398
22253
|
interface IToolchainGetRequest {
|
|
22399
22254
|
}
|
|
@@ -24991,9 +24846,6 @@ export namespace replit {
|
|
|
24991
24846
|
/** ReplToken flags */
|
|
24992
24847
|
flags?: (string[]|null);
|
|
24993
24848
|
|
|
24994
|
-
/** ReplToken permissions */
|
|
24995
|
-
permissions?: (replit.goval.api.repl.Permissions|replit.goval.api.repl.IPermissions|null);
|
|
24996
|
-
|
|
24997
24849
|
/** ReplToken features */
|
|
24998
24850
|
features?: ((replit.goval.api.features.Feature|replit.goval.api.features.IFeature)[]|null);
|
|
24999
24851
|
|
|
@@ -25055,9 +24907,6 @@ export namespace replit {
|
|
|
25055
24907
|
/** ReplToken flags. */
|
|
25056
24908
|
public flags: string[];
|
|
25057
24909
|
|
|
25058
|
-
/** ReplToken permissions. */
|
|
25059
|
-
public permissions?: (replit.goval.api.repl.Permissions|null);
|
|
25060
|
-
|
|
25061
24910
|
/** ReplToken features. */
|
|
25062
24911
|
public features: replit.goval.api.features.Feature[];
|
|
25063
24912
|
|
|
@@ -30405,6 +30254,200 @@ export namespace replit {
|
|
|
30405
30254
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
30406
30255
|
}
|
|
30407
30256
|
|
|
30257
|
+
/** Properties of a TransferReplFromOfflineClusterRequest. */
|
|
30258
|
+
interface ITransferReplFromOfflineClusterRequest {
|
|
30259
|
+
|
|
30260
|
+
/** TransferReplFromOfflineClusterRequest newCluster */
|
|
30261
|
+
newCluster?: (string|null);
|
|
30262
|
+
|
|
30263
|
+
/** TransferReplFromOfflineClusterRequest replId */
|
|
30264
|
+
replId?: (string|null);
|
|
30265
|
+
}
|
|
30266
|
+
|
|
30267
|
+
/** Represents a TransferReplFromOfflineClusterRequest. */
|
|
30268
|
+
class TransferReplFromOfflineClusterRequest {
|
|
30269
|
+
|
|
30270
|
+
/**
|
|
30271
|
+
* Constructs a new TransferReplFromOfflineClusterRequest.
|
|
30272
|
+
* @param [properties] Properties to set
|
|
30273
|
+
*/
|
|
30274
|
+
private constructor(properties?: replit.goval.api.lore.ITransferReplFromOfflineClusterRequest);
|
|
30275
|
+
|
|
30276
|
+
/** TransferReplFromOfflineClusterRequest newCluster. */
|
|
30277
|
+
public newCluster: string;
|
|
30278
|
+
|
|
30279
|
+
/** TransferReplFromOfflineClusterRequest replId. */
|
|
30280
|
+
public replId: string;
|
|
30281
|
+
|
|
30282
|
+
/**
|
|
30283
|
+
* Creates a new TransferReplFromOfflineClusterRequest instance using the specified properties.
|
|
30284
|
+
* @param [properties] Properties to set
|
|
30285
|
+
* @returns TransferReplFromOfflineClusterRequest instance
|
|
30286
|
+
*/
|
|
30287
|
+
public static create(properties?: replit.goval.api.lore.ITransferReplFromOfflineClusterRequest): replit.goval.api.lore.TransferReplFromOfflineClusterRequest;
|
|
30288
|
+
|
|
30289
|
+
/**
|
|
30290
|
+
* Encodes the specified TransferReplFromOfflineClusterRequest message. Does not implicitly {@link replit.goval.api.lore.TransferReplFromOfflineClusterRequest.verify|verify} messages.
|
|
30291
|
+
* @param message TransferReplFromOfflineClusterRequest message or plain object to encode
|
|
30292
|
+
* @param [writer] Writer to encode to
|
|
30293
|
+
* @returns Writer
|
|
30294
|
+
*/
|
|
30295
|
+
public static encode(message: replit.goval.api.lore.TransferReplFromOfflineClusterRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
30296
|
+
|
|
30297
|
+
/**
|
|
30298
|
+
* Encodes the specified TransferReplFromOfflineClusterRequest message, length delimited. Does not implicitly {@link replit.goval.api.lore.TransferReplFromOfflineClusterRequest.verify|verify} messages.
|
|
30299
|
+
* @param message TransferReplFromOfflineClusterRequest message or plain object to encode
|
|
30300
|
+
* @param [writer] Writer to encode to
|
|
30301
|
+
* @returns Writer
|
|
30302
|
+
*/
|
|
30303
|
+
public static encodeDelimited(message: replit.goval.api.lore.TransferReplFromOfflineClusterRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
30304
|
+
|
|
30305
|
+
/**
|
|
30306
|
+
* Decodes a TransferReplFromOfflineClusterRequest message from the specified reader or buffer.
|
|
30307
|
+
* @param reader Reader or buffer to decode from
|
|
30308
|
+
* @param [length] Message length if known beforehand
|
|
30309
|
+
* @returns TransferReplFromOfflineClusterRequest
|
|
30310
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
30311
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
30312
|
+
*/
|
|
30313
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.lore.TransferReplFromOfflineClusterRequest;
|
|
30314
|
+
|
|
30315
|
+
/**
|
|
30316
|
+
* Decodes a TransferReplFromOfflineClusterRequest message from the specified reader or buffer, length delimited.
|
|
30317
|
+
* @param reader Reader or buffer to decode from
|
|
30318
|
+
* @returns TransferReplFromOfflineClusterRequest
|
|
30319
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
30320
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
30321
|
+
*/
|
|
30322
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.lore.TransferReplFromOfflineClusterRequest;
|
|
30323
|
+
|
|
30324
|
+
/**
|
|
30325
|
+
* Verifies a TransferReplFromOfflineClusterRequest message.
|
|
30326
|
+
* @param message Plain object to verify
|
|
30327
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
30328
|
+
*/
|
|
30329
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
30330
|
+
|
|
30331
|
+
/**
|
|
30332
|
+
* Creates a TransferReplFromOfflineClusterRequest message from a plain object. Also converts values to their respective internal types.
|
|
30333
|
+
* @param object Plain object
|
|
30334
|
+
* @returns TransferReplFromOfflineClusterRequest
|
|
30335
|
+
*/
|
|
30336
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.lore.TransferReplFromOfflineClusterRequest;
|
|
30337
|
+
|
|
30338
|
+
/**
|
|
30339
|
+
* Creates a plain object from a TransferReplFromOfflineClusterRequest message. Also converts values to other types if specified.
|
|
30340
|
+
* @param message TransferReplFromOfflineClusterRequest
|
|
30341
|
+
* @param [options] Conversion options
|
|
30342
|
+
* @returns Plain object
|
|
30343
|
+
*/
|
|
30344
|
+
public static toObject(message: replit.goval.api.lore.TransferReplFromOfflineClusterRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
30345
|
+
|
|
30346
|
+
/**
|
|
30347
|
+
* Converts this TransferReplFromOfflineClusterRequest to JSON.
|
|
30348
|
+
* @returns JSON object
|
|
30349
|
+
*/
|
|
30350
|
+
public toJSON(): { [k: string]: any };
|
|
30351
|
+
|
|
30352
|
+
/**
|
|
30353
|
+
* Gets the default type url for TransferReplFromOfflineClusterRequest
|
|
30354
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
30355
|
+
* @returns The default type url
|
|
30356
|
+
*/
|
|
30357
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
30358
|
+
}
|
|
30359
|
+
|
|
30360
|
+
/** Properties of a TransferReplFromOfflineClusterResponse. */
|
|
30361
|
+
interface ITransferReplFromOfflineClusterResponse {
|
|
30362
|
+
}
|
|
30363
|
+
|
|
30364
|
+
/** Represents a TransferReplFromOfflineClusterResponse. */
|
|
30365
|
+
class TransferReplFromOfflineClusterResponse {
|
|
30366
|
+
|
|
30367
|
+
/**
|
|
30368
|
+
* Constructs a new TransferReplFromOfflineClusterResponse.
|
|
30369
|
+
* @param [properties] Properties to set
|
|
30370
|
+
*/
|
|
30371
|
+
private constructor(properties?: replit.goval.api.lore.ITransferReplFromOfflineClusterResponse);
|
|
30372
|
+
|
|
30373
|
+
/**
|
|
30374
|
+
* Creates a new TransferReplFromOfflineClusterResponse instance using the specified properties.
|
|
30375
|
+
* @param [properties] Properties to set
|
|
30376
|
+
* @returns TransferReplFromOfflineClusterResponse instance
|
|
30377
|
+
*/
|
|
30378
|
+
public static create(properties?: replit.goval.api.lore.ITransferReplFromOfflineClusterResponse): replit.goval.api.lore.TransferReplFromOfflineClusterResponse;
|
|
30379
|
+
|
|
30380
|
+
/**
|
|
30381
|
+
* Encodes the specified TransferReplFromOfflineClusterResponse message. Does not implicitly {@link replit.goval.api.lore.TransferReplFromOfflineClusterResponse.verify|verify} messages.
|
|
30382
|
+
* @param message TransferReplFromOfflineClusterResponse message or plain object to encode
|
|
30383
|
+
* @param [writer] Writer to encode to
|
|
30384
|
+
* @returns Writer
|
|
30385
|
+
*/
|
|
30386
|
+
public static encode(message: replit.goval.api.lore.TransferReplFromOfflineClusterResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
30387
|
+
|
|
30388
|
+
/**
|
|
30389
|
+
* Encodes the specified TransferReplFromOfflineClusterResponse message, length delimited. Does not implicitly {@link replit.goval.api.lore.TransferReplFromOfflineClusterResponse.verify|verify} messages.
|
|
30390
|
+
* @param message TransferReplFromOfflineClusterResponse message or plain object to encode
|
|
30391
|
+
* @param [writer] Writer to encode to
|
|
30392
|
+
* @returns Writer
|
|
30393
|
+
*/
|
|
30394
|
+
public static encodeDelimited(message: replit.goval.api.lore.TransferReplFromOfflineClusterResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
30395
|
+
|
|
30396
|
+
/**
|
|
30397
|
+
* Decodes a TransferReplFromOfflineClusterResponse message from the specified reader or buffer.
|
|
30398
|
+
* @param reader Reader or buffer to decode from
|
|
30399
|
+
* @param [length] Message length if known beforehand
|
|
30400
|
+
* @returns TransferReplFromOfflineClusterResponse
|
|
30401
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
30402
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
30403
|
+
*/
|
|
30404
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.lore.TransferReplFromOfflineClusterResponse;
|
|
30405
|
+
|
|
30406
|
+
/**
|
|
30407
|
+
* Decodes a TransferReplFromOfflineClusterResponse message from the specified reader or buffer, length delimited.
|
|
30408
|
+
* @param reader Reader or buffer to decode from
|
|
30409
|
+
* @returns TransferReplFromOfflineClusterResponse
|
|
30410
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
30411
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
30412
|
+
*/
|
|
30413
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.lore.TransferReplFromOfflineClusterResponse;
|
|
30414
|
+
|
|
30415
|
+
/**
|
|
30416
|
+
* Verifies a TransferReplFromOfflineClusterResponse message.
|
|
30417
|
+
* @param message Plain object to verify
|
|
30418
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
30419
|
+
*/
|
|
30420
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
30421
|
+
|
|
30422
|
+
/**
|
|
30423
|
+
* Creates a TransferReplFromOfflineClusterResponse message from a plain object. Also converts values to their respective internal types.
|
|
30424
|
+
* @param object Plain object
|
|
30425
|
+
* @returns TransferReplFromOfflineClusterResponse
|
|
30426
|
+
*/
|
|
30427
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.lore.TransferReplFromOfflineClusterResponse;
|
|
30428
|
+
|
|
30429
|
+
/**
|
|
30430
|
+
* Creates a plain object from a TransferReplFromOfflineClusterResponse message. Also converts values to other types if specified.
|
|
30431
|
+
* @param message TransferReplFromOfflineClusterResponse
|
|
30432
|
+
* @param [options] Conversion options
|
|
30433
|
+
* @returns Plain object
|
|
30434
|
+
*/
|
|
30435
|
+
public static toObject(message: replit.goval.api.lore.TransferReplFromOfflineClusterResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
30436
|
+
|
|
30437
|
+
/**
|
|
30438
|
+
* Converts this TransferReplFromOfflineClusterResponse to JSON.
|
|
30439
|
+
* @returns JSON object
|
|
30440
|
+
*/
|
|
30441
|
+
public toJSON(): { [k: string]: any };
|
|
30442
|
+
|
|
30443
|
+
/**
|
|
30444
|
+
* Gets the default type url for TransferReplFromOfflineClusterResponse
|
|
30445
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
30446
|
+
* @returns The default type url
|
|
30447
|
+
*/
|
|
30448
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
30449
|
+
}
|
|
30450
|
+
|
|
30408
30451
|
/** Properties of a TransferUserRequest. */
|
|
30409
30452
|
interface ITransferUserRequest {
|
|
30410
30453
|
|
|
@@ -32255,6 +32298,20 @@ export namespace replit {
|
|
|
32255
32298
|
* @returns Promise
|
|
32256
32299
|
*/
|
|
32257
32300
|
public unlinkDomain(request: replit.goval.api.lore.UnlinkDomainRequest): Promise<replit.goval.api.lore.UnlinkDomainResponse>;
|
|
32301
|
+
|
|
32302
|
+
/**
|
|
32303
|
+
* Calls TransferReplFromOfflineCluster.
|
|
32304
|
+
* @param request TransferReplFromOfflineClusterRequest message or plain object
|
|
32305
|
+
* @param callback Node-style callback called with the error, if any, and TransferReplFromOfflineClusterResponse
|
|
32306
|
+
*/
|
|
32307
|
+
public transferReplFromOfflineCluster(request: replit.goval.api.lore.TransferReplFromOfflineClusterRequest, callback: replit.goval.api.lore.Lore.TransferReplFromOfflineClusterCallback): void;
|
|
32308
|
+
|
|
32309
|
+
/**
|
|
32310
|
+
* Calls TransferReplFromOfflineCluster.
|
|
32311
|
+
* @param request TransferReplFromOfflineClusterRequest message or plain object
|
|
32312
|
+
* @returns Promise
|
|
32313
|
+
*/
|
|
32314
|
+
public transferReplFromOfflineCluster(request: replit.goval.api.lore.TransferReplFromOfflineClusterRequest): Promise<replit.goval.api.lore.TransferReplFromOfflineClusterResponse>;
|
|
32258
32315
|
}
|
|
32259
32316
|
|
|
32260
32317
|
namespace Lore {
|
|
@@ -32349,6 +32406,13 @@ export namespace replit {
|
|
|
32349
32406
|
* @param [response] UnlinkDomainResponse
|
|
32350
32407
|
*/
|
|
32351
32408
|
type UnlinkDomainCallback = (error: (Error|null), response?: replit.goval.api.lore.UnlinkDomainResponse) => void;
|
|
32409
|
+
|
|
32410
|
+
/**
|
|
32411
|
+
* Callback as used by {@link replit.goval.api.lore.Lore#transferReplFromOfflineCluster}.
|
|
32412
|
+
* @param error Error, if any
|
|
32413
|
+
* @param [response] TransferReplFromOfflineClusterResponse
|
|
32414
|
+
*/
|
|
32415
|
+
type TransferReplFromOfflineClusterCallback = (error: (Error|null), response?: replit.goval.api.lore.TransferReplFromOfflineClusterResponse) => void;
|
|
32352
32416
|
}
|
|
32353
32417
|
}
|
|
32354
32418
|
|
|
@@ -33292,103 +33356,6 @@ export namespace replit {
|
|
|
33292
33356
|
}
|
|
33293
33357
|
}
|
|
33294
33358
|
|
|
33295
|
-
/** Properties of a Permissions. */
|
|
33296
|
-
interface IPermissions {
|
|
33297
|
-
|
|
33298
|
-
/** Permissions toggleAlwaysOn */
|
|
33299
|
-
toggleAlwaysOn?: (boolean|null);
|
|
33300
|
-
}
|
|
33301
|
-
|
|
33302
|
-
/** Represents a Permissions. */
|
|
33303
|
-
class Permissions {
|
|
33304
|
-
|
|
33305
|
-
/**
|
|
33306
|
-
* Constructs a new Permissions.
|
|
33307
|
-
* @param [properties] Properties to set
|
|
33308
|
-
*/
|
|
33309
|
-
private constructor(properties?: replit.goval.api.repl.IPermissions);
|
|
33310
|
-
|
|
33311
|
-
/** Permissions toggleAlwaysOn. */
|
|
33312
|
-
public toggleAlwaysOn: boolean;
|
|
33313
|
-
|
|
33314
|
-
/**
|
|
33315
|
-
* Creates a new Permissions instance using the specified properties.
|
|
33316
|
-
* @param [properties] Properties to set
|
|
33317
|
-
* @returns Permissions instance
|
|
33318
|
-
*/
|
|
33319
|
-
public static create(properties?: replit.goval.api.repl.IPermissions): replit.goval.api.repl.Permissions;
|
|
33320
|
-
|
|
33321
|
-
/**
|
|
33322
|
-
* Encodes the specified Permissions message. Does not implicitly {@link replit.goval.api.repl.Permissions.verify|verify} messages.
|
|
33323
|
-
* @param message Permissions message or plain object to encode
|
|
33324
|
-
* @param [writer] Writer to encode to
|
|
33325
|
-
* @returns Writer
|
|
33326
|
-
*/
|
|
33327
|
-
public static encode(message: replit.goval.api.repl.Permissions, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
33328
|
-
|
|
33329
|
-
/**
|
|
33330
|
-
* Encodes the specified Permissions message, length delimited. Does not implicitly {@link replit.goval.api.repl.Permissions.verify|verify} messages.
|
|
33331
|
-
* @param message Permissions message or plain object to encode
|
|
33332
|
-
* @param [writer] Writer to encode to
|
|
33333
|
-
* @returns Writer
|
|
33334
|
-
*/
|
|
33335
|
-
public static encodeDelimited(message: replit.goval.api.repl.Permissions, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
33336
|
-
|
|
33337
|
-
/**
|
|
33338
|
-
* Decodes a Permissions message from the specified reader or buffer.
|
|
33339
|
-
* @param reader Reader or buffer to decode from
|
|
33340
|
-
* @param [length] Message length if known beforehand
|
|
33341
|
-
* @returns Permissions
|
|
33342
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
33343
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
33344
|
-
*/
|
|
33345
|
-
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.repl.Permissions;
|
|
33346
|
-
|
|
33347
|
-
/**
|
|
33348
|
-
* Decodes a Permissions message from the specified reader or buffer, length delimited.
|
|
33349
|
-
* @param reader Reader or buffer to decode from
|
|
33350
|
-
* @returns Permissions
|
|
33351
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
33352
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
33353
|
-
*/
|
|
33354
|
-
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.repl.Permissions;
|
|
33355
|
-
|
|
33356
|
-
/**
|
|
33357
|
-
* Verifies a Permissions message.
|
|
33358
|
-
* @param message Plain object to verify
|
|
33359
|
-
* @returns `null` if valid, otherwise the reason why it is not
|
|
33360
|
-
*/
|
|
33361
|
-
public static verify(message: { [k: string]: any }): (string|null);
|
|
33362
|
-
|
|
33363
|
-
/**
|
|
33364
|
-
* Creates a Permissions message from a plain object. Also converts values to their respective internal types.
|
|
33365
|
-
* @param object Plain object
|
|
33366
|
-
* @returns Permissions
|
|
33367
|
-
*/
|
|
33368
|
-
public static fromObject(object: { [k: string]: any }): replit.goval.api.repl.Permissions;
|
|
33369
|
-
|
|
33370
|
-
/**
|
|
33371
|
-
* Creates a plain object from a Permissions message. Also converts values to other types if specified.
|
|
33372
|
-
* @param message Permissions
|
|
33373
|
-
* @param [options] Conversion options
|
|
33374
|
-
* @returns Plain object
|
|
33375
|
-
*/
|
|
33376
|
-
public static toObject(message: replit.goval.api.repl.Permissions, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
33377
|
-
|
|
33378
|
-
/**
|
|
33379
|
-
* Converts this Permissions to JSON.
|
|
33380
|
-
* @returns JSON object
|
|
33381
|
-
*/
|
|
33382
|
-
public toJSON(): { [k: string]: any };
|
|
33383
|
-
|
|
33384
|
-
/**
|
|
33385
|
-
* Gets the default type url for Permissions
|
|
33386
|
-
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
33387
|
-
* @returns The default type url
|
|
33388
|
-
*/
|
|
33389
|
-
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
33390
|
-
}
|
|
33391
|
-
|
|
33392
33359
|
/** Persistence enum. */
|
|
33393
33360
|
enum Persistence {
|
|
33394
33361
|
PERSISTENT = 0,
|
|
@@ -33415,9 +33382,6 @@ export namespace replit {
|
|
|
33415
33382
|
/** Metadata flags */
|
|
33416
33383
|
flags?: (string[]|null);
|
|
33417
33384
|
|
|
33418
|
-
/** Metadata permissions */
|
|
33419
|
-
permissions?: (replit.goval.api.repl.Permissions|replit.goval.api.repl.IPermissions|null);
|
|
33420
|
-
|
|
33421
33385
|
/** Metadata features */
|
|
33422
33386
|
features?: ((replit.goval.api.features.Feature|replit.goval.api.features.IFeature)[]|null);
|
|
33423
33387
|
|
|
@@ -33449,9 +33413,6 @@ export namespace replit {
|
|
|
33449
33413
|
/** Metadata flags. */
|
|
33450
33414
|
public flags: string[];
|
|
33451
33415
|
|
|
33452
|
-
/** Metadata permissions. */
|
|
33453
|
-
public permissions?: (replit.goval.api.repl.Permissions|null);
|
|
33454
|
-
|
|
33455
33416
|
/** Metadata features. */
|
|
33456
33417
|
public features: replit.goval.api.features.Feature[];
|
|
33457
33418
|
|