@replit/protocol 0.2.56 → 0.2.59

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.
@@ -117,7 +117,6 @@ declare var npm$namespace$api: {|
117
117
  IPackageAdd: Class<api$IPackageAdd>,
118
118
  IPackageRemove: Class<api$IPackageRemove>,
119
119
  IPackageInstall: Class<api$IPackageInstall>,
120
- IPackageInstallResponse: Class<api$IPackageInstallResponse>,
121
120
  IPackageListSpecfile: Class<api$IPackageListSpecfile>,
122
121
  IPackageListSpecfileResp: Class<api$IPackageListSpecfileResp>,
123
122
  IPackageCacheSave: Class<api$IPackageCacheSave>,
@@ -152,6 +151,7 @@ declare var npm$namespace$api: {|
152
151
  IDebugBreakpointEvent: Class<api$IDebugBreakpointEvent>,
153
152
  IDebugBreakpoint: Class<api$IDebugBreakpoint>,
154
153
  IDotReplit: Class<api$IDotReplit>,
154
+ IGitHubImportConfig: Class<api$IGitHubImportConfig>,
155
155
  INixConfig: Class<api$INixConfig>,
156
156
  IHostingConfig: Class<api$IHostingConfig>,
157
157
  IDotReplitInterp: Class<api$IDotReplitInterp>,
@@ -286,7 +286,6 @@ declare var npm$namespace$api: {|
286
286
  PackageAdd: typeof api$PackageAdd,
287
287
  PackageRemove: typeof api$PackageRemove,
288
288
  PackageInstall: typeof api$PackageInstall,
289
- PackageInstallResponse: typeof api$PackageInstallResponse,
290
289
  PackageListSpecfile: typeof api$PackageListSpecfile,
291
290
  PackageListSpecfileResp: typeof api$PackageListSpecfileResp,
292
291
  PackageCacheSave: typeof api$PackageCacheSave,
@@ -321,6 +320,7 @@ declare var npm$namespace$api: {|
321
320
  DebugBreakpointEvent: typeof api$DebugBreakpointEvent,
322
321
  DebugBreakpoint: typeof api$DebugBreakpoint,
323
322
  DotReplit: typeof api$DotReplit,
323
+ GitHubImportConfig: typeof api$GitHubImportConfig,
324
324
  NixConfig: typeof api$NixConfig,
325
325
  HostingConfig: typeof api$HostingConfig,
326
326
  DotReplitInterp: typeof api$DotReplitInterp,
@@ -889,14 +889,6 @@ declare type api$ICommand = {|
889
889
  */
890
890
  packageInstall?: api$PackageInstall | api$IPackageInstall | null,
891
891
 
892
- /**
893
- * Command packageInstallResponse
894
- */
895
- packageInstallResponse?:
896
- | api$PackageInstallResponse
897
- | api$IPackageInstallResponse
898
- | null,
899
-
900
892
  /**
901
893
  * Command packageListSpecfile
902
894
  */
@@ -1711,11 +1703,6 @@ declare class api$Command {
1711
1703
  */
1712
1704
  packageInstall?: api$PackageInstall | null;
1713
1705
 
1714
- /**
1715
- * Command packageInstallResponse.
1716
- */
1717
- packageInstallResponse?: api$PackageInstallResponse | null;
1718
-
1719
1706
  /**
1720
1707
  * Command packageListSpecfile.
1721
1708
  */
@@ -2069,7 +2056,6 @@ declare class api$Command {
2069
2056
  | "packageAdd"
2070
2057
  | "packageRemove"
2071
2058
  | "packageInstall"
2072
- | "packageInstallResponse"
2073
2059
  | "packageListSpecfile"
2074
2060
  | "packageListSpecfileResp"
2075
2061
  | "packageCacheSave"
@@ -10728,6 +10714,11 @@ declare type api$IRunMain = {|
10728
10714
  * RunMain runMode
10729
10715
  */
10730
10716
  runMode?: $Values<typeof api$RunMain$RunMode> | null,
10717
+
10718
+ /**
10719
+ * RunMain idempotent
10720
+ */
10721
+ idempotent?: boolean | null,
10731
10722
  |};
10732
10723
 
10733
10724
  /**
@@ -10745,6 +10736,11 @@ declare class api$RunMain {
10745
10736
  */
10746
10737
  runMode: $Values<typeof api$RunMain$RunMode>;
10747
10738
 
10739
+ /**
10740
+ * RunMain idempotent.
10741
+ */
10742
+ idempotent: boolean;
10743
+
10748
10744
  /**
10749
10745
  * Creates a new RunMain instance using the specified properties.
10750
10746
  * @param [properties] Properties to set
@@ -15376,11 +15372,6 @@ declare type api$IPackageInstall = {|
15376
15372
  * PackageInstall fromHosting
15377
15373
  */
15378
15374
  fromHosting?: boolean | null,
15379
-
15380
- /**
15381
- * PackageInstall useNewResponse
15382
- */
15383
- useNewResponse?: boolean | null,
15384
15375
  |};
15385
15376
 
15386
15377
  /**
@@ -15398,11 +15389,6 @@ declare class api$PackageInstall {
15398
15389
  */
15399
15390
  fromHosting: boolean;
15400
15391
 
15401
- /**
15402
- * PackageInstall useNewResponse.
15403
- */
15404
- useNewResponse: boolean;
15405
-
15406
15392
  /**
15407
15393
  * Creates a new PackageInstall instance using the specified properties.
15408
15394
  * @param [properties] Properties to set
@@ -15496,126 +15482,6 @@ declare class api$PackageInstall {
15496
15482
  |};
15497
15483
  }
15498
15484
 
15499
- /**
15500
- * Properties of a PackageInstallResponse.
15501
- */
15502
- declare type api$IPackageInstallResponse = {|
15503
- /**
15504
- * PackageInstallResponse guessedPkgs
15505
- */
15506
- guessedPkgs?: string[] | null,
15507
- |};
15508
-
15509
- /**
15510
- * Represents a PackageInstallResponse.
15511
- */
15512
- declare class api$PackageInstallResponse {
15513
- /**
15514
- * Constructs a new PackageInstallResponse.
15515
- * @param [properties] Properties to set
15516
- */
15517
- constructor(properties?: api$IPackageInstallResponse): this;
15518
-
15519
- /**
15520
- * PackageInstallResponse guessedPkgs.
15521
- */
15522
- guessedPkgs: string[];
15523
-
15524
- /**
15525
- * Creates a new PackageInstallResponse instance using the specified properties.
15526
- * @param [properties] Properties to set
15527
- * @returns PackageInstallResponse instance
15528
- */
15529
- static create(
15530
- properties?: api$IPackageInstallResponse
15531
- ): api$PackageInstallResponse;
15532
-
15533
- /**
15534
- * [object Object],[object Object],[object Object]
15535
- * @param message PackageInstallResponse message or plain object to encode
15536
- * @param [writer] Writer to encode to
15537
- * @returns Writer
15538
- */
15539
- static encode(
15540
- message: api$PackageInstallResponse,
15541
- writer?: $protobuf.Writer
15542
- ): $protobuf.Writer;
15543
-
15544
- /**
15545
- * [object Object],[object Object],[object Object]
15546
- * @param message PackageInstallResponse message or plain object to encode
15547
- * @param [writer] Writer to encode to
15548
- * @returns Writer
15549
- */
15550
- static encodeDelimited(
15551
- message: api$PackageInstallResponse,
15552
- writer?: $protobuf.Writer
15553
- ): $protobuf.Writer;
15554
-
15555
- /**
15556
- * Decodes a PackageInstallResponse message from the specified reader or buffer.
15557
- * @param reader Reader or buffer to decode from
15558
- * @param [length] Message length if known beforehand
15559
- * @returns PackageInstallResponse
15560
- * @throws {Error} If the payload is not a reader or valid buffer
15561
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
15562
- */
15563
- static decode(
15564
- reader: $protobuf.Reader | Uint8Array,
15565
- length?: number
15566
- ): api$PackageInstallResponse;
15567
-
15568
- /**
15569
- * Decodes a PackageInstallResponse message from the specified reader or buffer, length delimited.
15570
- * @param reader Reader or buffer to decode from
15571
- * @returns PackageInstallResponse
15572
- * @throws {Error} If the payload is not a reader or valid buffer
15573
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
15574
- */
15575
- static decodeDelimited(
15576
- reader: $protobuf.Reader | Uint8Array
15577
- ): api$PackageInstallResponse;
15578
-
15579
- /**
15580
- * Verifies a PackageInstallResponse message.
15581
- * @param message Plain object to verify
15582
- * @returns `null` if valid, otherwise the reason why it is not
15583
- */
15584
- static verify(message: {|
15585
- [k: string]: any,
15586
- |}): string | null;
15587
-
15588
- /**
15589
- * Creates a PackageInstallResponse message from a plain object. Also converts values to their respective internal types.
15590
- * @param object Plain object
15591
- * @returns PackageInstallResponse
15592
- */
15593
- static fromObject(object: {|
15594
- [k: string]: any,
15595
- |}): api$PackageInstallResponse;
15596
-
15597
- /**
15598
- * Creates a plain object from a PackageInstallResponse message. Also converts values to other types if specified.
15599
- * @param message PackageInstallResponse
15600
- * @param [options] Conversion options
15601
- * @returns Plain object
15602
- */
15603
- static toObject(
15604
- message: api$PackageInstallResponse,
15605
- options?: $protobuf.IConversionOptions
15606
- ): {|
15607
- [k: string]: any,
15608
- |};
15609
-
15610
- /**
15611
- * Converts this PackageInstallResponse to JSON.
15612
- * @returns JSON object
15613
- */
15614
- toJSON(): {|
15615
- [k: string]: any,
15616
- |};
15617
- }
15618
-
15619
15485
  /**
15620
15486
  * Properties of a PackageListSpecfile.
15621
15487
  */
@@ -20041,6 +19907,11 @@ declare type api$IDotReplit = {|
20041
19907
  env?: {|
20042
19908
  [k: string]: string,
20043
19909
  |} | null,
19910
+
19911
+ /**
19912
+ * DotReplit gitHubImport
19913
+ */
19914
+ gitHubImport?: api$GitHubImportConfig | api$IGitHubImportConfig | null,
20044
19915
  |};
20045
19916
 
20046
19917
  /**
@@ -20132,6 +20003,11 @@ declare class api$DotReplit {
20132
20003
  [k: string]: string,
20133
20004
  |};
20134
20005
 
20006
+ /**
20007
+ * DotReplit gitHubImport.
20008
+ */
20009
+ gitHubImport?: api$GitHubImportConfig | null;
20010
+
20135
20011
  /**
20136
20012
  * Creates a new DotReplit instance using the specified properties.
20137
20013
  * @param [properties] Properties to set
@@ -20223,6 +20099,124 @@ declare class api$DotReplit {
20223
20099
  |};
20224
20100
  }
20225
20101
 
20102
+ /**
20103
+ * Properties of a GitHubImportConfig.
20104
+ */
20105
+ declare type api$IGitHubImportConfig = {|
20106
+ /**
20107
+ * GitHubImportConfig RequiredFiles
20108
+ */
20109
+ RequiredFiles?: string[] | null,
20110
+ |};
20111
+
20112
+ /**
20113
+ * Represents a GitHubImportConfig.
20114
+ */
20115
+ declare class api$GitHubImportConfig {
20116
+ /**
20117
+ * Constructs a new GitHubImportConfig.
20118
+ * @param [properties] Properties to set
20119
+ */
20120
+ constructor(properties?: api$IGitHubImportConfig): this;
20121
+
20122
+ /**
20123
+ * GitHubImportConfig RequiredFiles.
20124
+ */
20125
+ RequiredFiles: string[];
20126
+
20127
+ /**
20128
+ * Creates a new GitHubImportConfig instance using the specified properties.
20129
+ * @param [properties] Properties to set
20130
+ * @returns GitHubImportConfig instance
20131
+ */
20132
+ static create(properties?: api$IGitHubImportConfig): api$GitHubImportConfig;
20133
+
20134
+ /**
20135
+ * [object Object],[object Object],[object Object]
20136
+ * @param message GitHubImportConfig message or plain object to encode
20137
+ * @param [writer] Writer to encode to
20138
+ * @returns Writer
20139
+ */
20140
+ static encode(
20141
+ message: api$GitHubImportConfig,
20142
+ writer?: $protobuf.Writer
20143
+ ): $protobuf.Writer;
20144
+
20145
+ /**
20146
+ * [object Object],[object Object],[object Object]
20147
+ * @param message GitHubImportConfig message or plain object to encode
20148
+ * @param [writer] Writer to encode to
20149
+ * @returns Writer
20150
+ */
20151
+ static encodeDelimited(
20152
+ message: api$GitHubImportConfig,
20153
+ writer?: $protobuf.Writer
20154
+ ): $protobuf.Writer;
20155
+
20156
+ /**
20157
+ * Decodes a GitHubImportConfig message from the specified reader or buffer.
20158
+ * @param reader Reader or buffer to decode from
20159
+ * @param [length] Message length if known beforehand
20160
+ * @returns GitHubImportConfig
20161
+ * @throws {Error} If the payload is not a reader or valid buffer
20162
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
20163
+ */
20164
+ static decode(
20165
+ reader: $protobuf.Reader | Uint8Array,
20166
+ length?: number
20167
+ ): api$GitHubImportConfig;
20168
+
20169
+ /**
20170
+ * Decodes a GitHubImportConfig message from the specified reader or buffer, length delimited.
20171
+ * @param reader Reader or buffer to decode from
20172
+ * @returns GitHubImportConfig
20173
+ * @throws {Error} If the payload is not a reader or valid buffer
20174
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
20175
+ */
20176
+ static decodeDelimited(
20177
+ reader: $protobuf.Reader | Uint8Array
20178
+ ): api$GitHubImportConfig;
20179
+
20180
+ /**
20181
+ * Verifies a GitHubImportConfig message.
20182
+ * @param message Plain object to verify
20183
+ * @returns `null` if valid, otherwise the reason why it is not
20184
+ */
20185
+ static verify(message: {|
20186
+ [k: string]: any,
20187
+ |}): string | null;
20188
+
20189
+ /**
20190
+ * Creates a GitHubImportConfig message from a plain object. Also converts values to their respective internal types.
20191
+ * @param object Plain object
20192
+ * @returns GitHubImportConfig
20193
+ */
20194
+ static fromObject(object: {|
20195
+ [k: string]: any,
20196
+ |}): api$GitHubImportConfig;
20197
+
20198
+ /**
20199
+ * Creates a plain object from a GitHubImportConfig message. Also converts values to other types if specified.
20200
+ * @param message GitHubImportConfig
20201
+ * @param [options] Conversion options
20202
+ * @returns Plain object
20203
+ */
20204
+ static toObject(
20205
+ message: api$GitHubImportConfig,
20206
+ options?: $protobuf.IConversionOptions
20207
+ ): {|
20208
+ [k: string]: any,
20209
+ |};
20210
+
20211
+ /**
20212
+ * Converts this GitHubImportConfig to JSON.
20213
+ * @returns JSON object
20214
+ */
20215
+ toJSON(): {|
20216
+ [k: string]: any,
20217
+ |};
20218
+ }
20219
+
20226
20220
  /**
20227
20221
  * Properties of a NixConfig.
20228
20222
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@replit/protocol",
3
- "version": "0.2.56",
3
+ "version": "0.2.59",
4
4
  "description": "JavaScript bindings for the Replit protocol",
5
5
  "main": "main/index.js",
6
6
  "repository": "https://github.com/replit/protocol",