@replit/protocol 0.4.23 → 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 +34 -0
- package/dist/api/lore/service.js +86 -0
- package/dist/api/types.d.ts +12 -1
- package/dist/api/types.js +11 -0
- package/iotester/index.d.ts +217 -1
- package/iotester/index.js +448 -0
- package/main/index.d.ts +217 -1
- package/main/index.js +448 -0
- package/package.json +1 -1
package/iotester/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
|
|
|
@@ -18753,7 +18759,8 @@ export namespace replit {
|
|
|
18753
18759
|
VM = 3,
|
|
18754
18760
|
AUTOSCALE = 4,
|
|
18755
18761
|
SCHEDULED = 5,
|
|
18756
|
-
EXTENSION = 6
|
|
18762
|
+
EXTENSION = 6,
|
|
18763
|
+
DATABRICKS_APP = 7
|
|
18757
18764
|
}
|
|
18758
18765
|
|
|
18759
18766
|
/** Properties of a RewriteRule. */
|
|
@@ -36224,6 +36231,194 @@ export namespace replit {
|
|
|
36224
36231
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
36225
36232
|
}
|
|
36226
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
|
+
|
|
36227
36422
|
/** Properties of a GetClustersRequest. */
|
|
36228
36423
|
interface IGetClustersRequest {
|
|
36229
36424
|
}
|
|
@@ -37402,6 +37597,20 @@ export namespace replit {
|
|
|
37402
37597
|
*/
|
|
37403
37598
|
public bulkRemove(request: replit.goval.api.lore.BulkRemoveRequest): Promise<replit.goval.api.lore.BulkRemoveResponse>;
|
|
37404
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
|
+
|
|
37405
37614
|
/**
|
|
37406
37615
|
* Calls GetClusters.
|
|
37407
37616
|
* @param request GetClustersRequest message or plain object
|
|
@@ -37531,6 +37740,13 @@ export namespace replit {
|
|
|
37531
37740
|
*/
|
|
37532
37741
|
type BulkRemoveCallback = (error: (Error|null), response?: replit.goval.api.lore.BulkRemoveResponse) => void;
|
|
37533
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
|
+
|
|
37534
37750
|
/**
|
|
37535
37751
|
* Callback as used by {@link replit.goval.api.lore.Lore#getClusters}.
|
|
37536
37752
|
* @param error Error, if any
|