@replit/protocol 0.2.43 → 0.2.46
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/iotester/index.d.ts +6 -0
- package/iotester/index.js +24 -1
- package/iotester/index.js.flow +10 -0
- package/main/index.d.ts +145 -1
- package/main/index.js +458 -7
- package/main/index.js.flow +212 -1
- package/package.json +1 -1
package/main/index.js.flow
CHANGED
|
@@ -152,6 +152,7 @@ declare var npm$namespace$api: {|
|
|
|
152
152
|
ILanguageServerConfig: Class<api$ILanguageServerConfig>,
|
|
153
153
|
IDotReplitPackager: Class<api$IDotReplitPackager>,
|
|
154
154
|
IDotReplitPackagerFeatures: Class<api$IDotReplitPackagerFeatures>,
|
|
155
|
+
IDotReplitUnitTest: Class<api$IDotReplitUnitTest>,
|
|
155
156
|
IDebuggerConfig: Class<api$IDebuggerConfig>,
|
|
156
157
|
IRepl: Class<api$IRepl>,
|
|
157
158
|
IResourceLimits: Class<api$IResourceLimits>,
|
|
@@ -306,6 +307,7 @@ declare var npm$namespace$api: {|
|
|
|
306
307
|
LanguageServerConfig: typeof api$LanguageServerConfig,
|
|
307
308
|
DotReplitPackager: typeof api$DotReplitPackager,
|
|
308
309
|
DotReplitPackagerFeatures: typeof api$DotReplitPackagerFeatures,
|
|
310
|
+
DotReplitUnitTest: typeof api$DotReplitUnitTest,
|
|
309
311
|
DebuggerConfig: typeof api$DebuggerConfig,
|
|
310
312
|
Repl: typeof api$Repl,
|
|
311
313
|
ResourceLimits: typeof api$ResourceLimits,
|
|
@@ -915,6 +917,11 @@ declare type api$ICommand = {|
|
|
|
915
917
|
*/
|
|
916
918
|
snapshotEvent?: api$SnapshotEvent | api$ISnapshotEvent | null,
|
|
917
919
|
|
|
920
|
+
/**
|
|
921
|
+
* Command NoninteractiveFSChangeEvent
|
|
922
|
+
*/
|
|
923
|
+
NoninteractiveFSChangeEvent?: boolean | null,
|
|
924
|
+
|
|
918
925
|
/**
|
|
919
926
|
* Command pid1Config
|
|
920
927
|
*/
|
|
@@ -1680,6 +1687,11 @@ declare class api$Command {
|
|
|
1680
1687
|
*/
|
|
1681
1688
|
snapshotEvent?: api$SnapshotEvent | null;
|
|
1682
1689
|
|
|
1690
|
+
/**
|
|
1691
|
+
* Command NoninteractiveFSChangeEvent.
|
|
1692
|
+
*/
|
|
1693
|
+
NoninteractiveFSChangeEvent?: boolean | null;
|
|
1694
|
+
|
|
1683
1695
|
/**
|
|
1684
1696
|
* Command pid1Config.
|
|
1685
1697
|
*/
|
|
@@ -1956,6 +1968,7 @@ declare class api$Command {
|
|
|
1956
1968
|
| "fsReleaseLock"
|
|
1957
1969
|
| "hasCap"
|
|
1958
1970
|
| "snapshotEvent"
|
|
1971
|
+
| "NoninteractiveFSChangeEvent"
|
|
1959
1972
|
| "pid1Config"
|
|
1960
1973
|
| "metrics"
|
|
1961
1974
|
| "bootStatus"
|
|
@@ -3579,6 +3592,11 @@ declare type api$IPid1Config = {|
|
|
|
3579
3592
|
* Pid1Config noStore
|
|
3580
3593
|
*/
|
|
3581
3594
|
noStore?: boolean | null,
|
|
3595
|
+
|
|
3596
|
+
/**
|
|
3597
|
+
* Pid1Config noninteractiveFSChange
|
|
3598
|
+
*/
|
|
3599
|
+
noninteractiveFSChange?: boolean | null,
|
|
3582
3600
|
|};
|
|
3583
3601
|
|
|
3584
3602
|
/**
|
|
@@ -3613,6 +3631,11 @@ declare class api$Pid1Config {
|
|
|
3613
3631
|
*/
|
|
3614
3632
|
noStore: boolean;
|
|
3615
3633
|
|
|
3634
|
+
/**
|
|
3635
|
+
* Pid1Config noninteractiveFSChange.
|
|
3636
|
+
*/
|
|
3637
|
+
noninteractiveFSChange: boolean;
|
|
3638
|
+
|
|
3616
3639
|
/**
|
|
3617
3640
|
* Creates a new Pid1Config instance using the specified properties.
|
|
3618
3641
|
* @param [properties] Properties to set
|
|
@@ -12980,6 +13003,11 @@ declare type api$IUser = {|
|
|
|
12980
13003
|
* User session
|
|
12981
13004
|
*/
|
|
12982
13005
|
session?: number | null,
|
|
13006
|
+
|
|
13007
|
+
/**
|
|
13008
|
+
* User teams
|
|
13009
|
+
*/
|
|
13010
|
+
teams?: string[] | null,
|
|
12983
13011
|
|};
|
|
12984
13012
|
|
|
12985
13013
|
/**
|
|
@@ -13012,6 +13040,11 @@ declare class api$User {
|
|
|
13012
13040
|
*/
|
|
13013
13041
|
session: number;
|
|
13014
13042
|
|
|
13043
|
+
/**
|
|
13044
|
+
* User teams.
|
|
13045
|
+
*/
|
|
13046
|
+
teams: string[];
|
|
13047
|
+
|
|
13015
13048
|
/**
|
|
13016
13049
|
* Creates a new User instance using the specified properties.
|
|
13017
13050
|
* @param [properties] Properties to set
|
|
@@ -15065,7 +15098,12 @@ declare class api$PackageRemove {
|
|
|
15065
15098
|
/**
|
|
15066
15099
|
* Properties of a PackageInstall.
|
|
15067
15100
|
*/
|
|
15068
|
-
declare type api$IPackageInstall = {
|
|
15101
|
+
declare type api$IPackageInstall = {|
|
|
15102
|
+
/**
|
|
15103
|
+
* PackageInstall fromHosting
|
|
15104
|
+
*/
|
|
15105
|
+
fromHosting?: boolean | null,
|
|
15106
|
+
|};
|
|
15069
15107
|
|
|
15070
15108
|
/**
|
|
15071
15109
|
* Represents a PackageInstall.
|
|
@@ -15077,6 +15115,11 @@ declare class api$PackageInstall {
|
|
|
15077
15115
|
*/
|
|
15078
15116
|
constructor(properties?: api$IPackageInstall): this;
|
|
15079
15117
|
|
|
15118
|
+
/**
|
|
15119
|
+
* PackageInstall fromHosting.
|
|
15120
|
+
*/
|
|
15121
|
+
fromHosting: boolean;
|
|
15122
|
+
|
|
15080
15123
|
/**
|
|
15081
15124
|
* Creates a new PackageInstall instance using the specified properties.
|
|
15082
15125
|
* @param [properties] Properties to set
|
|
@@ -19195,6 +19238,16 @@ declare type api$IDotReplit = {|
|
|
|
19195
19238
|
languages?: {|
|
|
19196
19239
|
[k: string]: api$DotReplitLanguage | api$IDotReplitLanguage,
|
|
19197
19240
|
|} | null,
|
|
19241
|
+
|
|
19242
|
+
/**
|
|
19243
|
+
* DotReplit unitTest
|
|
19244
|
+
*/
|
|
19245
|
+
unitTest?: api$DotReplitUnitTest | api$IDotReplitUnitTest | null,
|
|
19246
|
+
|
|
19247
|
+
/**
|
|
19248
|
+
* DotReplit hidden
|
|
19249
|
+
*/
|
|
19250
|
+
hidden?: string[] | null,
|
|
19198
19251
|
|};
|
|
19199
19252
|
|
|
19200
19253
|
/**
|
|
@@ -19254,6 +19307,16 @@ declare class api$DotReplit {
|
|
|
19254
19307
|
[k: string]: api$DotReplitLanguage,
|
|
19255
19308
|
|};
|
|
19256
19309
|
|
|
19310
|
+
/**
|
|
19311
|
+
* DotReplit unitTest.
|
|
19312
|
+
*/
|
|
19313
|
+
unitTest?: api$DotReplitUnitTest | null;
|
|
19314
|
+
|
|
19315
|
+
/**
|
|
19316
|
+
* DotReplit hidden.
|
|
19317
|
+
*/
|
|
19318
|
+
hidden: string[];
|
|
19319
|
+
|
|
19257
19320
|
/**
|
|
19258
19321
|
* Creates a new DotReplit instance using the specified properties.
|
|
19259
19322
|
* @param [properties] Properties to set
|
|
@@ -19619,6 +19682,16 @@ declare type api$ILanguageServerConfig = {|
|
|
|
19619
19682
|
* LanguageServerConfig startCommand
|
|
19620
19683
|
*/
|
|
19621
19684
|
startCommand?: api$Exec | api$IExec | null,
|
|
19685
|
+
|
|
19686
|
+
/**
|
|
19687
|
+
* LanguageServerConfig configurationJson
|
|
19688
|
+
*/
|
|
19689
|
+
configurationJson?: string | null,
|
|
19690
|
+
|
|
19691
|
+
/**
|
|
19692
|
+
* LanguageServerConfig initializationOptionsJson
|
|
19693
|
+
*/
|
|
19694
|
+
initializationOptionsJson?: string | null,
|
|
19622
19695
|
|};
|
|
19623
19696
|
|
|
19624
19697
|
/**
|
|
@@ -19636,6 +19709,16 @@ declare class api$LanguageServerConfig {
|
|
|
19636
19709
|
*/
|
|
19637
19710
|
startCommand?: api$Exec | null;
|
|
19638
19711
|
|
|
19712
|
+
/**
|
|
19713
|
+
* LanguageServerConfig configurationJson.
|
|
19714
|
+
*/
|
|
19715
|
+
configurationJson: string;
|
|
19716
|
+
|
|
19717
|
+
/**
|
|
19718
|
+
* LanguageServerConfig initializationOptionsJson.
|
|
19719
|
+
*/
|
|
19720
|
+
initializationOptionsJson: string;
|
|
19721
|
+
|
|
19639
19722
|
/**
|
|
19640
19723
|
* Creates a new LanguageServerConfig instance using the specified properties.
|
|
19641
19724
|
* @param [properties] Properties to set
|
|
@@ -20036,6 +20119,124 @@ declare class api$DotReplitPackagerFeatures {
|
|
|
20036
20119
|
|};
|
|
20037
20120
|
}
|
|
20038
20121
|
|
|
20122
|
+
/**
|
|
20123
|
+
* Properties of a DotReplitUnitTest.
|
|
20124
|
+
*/
|
|
20125
|
+
declare type api$IDotReplitUnitTest = {|
|
|
20126
|
+
/**
|
|
20127
|
+
* DotReplitUnitTest language
|
|
20128
|
+
*/
|
|
20129
|
+
language?: string | null,
|
|
20130
|
+
|};
|
|
20131
|
+
|
|
20132
|
+
/**
|
|
20133
|
+
* Represents a DotReplitUnitTest.
|
|
20134
|
+
*/
|
|
20135
|
+
declare class api$DotReplitUnitTest {
|
|
20136
|
+
/**
|
|
20137
|
+
* Constructs a new DotReplitUnitTest.
|
|
20138
|
+
* @param [properties] Properties to set
|
|
20139
|
+
*/
|
|
20140
|
+
constructor(properties?: api$IDotReplitUnitTest): this;
|
|
20141
|
+
|
|
20142
|
+
/**
|
|
20143
|
+
* DotReplitUnitTest language.
|
|
20144
|
+
*/
|
|
20145
|
+
language: string;
|
|
20146
|
+
|
|
20147
|
+
/**
|
|
20148
|
+
* Creates a new DotReplitUnitTest instance using the specified properties.
|
|
20149
|
+
* @param [properties] Properties to set
|
|
20150
|
+
* @returns DotReplitUnitTest instance
|
|
20151
|
+
*/
|
|
20152
|
+
static create(properties?: api$IDotReplitUnitTest): api$DotReplitUnitTest;
|
|
20153
|
+
|
|
20154
|
+
/**
|
|
20155
|
+
* [object Object],[object Object],[object Object]
|
|
20156
|
+
* @param message DotReplitUnitTest message or plain object to encode
|
|
20157
|
+
* @param [writer] Writer to encode to
|
|
20158
|
+
* @returns Writer
|
|
20159
|
+
*/
|
|
20160
|
+
static encode(
|
|
20161
|
+
message: api$DotReplitUnitTest,
|
|
20162
|
+
writer?: $protobuf.Writer
|
|
20163
|
+
): $protobuf.Writer;
|
|
20164
|
+
|
|
20165
|
+
/**
|
|
20166
|
+
* [object Object],[object Object],[object Object]
|
|
20167
|
+
* @param message DotReplitUnitTest message or plain object to encode
|
|
20168
|
+
* @param [writer] Writer to encode to
|
|
20169
|
+
* @returns Writer
|
|
20170
|
+
*/
|
|
20171
|
+
static encodeDelimited(
|
|
20172
|
+
message: api$DotReplitUnitTest,
|
|
20173
|
+
writer?: $protobuf.Writer
|
|
20174
|
+
): $protobuf.Writer;
|
|
20175
|
+
|
|
20176
|
+
/**
|
|
20177
|
+
* Decodes a DotReplitUnitTest message from the specified reader or buffer.
|
|
20178
|
+
* @param reader Reader or buffer to decode from
|
|
20179
|
+
* @param [length] Message length if known beforehand
|
|
20180
|
+
* @returns DotReplitUnitTest
|
|
20181
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20182
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20183
|
+
*/
|
|
20184
|
+
static decode(
|
|
20185
|
+
reader: $protobuf.Reader | Uint8Array,
|
|
20186
|
+
length?: number
|
|
20187
|
+
): api$DotReplitUnitTest;
|
|
20188
|
+
|
|
20189
|
+
/**
|
|
20190
|
+
* Decodes a DotReplitUnitTest message from the specified reader or buffer, length delimited.
|
|
20191
|
+
* @param reader Reader or buffer to decode from
|
|
20192
|
+
* @returns DotReplitUnitTest
|
|
20193
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
20194
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
20195
|
+
*/
|
|
20196
|
+
static decodeDelimited(
|
|
20197
|
+
reader: $protobuf.Reader | Uint8Array
|
|
20198
|
+
): api$DotReplitUnitTest;
|
|
20199
|
+
|
|
20200
|
+
/**
|
|
20201
|
+
* Verifies a DotReplitUnitTest message.
|
|
20202
|
+
* @param message Plain object to verify
|
|
20203
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
20204
|
+
*/
|
|
20205
|
+
static verify(message: {|
|
|
20206
|
+
[k: string]: any,
|
|
20207
|
+
|}): string | null;
|
|
20208
|
+
|
|
20209
|
+
/**
|
|
20210
|
+
* Creates a DotReplitUnitTest message from a plain object. Also converts values to their respective internal types.
|
|
20211
|
+
* @param object Plain object
|
|
20212
|
+
* @returns DotReplitUnitTest
|
|
20213
|
+
*/
|
|
20214
|
+
static fromObject(object: {|
|
|
20215
|
+
[k: string]: any,
|
|
20216
|
+
|}): api$DotReplitUnitTest;
|
|
20217
|
+
|
|
20218
|
+
/**
|
|
20219
|
+
* Creates a plain object from a DotReplitUnitTest message. Also converts values to other types if specified.
|
|
20220
|
+
* @param message DotReplitUnitTest
|
|
20221
|
+
* @param [options] Conversion options
|
|
20222
|
+
* @returns Plain object
|
|
20223
|
+
*/
|
|
20224
|
+
static toObject(
|
|
20225
|
+
message: api$DotReplitUnitTest,
|
|
20226
|
+
options?: $protobuf.IConversionOptions
|
|
20227
|
+
): {|
|
|
20228
|
+
[k: string]: any,
|
|
20229
|
+
|};
|
|
20230
|
+
|
|
20231
|
+
/**
|
|
20232
|
+
* Converts this DotReplitUnitTest to JSON.
|
|
20233
|
+
* @returns JSON object
|
|
20234
|
+
*/
|
|
20235
|
+
toJSON(): {|
|
|
20236
|
+
[k: string]: any,
|
|
20237
|
+
|};
|
|
20238
|
+
}
|
|
20239
|
+
|
|
20039
20240
|
/**
|
|
20040
20241
|
* Properties of a DebuggerConfig.
|
|
20041
20242
|
*/
|
|
@@ -21427,6 +21628,11 @@ declare type api$IReplTransfer = {|
|
|
|
21427
21628
|
* ReplTransfer certificates
|
|
21428
21629
|
*/
|
|
21429
21630
|
certificates?: (api$TLSCertificate | api$ITLSCertificate)[] | null,
|
|
21631
|
+
|
|
21632
|
+
/**
|
|
21633
|
+
* ReplTransfer flags
|
|
21634
|
+
*/
|
|
21635
|
+
flags?: string[] | null,
|
|
21430
21636
|
|};
|
|
21431
21637
|
|
|
21432
21638
|
/**
|
|
@@ -21464,6 +21670,11 @@ declare class api$ReplTransfer {
|
|
|
21464
21670
|
*/
|
|
21465
21671
|
certificates: api$TLSCertificate[];
|
|
21466
21672
|
|
|
21673
|
+
/**
|
|
21674
|
+
* ReplTransfer flags.
|
|
21675
|
+
*/
|
|
21676
|
+
flags: string[];
|
|
21677
|
+
|
|
21467
21678
|
/**
|
|
21468
21679
|
* Creates a new ReplTransfer instance using the specified properties.
|
|
21469
21680
|
* @param [properties] Properties to set
|