@replit/protocol 0.2.52 → 0.2.53

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.
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Flowtype definitions for index
3
3
  * Generated by Flowgen from a Typescript Definition
4
- * Flowgen v1.14.1
4
+ * Flowgen v1.20.0
5
5
  * @flow
6
6
  */
7
7
 
package/main/index.d.ts CHANGED
@@ -13504,7 +13504,7 @@ export namespace api {
13504
13504
  path?: (string|null);
13505
13505
 
13506
13506
  /** DotReplitUpdateOp value */
13507
- value?: (google.protobuf.Value|google.protobuf.IValue|null);
13507
+ value?: (string|null);
13508
13508
  }
13509
13509
 
13510
13510
  /** Represents a DotReplitUpdateOp. */
@@ -13523,7 +13523,7 @@ export namespace api {
13523
13523
  public path: string;
13524
13524
 
13525
13525
  /** DotReplitUpdateOp value. */
13526
- public value?: (google.protobuf.Value|null);
13526
+ public value: string;
13527
13527
 
13528
13528
  /**
13529
13529
  * Creates a new DotReplitUpdateOp instance using the specified properties.
@@ -17288,313 +17288,5 @@ export namespace google {
17288
17288
  */
17289
17289
  public toJSON(): { [k: string]: any };
17290
17290
  }
