@replit/protocol 0.3.30 → 0.3.31

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.
@@ -231,6 +231,10 @@ declare var npm$namespace$replit$goval$api: {|
231
231
  IReplDomain: Class<replit$goval$api$IReplDomain>,
232
232
  IOutputBlockStartEvent: Class<replit$goval$api$IOutputBlockStartEvent>,
233
233
  IOutputBlockEndEvent: Class<replit$goval$api$IOutputBlockEndEvent>,
234
+ IRulesConfig: Class<replit$goval$api$IRulesConfig>,
235
+ IFormatterRules: Class<replit$goval$api$IFormatterRules>,
236
+ IFormatterConfig: Class<replit$goval$api$IFormatterConfig>,
237
+ IFormatterConfigWithPattern: Class<replit$goval$api$IFormatterConfigWithPattern>,
234
238
  IReplToken: Class<replit$goval$api$IReplToken>,
235
239
  ITLSCertificate: Class<replit$goval$api$ITLSCertificate>,
236
240
  IReplTransfer: Class<replit$goval$api$IReplTransfer>,
@@ -461,6 +465,10 @@ declare var npm$namespace$replit$goval$api: {|
461
465
  ReplDomain: typeof replit$goval$api$ReplDomain,
462
466
  OutputBlockStartEvent: typeof replit$goval$api$OutputBlockStartEvent,
463
467
  OutputBlockEndEvent: typeof replit$goval$api$OutputBlockEndEvent,
468
+ RulesConfig: typeof replit$goval$api$RulesConfig,
469
+ FormatterRules: typeof replit$goval$api$FormatterRules,
470
+ FormatterConfig: typeof replit$goval$api$FormatterConfig,
471
+ FormatterConfigWithPattern: typeof replit$goval$api$FormatterConfigWithPattern,
464
472
  ReplToken: typeof replit$goval$api$ReplToken,
465
473
  TLSCertificate: typeof replit$goval$api$TLSCertificate,
466
474
  ReplTransfer: typeof replit$goval$api$ReplTransfer,
@@ -25212,6 +25220,11 @@ declare type replit$goval$api$IDotReplit = {|
25212
25220
  | replit$goval$api$ExtensionConfig
25213
25221
  | replit$goval$api$IExtensionConfig
25214
25222
  | null,
25223
+
25224
+ /**
25225
+ * DotReplit rules
25226
+ */
25227
+ rules?: replit$goval$api$RulesConfig | replit$goval$api$IRulesConfig | null,
25215
25228
  |};
25216
25229
 
25217
25230
  /**
@@ -25348,6 +25361,11 @@ declare class replit$goval$api$DotReplit {
25348
25361
  */
25349
25362
  extension?: replit$goval$api$ExtensionConfig | null;
25350
25363
 
25364
+ /**
25365
+ * DotReplit rules.
25366
+ */
25367
+ rules?: replit$goval$api$RulesConfig | null;
25368
+
25351
25369
  /**
25352
25370
  * Creates a new DotReplit instance using the specified properties.
25353
25371
  * @param [properties] Properties to set
@@ -30550,6 +30568,16 @@ declare type replit$goval$api$IToolchainConfigs = {|
30550
30568
  formatters?:
30551
30569
  | (replit$goval$api$FormatterOption | replit$goval$api$IFormatterOption)[]
30552
30570
  | null,
30571
+
30572
+ /**
30573
+ * ToolchainConfigs disableInstallBeforeRun
30574
+ */
30575
+ disableInstallBeforeRun?: boolean | null,
30576
+
30577
+ /**
30578
+ * ToolchainConfigs disableGuessImports
30579
+ */
30580
+ disableGuessImports?: boolean | null,
30553
30581
  |};
30554
30582
 
30555
30583
  /**
@@ -30592,6 +30620,16 @@ declare class replit$goval$api$ToolchainConfigs {
30592
30620
  */
30593
30621
  formatters: replit$goval$api$FormatterOption[];
30594
30622
 
30623
+ /**
30624
+ * ToolchainConfigs disableInstallBeforeRun.
30625
+ */
30626
+ disableInstallBeforeRun: boolean;
30627
+
30628
+ /**
30629
+ * ToolchainConfigs disableGuessImports.
30630
+ */
30631
+ disableGuessImports: boolean;
30632
+
30595
30633
  /**
30596
30634
  * Creates a new ToolchainConfigs instance using the specified properties.
30597
30635
  * @param [properties] Properties to set
@@ -33024,6 +33062,564 @@ declare class replit$goval$api$OutputBlockEndEvent {
33024
33062
  static getTypeUrl(typeUrlPrefix?: string): string;
33025
33063
  }
33026
33064
 
33065
+ /**
33066
+ * Properties of a RulesConfig.
33067
+ */
33068
+ declare type replit$goval$api$IRulesConfig = {|
33069
+ /**
33070
+ * RulesConfig formatter
33071
+ */
33072
+ formatter?:
33073
+ | replit$goval$api$FormatterRules
33074
+ | replit$goval$api$IFormatterRules
33075
+ | null,
33076
+ |};
33077
+
33078
+ /**
33079
+ * Represents a RulesConfig.
33080
+ */
33081
+ declare class replit$goval$api$RulesConfig {
33082
+ /**
33083
+ * Constructs a new RulesConfig.
33084
+ * @param [properties] Properties to set
33085
+ */
33086
+ constructor(properties?: replit$goval$api$IRulesConfig): this;
33087
+
33088
+ /**
33089
+ * RulesConfig formatter.
33090
+ */
33091
+ formatter?: replit$goval$api$FormatterRules | null;
33092
+
33093
+ /**
33094
+ * Creates a new RulesConfig instance using the specified properties.
33095
+ * @param [properties] Properties to set
33096
+ * @returns RulesConfig instance
33097
+ */
33098
+ static create(
33099
+ properties?: replit$goval$api$IRulesConfig
33100
+ ): replit$goval$api$RulesConfig;
33101
+
33102
+ /**
33103
+ * [object Object],[object Object],[object Object]
33104
+ * @param message RulesConfig message or plain object to encode
33105
+ * @param [writer] Writer to encode to
33106
+ * @returns Writer
33107
+ */
33108
+ static encode(
33109
+ message: replit$goval$api$RulesConfig,
33110
+ writer?: $protobuf.Writer
33111
+ ): $protobuf.Writer;
33112
+
33113
+ /**
33114
+ * [object Object],[object Object],[object Object]
33115
+ * @param message RulesConfig message or plain object to encode
33116
+ * @param [writer] Writer to encode to
33117
+ * @returns Writer
33118
+ */
33119
+ static encodeDelimited(
33120
+ message: replit$goval$api$RulesConfig,
33121
+ writer?: $protobuf.Writer
33122
+ ): $protobuf.Writer;
33123
+
33124
+ /**
33125
+ * Decodes a RulesConfig message from the specified reader or buffer.
33126
+ * @param reader Reader or buffer to decode from
33127
+ * @param [length] Message length if known beforehand
33128
+ * @returns RulesConfig
33129
+ * @throws {Error} If the payload is not a reader or valid buffer
33130
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
33131
+ */
33132
+ static decode(
33133
+ reader: $protobuf.Reader | Uint8Array,
33134
+ length?: number
33135
+ ): replit$goval$api$RulesConfig;
33136
+
33137
+ /**
33138
+ * Decodes a RulesConfig message from the specified reader or buffer, length delimited.
33139
+ * @param reader Reader or buffer to decode from
33140
+ * @returns RulesConfig
33141
+ * @throws {Error} If the payload is not a reader or valid buffer
33142
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
33143
+ */
33144
+ static decodeDelimited(
33145
+ reader: $protobuf.Reader | Uint8Array
33146
+ ): replit$goval$api$RulesConfig;
33147
+
33148
+ /**
33149
+ * Verifies a RulesConfig message.
33150
+ * @param message Plain object to verify
33151
+ * @returns `null` if valid, otherwise the reason why it is not
33152
+ */
33153
+ static verify(message: {|
33154
+ [k: string]: any,
33155
+ |}): string | null;
33156
+
33157
+ /**
33158
+ * Creates a RulesConfig message from a plain object. Also converts values to their respective internal types.
33159
+ * @param object Plain object
33160
+ * @returns RulesConfig
33161
+ */
33162
+ static fromObject(object: {|
33163
+ [k: string]: any,
33164
+ |}): replit$goval$api$RulesConfig;
33165
+
33166
+ /**
33167
+ * Creates a plain object from a RulesConfig message. Also converts values to other types if specified.
33168
+ * @param message RulesConfig
33169
+ * @param [options] Conversion options
33170
+ * @returns Plain object
33171
+ */
33172
+ static toObject(
33173
+ message: replit$goval$api$RulesConfig,
33174
+ options?: $protobuf.IConversionOptions
33175
+ ): {|
33176
+ [k: string]: any,
33177
+ |};
33178
+
33179
+ /**
33180
+ * Converts this RulesConfig to JSON.
33181
+ * @returns JSON object
33182
+ */
33183
+ toJSON(): {|
33184
+ [k: string]: any,
33185
+ |};
33186
+
33187
+ /**
33188
+ * Gets the default type url for RulesConfig
33189
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
33190
+ * @returns The default type url
33191
+ */
33192
+ static getTypeUrl(typeUrlPrefix?: string): string;
33193
+ }
33194
+
33195
+ /**
33196
+ * Properties of a FormatterRules.
33197
+ */
33198
+ declare type replit$goval$api$IFormatterRules = {|
33199
+ /**
33200
+ * FormatterRules patterns
33201
+ */
33202
+ patterns?:
33203
+ | (
33204
+ | replit$goval$api$FormatterConfigWithPattern
33205
+ | replit$goval$api$IFormatterConfigWithPattern
33206
+ )[]
33207
+ | null,
33208
+
33209
+ /**
33210
+ * FormatterRules fileExtensions
33211
+ */
33212
+ fileExtensions?: {|
33213
+ [k: string]:
33214
+ | replit$goval$api$FormatterConfig
33215
+ | replit$goval$api$IFormatterConfig,
33216
+ |} | null,
33217
+
33218
+ /**
33219
+ * FormatterRules languages
33220
+ */
33221
+ languages?: {|
33222
+ [k: string]:
33223
+ | replit$goval$api$FormatterConfig
33224
+ | replit$goval$api$IFormatterConfig,
33225
+ |} | null,
33226
+ |};
33227
+
33228
+ /**
33229
+ * Represents a FormatterRules.
33230
+ */
33231
+ declare class replit$goval$api$FormatterRules {
33232
+ /**
33233
+ * Constructs a new FormatterRules.
33234
+ * @param [properties] Properties to set
33235
+ */
33236
+ constructor(properties?: replit$goval$api$IFormatterRules): this;
33237
+
33238
+ /**
33239
+ * FormatterRules patterns.
33240
+ */
33241
+ patterns: replit$goval$api$FormatterConfigWithPattern[];
33242
+
33243
+ /**
33244
+ * FormatterRules fileExtensions.
33245
+ */
33246
+ fileExtensions: {|
33247
+ [k: string]: replit$goval$api$FormatterConfig,
33248
+ |};
33249
+
33250
+ /**
33251
+ * FormatterRules languages.
33252
+ */
33253
+ languages: {|
33254
+ [k: string]: replit$goval$api$FormatterConfig,
33255
+ |};
33256
+
33257
+ /**
33258
+ * Creates a new FormatterRules instance using the specified properties.
33259
+ * @param [properties] Properties to set
33260
+ * @returns FormatterRules instance
33261
+ */
33262
+ static create(
33263
+ properties?: replit$goval$api$IFormatterRules
33264
+ ): replit$goval$api$FormatterRules;
33265
+
33266
+ /**
33267
+ * [object Object],[object Object],[object Object]
33268
+ * @param message FormatterRules message or plain object to encode
33269
+ * @param [writer] Writer to encode to
33270
+ * @returns Writer
33271
+ */
33272
+ static encode(
33273
+ message: replit$goval$api$FormatterRules,
33274
+ writer?: $protobuf.Writer
33275
+ ): $protobuf.Writer;
33276
+
33277
+ /**
33278
+ * [object Object],[object Object],[object Object]
33279
+ * @param message FormatterRules message or plain object to encode
33280
+ * @param [writer] Writer to encode to
33281
+ * @returns Writer
33282
+ */
33283
+ static encodeDelimited(
33284
+ message: replit$goval$api$FormatterRules,
33285
+ writer?: $protobuf.Writer
33286
+ ): $protobuf.Writer;
33287
+
33288
+ /**
33289
+ * Decodes a FormatterRules message from the specified reader or buffer.
33290
+ * @param reader Reader or buffer to decode from
33291
+ * @param [length] Message length if known beforehand
33292
+ * @returns FormatterRules
33293
+ * @throws {Error} If the payload is not a reader or valid buffer
33294
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
33295
+ */
33296
+ static decode(
33297
+ reader: $protobuf.Reader | Uint8Array,
33298
+ length?: number
33299
+ ): replit$goval$api$FormatterRules;
33300
+
33301
+ /**
33302
+ * Decodes a FormatterRules message from the specified reader or buffer, length delimited.
33303
+ * @param reader Reader or buffer to decode from
33304
+ * @returns FormatterRules
33305
+ * @throws {Error} If the payload is not a reader or valid buffer
33306
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
33307
+ */
33308
+ static decodeDelimited(
33309
+ reader: $protobuf.Reader | Uint8Array
33310
+ ): replit$goval$api$FormatterRules;
33311
+
33312
+ /**
33313
+ * Verifies a FormatterRules message.
33314
+ * @param message Plain object to verify
33315
+ * @returns `null` if valid, otherwise the reason why it is not
33316
+ */
33317
+ static verify(message: {|
33318
+ [k: string]: any,
33319
+ |}): string | null;
33320
+
33321
+ /**
33322
+ * Creates a FormatterRules message from a plain object. Also converts values to their respective internal types.
33323
+ * @param object Plain object
33324
+ * @returns FormatterRules
33325
+ */
33326
+ static fromObject(object: {|
33327
+ [k: string]: any,
33328
+ |}): replit$goval$api$FormatterRules;
33329
+
33330
+ /**
33331
+ * Creates a plain object from a FormatterRules message. Also converts values to other types if specified.
33332
+ * @param message FormatterRules
33333
+ * @param [options] Conversion options
33334
+ * @returns Plain object
33335
+ */
33336
+ static toObject(
33337
+ message: replit$goval$api$FormatterRules,
33338
+ options?: $protobuf.IConversionOptions
33339
+ ): {|
33340
+ [k: string]: any,
33341
+ |};
33342
+
33343
+ /**
33344
+ * Converts this FormatterRules to JSON.
33345
+ * @returns JSON object
33346
+ */
33347
+ toJSON(): {|
33348
+ [k: string]: any,
33349
+ |};
33350
+
33351
+ /**
33352
+ * Gets the default type url for FormatterRules
33353
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
33354
+ * @returns The default type url
33355
+ */
33356
+ static getTypeUrl(typeUrlPrefix?: string): string;
33357
+ }
33358
+
33359
+ /**
33360
+ * Properties of a FormatterConfig.
33361
+ */
33362
+ declare type replit$goval$api$IFormatterConfig = {|
33363
+ /**
33364
+ * FormatterConfig id
33365
+ */
33366
+ id?: string | null,
33367
+ |};
33368
+
33369
+ /**
33370
+ * Represents a FormatterConfig.
33371
+ */
33372
+ declare class replit$goval$api$FormatterConfig {
33373
+ /**
33374
+ * Constructs a new FormatterConfig.
33375
+ * @param [properties] Properties to set
33376
+ */
33377
+ constructor(properties?: replit$goval$api$IFormatterConfig): this;
33378
+
33379
+ /**
33380
+ * FormatterConfig id.
33381
+ */
33382
+ id: string;
33383
+
33384
+ /**
33385
+ * Creates a new FormatterConfig instance using the specified properties.
33386
+ * @param [properties] Properties to set
33387
+ * @returns FormatterConfig instance
33388
+ */
33389
+ static create(
33390
+ properties?: replit$goval$api$IFormatterConfig
33391
+ ): replit$goval$api$FormatterConfig;
33392
+
33393
+ /**
33394
+ * [object Object],[object Object],[object Object]
33395
+ * @param message FormatterConfig message or plain object to encode
33396
+ * @param [writer] Writer to encode to
33397
+ * @returns Writer
33398
+ */
33399
+ static encode(
33400
+ message: replit$goval$api$FormatterConfig,
33401
+ writer?: $protobuf.Writer
33402
+ ): $protobuf.Writer;
33403
+
33404
+ /**
33405
+ * [object Object],[object Object],[object Object]
33406
+ * @param message FormatterConfig message or plain object to encode
33407
+ * @param [writer] Writer to encode to
33408
+ * @returns Writer
33409
+ */
33410
+ static encodeDelimited(
33411
+ message: replit$goval$api$FormatterConfig,
33412
+ writer?: $protobuf.Writer
33413
+ ): $protobuf.Writer;
33414
+
33415
+ /**
33416
+ * Decodes a FormatterConfig message from the specified reader or buffer.
33417
+ * @param reader Reader or buffer to decode from
33418
+ * @param [length] Message length if known beforehand
33419
+ * @returns FormatterConfig
33420
+ * @throws {Error} If the payload is not a reader or valid buffer
33421
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
33422
+ */
33423
+ static decode(
33424
+ reader: $protobuf.Reader | Uint8Array,
33425
+ length?: number
33426
+ ): replit$goval$api$FormatterConfig;
33427
+
33428
+ /**
33429
+ * Decodes a FormatterConfig message from the specified reader or buffer, length delimited.
33430
+ * @param reader Reader or buffer to decode from
33431
+ * @returns FormatterConfig
33432
+ * @throws {Error} If the payload is not a reader or valid buffer
33433
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
33434
+ */
33435
+ static decodeDelimited(
33436
+ reader: $protobuf.Reader | Uint8Array
33437
+ ): replit$goval$api$FormatterConfig;
33438
+
33439
+ /**
33440
+ * Verifies a FormatterConfig message.
33441
+ * @param message Plain object to verify
33442
+ * @returns `null` if valid, otherwise the reason why it is not
33443
+ */
33444
+ static verify(message: {|
33445
+ [k: string]: any,
33446
+ |}): string | null;
33447
+
33448
+ /**
33449
+ * Creates a FormatterConfig message from a plain object. Also converts values to their respective internal types.
33450
+ * @param object Plain object
33451
+ * @returns FormatterConfig
33452
+ */
33453
+ static fromObject(object: {|
33454
+ [k: string]: any,
33455
+ |}): replit$goval$api$FormatterConfig;
33456
+
33457
+ /**
33458
+ * Creates a plain object from a FormatterConfig message. Also converts values to other types if specified.
33459
+ * @param message FormatterConfig
33460
+ * @param [options] Conversion options
33461
+ * @returns Plain object
33462
+ */
33463
+ static toObject(
33464
+ message: replit$goval$api$FormatterConfig,
33465
+ options?: $protobuf.IConversionOptions
33466
+ ): {|
33467
+ [k: string]: any,
33468
+ |};
33469
+
33470
+ /**
33471
+ * Converts this FormatterConfig to JSON.
33472
+ * @returns JSON object
33473
+ */
33474
+ toJSON(): {|
33475
+ [k: string]: any,
33476
+ |};
33477
+
33478
+ /**
33479
+ * Gets the default type url for FormatterConfig
33480
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
33481
+ * @returns The default type url
33482
+ */
33483
+ static getTypeUrl(typeUrlPrefix?: string): string;
33484
+ }
33485
+
33486
+ /**
33487
+ * Properties of a FormatterConfigWithPattern.
33488
+ */
33489
+ declare type replit$goval$api$IFormatterConfigWithPattern = {|
33490
+ /**
33491
+ * FormatterConfigWithPattern id
33492
+ */
33493
+ id?: string | null,
33494
+
33495
+ /**
33496
+ * FormatterConfigWithPattern pattern
33497
+ */
33498
+ pattern?: string | null,
33499
+ |};
33500
+
33501
+ /**
33502
+ * Represents a FormatterConfigWithPattern.
33503
+ */
33504
+ declare class replit$goval$api$FormatterConfigWithPattern {
33505
+ /**
33506
+ * Constructs a new FormatterConfigWithPattern.
33507
+ * @param [properties] Properties to set
33508
+ */
33509
+ constructor(properties?: replit$goval$api$IFormatterConfigWithPattern): this;
33510
+
33511
+ /**
33512
+ * FormatterConfigWithPattern id.
33513
+ */
33514
+ id: string;
33515
+
33516
+ /**
33517
+ * FormatterConfigWithPattern pattern.
33518
+ */
33519
+ pattern: string;
33520
+
33521
+ /**
33522
+ * Creates a new FormatterConfigWithPattern instance using the specified properties.
33523
+ * @param [properties] Properties to set
33524
+ * @returns FormatterConfigWithPattern instance
33525
+ */
33526
+ static create(
33527
+ properties?: replit$goval$api$IFormatterConfigWithPattern
33528
+ ): replit$goval$api$FormatterConfigWithPattern;
33529
+
33530
+ /**
33531
+ * [object Object],[object Object],[object Object]
33532
+ * @param message FormatterConfigWithPattern message or plain object to encode
33533
+ * @param [writer] Writer to encode to
33534
+ * @returns Writer
33535
+ */
33536
+ static encode(
33537
+ message: replit$goval$api$FormatterConfigWithPattern,
33538
+ writer?: $protobuf.Writer
33539
+ ): $protobuf.Writer;
33540
+
33541
+ /**
33542
+ * [object Object],[object Object],[object Object]
33543
+ * @param message FormatterConfigWithPattern message or plain object to encode
33544
+ * @param [writer] Writer to encode to
33545
+ * @returns Writer
33546
+ */
33547
+ static encodeDelimited(
33548
+ message: replit$goval$api$FormatterConfigWithPattern,
33549
+ writer?: $protobuf.Writer
33550
+ ): $protobuf.Writer;
33551
+
33552
+ /**
33553
+ * Decodes a FormatterConfigWithPattern message from the specified reader or buffer.
33554
+ * @param reader Reader or buffer to decode from
33555
+ * @param [length] Message length if known beforehand
33556
+ * @returns FormatterConfigWithPattern
33557
+ * @throws {Error} If the payload is not a reader or valid buffer
33558
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
33559
+ */
33560
+ static decode(
33561
+ reader: $protobuf.Reader | Uint8Array,
33562
+ length?: number
33563
+ ): replit$goval$api$FormatterConfigWithPattern;
33564
+
33565
+ /**
33566
+ * Decodes a FormatterConfigWithPattern message from the specified reader or buffer, length delimited.
33567
+ * @param reader Reader or buffer to decode from
33568
+ * @returns FormatterConfigWithPattern
33569
+ * @throws {Error} If the payload is not a reader or valid buffer
33570
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
33571
+ */
33572
+ static decodeDelimited(
33573
+ reader: $protobuf.Reader | Uint8Array
33574
+ ): replit$goval$api$FormatterConfigWithPattern;
33575
+
33576
+ /**
33577
+ * Verifies a FormatterConfigWithPattern message.
33578
+ * @param message Plain object to verify
33579
+ * @returns `null` if valid, otherwise the reason why it is not
33580
+ */
33581
+ static verify(message: {|
33582
+ [k: string]: any,
33583
+ |}): string | null;
33584
+
33585
+ /**
33586
+ * Creates a FormatterConfigWithPattern message from a plain object. Also converts values to their respective internal types.
33587
+ * @param object Plain object
33588
+ * @returns FormatterConfigWithPattern
33589
+ */
33590
+ static fromObject(object: {|
33591
+ [k: string]: any,
33592
+ |}): replit$goval$api$FormatterConfigWithPattern;
33593
+
33594
+ /**
33595
+ * Creates a plain object from a FormatterConfigWithPattern message. Also converts values to other types if specified.
33596
+ * @param message FormatterConfigWithPattern
33597
+ * @param [options] Conversion options
33598
+ * @returns Plain object
33599
+ */
33600
+ static toObject(
33601
+ message: replit$goval$api$FormatterConfigWithPattern,
33602
+ options?: $protobuf.IConversionOptions
33603
+ ): {|
33604
+ [k: string]: any,
33605
+ |};
33606
+
33607
+ /**
33608
+ * Converts this FormatterConfigWithPattern to JSON.
33609
+ * @returns JSON object
33610
+ */
33611
+ toJSON(): {|
33612
+ [k: string]: any,
33613
+ |};
33614
+
33615
+ /**
33616
+ * Gets the default type url for FormatterConfigWithPattern
33617
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
33618
+ * @returns The default type url
33619
+ */
33620
+ static getTypeUrl(typeUrlPrefix?: string): string;
33621
+ }
33622
+
33027
33623
  /**
33028
33624
  * Properties of a ReplToken.
33029
33625
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@replit/protocol",
3
- "version": "0.3.30",
3
+ "version": "0.3.31",
4
4
  "description": "JavaScript bindings for the Replit protocol",
5
5
  "main": "main/index.js",
6
6
  "repository": "https://github.com/replit/protocol",
@@ -17,6 +17,6 @@
17
17
  },
18
18
  "devDependencies": {
19
19
  "flowgen": "~1.14.0",
20
- "protobufjs-cli": "^1.1.2"
20
+ "protobufjs-cli": "^1.1.1"
21
21
  }
22
22
  }