@replit/protocol 0.2.56 → 0.2.57
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/main/index.d.ts +144 -144
- package/main/index.js +359 -366
- package/main/index.js.flow +181 -187
- package/package.json +1 -1
package/main/index.js.flow
CHANGED
|
@@ -95,7 +95,7 @@ declare var npm$namespace$api: {|
|
|
|
95
95
|
IOTTransformSelectionRequest: Class<api$IOTTransformSelectionRequest>,
|
|
96
96
|
IOTTransformSelectionResponse: Class<api$IOTTransformSelectionResponse>,
|
|
97
97
|
IOTPacket: Class<api$IOTPacket>,
|
|
98
|
-
|
|
98
|
+
IOTRuneTransformOp: Class<api$IOTRuneTransformOp>,
|
|
99
99
|
IOTStatus: Class<api$IOTStatus>,
|
|
100
100
|
IOTCursor: Class<api$IOTCursor>,
|
|
101
101
|
IChatMessage: Class<api$IChatMessage>,
|
|
@@ -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>,
|
|
@@ -264,7 +264,7 @@ declare var npm$namespace$api: {|
|
|
|
264
264
|
OTTransformSelectionRequest: typeof api$OTTransformSelectionRequest,
|
|
265
265
|
OTTransformSelectionResponse: typeof api$OTTransformSelectionResponse,
|
|
266
266
|
OTPacket: typeof api$OTPacket,
|
|
267
|
-
|
|
267
|
+
OTRuneTransformOp: typeof api$OTRuneTransformOp,
|
|
268
268
|
OTStatus: typeof api$OTStatus,
|
|
269
269
|
OTCursor: typeof api$OTCursor,
|
|
270
270
|
ChatMessage: typeof api$ChatMessage,
|
|
@@ -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
|
|
@@ -12393,9 +12389,9 @@ declare type api$IOTPacket = {|
|
|
|
12393
12389
|
version?: number | null,
|
|
12394
12390
|
|
|
12395
12391
|
/**
|
|
12396
|
-
* OTPacket
|
|
12392
|
+
* OTPacket ops
|
|
12397
12393
|
*/
|
|
12398
|
-
|
|
12394
|
+
ops?: (api$OTRuneTransformOp | api$IOTRuneTransformOp)[] | null,
|
|
12399
12395
|
|
|
12400
12396
|
/**
|
|
12401
12397
|
* OTPacket crc32
|
|
@@ -12439,9 +12435,9 @@ declare class api$OTPacket {
|
|
|
12439
12435
|
version: number;
|
|
12440
12436
|
|
|
12441
12437
|
/**
|
|
12442
|
-
* OTPacket
|
|
12438
|
+
* OTPacket ops.
|
|
12443
12439
|
*/
|
|
12444
|
-
|
|
12440
|
+
ops: api$OTRuneTransformOp[];
|
|
12445
12441
|
|
|
12446
12442
|
/**
|
|
12447
12443
|
* OTPacket crc32.
|
|
@@ -12555,110 +12551,110 @@ declare class api$OTPacket {
|
|
|
12555
12551
|
}
|
|
12556
12552
|
|
|
12557
12553
|
/**
|
|
12558
|
-
* Properties of a
|
|
12554
|
+
* Properties of a OTRuneTransformOp.
|
|
12559
12555
|
*/
|
|
12560
|
-
declare type api$
|
|
12556
|
+
declare type api$IOTRuneTransformOp = {|
|
|
12561
12557
|
/**
|
|
12562
|
-
*
|
|
12558
|
+
* OTRuneTransformOp skip
|
|
12563
12559
|
*/
|
|
12564
12560
|
skip?: number | null,
|
|
12565
12561
|
|
|
12566
12562
|
/**
|
|
12567
|
-
*
|
|
12563
|
+
* OTRuneTransformOp delete
|
|
12568
12564
|
*/
|
|
12569
12565
|
delete?: number | null,
|
|
12570
12566
|
|
|
12571
12567
|
/**
|
|
12572
|
-
*
|
|
12568
|
+
* OTRuneTransformOp insert
|
|
12573
12569
|
*/
|
|
12574
12570
|
insert?: string | null,
|
|
12575
12571
|
|};
|
|
12576
12572
|
|
|
12577
12573
|
/**
|
|
12578
|
-
* Represents a
|
|
12574
|
+
* Represents a OTRuneTransformOp.
|
|
12579
12575
|
*/
|
|
12580
|
-
declare class api$
|
|
12576
|
+
declare class api$OTRuneTransformOp {
|
|
12581
12577
|
/**
|
|
12582
|
-
* Constructs a new
|
|
12578
|
+
* Constructs a new OTRuneTransformOp.
|
|
12583
12579
|
* @param [properties] Properties to set
|
|
12584
12580
|
*/
|
|
12585
|
-
constructor(properties?: api$
|
|
12581
|
+
constructor(properties?: api$IOTRuneTransformOp): this;
|
|
12586
12582
|
|
|
12587
12583
|
/**
|
|
12588
|
-
*
|
|
12584
|
+
* OTRuneTransformOp skip.
|
|
12589
12585
|
*/
|
|
12590
12586
|
skip?: number | null;
|
|
12591
12587
|
|
|
12592
12588
|
/**
|
|
12593
|
-
*
|
|
12589
|
+
* OTRuneTransformOp delete.
|
|
12594
12590
|
*/
|
|
12595
12591
|
delete?: number | null;
|
|
12596
12592
|
|
|
12597
12593
|
/**
|
|
12598
|
-
*
|
|
12594
|
+
* OTRuneTransformOp insert.
|
|
12599
12595
|
*/
|
|
12600
12596
|
insert?: string | null;
|
|
12601
12597
|
|
|
12602
12598
|
/**
|
|
12603
|
-
*
|
|
12599
|
+
* OTRuneTransformOp op.
|
|
12604
12600
|
*/
|
|
12605
|
-
|
|
12601
|
+
op?: "skip" | "delete" | "insert";
|
|
12606
12602
|
|
|
12607
12603
|
/**
|
|
12608
|
-
* Creates a new
|
|
12604
|
+
* Creates a new OTRuneTransformOp instance using the specified properties.
|
|
12609
12605
|
* @param [properties] Properties to set
|
|
12610
|
-
* @returns
|
|
12606
|
+
* @returns OTRuneTransformOp instance
|
|
12611
12607
|
*/
|
|
12612
|
-
static create(properties?: api$
|
|
12608
|
+
static create(properties?: api$IOTRuneTransformOp): api$OTRuneTransformOp;
|
|
12613
12609
|
|
|
12614
12610
|
/**
|
|
12615
12611
|
* [object Object],[object Object],[object Object]
|
|
12616
|
-
* @param message
|
|
12612
|
+
* @param message OTRuneTransformOp message or plain object to encode
|
|
12617
12613
|
* @param [writer] Writer to encode to
|
|
12618
12614
|
* @returns Writer
|
|
12619
12615
|
*/
|
|
12620
12616
|
static encode(
|
|
12621
|
-
message: api$
|
|
12617
|
+
message: api$OTRuneTransformOp,
|
|
12622
12618
|
writer?: $protobuf.Writer
|
|
12623
12619
|
): $protobuf.Writer;
|
|
12624
12620
|
|
|
12625
12621
|
/**
|
|
12626
12622
|
* [object Object],[object Object],[object Object]
|
|
12627
|
-
* @param message
|
|
12623
|
+
* @param message OTRuneTransformOp message or plain object to encode
|
|
12628
12624
|
* @param [writer] Writer to encode to
|
|
12629
12625
|
* @returns Writer
|
|
12630
12626
|
*/
|
|
12631
12627
|
static encodeDelimited(
|
|
12632
|
-
message: api$
|
|
12628
|
+
message: api$OTRuneTransformOp,
|
|
12633
12629
|
writer?: $protobuf.Writer
|
|
12634
12630
|
): $protobuf.Writer;
|
|
12635
12631
|
|
|
12636
12632
|
/**
|
|
12637
|
-
* Decodes a
|
|
12633
|
+
* Decodes a OTRuneTransformOp message from the specified reader or buffer.
|
|
12638
12634
|
* @param reader Reader or buffer to decode from
|
|
12639
12635
|
* @param [length] Message length if known beforehand
|
|
12640
|
-
* @returns
|
|
12636
|
+
* @returns OTRuneTransformOp
|
|
12641
12637
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
12642
12638
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
12643
12639
|
*/
|
|
12644
12640
|
static decode(
|
|
12645
12641
|
reader: $protobuf.Reader | Uint8Array,
|
|
12646
12642
|
length?: number
|
|
12647
|
-
): api$
|
|
12643
|
+
): api$OTRuneTransformOp;
|
|
12648
12644
|
|
|
12649
12645
|
/**
|
|
12650
|
-
* Decodes a
|
|
12646
|
+
* Decodes a OTRuneTransformOp message from the specified reader or buffer, length delimited.
|
|
12651
12647
|
* @param reader Reader or buffer to decode from
|
|
12652
|
-
* @returns
|
|
12648
|
+
* @returns OTRuneTransformOp
|
|
12653
12649
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
12654
12650
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
12655
12651
|
*/
|
|
12656
12652
|
static decodeDelimited(
|
|
12657
12653
|
reader: $protobuf.Reader | Uint8Array
|
|
12658
|
-
): api$
|
|
12654
|
+
): api$OTRuneTransformOp;
|
|
12659
12655
|
|
|
12660
12656
|
/**
|
|
12661
|
-
* Verifies a
|
|
12657
|
+
* Verifies a OTRuneTransformOp message.
|
|
12662
12658
|
* @param message Plain object to verify
|
|
12663
12659
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
12664
12660
|
*/
|
|
@@ -12667,29 +12663,29 @@ declare class api$OTOpComponent {
|
|
|
12667
12663
|
|}): string | null;
|
|
12668
12664
|
|
|
12669
12665
|
/**
|
|
12670
|
-
* Creates a
|
|
12666
|
+
* Creates a OTRuneTransformOp message from a plain object. Also converts values to their respective internal types.
|
|
12671
12667
|
* @param object Plain object
|
|
12672
|
-
* @returns
|
|
12668
|
+
* @returns OTRuneTransformOp
|
|
12673
12669
|
*/
|
|
12674
12670
|
static fromObject(object: {|
|
|
12675
12671
|
[k: string]: any,
|
|
12676
|
-
|}): api$
|
|
12672
|
+
|}): api$OTRuneTransformOp;
|
|
12677
12673
|
|
|
12678
12674
|
/**
|
|
12679
|
-
* Creates a plain object from a
|
|
12680
|
-
* @param message
|
|
12675
|
+
* Creates a plain object from a OTRuneTransformOp message. Also converts values to other types if specified.
|
|
12676
|
+
* @param message OTRuneTransformOp
|
|
12681
12677
|
* @param [options] Conversion options
|
|
12682
12678
|
* @returns Plain object
|
|
12683
12679
|
*/
|
|
12684
12680
|
static toObject(
|
|
12685
|
-
message: api$
|
|
12681
|
+
message: api$OTRuneTransformOp,
|
|
12686
12682
|
options?: $protobuf.IConversionOptions
|
|
12687
12683
|
): {|
|
|
12688
12684
|
[k: string]: any,
|
|
12689
12685
|
|};
|
|
12690
12686
|
|
|
12691
12687
|
/**
|
|
12692
|
-
* Converts this
|
|
12688
|
+
* Converts this OTRuneTransformOp to JSON.
|
|
12693
12689
|
* @returns JSON object
|
|
12694
12690
|
*/
|
|
12695
12691
|
toJSON(): {|
|
|
@@ -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
|
*/
|