@replit/protocol 0.2.64 → 0.2.67
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.js.flow +1 -1
- package/main/index.d.ts +73 -4
- package/main/index.js +288 -19
- package/main/index.js.flow +116 -6
- package/package-lock.json +879 -0
- package/package.json +1 -1
package/main/index.js.flow
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Flowtype definitions for index
|
|
3
3
|
* Generated by Flowgen from a Typescript Definition
|
|
4
|
-
* Flowgen v1.
|
|
4
|
+
* Flowgen v1.20.0
|
|
5
5
|
* @flow
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -6308,7 +6308,12 @@ declare var api$FileEvent$Op: {|
|
|
|
6308
6308
|
/**
|
|
6309
6309
|
* Properties of a Flush.
|
|
6310
6310
|
*/
|
|
6311
|
-
declare type api$IFlush = {
|
|
6311
|
+
declare type api$IFlush = {|
|
|
6312
|
+
/**
|
|
6313
|
+
* Flush consistency
|
|
6314
|
+
*/
|
|
6315
|
+
consistency?: $Values<typeof api$Flush$Consistency> | null,
|
|
6316
|
+
|};
|
|
6312
6317
|
|
|
6313
6318
|
/**
|
|
6314
6319
|
* Represents a Flush.
|
|
@@ -6320,6 +6325,11 @@ declare class api$Flush {
|
|
|
6320
6325
|
*/
|
|
6321
6326
|
constructor(properties?: api$IFlush): this;
|
|
6322
6327
|
|
|
6328
|
+
/**
|
|
6329
|
+
* Flush consistency.
|
|
6330
|
+
*/
|
|
6331
|
+
consistency: $Values<typeof api$Flush$Consistency>;
|
|
6332
|
+
|
|
6323
6333
|
/**
|
|
6324
6334
|
* Creates a new Flush instance using the specified properties.
|
|
6325
6335
|
* @param [properties] Properties to set
|
|
@@ -6409,8 +6419,18 @@ declare class api$Flush {
|
|
|
6409
6419
|
toJSON(): {|
|
|
6410
6420
|
[k: string]: any,
|
|
6411
6421
|
|};
|
|
6422
|
+
static Consistency: typeof api$Flush$Consistency;
|
|
6412
6423
|
}
|
|
6413
6424
|
|
|
6425
|
+
/**
|
|
6426
|
+
* Consistency enum.
|
|
6427
|
+
*/
|
|
6428
|
+
|
|
6429
|
+
declare var api$Flush$Consistency: {|
|
|
6430
|
+
+PermanentStorage: 0, // 0
|
|
6431
|
+
+Disk: 1, // 1
|
|
6432
|
+
|};
|
|
6433
|
+
|
|
6414
6434
|
/**
|
|
6415
6435
|
* Properties of a OTLinkFile.
|
|
6416
6436
|
*/
|
|
@@ -15028,6 +15048,21 @@ declare type api$IUser = {|
|
|
|
15028
15048
|
* User teams
|
|
15029
15049
|
*/
|
|
15030
15050
|
teams?: string[] | null,
|
|
15051
|
+
|
|
15052
|
+
/**
|
|
15053
|
+
* User bio
|
|
15054
|
+
*/
|
|
15055
|
+
bio?: string | null,
|
|
15056
|
+
|
|
15057
|
+
/**
|
|
15058
|
+
* User url
|
|
15059
|
+
*/
|
|
15060
|
+
url?: string | null,
|
|
15061
|
+
|
|
15062
|
+
/**
|
|
15063
|
+
* User profileImage
|
|
15064
|
+
*/
|
|
15065
|
+
profileImage?: string | null,
|
|
15031
15066
|
|};
|
|
15032
15067
|
|
|
15033
15068
|
/**
|
|
@@ -15065,6 +15100,21 @@ declare class api$User {
|
|
|
15065
15100
|
*/
|
|
15066
15101
|
teams: string[];
|
|
15067
15102
|
|
|
15103
|
+
/**
|
|
15104
|
+
* User bio.
|
|
15105
|
+
*/
|
|
15106
|
+
bio: string;
|
|
15107
|
+
|
|
15108
|
+
/**
|
|
15109
|
+
* User url.
|
|
15110
|
+
*/
|
|
15111
|
+
url: string;
|
|
15112
|
+
|
|
15113
|
+
/**
|
|
15114
|
+
* User profileImage.
|
|
15115
|
+
*/
|
|
15116
|
+
profileImage: string;
|
|
15117
|
+
|
|
15068
15118
|
/**
|
|
15069
15119
|
* Creates a new User instance using the specified properties.
|
|
15070
15120
|
* @param [properties] Properties to set
|
|
@@ -21683,6 +21733,11 @@ declare type api$IDotReplit = {|
|
|
|
21683
21733
|
* DotReplit orderedEnv
|
|
21684
21734
|
*/
|
|
21685
21735
|
orderedEnv?: (api$DotReplitEnvVar | api$IDotReplitEnvVar)[] | null,
|
|
21736
|
+
|
|
21737
|
+
/**
|
|
21738
|
+
* DotReplit refreshWebViewOnFileChange
|
|
21739
|
+
*/
|
|
21740
|
+
refreshWebViewOnFileChange?: string[] | null,
|
|
21686
21741
|
|};
|
|
21687
21742
|
|
|
21688
21743
|
/**
|
|
@@ -21799,6 +21854,11 @@ declare class api$DotReplit {
|
|
|
21799
21854
|
*/
|
|
21800
21855
|
orderedEnv: api$DotReplitEnvVar[];
|
|
21801
21856
|
|
|
21857
|
+
/**
|
|
21858
|
+
* DotReplit refreshWebViewOnFileChange.
|
|
21859
|
+
*/
|
|
21860
|
+
refreshWebViewOnFileChange: string[];
|
|
21861
|
+
|
|
21802
21862
|
/**
|
|
21803
21863
|
* Creates a new DotReplit instance using the specified properties.
|
|
21804
21864
|
* @param [properties] Properties to set
|
|
@@ -22641,9 +22701,34 @@ declare class api$HostingConfig {
|
|
|
22641
22701
|
*/
|
|
22642
22702
|
declare type api$IAuthConfig = {|
|
|
22643
22703
|
/**
|
|
22644
|
-
* AuthConfig
|
|
22704
|
+
* AuthConfig pageEnabled
|
|
22705
|
+
*/
|
|
22706
|
+
pageEnabled?: boolean | null,
|
|
22707
|
+
|
|
22708
|
+
/**
|
|
22709
|
+
* AuthConfig pageTitle
|
|
22710
|
+
*/
|
|
22711
|
+
pageTitle?: string | null,
|
|
22712
|
+
|
|
22713
|
+
/**
|
|
22714
|
+
* AuthConfig pageDescription
|
|
22645
22715
|
*/
|
|
22646
|
-
|
|
22716
|
+
pageDescription?: string | null,
|
|
22717
|
+
|
|
22718
|
+
/**
|
|
22719
|
+
* AuthConfig pageColor
|
|
22720
|
+
*/
|
|
22721
|
+
pageColor?: string | null,
|
|
22722
|
+
|
|
22723
|
+
/**
|
|
22724
|
+
* AuthConfig pageImage
|
|
22725
|
+
*/
|
|
22726
|
+
pageImage?: string | null,
|
|
22727
|
+
|
|
22728
|
+
/**
|
|
22729
|
+
* AuthConfig buttonEnabled
|
|
22730
|
+
*/
|
|
22731
|
+
buttonEnabled?: boolean | null,
|
|
22647
22732
|
|};
|
|
22648
22733
|
|
|
22649
22734
|
/**
|
|
@@ -22657,9 +22742,34 @@ declare class api$AuthConfig {
|
|
|
22657
22742
|
constructor(properties?: api$IAuthConfig): this;
|
|
22658
22743
|
|
|
22659
22744
|
/**
|
|
22660
|
-
* AuthConfig
|
|
22745
|
+
* AuthConfig pageEnabled.
|
|
22746
|
+
*/
|
|
22747
|
+
pageEnabled: boolean;
|
|
22748
|
+
|
|
22749
|
+
/**
|
|
22750
|
+
* AuthConfig pageTitle.
|
|
22751
|
+
*/
|
|
22752
|
+
pageTitle: string;
|
|
22753
|
+
|
|
22754
|
+
/**
|
|
22755
|
+
* AuthConfig pageDescription.
|
|
22756
|
+
*/
|
|
22757
|
+
pageDescription: string;
|
|
22758
|
+
|
|
22759
|
+
/**
|
|
22760
|
+
* AuthConfig pageColor.
|
|
22761
|
+
*/
|
|
22762
|
+
pageColor: string;
|
|
22763
|
+
|
|
22764
|
+
/**
|
|
22765
|
+
* AuthConfig pageImage.
|
|
22766
|
+
*/
|
|
22767
|
+
pageImage: string;
|
|
22768
|
+
|
|
22769
|
+
/**
|
|
22770
|
+
* AuthConfig buttonEnabled.
|
|
22661
22771
|
*/
|
|
22662
|
-
|
|
22772
|
+
buttonEnabled: boolean;
|
|
22663
22773
|
|
|
22664
22774
|
/**
|
|
22665
22775
|
* Creates a new AuthConfig instance using the specified properties.
|