17291
-
17292
- /** Properties of a Struct. */
17293
- interface IStruct {
17294
-
17295
- /** Struct fields */
17296
- fields?: ({ [k: string]: (google.protobuf.Value|google.protobuf.IValue) }|null);
17297
- }
17298
-
17299
- /** Represents a Struct. */
17300
- class Struct {
17301
-
17302
- /**
17303
- * Constructs a new Struct.
17304
- * @param [properties] Properties to set
17305
- */
17306
- private constructor(properties?: google.protobuf.IStruct);
17307
-
17308
- /** Struct fields. */
17309
- public fields: { [k: string]: google.protobuf.Value };
17310
-
17311
- /**
17312
- * Creates a new Struct instance using the specified properties.
17313
- * @param [properties] Properties to set
17314
- * @returns Struct instance
17315
- */
17316
- public static create(properties?: google.protobuf.IStruct): google.protobuf.Struct;
17317
-
17318
- /**
17319
- * Encodes the specified Struct message. Does not implicitly {@link google.protobuf.Struct.verify|verify} messages.
17320
- * @param message Struct message or plain object to encode
17321
- * @param [writer] Writer to encode to
17322
- * @returns Writer
17323
- */
17324
- public static encode(message: google.protobuf.Struct, writer?: $protobuf.Writer): $protobuf.Writer;
17325
-
17326
- /**
17327
- * Encodes the specified Struct message, length delimited. Does not implicitly {@link google.protobuf.Struct.verify|verify} messages.
17328
- * @param message Struct message or plain object to encode
17329
- * @param [writer] Writer to encode to
17330
- * @returns Writer
17331
- */
17332
- public static encodeDelimited(message: google.protobuf.Struct, writer?: $protobuf.Writer): $protobuf.Writer;
17333
-
17334
- /**
17335
- * Decodes a Struct message from the specified reader or buffer.
17336
- * @param reader Reader or buffer to decode from
17337
- * @param [length] Message length if known beforehand
17338
- * @returns Struct
17339
- * @throws {Error} If the payload is not a reader or valid buffer
17340
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
17341
- */
17342
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Struct;
17343
-
17344
- /**
17345
- * Decodes a Struct message from the specified reader or buffer, length delimited.
17346
- * @param reader Reader or buffer to decode from
17347
- * @returns Struct
17348
- * @throws {Error} If the payload is not a reader or valid buffer
17349
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
17350
- */
17351
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Struct;
17352
-
17353
- /**
17354
- * Verifies a Struct message.
17355
- * @param message Plain object to verify
17356
- * @returns `null` if valid, otherwise the reason why it is not
17357
- */
17358
- public static verify(message: { [k: string]: any }): (string|null);
17359
-
17360
- /**
17361
- * Creates a Struct message from a plain object. Also converts values to their respective internal types.
17362
- * @param object Plain object
17363
- * @returns Struct
17364
- */
17365
- public static fromObject(object: { [k: string]: any }): google.protobuf.Struct;
17366
-
17367
- /**
17368
- * Creates a plain object from a Struct message. Also converts values to other types if specified.
17369
- * @param message Struct
17370
- * @param [options] Conversion options
17371
- * @returns Plain object
17372
- */
17373
- public static toObject(message: google.protobuf.Struct, options?: $protobuf.IConversionOptions): { [k: string]: any };
17374
-
17375
- /**
17376
- * Converts this Struct to JSON.
17377
- * @returns JSON object
17378
- */
17379
- public toJSON(): { [k: string]: any };
17380
- }
17381
-
17382
- /** Properties of a Value. */
17383
- interface IValue {
17384
-
17385
- /** Value nullValue */
17386
- nullValue?: (google.protobuf.NullValue|null);
17387
-
17388
- /** Value numberValue */
17389
- numberValue?: (number|null);
17390
-
17391
- /** Value stringValue */
17392
- stringValue?: (string|null);
17393
-
17394
- /** Value boolValue */
17395
- boolValue?: (boolean|null);
17396
-
17397
- /** Value structValue */
17398
- structValue?: (google.protobuf.Struct|google.protobuf.IStruct|null);
17399
-
17400
- /** Value listValue */
17401
- listValue?: (google.protobuf.ListValue|google.protobuf.IListValue|null);
17402
- }
17403
-
17404
- /** Represents a Value. */
17405
- class Value {
17406
-
17407
- /**
17408
- * Constructs a new Value.
17409
- * @param [properties] Properties to set
17410
- */
17411
- private constructor(properties?: google.protobuf.IValue);
17412
-
17413
- /** Value nullValue. */
17414
- public nullValue?: (google.protobuf.NullValue|null);
17415
-
17416
- /** Value numberValue. */
17417
- public numberValue?: (number|null);
17418
-
17419
- /** Value stringValue. */
17420
- public stringValue?: (string|null);
17421
-
17422
- /** Value boolValue. */
17423
- public boolValue?: (boolean|null);
17424
-
17425
- /** Value structValue. */
17426
- public structValue?: (google.protobuf.Struct|null);
17427
-
17428
- /** Value listValue. */
17429
- public listValue?: (google.protobuf.ListValue|null);
17430
-
17431
- /** Value kind. */
17432
- public kind?: ("nullValue"|"numberValue"|"stringValue"|"boolValue"|"structValue"|"listValue");
17433
-
17434
- /**
17435
- * Creates a new Value instance using the specified properties.
17436
- * @param [properties] Properties to set
17437
- * @returns Value instance
17438
- */
17439
- public static create(properties?: google.protobuf.IValue): google.protobuf.Value;
17440
-
17441
- /**
17442
- * Encodes the specified Value message. Does not implicitly {@link google.protobuf.Value.verify|verify} messages.
17443
- * @param message Value message or plain object to encode
17444
- * @param [writer] Writer to encode to
17445
- * @returns Writer
17446
- */
17447
- public static encode(message: google.protobuf.Value, writer?: $protobuf.Writer): $protobuf.Writer;
17448
-
17449
- /**
17450
- * Encodes the specified Value message, length delimited. Does not implicitly {@link google.protobuf.Value.verify|verify} messages.
17451
- * @param message Value message or plain object to encode
17452
- * @param [writer] Writer to encode to
17453
- * @returns Writer
17454
- */
17455
- public static encodeDelimited(message: google.protobuf.Value, writer?: $protobuf.Writer): $protobuf.Writer;
17456
-
17457
- /**
17458
- * Decodes a Value message from the specified reader or buffer.
17459
- * @param reader Reader or buffer to decode from
17460
- * @param [length] Message length if known beforehand
17461
- * @returns Value
17462
- * @throws {Error} If the payload is not a reader or valid buffer
17463
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
17464
- */
17465
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Value;
17466
-
17467
- /**
17468
- * Decodes a Value message from the specified reader or buffer, length delimited.
17469
- * @param reader Reader or buffer to decode from
17470
- * @returns Value
17471
- * @throws {Error} If the payload is not a reader or valid buffer
17472
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
17473
- */
17474
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Value;
17475
-
17476
- /**
17477
- * Verifies a Value message.
17478
- * @param message Plain object to verify
17479
- * @returns `null` if valid, otherwise the reason why it is not
17480
- */
17481
- public static verify(message: { [k: string]: any }): (string|null);
17482
-
17483
- /**
17484
- * Creates a Value message from a plain object. Also converts values to their respective internal types.
17485
- * @param object Plain object
17486
- * @returns Value
17487
- */
17488
- public static fromObject(object: { [k: string]: any }): google.protobuf.Value;
17489
-
17490
- /**
17491
- * Creates a plain object from a Value message. Also converts values to other types if specified.
17492
- * @param message Value
17493
- * @param [options] Conversion options
17494
- * @returns Plain object
17495
- */
17496
- public static toObject(message: google.protobuf.Value, options?: $protobuf.IConversionOptions): { [k: string]: any };
17497
-
17498
- /**
17499
- * Converts this Value to JSON.
17500
- * @returns JSON object
17501
- */
17502
- public toJSON(): { [k: string]: any };
17503
- }
17504
-
17505
- /** NullValue enum. */
17506
- enum NullValue {
17507
- NULL_VALUE = 0
17508
- }
17509
-
17510
- /** Properties of a ListValue. */
17511
- interface IListValue {
17512
-
17513
- /** ListValue values */
17514
- values?: ((google.protobuf.Value|google.protobuf.IValue)[]|null);
17515
- }
17516
-
17517
- /** Represents a ListValue. */
17518
- class ListValue {
17519
-
17520
- /**
17521
- * Constructs a new ListValue.
17522
- * @param [properties] Properties to set
17523
- */
17524
- private constructor(properties?: google.protobuf.IListValue);
17525
-
17526
- /** ListValue values. */
17527
- public values: google.protobuf.Value[];
17528
-
17529
- /**
17530
- * Creates a new ListValue instance using the specified properties.
17531
- * @param [properties] Properties to set
17532
- * @returns ListValue instance
17533
- */
17534
- public static create(properties?: google.protobuf.IListValue): google.protobuf.ListValue;
17535
-
17536
- /**
17537
- * Encodes the specified ListValue message. Does not implicitly {@link google.protobuf.ListValue.verify|verify} messages.
17538
- * @param message ListValue message or plain object to encode
17539
- * @param [writer] Writer to encode to
17540
- * @returns Writer
17541
- */
17542
- public static encode(message: google.protobuf.ListValue, writer?: $protobuf.Writer): $protobuf.Writer;
17543
-
17544
- /**
17545
- * Encodes the specified ListValue message, length delimited. Does not implicitly {@link google.protobuf.ListValue.verify|verify} messages.
17546
- * @param message ListValue message or plain object to encode
17547
- * @param [writer] Writer to encode to
17548
- * @returns Writer
17549
- */
17550
- public static encodeDelimited(message: google.protobuf.ListValue, writer?: $protobuf.Writer): $protobuf.Writer;
17551
-
17552
- /**
17553
- * Decodes a ListValue message from the specified reader or buffer.
17554
- * @param reader Reader or buffer to decode from
17555
- * @param [length] Message length if known beforehand
17556
- * @returns ListValue
17557
- * @throws {Error} If the payload is not a reader or valid buffer
17558
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
17559
- */
17560
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ListValue;
17561
-
17562
- /**
17563
- * Decodes a ListValue message from the specified reader or buffer, length delimited.
17564
- * @param reader Reader or buffer to decode from
17565
- * @returns ListValue
17566
- * @throws {Error} If the payload is not a reader or valid buffer
17567
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
17568
- */
17569
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ListValue;
17570
-
17571
- /**
17572
- * Verifies a ListValue message.
17573
- * @param message Plain object to verify
17574
- * @returns `null` if valid, otherwise the reason why it is not
17575
- */
17576
- public static verify(message: { [k: string]: any }): (string|null);
17577
-
17578
- /**
17579
- * Creates a ListValue message from a plain object. Also converts values to their respective internal types.
17580
- * @param object Plain object
17581
- * @returns ListValue
17582
- */
17583
- public static fromObject(object: { [k: string]: any }): google.protobuf.ListValue;
17584
-
17585
- /**
17586
- * Creates a plain object from a ListValue message. Also converts values to other types if specified.
17587
- * @param message ListValue
17588
- * @param [options] Conversion options
17589
- * @returns Plain object
17590
- */
17591
- public static toObject(message: google.protobuf.ListValue, options?: $protobuf.IConversionOptions): { [k: string]: any };
17592
-
17593
- /**
17594
- * Converts this ListValue to JSON.
17595
- * @returns JSON object
17596
- */
17597
- public toJSON(): { [k: string]: any };
17598
- }
17599
17291
  }
17600
17292
  }