@replit/protocol 0.3.33 → 0.3.35
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 +364 -1
- package/main/index.js +935 -3
- package/main/index.js.flow +520 -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
|
|
|
@@ -18469,6 +18614,9 @@ export namespace replit {
|
|
|
18469
18614
|
|
|
18470
18615
|
/** DeploymentConfig rewrites */
|
|
18471
18616
|
rewrites?: ((replit.goval.api.DeploymentConfig.RewriteRule|replit.goval.api.DeploymentConfig.IRewriteRule)[]|null);
|
|
18617
|
+
|
|
18618
|
+
/** DeploymentConfig responseHeaders */
|
|
18619
|
+
responseHeaders?: ((replit.goval.api.DeploymentConfig.Header|replit.goval.api.DeploymentConfig.IHeader)[]|null);
|
|
18472
18620
|
}
|
|
18473
18621
|
|
|
18474
18622
|
/** Represents a DeploymentConfig. */
|
|
@@ -18498,6 +18646,9 @@ export namespace replit {
|
|
|
18498
18646
|
/** DeploymentConfig rewrites. */
|
|
18499
18647
|
public rewrites: replit.goval.api.DeploymentConfig.RewriteRule[];
|
|
18500
18648
|
|
|
18649
|
+
/** DeploymentConfig responseHeaders. */
|
|
18650
|
+
public responseHeaders: replit.goval.api.DeploymentConfig.Header[];
|
|
18651
|
+
|
|
18501
18652
|
/**
|
|
18502
18653
|
* Creates a new DeploymentConfig instance using the specified properties.
|
|
18503
18654
|
* @param [properties] Properties to set
|
|
@@ -18687,6 +18838,115 @@ export namespace replit {
|
|
|
18687
18838
|
*/
|
|
18688
18839
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
18689
18840
|
}
|
|
18841
|
+
|
|
18842
|
+
/** Properties of a Header. */
|
|
18843
|
+
interface IHeader {
|
|
18844
|
+
|
|
18845
|
+
/** Header path */
|
|
18846
|
+
path?: (string|null);
|
|
18847
|
+
|
|
18848
|
+
/** Header name */
|
|
18849
|
+
name?: (string|null);
|
|
18850
|
+
|
|
18851
|
+
/** Header value */
|
|
18852
|
+
value?: (string|null);
|
|
18853
|
+
}
|
|
18854
|
+
|
|
18855
|
+
/** Represents a Header. */
|
|
18856
|
+
class Header {
|
|
18857
|
+
|
|
18858
|
+
/**
|
|
18859
|
+
* Constructs a new Header.
|
|
18860
|
+
* @param [properties] Properties to set
|
|
18861
|
+
*/
|
|
18862
|
+
private constructor(properties?: replit.goval.api.DeploymentConfig.IHeader);
|
|
18863
|
+
|
|
18864
|
+
/** Header path. */
|
|
18865
|
+
public path: string;
|
|
18866
|
+
|
|
18867
|
+
/** Header name. */
|
|
18868
|
+
public name: string;
|
|
18869
|
+
|
|
18870
|
+
/** Header value. */
|
|
18871
|
+
public value: string;
|
|
18872
|
+
|
|
18873
|
+
/**
|
|
18874
|
+
* Creates a new Header instance using the specified properties.
|
|
18875
|
+
* @param [properties] Properties to set
|
|
18876
|
+
* @returns Header instance
|
|
18877
|
+
*/
|
|
18878
|
+
public static create(properties?: replit.goval.api.DeploymentConfig.IHeader): replit.goval.api.DeploymentConfig.Header;
|
|
18879
|
+
|
|
18880
|
+
/**
|
|
18881
|
+
* Encodes the specified Header message. Does not implicitly {@link replit.goval.api.DeploymentConfig.Header.verify|verify} messages.
|
|
18882
|
+
* @param message Header message or plain object to encode
|
|
18883
|
+
* @param [writer] Writer to encode to
|
|
18884
|
+
* @returns Writer
|
|
18885
|
+
*/
|
|
18886
|
+
public static encode(message: replit.goval.api.DeploymentConfig.Header, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
18887
|
+
|
|
18888
|
+
/**
|
|
18889
|
+
* Encodes the specified Header message, length delimited. Does not implicitly {@link replit.goval.api.DeploymentConfig.Header.verify|verify} messages.
|
|
18890
|
+
* @param message Header message or plain object to encode
|
|
18891
|
+
* @param [writer] Writer to encode to
|
|
18892
|
+
* @returns Writer
|
|
18893
|
+
*/
|
|
18894
|
+
public static encodeDelimited(message: replit.goval.api.DeploymentConfig.Header, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
18895
|
+
|
|
18896
|
+
/**
|
|
18897
|
+
* Decodes a Header message from the specified reader or buffer.
|
|
18898
|
+
* @param reader Reader or buffer to decode from
|
|
18899
|
+
* @param [length] Message length if known beforehand
|
|
18900
|
+
* @returns Header
|
|
18901
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
18902
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
18903
|
+
*/
|
|
18904
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.DeploymentConfig.Header;
|
|
18905
|
+
|
|
18906
|
+
/**
|
|
18907
|
+
* Decodes a Header message from the specified reader or buffer, length delimited.
|
|
18908
|
+
* @param reader Reader or buffer to decode from
|
|
18909
|
+
* @returns Header
|
|
18910
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
18911
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
18912
|
+
*/
|
|
18913
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.DeploymentConfig.Header;
|
|
18914
|
+
|
|
18915
|
+
/**
|
|
18916
|
+
* Verifies a Header message.
|
|
18917
|
+
* @param message Plain object to verify
|
|
18918
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
18919
|
+
*/
|
|
18920
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
18921
|
+
|
|
18922
|
+
/**
|
|
18923
|
+
* Creates a Header message from a plain object. Also converts values to their respective internal types.
|
|
18924
|
+
* @param object Plain object
|
|
18925
|
+
* @returns Header
|
|
18926
|
+
*/
|
|
18927
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.DeploymentConfig.Header;
|
|
18928
|
+
|
|
18929
|
+
/**
|
|
18930
|
+
* Creates a plain object from a Header message. Also converts values to other types if specified.
|
|
18931
|
+
* @param message Header
|
|
18932
|
+
* @param [options] Conversion options
|
|
18933
|
+
* @returns Plain object
|
|
18934
|
+
*/
|
|
18935
|
+
public static toObject(message: replit.goval.api.DeploymentConfig.Header, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
18936
|
+
|
|
18937
|
+
/**
|
|
18938
|
+
* Converts this Header to JSON.
|
|
18939
|
+
* @returns JSON object
|
|
18940
|
+
*/
|
|
18941
|
+
public toJSON(): { [k: string]: any };
|
|
18942
|
+
|
|
18943
|
+
/**
|
|
18944
|
+
* Gets the default type url for Header
|
|
18945
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
18946
|
+
* @returns The default type url
|
|
18947
|
+
*/
|
|
18948
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
18949
|
+
}
|
|
18690
18950
|
}
|
|
18691
18951
|
|
|
18692
18952
|
/** Properties of an ExtensionConfig. */
|
|
@@ -24243,6 +24503,9 @@ export namespace replit {
|
|
|
24243
24503
|
|
|
24244
24504
|
/** ReplToken buildInfo */
|
|
24245
24505
|
buildInfo?: (replit.goval.api.repl.BuildInfo|replit.goval.api.repl.IBuildInfo|null);
|
|
24506
|
+
|
|
24507
|
+
/** ReplToken pid2Info */
|
|
24508
|
+
pid2Info?: (replit.goval.api.repl.Pid2Binary|replit.goval.api.repl.IPid2Binary|null);
|
|
24246
24509
|
}
|
|
24247
24510
|
|
|
24248
24511
|
/** Represents a ReplToken. */
|
|
@@ -24302,6 +24565,9 @@ export namespace replit {
|
|
|
24302
24565
|
/** ReplToken buildInfo. */
|
|
24303
24566
|
public buildInfo?: (replit.goval.api.repl.BuildInfo|null);
|
|
24304
24567
|
|
|
24568
|
+
/** ReplToken pid2Info. */
|
|
24569
|
+
public pid2Info?: (replit.goval.api.repl.Pid2Binary|null);
|
|
24570
|
+
|
|
24305
24571
|
/** ReplToken metadata. */
|
|
24306
24572
|
public metadata?: ("repl"|"id"|"classroom");
|
|
24307
24573
|
|
|
@@ -28850,6 +29116,103 @@ export namespace replit {
|
|
|
28850
29116
|
*/
|
|
28851
29117
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
28852
29118
|
}
|
|
29119
|
+
|
|
29120
|
+
/** Properties of a Pid2Binary. */
|
|
29121
|
+
interface IPid2Binary {
|
|
29122
|
+
|
|
29123
|
+
/** Pid2Binary version */
|
|
29124
|
+
version?: (string|null);
|
|
29125
|
+
}
|
|
29126
|
+
|
|
29127
|
+
/** Represents a Pid2Binary. */
|
|
29128
|
+
class Pid2Binary {
|
|
29129
|
+
|
|
29130
|
+
/**
|
|
29131
|
+
* Constructs a new Pid2Binary.
|
|
29132
|
+
* @param [properties] Properties to set
|
|
29133
|
+
*/
|
|
29134
|
+
private constructor(properties?: replit.goval.api.repl.IPid2Binary);
|
|
29135
|
+
|
|
29136
|
+
/** Pid2Binary version. */
|
|
29137
|
+
public version: string;
|
|
29138
|
+
|
|
29139
|
+
/**
|
|
29140
|
+
* Creates a new Pid2Binary instance using the specified properties.
|
|
29141
|
+
* @param [properties] Properties to set
|
|
29142
|
+
* @returns Pid2Binary instance
|
|
29143
|
+
*/
|
|
29144
|
+
public static create(properties?: replit.goval.api.repl.IPid2Binary): replit.goval.api.repl.Pid2Binary;
|
|
29145
|
+
|
|
29146
|
+
/**
|
|
29147
|
+
* Encodes the specified Pid2Binary message. Does not implicitly {@link replit.goval.api.repl.Pid2Binary.verify|verify} messages.
|
|
29148
|
+
* @param message Pid2Binary message or plain object to encode
|
|
29149
|
+
* @param [writer] Writer to encode to
|
|
29150
|
+
* @returns Writer
|
|
29151
|
+
*/
|
|
29152
|
+
public static encode(message: replit.goval.api.repl.Pid2Binary, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
29153
|
+
|
|
29154
|
+
/**
|
|
29155
|
+
* Encodes the specified Pid2Binary message, length delimited. Does not implicitly {@link replit.goval.api.repl.Pid2Binary.verify|verify} messages.
|
|
29156
|
+
* @param message Pid2Binary message or plain object to encode
|
|
29157
|
+
* @param [writer] Writer to encode to
|
|
29158
|
+
* @returns Writer
|
|
29159
|
+
*/
|
|
29160
|
+
public static encodeDelimited(message: replit.goval.api.repl.Pid2Binary, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
29161
|
+
|
|
29162
|
+
/**
|
|
29163
|
+
* Decodes a Pid2Binary message from the specified reader or buffer.
|
|
29164
|
+
* @param reader Reader or buffer to decode from
|
|
29165
|
+
* @param [length] Message length if known beforehand
|
|
29166
|
+
* @returns Pid2Binary
|
|
29167
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
29168
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
29169
|
+
*/
|
|
29170
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.repl.Pid2Binary;
|
|
29171
|
+
|
|
29172
|
+
/**
|
|
29173
|
+
* Decodes a Pid2Binary message from the specified reader or buffer, length delimited.
|
|
29174
|
+
* @param reader Reader or buffer to decode from
|
|
29175
|
+
* @returns Pid2Binary
|
|
29176
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
29177
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
29178
|
+
*/
|
|
29179
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.repl.Pid2Binary;
|
|
29180
|
+
|
|
29181
|
+
/**
|
|
29182
|
+
* Verifies a Pid2Binary message.
|
|
29183
|
+
* @param message Plain object to verify
|
|
29184
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
29185
|
+
*/
|
|
29186
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
29187
|
+
|
|
29188
|
+
/**
|
|
29189
|
+
* Creates a Pid2Binary message from a plain object. Also converts values to their respective internal types.
|
|
29190
|
+
* @param object Plain object
|
|
29191
|
+
* @returns Pid2Binary
|
|
29192
|
+
*/
|
|
29193
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.repl.Pid2Binary;
|
|
29194
|
+
|
|
29195
|
+
/**
|
|
29196
|
+
* Creates a plain object from a Pid2Binary message. Also converts values to other types if specified.
|
|
29197
|
+
* @param message Pid2Binary
|
|
29198
|
+
* @param [options] Conversion options
|
|
29199
|
+
* @returns Plain object
|
|
29200
|
+
*/
|
|
29201
|
+
public static toObject(message: replit.goval.api.repl.Pid2Binary, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
29202
|
+
|
|
29203
|
+
/**
|
|
29204
|
+
* Converts this Pid2Binary to JSON.
|
|
29205
|
+
* @returns JSON object
|
|
29206
|
+
*/
|
|
29207
|
+
public toJSON(): { [k: string]: any };
|
|
29208
|
+
|
|
29209
|
+
/**
|
|
29210
|
+
* Gets the default type url for Pid2Binary
|
|
29211
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
29212
|
+
* @returns The default type url
|
|
29213
|
+
*/
|
|
29214
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
29215
|
+
}
|
|
28853
29216
|
}
|
|
28854
29217
|
|
|
28855
29218
|
/** Properties of a PrivateReplsPowerup. */
|