@replit/protocol 0.4.23-dev.3 → 0.4.24-dev.1
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/dist/api/features/features.d.ts +14 -6
- package/dist/api/features/features.js +6 -4
- package/dist/api/lore/service.client.d.ts +26 -0
- package/dist/api/lore/service.client.js +19 -4
- package/dist/api/lore/service.d.ts +41 -0
- package/dist/api/lore/service.js +95 -1
- package/dist/api/repl/repl.d.ts +9 -0
- package/dist/api/repl/repl.js +25 -1
- package/dist/api/types.d.ts +7 -0
- package/dist/api/types.js +7 -0
- package/iotester/index.d.ts +227 -0
- package/iotester/index.js +524 -1
- package/main/index.d.ts +227 -0
- package/main/index.js +524 -1
- package/package.json +1 -1
package/main/index.d.ts
CHANGED
|
@@ -18622,6 +18622,9 @@ export namespace replit {
|
|
|
18622
18622
|
/** DeploymentConfig ignorePorts */
|
|
18623
18623
|
ignorePorts?: (boolean|null);
|
|
18624
18624
|
|
|
18625
|
+
/** DeploymentConfig postBuild */
|
|
18626
|
+
postBuild?: (replit.goval.api.Exec|replit.goval.api.IExec|null);
|
|
18627
|
+
|
|
18625
18628
|
/** DeploymentConfig target */
|
|
18626
18629
|
target?: (replit.goval.api.DeploymentConfig.Target|null);
|
|
18627
18630
|
|
|
@@ -18653,6 +18656,9 @@ export namespace replit {
|
|
|
18653
18656
|
/** DeploymentConfig ignorePorts. */
|
|
18654
18657
|
public ignorePorts: boolean;
|
|
18655
18658
|
|
|
18659
|
+
/** DeploymentConfig postBuild. */
|
|
18660
|
+
public postBuild?: (replit.goval.api.Exec|null);
|
|
18661
|
+
|
|
18656
18662
|
/** DeploymentConfig target. */
|
|
18657
18663
|
public target: replit.goval.api.DeploymentConfig.Target;
|
|
18658
18664
|
|
|
@@ -27779,6 +27785,9 @@ export namespace replit {
|
|
|
27779
27785
|
|
|
27780
27786
|
/** Repl connectorsHost */
|
|
27781
27787
|
connectorsHost?: (string|null);
|
|
27788
|
+
|
|
27789
|
+
/** Repl backerJobMetadata */
|
|
27790
|
+
backerJobMetadata?: ({ [k: string]: string }|null);
|
|
27782
27791
|
}
|
|
27783
27792
|
|
|
27784
27793
|
/** Represents a Repl. */
|
|
@@ -27835,6 +27844,9 @@ export namespace replit {
|
|
|
27835
27844
|
/** Repl connectorsHost. */
|
|
27836
27845
|
public connectorsHost: string;
|
|
27837
27846
|
|
|
27847
|
+
/** Repl backerJobMetadata. */
|
|
27848
|
+
public backerJobMetadata: { [k: string]: string };
|
|
27849
|
+
|
|
27838
27850
|
/**
|
|
27839
27851
|
* Creates a new Repl instance using the specified properties.
|
|
27840
27852
|
* @param [properties] Properties to set
|
|
@@ -33349,6 +33361,9 @@ export namespace replit {
|
|
|
33349
33361
|
|
|
33350
33362
|
/** CreateReplRequest copyHelium */
|
|
33351
33363
|
copyHelium?: (boolean|null);
|
|
33364
|
+
|
|
33365
|
+
/** CreateReplRequest copyGitsafe */
|
|
33366
|
+
copyGitsafe?: (boolean|null);
|
|
33352
33367
|
}
|
|
33353
33368
|
|
|
33354
33369
|
/** Represents a CreateReplRequest. */
|
|
@@ -33378,6 +33393,9 @@ export namespace replit {
|
|
|
33378
33393
|
/** CreateReplRequest copyHelium. */
|
|
33379
33394
|
public copyHelium: boolean;
|
|
33380
33395
|
|
|
33396
|
+
/** CreateReplRequest copyGitsafe. */
|
|
33397
|
+
public copyGitsafe: boolean;
|
|
33398
|
+
|
|
33381
33399
|
/** CreateReplRequest location. */
|
|
33382
33400
|
public location?: ("cluster"|"continent");
|
|
33383
33401
|
|
|
@@ -36213,6 +36231,194 @@ export namespace replit {
|
|
|
36213
36231
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
36214
36232
|
}
|
|
36215
36233
|
|
|
36234
|
+
/** Properties of a DeleteReplRequest. */
|
|
36235
|
+
interface IDeleteReplRequest {
|
|
36236
|
+
|
|
36237
|
+
/** DeleteReplRequest replId */
|
|
36238
|
+
replId?: (string|null);
|
|
36239
|
+
}
|
|
36240
|
+
|
|
36241
|
+
/** Represents a DeleteReplRequest. */
|
|
36242
|
+
class DeleteReplRequest {
|
|
36243
|
+
|
|
36244
|
+
/**
|
|
36245
|
+
* Constructs a new DeleteReplRequest.
|
|
36246
|
+
* @param [properties] Properties to set
|
|
36247
|
+
*/
|
|
36248
|
+
private constructor(properties?: replit.goval.api.lore.IDeleteReplRequest);
|
|
36249
|
+
|
|
36250
|
+
/** DeleteReplRequest replId. */
|
|
36251
|
+
public replId: string;
|
|
36252
|
+
|
|
36253
|
+
/**
|
|
36254
|
+
* Creates a new DeleteReplRequest instance using the specified properties.
|
|
36255
|
+
* @param [properties] Properties to set
|
|
36256
|
+
* @returns DeleteReplRequest instance
|
|
36257
|
+
*/
|
|
36258
|
+
public static create(properties?: replit.goval.api.lore.IDeleteReplRequest): replit.goval.api.lore.DeleteReplRequest;
|
|
36259
|
+
|
|
36260
|
+
/**
|
|
36261
|
+
* Encodes the specified DeleteReplRequest message. Does not implicitly {@link replit.goval.api.lore.DeleteReplRequest.verify|verify} messages.
|
|
36262
|
+
* @param message DeleteReplRequest message or plain object to encode
|
|
36263
|
+
* @param [writer] Writer to encode to
|
|
36264
|
+
* @returns Writer
|
|
36265
|
+
*/
|
|
36266
|
+
public static encode(message: replit.goval.api.lore.DeleteReplRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
36267
|
+
|
|
36268
|
+
/**
|
|
36269
|
+
* Encodes the specified DeleteReplRequest message, length delimited. Does not implicitly {@link replit.goval.api.lore.DeleteReplRequest.verify|verify} messages.
|
|
36270
|
+
* @param message DeleteReplRequest message or plain object to encode
|
|
36271
|
+
* @param [writer] Writer to encode to
|
|
36272
|
+
* @returns Writer
|
|
36273
|
+
*/
|
|
36274
|
+
public static encodeDelimited(message: replit.goval.api.lore.DeleteReplRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
36275
|
+
|
|
36276
|
+
/**
|
|
36277
|
+
* Decodes a DeleteReplRequest message from the specified reader or buffer.
|
|
36278
|
+
* @param reader Reader or buffer to decode from
|
|
36279
|
+
* @param [length] Message length if known beforehand
|
|
36280
|
+
* @returns DeleteReplRequest
|
|
36281
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
36282
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
36283
|
+
*/
|
|
36284
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.lore.DeleteReplRequest;
|
|
36285
|
+
|
|
36286
|
+
/**
|
|
36287
|
+
* Decodes a DeleteReplRequest message from the specified reader or buffer, length delimited.
|
|
36288
|
+
* @param reader Reader or buffer to decode from
|
|
36289
|
+
* @returns DeleteReplRequest
|
|
36290
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
36291
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
36292
|
+
*/
|
|
36293
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.lore.DeleteReplRequest;
|
|
36294
|
+
|
|
36295
|
+
/**
|
|
36296
|
+
* Verifies a DeleteReplRequest message.
|
|
36297
|
+
* @param message Plain object to verify
|
|
36298
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
36299
|
+
*/
|
|
36300
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
36301
|
+
|
|
36302
|
+
/**
|
|
36303
|
+
* Creates a DeleteReplRequest message from a plain object. Also converts values to their respective internal types.
|
|
36304
|
+
* @param object Plain object
|
|
36305
|
+
* @returns DeleteReplRequest
|
|
36306
|
+
*/
|
|
36307
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.lore.DeleteReplRequest;
|
|
36308
|
+
|
|
36309
|
+
/**
|
|
36310
|
+
* Creates a plain object from a DeleteReplRequest message. Also converts values to other types if specified.
|
|
36311
|
+
* @param message DeleteReplRequest
|
|
36312
|
+
* @param [options] Conversion options
|
|
36313
|
+
* @returns Plain object
|
|
36314
|
+
*/
|
|
36315
|
+
public static toObject(message: replit.goval.api.lore.DeleteReplRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
36316
|
+
|
|
36317
|
+
/**
|
|
36318
|
+
* Converts this DeleteReplRequest to JSON.
|
|
36319
|
+
* @returns JSON object
|
|
36320
|
+
*/
|
|
36321
|
+
public toJSON(): { [k: string]: any };
|
|
36322
|
+
|
|
36323
|
+
/**
|
|
36324
|
+
* Gets the default type url for DeleteReplRequest
|
|
36325
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
36326
|
+
* @returns The default type url
|
|
36327
|
+
*/
|
|
36328
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
36329
|
+
}
|
|
36330
|
+
|
|
36331
|
+
/** Properties of a DeleteReplResponse. */
|
|
36332
|
+
interface IDeleteReplResponse {
|
|
36333
|
+
}
|
|
36334
|
+
|
|
36335
|
+
/** Represents a DeleteReplResponse. */
|
|
36336
|
+
class DeleteReplResponse {
|
|
36337
|
+
|
|
36338
|
+
/**
|
|
36339
|
+
* Constructs a new DeleteReplResponse.
|
|
36340
|
+
* @param [properties] Properties to set
|
|
36341
|
+
*/
|
|
36342
|
+
private constructor(properties?: replit.goval.api.lore.IDeleteReplResponse);
|
|
36343
|
+
|
|
36344
|
+
/**
|
|
36345
|
+
* Creates a new DeleteReplResponse instance using the specified properties.
|
|
36346
|
+
* @param [properties] Properties to set
|
|
36347
|
+
* @returns DeleteReplResponse instance
|
|
36348
|
+
*/
|
|
36349
|
+
public static create(properties?: replit.goval.api.lore.IDeleteReplResponse): replit.goval.api.lore.DeleteReplResponse;
|
|
36350
|
+
|
|
36351
|
+
/**
|
|
36352
|
+
* Encodes the specified DeleteReplResponse message. Does not implicitly {@link replit.goval.api.lore.DeleteReplResponse.verify|verify} messages.
|
|
36353
|
+
* @param message DeleteReplResponse message or plain object to encode
|
|
36354
|
+
* @param [writer] Writer to encode to
|
|
36355
|
+
* @returns Writer
|
|
36356
|
+
*/
|
|
36357
|
+
public static encode(message: replit.goval.api.lore.DeleteReplResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
36358
|
+
|
|
36359
|
+
/**
|
|
36360
|
+
* Encodes the specified DeleteReplResponse message, length delimited. Does not implicitly {@link replit.goval.api.lore.DeleteReplResponse.verify|verify} messages.
|
|
36361
|
+
* @param message DeleteReplResponse message or plain object to encode
|
|
36362
|
+
* @param [writer] Writer to encode to
|
|
36363
|
+
* @returns Writer
|
|
36364
|
+
*/
|
|
36365
|
+
public static encodeDelimited(message: replit.goval.api.lore.DeleteReplResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
36366
|
+
|
|
36367
|
+
/**
|
|
36368
|
+
* Decodes a DeleteReplResponse message from the specified reader or buffer.
|
|
36369
|
+
* @param reader Reader or buffer to decode from
|
|
36370
|
+
* @param [length] Message length if known beforehand
|
|
36371
|
+
* @returns DeleteReplResponse
|
|
36372
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
36373
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
36374
|
+
*/
|
|
36375
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): replit.goval.api.lore.DeleteReplResponse;
|
|
36376
|
+
|
|
36377
|
+
/**
|
|
36378
|
+
* Decodes a DeleteReplResponse message from the specified reader or buffer, length delimited.
|
|
36379
|
+
* @param reader Reader or buffer to decode from
|
|
36380
|
+
* @returns DeleteReplResponse
|
|
36381
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
36382
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
36383
|
+
*/
|
|
36384
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): replit.goval.api.lore.DeleteReplResponse;
|
|
36385
|
+
|
|
36386
|
+
/**
|
|
36387
|
+
* Verifies a DeleteReplResponse message.
|
|
36388
|
+
* @param message Plain object to verify
|
|
36389
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
36390
|
+
*/
|
|
36391
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
36392
|
+
|
|
36393
|
+
/**
|
|
36394
|
+
* Creates a DeleteReplResponse message from a plain object. Also converts values to their respective internal types.
|
|
36395
|
+
* @param object Plain object
|
|
36396
|
+
* @returns DeleteReplResponse
|
|
36397
|
+
*/
|
|
36398
|
+
public static fromObject(object: { [k: string]: any }): replit.goval.api.lore.DeleteReplResponse;
|
|
36399
|
+
|
|
36400
|
+
/**
|
|
36401
|
+
* Creates a plain object from a DeleteReplResponse message. Also converts values to other types if specified.
|
|
36402
|
+
* @param message DeleteReplResponse
|
|
36403
|
+
* @param [options] Conversion options
|
|
36404
|
+
* @returns Plain object
|
|
36405
|
+
*/
|
|
36406
|
+
public static toObject(message: replit.goval.api.lore.DeleteReplResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
36407
|
+
|
|
36408
|
+
/**
|
|
36409
|
+
* Converts this DeleteReplResponse to JSON.
|
|
36410
|
+
* @returns JSON object
|
|
36411
|
+
*/
|
|
36412
|
+
public toJSON(): { [k: string]: any };
|
|
36413
|
+
|
|
36414
|
+
/**
|
|
36415
|
+
* Gets the default type url for DeleteReplResponse
|
|
36416
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
36417
|
+
* @returns The default type url
|
|
36418
|
+
*/
|
|
36419
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
36420
|
+
}
|
|
36421
|
+
|
|
36216
36422
|
/** Properties of a GetClustersRequest. */
|
|
36217
36423
|
interface IGetClustersRequest {
|
|
36218
36424
|
}
|
|
@@ -37391,6 +37597,20 @@ export namespace replit {
|
|
|
37391
37597
|
*/
|
|
37392
37598
|
public bulkRemove(request: replit.goval.api.lore.BulkRemoveRequest): Promise<replit.goval.api.lore.BulkRemoveResponse>;
|
|
37393
37599
|
|
|
37600
|
+
/**
|
|
37601
|
+
* Calls DeleteRepl.
|
|
37602
|
+
* @param request DeleteReplRequest message or plain object
|
|
37603
|
+
* @param callback Node-style callback called with the error, if any, and DeleteReplResponse
|
|
37604
|
+
*/
|
|
37605
|
+
public deleteRepl(request: replit.goval.api.lore.DeleteReplRequest, callback: replit.goval.api.lore.Lore.DeleteReplCallback): void;
|
|
37606
|
+
|
|
37607
|
+
/**
|
|
37608
|
+
* Calls DeleteRepl.
|
|
37609
|
+
* @param request DeleteReplRequest message or plain object
|
|
37610
|
+
* @returns Promise
|
|
37611
|
+
*/
|
|
37612
|
+
public deleteRepl(request: replit.goval.api.lore.DeleteReplRequest): Promise<replit.goval.api.lore.DeleteReplResponse>;
|
|
37613
|
+
|
|
37394
37614
|
/**
|
|
37395
37615
|
* Calls GetClusters.
|
|
37396
37616
|
* @param request GetClustersRequest message or plain object
|
|
@@ -37520,6 +37740,13 @@ export namespace replit {
|
|
|
37520
37740
|
*/
|
|
37521
37741
|
type BulkRemoveCallback = (error: (Error|null), response?: replit.goval.api.lore.BulkRemoveResponse) => void;
|
|
37522
37742
|
|
|
37743
|
+
/**
|
|
37744
|
+
* Callback as used by {@link replit.goval.api.lore.Lore#deleteRepl}.
|
|
37745
|
+
* @param error Error, if any
|
|
37746
|
+
* @param [response] DeleteReplResponse
|
|
37747
|
+
*/
|
|
37748
|
+
type DeleteReplCallback = (error: (Error|null), response?: replit.goval.api.lore.DeleteReplResponse) => void;
|
|
37749
|
+
|
|
37523
37750
|
/**
|
|
37524
37751
|
* Callback as used by {@link replit.goval.api.lore.Lore#getClusters}.
|
|
37525
37752
|
* @param error Error, if any
|