@replit/protocol 0.3.32 → 0.3.34
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 +358 -1
- package/main/index.js +911 -2
- package/main/index.js.flow +512 -1
- package/package.json +1 -1
package/main/index.d.ts
CHANGED
|
@@ -573,6 +573,9 @@ export namespace replit {
|
|
|
573
573
|
/** Command nixModulesGetRegistryResponse */
|
|
574
574
|
nixModulesGetRegistryResponse?: (replit.goval.api.NixModulesGetRegistryResponse|replit.goval.api.INixModulesGetRegistryResponse|null);
|
|
575
575
|
|
|
576
|
+
/** Command pid2Message */
|
|
577
|
+
pid2Message?: (replit.goval.api.RiverMessage|replit.goval.api.IRiverMessage|null);
|
|
578
|
+
|
|
576
579
|
/** Command ref */
|
|
577
580
|
ref?: (string|null);
|
|
578
581
|
|
|
@@ -1150,6 +1153,9 @@ export namespace replit {
|
|
|
1150
1153
|
/** Command nixModulesGetRegistryResponse. */
|
|
1151
1154
|
public nixModulesGetRegistryResponse?: (replit.goval.api.NixModulesGetRegistryResponse|null);
|
|
1152
1155
|
|
|
1156
|
+
/** Command pid2Message. */
|
|
1157
|
+
public pid2Message?: (replit.goval.api.RiverMessage|null);
|
|
1158
|
+
|
|
1153
1159
|
/** Command ref. */
|
|
1154
1160
|
public ref: string;
|
|
1155
1161
|
|
|
@@ -1157,7 +1163,7 @@ export namespace replit {
|
|
|
1157
1163
|
public traceInfo: { [k: string]: string };
|
|
1158
1164
|
|
|
1159
1165
|
/** Command body. */
|
|
1160
|
-
public body?: ("openChan"|"openChanRes"|"closeChan"|"closeChanRes"|"containerState"|"portOpen"|"portClose"|"toast"|"protocolError"|"redirect"|"alwaysOn"|"runMain"|"clear"|"eval"|"result"|"input"|"output"|"error"|"stderr"|"log"|"inputClose"|"outputBlockStartEvent"|"outputBlockEndEvent"|"exitCodeEvent"|"splitStderrRequest"|"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"|"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");
|
|
1166
|
+
public body?: ("openChan"|"openChanRes"|"closeChan"|"closeChanRes"|"containerState"|"portOpen"|"portClose"|"toast"|"protocolError"|"redirect"|"alwaysOn"|"runMain"|"clear"|"eval"|"result"|"input"|"output"|"error"|"stderr"|"log"|"inputClose"|"outputBlockStartEvent"|"outputBlockEndEvent"|"exitCodeEvent"|"splitStderrRequest"|"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"|"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"|"pid2Message");
|
|
1161
1167
|
|
|
1162
1168
|
/**
|
|
1163
1169
|
* Creates a new Command instance using the specified properties.
|
|
@@ -1237,6 +1243,145 @@ export namespace replit {
|
|
|
1237
1243
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1238
1244
|
}
|
|
1239
1245
|
|
|
1246
|
+
/** Properties of a RiverMessage. */
|
|
1247
|
+
interface IRiverMessage {
|
|
1248
|
+
|
|
1249
|
+
/** RiverMessage id */
|
|
1250
|
+
id?: (string|null);
|
|
1251
|
+
|
|
1252
|
+
/** RiverMessage replyTo */
|
|
1253
|
+
replyTo?: (string|null);
|
|
1254
|
+
|
|
1255
|
+
/** RiverMessage from */
|
|
1256
|
+
from?: (string|null);
|
|
1257
|
+
|
|
1258
|
+
/** RiverMessage to */
|
|
1259
|
+
to?: (string|null);
|
|
1260
|
+
|
|
1261
|
+
/** RiverMessage serviceName */
|
|
1262
|
+
serviceName?: (string|null);
|
|
1263
|
+
|
|
1264
|
+
/** RiverMessage procedureName */
|
|
1265
|
+
procedureName?: (string|null);
|
|
1266
|
+
|
|
1267
|
+
/** RiverMessage ack */
|
|
1268
|
+
ack?: (string|null);
|
|
1269
|
+
|
|
1270
|
+
/** RiverMessage payload */
|
|
1271
|
+
payload?: (Uint8Array|null);
|
|
1272
|
+
}
|
|
1273
|
+
|
|
1274
|
+
/** Represents a RiverMessage. */
|
|
1275
|
+
class RiverMessage {
|
|
1276
|
+
|
|
1277
|
+
/**
|
|
1278
|
+
* Constructs a new RiverMessage.
|
|
1279
|
+
* @param [properties] Properties to set
|
|
1280
|
+
*/
|
|
1281
|
+
private constructor(properties?: replit.goval.api.IRiverMessage);
|
|
1282
|
+
|
|
1283
|
+
/** RiverMessage id. */
|
|
1284
|
+
public id: string;
|
|
1285
|
+
|
|
1286
|
+
/** RiverMessage replyTo. */
|
|
1287
|
+
public replyTo: string;
|
|
1288
|
+
|
|
1289
|
+
/** RiverMessage from. */
|
|
1290
|
+
public from: string;
|
|
1291
|
+
|
|
1292
|
+
/** RiverMessage to. */
|
|
1293
|
+
public to: string;
|
|
1294
|
+
|
|
1295
|
+
/** RiverMessage serviceName. */
|
|
1296
|
+
public serviceName: string;
|
|
1297
|
+
|
|
1298
|
+
/** RiverMessage procedureName. */
|
|
1299
|
+
public procedureName: string;
|
|
1300
|
+
|
|
1301
|
+
/** RiverMessage ack. */
|
|
1302
|
+
public ack: string;
|
|
1303
|
+
|
|
1304
|
+
/** RiverMessage payload. */
|
|
1305
|
+
public payload: Uint8Array;
|
|
1306
|
+
|
|
1307
|
+
/**
|
|
1308
|
+
* Creates a new RiverMessage instance using the specified properties.
|
|
1309
|
+
* @param [properties] Properties to set
|
|
1310
|
+
* @returns RiverMessage instance
|
|
1311
|
+
*/
|
|
1312
|
+
public static create(properties?: replit.goval.api.IRiverMessage): replit.goval.api.RiverMessage;
|
|
1313
|
+
|
|
1314
|
+
/**
|
|
1315
|
+
* Encodes the specified RiverMessage message. Does not implicitly {@link replit.goval.api.RiverMessage.verify|verify} messages.
|
|
1316
|
+
* @param message RiverMessage message or plain object to encode
|
|
1317
|
+
* @param [writer] Writer to encode to
|
|
1318
|
+
* @returns Writer
|
|
1319
|
+
*/
|
|
1320
|
+
public static encode(message: replit.goval.api.RiverMessage, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1321
|
+
|
|
1322
|
+
/**
|
|
1323
|
+
* Encodes the specified RiverMessage message, length delimited. Does not implicitly {@link replit.goval.api.RiverMessage.verify|verify} messages.
|
|
1324
|
+
* @param message RiverMessage message or plain object to encode
|
|
1325
|
+
* @param [writer] Writer to encode to
|
|
1326
|
+
* @returns Writer
|
|
1327
|
+
*/
|
|
1328
|
+
public static encodeDelimited(message: replit.goval.api.RiverMessage, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1329
|
+
|
|
1330
|
+
/**
|
|
1331
|
+
* Decodes a RiverMessage message from the specified reader or buffer.
|
|
1332
|
+
* @param reader Reader or buffer to decode from
|
|
1333
|
+
* @param [length] Message length if known beforehand
|
|
1334
|
+
* @returns RiverMessage
|
|
1335
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1336
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1337
|
+
*/
|
|
1338
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.RiverMessage;
|
|
1339
|
+
|
|
1340
|
+
/**
|
|
1341
|
+
* Decodes a RiverMessage message from the specified reader or buffer, length delimited.
|
|
1342
|
+
* @param reader Reader or buffer to decode from
|
|
1343
|
+
* @returns RiverMessage
|
|
1344
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1345
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1346
|
+
*/
|
|
1347
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.RiverMessage;
|
|
1348
|
+
|
|
1349
|
+
/**
|
|
1350
|
+
* Verifies a RiverMessage message.
|
|
1351
|
+
* @param message Plain object to verify
|
|
1352
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
1353
|
+
*/
|
|
1354
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
1355
|
+
|
|
1356
|
+
/**
|
|
1357
|
+
* Creates a RiverMessage message from a plain object. Also converts values to their respective internal types.
|
|
1358
|
+
* @param object Plain object
|
|
1359
|
+
* @returns RiverMessage
|
|
1360
|
+
*/
|
|
1361
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.RiverMessage;
|
|
1362
|
+
|
|
1363
|
+
/**
|
|
1364
|
+
* Creates a plain object from a RiverMessage message. Also converts values to other types if specified.
|
|
1365
|
+
* @param message RiverMessage
|
|
1366
|
+
* @param [options] Conversion options
|
|
1367
|
+
* @returns Plain object
|
|
1368
|
+
*/
|
|
1369
|
+
public static toObject(message: replit.goval.api.RiverMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1370
|
+
|
|
1371
|
+
/**
|
|
1372
|
+
* Converts this RiverMessage to JSON.
|
|
1373
|
+
* @returns JSON object
|
|
1374
|
+
*/
|
|
1375
|
+
public toJSON(): { [k: string]: any };
|
|
1376
|
+
|
|
1377
|
+
/**
|
|
1378
|
+
* Gets the default type url for RiverMessage
|
|
1379
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
1380
|
+
* @returns The default type url
|
|
1381
|
+
*/
|
|
1382
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1383
|
+
}
|
|
1384
|
+
|
|
1240
1385
|
/** Properties of a NixPackageAddRequest. */
|
|
1241
1386
|
interface INixPackageAddRequest {
|
|
1242
1387
|
|
|
@@ -18466,6 +18611,9 @@ export namespace replit {
|
|
|
18466
18611
|
|
|
18467
18612
|
/** DeploymentConfig publicDir */
|
|
18468
18613
|
publicDir?: (string|null);
|
|
18614
|
+
|
|
18615
|
+
/** DeploymentConfig rewrites */
|
|
18616
|
+
rewrites?: ((replit.goval.api.DeploymentConfig.RewriteRule|replit.goval.api.DeploymentConfig.IRewriteRule)[]|null);
|
|
18469
18617
|
}
|
|
18470
18618
|
|
|
18471
18619
|
/** Represents a DeploymentConfig. */
|
|
@@ -18492,6 +18640,9 @@ export namespace replit {
|
|
|
18492
18640
|
/** DeploymentConfig publicDir. */
|
|
18493
18641
|
public publicDir: string;
|
|
18494
18642
|
|
|
18643
|
+
/** DeploymentConfig rewrites. */
|
|
18644
|
+
public rewrites: replit.goval.api.DeploymentConfig.RewriteRule[];
|
|
18645
|
+
|
|
18495
18646
|
/**
|
|
18496
18647
|
* Creates a new DeploymentConfig instance using the specified properties.
|
|
18497
18648
|
* @param [properties] Properties to set
|
|
@@ -18578,6 +18729,109 @@ export namespace replit {
|
|
|
18578
18729
|
CLOUDRUN = 1,
|
|
18579
18730
|
STATIC = 2
|
|
18580
18731
|
}
|
|
18732
|
+
|
|
18733
|
+
/** Properties of a RewriteRule. */
|
|
18734
|
+
interface IRewriteRule {
|
|
18735
|
+
|
|
18736
|
+
/** RewriteRule from */
|
|
18737
|
+
from?: (string|null);
|
|
18738
|
+
|
|
18739
|
+
/** RewriteRule to */
|
|
18740
|
+
to?: (string|null);
|
|
18741
|
+
}
|
|
18742
|
+
|
|
18743
|
+
/** Represents a RewriteRule. */
|
|
18744
|
+
class RewriteRule {
|
|
18745
|
+
|
|
18746
|
+
/**
|
|
18747
|
+
* Constructs a new RewriteRule.
|
|
18748
|
+
* @param [properties] Properties to set
|
|
18749
|
+
*/
|
|
18750
|
+
private constructor(properties?: replit.goval.api.DeploymentConfig.IRewriteRule);
|
|
18751
|
+
|
|
18752
|
+
/** RewriteRule from. */
|
|
18753
|
+
public from: string;
|
|
18754
|
+
|
|
18755
|
+
/** RewriteRule to. */
|
|
18756
|
+
public to: string;
|
|
18757
|
+
|
|
18758
|
+
/**
|
|
18759
|
+
* Creates a new RewriteRule instance using the specified properties.
|
|
18760
|
+
* @param [properties] Properties to set
|
|
18761
|
+
* @returns RewriteRule instance
|
|
18762
|
+
*/
|
|
18763
|
+
public static create(properties?: replit.goval.api.DeploymentConfig.IRewriteRule): replit.goval.api.DeploymentConfig.RewriteRule;
|
|
18764
|
+
|
|
18765
|
+
/**
|
|
18766
|
+
* Encodes the specified RewriteRule message. Does not implicitly {@link replit.goval.api.DeploymentConfig.RewriteRule.verify|verify} messages.
|
|
18767
|
+
* @param message RewriteRule message or plain object to encode
|
|
18768
|
+
* @param [writer] Writer to encode to
|
|
18769
|
+
* @returns Writer
|
|
18770
|
+
*/
|
|
18771
|
+
public static encode(message: replit.goval.api.DeploymentConfig.RewriteRule, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
18772
|
+
|
|
18773
|
+
/**
|
|
18774
|
+
* Encodes the specified RewriteRule message, length delimited. Does not implicitly {@link replit.goval.api.DeploymentConfig.RewriteRule.verify|verify} messages.
|
|
18775
|
+
* @param message RewriteRule message or plain object to encode
|
|
18776
|
+
* @param [writer] Writer to encode to
|
|
18777
|
+
* @returns Writer
|
|
18778
|
+
*/
|
|
18779
|
+
public static encodeDelimited(message: replit.goval.api.DeploymentConfig.RewriteRule, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
18780
|
+
|
|
18781
|
+
/**
|
|
18782
|
+
* Decodes a RewriteRule message from the specified reader or buffer.
|
|
18783
|
+
* @param reader Reader or buffer to decode from
|
|
18784
|
+
* @param [length] Message length if known beforehand
|
|
18785
|
+
* @returns RewriteRule
|
|
18786
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
18787
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
18788
|
+
*/
|
|
18789
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.DeploymentConfig.RewriteRule;
|
|
18790
|
+
|
|
18791
|
+
/**
|
|
18792
|
+
* Decodes a RewriteRule message from the specified reader or buffer, length delimited.
|
|
18793
|
+
* @param reader Reader or buffer to decode from
|
|
18794
|
+
* @returns RewriteRule
|
|
18795
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
18796
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
18797
|
+
*/
|
|
18798
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.DeploymentConfig.RewriteRule;
|
|
18799
|
+
|
|
18800
|
+
/**
|
|
18801
|
+
* Verifies a RewriteRule message.
|
|
18802
|
+
* @param message Plain object to verify
|
|
18803
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
18804
|
+
*/
|
|
18805
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
18806
|
+
|
|
18807
|
+
/**
|
|
18808
|
+
* Creates a RewriteRule message from a plain object. Also converts values to their respective internal types.
|
|
18809
|
+
* @param object Plain object
|
|
18810
|
+
* @returns RewriteRule
|
|
18811
|
+
*/
|
|
18812
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.DeploymentConfig.RewriteRule;
|
|
18813
|
+
|
|
18814
|
+
/**
|
|
18815
|
+
* Creates a plain object from a RewriteRule message. Also converts values to other types if specified.
|
|
18816
|
+
* @param message RewriteRule
|
|
18817
|
+
* @param [options] Conversion options
|
|
18818
|
+
* @returns Plain object
|
|
18819
|
+
*/
|
|
18820
|
+
public static toObject(message: replit.goval.api.DeploymentConfig.RewriteRule, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
18821
|
+
|
|
18822
|
+
/**
|
|
18823
|
+
* Converts this RewriteRule to JSON.
|
|
18824
|
+
* @returns JSON object
|
|
18825
|
+
*/
|
|
18826
|
+
public toJSON(): { [k: string]: any };
|
|
18827
|
+
|
|
18828
|
+
/**
|
|
18829
|
+
* Gets the default type url for RewriteRule
|
|
18830
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
18831
|
+
* @returns The default type url
|
|
18832
|
+
*/
|
|
18833
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
18834
|
+
}
|
|
18581
18835
|
}
|
|
18582
18836
|
|
|
18583
18837
|
/** Properties of an ExtensionConfig. */
|
|
@@ -24134,6 +24388,9 @@ export namespace replit {
|
|
|
24134
24388
|
|
|
24135
24389
|
/** ReplToken buildInfo */
|
|
24136
24390
|
buildInfo?: (replit.goval.api.repl.BuildInfo|replit.goval.api.repl.IBuildInfo|null);
|
|
24391
|
+
|
|
24392
|
+
/** ReplToken pid2Info */
|
|
24393
|
+
pid2Info?: (replit.goval.api.repl.Pid2Binary|replit.goval.api.repl.IPid2Binary|null);
|
|
24137
24394
|
}
|
|
24138
24395
|
|
|
24139
24396
|
/** Represents a ReplToken. */
|
|
@@ -24193,6 +24450,9 @@ export namespace replit {
|
|
|
24193
24450
|
/** ReplToken buildInfo. */
|
|
24194
24451
|
public buildInfo?: (replit.goval.api.repl.BuildInfo|null);
|
|
24195
24452
|
|
|
24453
|
+
/** ReplToken pid2Info. */
|
|
24454
|
+
public pid2Info?: (replit.goval.api.repl.Pid2Binary|null);
|
|
24455
|
+
|
|
24196
24456
|
/** ReplToken metadata. */
|
|
24197
24457
|
public metadata?: ("repl"|"id"|"classroom");
|
|
24198
24458
|
|
|
@@ -28741,6 +29001,103 @@ export namespace replit {
|
|
|
28741
29001
|
*/
|
|
28742
29002
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
28743
29003
|
}
|
|
29004
|
+
|
|
29005
|
+
/** Properties of a Pid2Binary. */
|
|
29006
|
+
interface IPid2Binary {
|
|
29007
|
+
|
|
29008
|
+
/** Pid2Binary version */
|
|
29009
|
+
version?: (string|null);
|
|
29010
|
+
}
|
|
29011
|
+
|
|
29012
|
+
/** Represents a Pid2Binary. */
|
|
29013
|
+
class Pid2Binary {
|
|
29014
|
+
|
|
29015
|
+
/**
|
|
29016
|
+
* Constructs a new Pid2Binary.
|
|
29017
|
+
* @param [properties] Properties to set
|
|
29018
|
+
*/
|
|
29019
|
+
private constructor(properties?: replit.goval.api.repl.IPid2Binary);
|
|
29020
|
+
|
|
29021
|
+
/** Pid2Binary version. */
|
|
29022
|
+
public version: string;
|
|
29023
|
+
|
|
29024
|
+
/**
|
|
29025
|
+
* Creates a new Pid2Binary instance using the specified properties.
|
|
29026
|
+
* @param [properties] Properties to set
|
|
29027
|
+
* @returns Pid2Binary instance
|
|
29028
|
+
*/
|
|
29029
|
+
public static create(properties?: replit.goval.api.repl.IPid2Binary): replit.goval.api.repl.Pid2Binary;
|
|
29030
|
+
|
|
29031
|
+
/**
|
|
29032
|
+
* Encodes the specified Pid2Binary message. Does not implicitly {@link replit.goval.api.repl.Pid2Binary.verify|verify} messages.
|
|
29033
|
+
* @param message Pid2Binary message or plain object to encode
|
|
29034
|
+
* @param [writer] Writer to encode to
|
|
29035
|
+
* @returns Writer
|
|
29036
|
+
*/
|
|
29037
|
+
public static encode(message: replit.goval.api.repl.Pid2Binary, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
29038
|
+
|
|
29039
|
+
/**
|
|
29040
|
+
* Encodes the specified Pid2Binary message, length delimited. Does not implicitly {@link replit.goval.api.repl.Pid2Binary.verify|verify} messages.
|
|
29041
|
+
* @param message Pid2Binary message or plain object to encode
|
|
29042
|
+
* @param [writer] Writer to encode to
|
|
29043
|
+
* @returns Writer
|
|
29044
|
+
*/
|
|
29045
|
+
public static encodeDelimited(message: replit.goval.api.repl.Pid2Binary, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
29046
|
+
|
|
29047
|
+
/**
|
|
29048
|
+
* Decodes a Pid2Binary message from the specified reader or buffer.
|
|
29049
|
+
* @param reader Reader or buffer to decode from
|
|
29050
|
+
* @param [length] Message length if known beforehand
|
|
29051
|
+
* @returns Pid2Binary
|
|
29052
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
29053
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
29054
|
+
*/
|
|
29055
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.repl.Pid2Binary;
|
|
29056
|
+
|
|
29057
|
+
/**
|
|
29058
|
+
* Decodes a Pid2Binary message from the specified reader or buffer, length delimited.
|
|
29059
|
+
* @param reader Reader or buffer to decode from
|
|
29060
|
+
* @returns Pid2Binary
|
|
29061
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
29062
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
29063
|
+
*/
|
|
29064
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.repl.Pid2Binary;
|
|
29065
|
+
|
|
29066
|
+
/**
|
|
29067
|
+
* Verifies a Pid2Binary message.
|
|
29068
|
+
* @param message Plain object to verify
|
|
29069
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
29070
|
+
*/
|
|
29071
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
29072
|
+
|
|
29073
|
+
/**
|
|
29074
|
+
* Creates a Pid2Binary message from a plain object. Also converts values to their respective internal types.
|
|
29075
|
+
* @param object Plain object
|
|
29076
|
+
* @returns Pid2Binary
|
|
29077
|
+
*/
|
|
29078
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.repl.Pid2Binary;
|
|
29079
|
+
|
|
29080
|
+
/**
|
|
29081
|
+
* Creates a plain object from a Pid2Binary message. Also converts values to other types if specified.
|
|
29082
|
+
* @param message Pid2Binary
|
|
29083
|
+
* @param [options] Conversion options
|
|
29084
|
+
* @returns Plain object
|
|
29085
|
+
*/
|
|
29086
|
+
public static toObject(message: replit.goval.api.repl.Pid2Binary, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
29087
|
+
|
|
29088
|
+
/**
|
|
29089
|
+
* Converts this Pid2Binary to JSON.
|
|
29090
|
+
* @returns JSON object
|
|
29091
|
+
*/
|
|
29092
|
+
public toJSON(): { [k: string]: any };
|
|
29093
|
+
|
|
29094
|
+
/**
|
|
29095
|
+
* Gets the default type url for Pid2Binary
|
|
29096
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
29097
|
+
* @returns The default type url
|
|
29098
|
+
*/
|
|
29099
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
29100
|
+
}
|
|
28744
29101
|
}
|
|
28745
29102
|
|
|
28746
29103
|
/** Properties of a PrivateReplsPowerup. */
|