@replit/protocol 0.2.62 → 0.2.65
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 +349 -4
- package/main/index.js +1039 -140
- package/main/index.js.flow +485 -5
- package/package.json +1 -1
package/main/index.js.flow
CHANGED
|
@@ -164,6 +164,9 @@ declare var npm$namespace$api: {|
|
|
|
164
164
|
IDebugBreakpointEvent: Class<api$IDebugBreakpointEvent>,
|
|
165
165
|
IDebugBreakpoint: Class<api$IDebugBreakpoint>,
|
|
166
166
|
IDotReplit: Class<api$IDotReplit>,
|
|
167
|
+
IDotReplitEnvVar: Class<api$IDotReplitEnvVar>,
|
|
168
|
+
IDotReplitPort: Class<api$IDotReplitPort>,
|
|
169
|
+
IDotReplitHint: Class<api$IDotReplitHint>,
|
|
167
170
|
IGitHubImportConfig: Class<api$IGitHubImportConfig>,
|
|
168
171
|
INixConfig: Class<api$INixConfig>,
|
|
169
172
|
IHostingConfig: Class<api$IHostingConfig>,
|
|
@@ -347,6 +350,9 @@ declare var npm$namespace$api: {|
|
|
|
347
350
|
DebugBreakpointEvent: typeof api$DebugBreakpointEvent,
|
|
348
351
|
DebugBreakpoint: typeof api$DebugBreakpoint,
|
|
349
352
|
DotReplit: typeof api$DotReplit,
|
|
353
|
+
DotReplitEnvVar: typeof api$DotReplitEnvVar,
|
|
354
|
+
DotReplitPort: typeof api$DotReplitPort,
|
|
355
|
+
DotReplitHint: typeof api$DotReplitHint,
|
|
350
356
|
GitHubImportConfig: typeof api$GitHubImportConfig,
|
|
351
357
|
NixConfig: typeof api$NixConfig,
|
|
352
358
|
HostingConfig: typeof api$HostingConfig,
|
|
@@ -6302,7 +6308,12 @@ declare var api$FileEvent$Op: {|
|
|
|
6302
6308
|
/**
|
|
6303
6309
|
* Properties of a Flush.
|
|
6304
6310
|
*/
|
|
6305
|
-
declare type api$IFlush = {
|
|
6311
|
+
declare type api$IFlush = {|
|
|
6312
|
+
/**
|
|
6313
|
+
* Flush consistency
|
|
6314
|
+
*/
|
|
6315
|
+
consistency?: $Values<typeof api$Flush$Consistency> | null,
|
|
6316
|
+
|};
|
|
6306
6317
|
|
|
6307
6318
|
/**
|
|
6308
6319
|
* Represents a Flush.
|
|
@@ -6314,6 +6325,11 @@ declare class api$Flush {
|
|
|
6314
6325
|
*/
|
|
6315
6326
|
constructor(properties?: api$IFlush): this;
|
|
6316
6327
|
|
|
6328
|
+
/**
|
|
6329
|
+
* Flush consistency.
|
|
6330
|
+
*/
|
|
6331
|
+
consistency: $Values<typeof api$Flush$Consistency>;
|
|
6332
|
+
|
|
6317
6333
|
/**
|
|
6318
6334
|
* Creates a new Flush instance using the specified properties.
|
|
6319
6335
|
* @param [properties] Properties to set
|
|
@@ -6403,8 +6419,18 @@ declare class api$Flush {
|
|
|
6403
6419
|
toJSON(): {|
|
|
6404
6420
|
[k: string]: any,
|
|
6405
6421
|
|};
|
|
6422
|
+
static Consistency: typeof api$Flush$Consistency;
|
|
6406
6423
|
}
|
|
6407
6424
|
|
|
6425
|
+
/**
|
|
6426
|
+
* Consistency enum.
|
|
6427
|
+
*/
|
|
6428
|
+
|
|
6429
|
+
declare var api$Flush$Consistency: {|
|
|
6430
|
+
+PermanentStorage: 0, // 0
|
|
6431
|
+
+Disk: 1, // 1
|
|
6432
|
+
|};
|
|
6433
|
+
|
|
6408
6434
|
/**
|
|
6409
6435
|
* Properties of a OTLinkFile.
|
|
6410
6436
|
*/
|
|
@@ -15022,6 +15048,21 @@ declare type api$IUser = {|
|
|
|
15022
15048
|
* User teams
|
|
15023
15049
|
*/
|
|
15024
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,
|
|
15025
15066
|
|};
|
|
15026
15067
|
|
|
15027
15068
|
/**
|
|
@@ -15059,6 +15100,21 @@ declare class api$User {
|
|
|
15059
15100
|
*/
|
|
15060
15101
|
teams: string[];
|
|
15061
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
|
+
|
|
15062
15118
|
/**
|
|
15063
15119
|
* Creates a new User instance using the specified properties.
|
|
15064
15120
|
* @param [properties] Properties to set
|
|
@@ -21662,6 +21718,21 @@ declare type api$IDotReplit = {|
|
|
|
21662
21718
|
* DotReplit auth
|
|
21663
21719
|
*/
|
|
21664
21720
|
auth?: api$AuthConfig | api$IAuthConfig | null,
|
|
21721
|
+
|
|
21722
|
+
/**
|
|
21723
|
+
* DotReplit hintsList
|
|
21724
|
+
*/
|
|
21725
|
+
hintsList?: (api$DotReplitHint | api$IDotReplitHint)[] | null,
|
|
21726
|
+
|
|
21727
|
+
/**
|
|
21728
|
+
* DotReplit ports
|
|
21729
|
+
*/
|
|
21730
|
+
ports?: (api$DotReplitPort | api$IDotReplitPort)[] | null,
|
|
21731
|
+
|
|
21732
|
+
/**
|
|
21733
|
+
* DotReplit orderedEnv
|
|
21734
|
+
*/
|
|
21735
|
+
orderedEnv?: (api$DotReplitEnvVar | api$IDotReplitEnvVar)[] | null,
|
|
21665
21736
|
|};
|
|
21666
21737
|
|
|
21667
21738
|
/**
|
|
@@ -21763,6 +21834,21 @@ declare class api$DotReplit {
|
|
|
21763
21834
|
*/
|
|
21764
21835
|
auth?: api$AuthConfig | null;
|
|
21765
21836
|
|
|
21837
|
+
/**
|
|
21838
|
+
* DotReplit hintsList.
|
|
21839
|
+
*/
|
|
21840
|
+
hintsList: api$DotReplitHint[];
|
|
21841
|
+
|
|
21842
|
+
/**
|
|
21843
|
+
* DotReplit ports.
|
|
21844
|
+
*/
|
|
21845
|
+
ports: api$DotReplitPort[];
|
|
21846
|
+
|
|
21847
|
+
/**
|
|
21848
|
+
* DotReplit orderedEnv.
|
|
21849
|
+
*/
|
|
21850
|
+
orderedEnv: api$DotReplitEnvVar[];
|
|
21851
|
+
|
|
21766
21852
|
/**
|
|
21767
21853
|
* Creates a new DotReplit instance using the specified properties.
|
|
21768
21854
|
* @param [properties] Properties to set
|
|
@@ -21854,14 +21940,398 @@ declare class api$DotReplit {
|
|
|
21854
21940
|
|};
|
|
21855
21941
|
}
|
|
21856
21942
|
|
|
21943
|
+
/**
|
|
21944
|
+
* Properties of a DotReplitEnvVar.
|
|
21945
|
+
*/
|
|
21946
|
+
declare type api$IDotReplitEnvVar = {|
|
|
21947
|
+
/**
|
|
21948
|
+
* DotReplitEnvVar key
|
|
21949
|
+
*/
|
|
21950
|
+
key?: string | null,
|
|
21951
|
+
|
|
21952
|
+
/**
|
|
21953
|
+
* DotReplitEnvVar value
|
|
21954
|
+
*/
|
|
21955
|
+
value?: string | null,
|
|
21956
|
+
|};
|
|
21957
|
+
|
|
21958
|
+
/**
|
|
21959
|
+
* Represents a DotReplitEnvVar.
|
|
21960
|
+
*/
|
|
21961
|
+
declare class api$DotReplitEnvVar {
|
|
21962
|
+
/**
|
|
21963
|
+
* Constructs a new DotReplitEnvVar.
|
|
21964
|
+
* @param [properties] Properties to set
|
|
21965
|
+
*/
|
|
21966
|
+
constructor(properties?: api$IDotReplitEnvVar): this;
|
|
21967
|
+
|
|
21968
|
+
/**
|
|
21969
|
+
* DotReplitEnvVar key.
|
|
21970
|
+
*/
|
|
21971
|
+
key: string;
|
|
21972
|
+
|
|
21973
|
+
/**
|
|
21974
|
+
* DotReplitEnvVar value.
|
|
21975
|
+
*/
|
|
21976
|
+
value: string;
|
|
21977
|
+
|
|
21978
|
+
/**
|
|
21979
|
+
* Creates a new DotReplitEnvVar instance using the specified properties.
|
|
21980
|
+
* @param [properties] Properties to set
|
|
21981
|
+
* @returns DotReplitEnvVar instance
|
|
21982
|
+
*/
|
|
21983
|
+
static create(properties?: api$IDotReplitEnvVar): api$DotReplitEnvVar;
|
|
21984
|
+
|
|
21985
|
+
/**
|
|
21986
|
+
* [object Object],[object Object],[object Object]
|
|
21987
|
+
* @param message DotReplitEnvVar message or plain object to encode
|
|
21988
|
+
* @param [writer] Writer to encode to
|
|
21989
|
+
* @returns Writer
|
|
21990
|
+
*/
|
|
21991
|
+
static encode(
|
|
21992
|
+
message: api$DotReplitEnvVar,
|
|
21993
|
+
writer?: $protobuf.Writer
|
|
21994
|
+
): $protobuf.Writer;
|
|
21995
|
+
|
|
21996
|
+
/**
|
|
21997
|
+
* [object Object],[object Object],[object Object]
|
|
21998
|
+
* @param message DotReplitEnvVar message or plain object to encode
|
|
21999
|
+
* @param [writer] Writer to encode to
|
|
22000
|
+
* @returns Writer
|
|
22001
|
+
*/
|
|
22002
|
+
static encodeDelimited(
|
|
22003
|
+
message: api$DotReplitEnvVar,
|
|
22004
|
+
writer?: $protobuf.Writer
|
|
22005
|
+
): $protobuf.Writer;
|
|
22006
|
+
|
|
22007
|
+
/**
|
|
22008
|
+
* Decodes a DotReplitEnvVar message from the specified reader or buffer.
|
|
22009
|
+
* @param reader Reader or buffer to decode from
|
|
22010
|
+
* @param [length] Message length if known beforehand
|
|
22011
|
+
* @returns DotReplitEnvVar
|
|
22012
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
22013
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
22014
|
+
*/
|
|
22015
|
+
static decode(
|
|
22016
|
+
reader: $protobuf.Reader | Uint8Array,
|
|
22017
|
+
length?: number
|
|
22018
|
+
): api$DotReplitEnvVar;
|
|
22019
|
+
|
|
22020
|
+
/**
|
|
22021
|
+
* Decodes a DotReplitEnvVar message from the specified reader or buffer, length delimited.
|
|
22022
|
+
* @param reader Reader or buffer to decode from
|
|
22023
|
+
* @returns DotReplitEnvVar
|
|
22024
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
22025
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
22026
|
+
*/
|
|
22027
|
+
static decodeDelimited(
|
|
22028
|
+
reader: $protobuf.Reader | Uint8Array
|
|
22029
|
+
): api$DotReplitEnvVar;
|
|
22030
|
+
|
|
22031
|
+
/**
|
|
22032
|
+
* Verifies a DotReplitEnvVar message.
|
|
22033
|
+
* @param message Plain object to verify
|
|
22034
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
22035
|
+
*/
|
|
22036
|
+
static verify(message: {|
|
|
22037
|
+
[k: string]: any,
|
|
22038
|
+
|}): string | null;
|
|
22039
|
+
|
|
22040
|
+
/**
|
|
22041
|
+
* Creates a DotReplitEnvVar message from a plain object. Also converts values to their respective internal types.
|
|
22042
|
+
* @param object Plain object
|
|
22043
|
+
* @returns DotReplitEnvVar
|
|
22044
|
+
*/
|
|
22045
|
+
static fromObject(object: {|
|
|
22046
|
+
[k: string]: any,
|
|
22047
|
+
|}): api$DotReplitEnvVar;
|
|
22048
|
+
|
|
22049
|
+
/**
|
|
22050
|
+
* Creates a plain object from a DotReplitEnvVar message. Also converts values to other types if specified.
|
|
22051
|
+
* @param message DotReplitEnvVar
|
|
22052
|
+
* @param [options] Conversion options
|
|
22053
|
+
* @returns Plain object
|
|
22054
|
+
*/
|
|
22055
|
+
static toObject(
|
|
22056
|
+
message: api$DotReplitEnvVar,
|
|
22057
|
+
options?: $protobuf.IConversionOptions
|
|
22058
|
+
): {|
|
|
22059
|
+
[k: string]: any,
|
|
22060
|
+
|};
|
|
22061
|
+
|
|
22062
|
+
/**
|
|
22063
|
+
* Converts this DotReplitEnvVar to JSON.
|
|
22064
|
+
* @returns JSON object
|
|
22065
|
+
*/
|
|
22066
|
+
toJSON(): {|
|
|
22067
|
+
[k: string]: any,
|
|
22068
|
+
|};
|
|
22069
|
+
}
|
|
22070
|
+
|
|
22071
|
+
/**
|
|
22072
|
+
* Properties of a DotReplitPort.
|
|
22073
|
+
*/
|
|
22074
|
+
declare type api$IDotReplitPort = {|
|
|
22075
|
+
/**
|
|
22076
|
+
* DotReplitPort localPort
|
|
22077
|
+
*/
|
|
22078
|
+
localPort?: number | null,
|
|
22079
|
+
|
|
22080
|
+
/**
|
|
22081
|
+
* DotReplitPort externalPort
|
|
22082
|
+
*/
|
|
22083
|
+
externalPort?: number | null,
|
|
22084
|
+
|};
|
|
22085
|
+
|
|
22086
|
+
/**
|
|
22087
|
+
* Represents a DotReplitPort.
|
|
22088
|
+
*/
|
|
22089
|
+
declare class api$DotReplitPort {
|
|
22090
|
+
/**
|
|
22091
|
+
* Constructs a new DotReplitPort.
|
|
22092
|
+
* @param [properties] Properties to set
|
|
22093
|
+
*/
|
|
22094
|
+
constructor(properties?: api$IDotReplitPort): this;
|
|
22095
|
+
|
|
22096
|
+
/**
|
|
22097
|
+
* DotReplitPort localPort.
|
|
22098
|
+
*/
|
|
22099
|
+
localPort: number;
|
|
22100
|
+
|
|
22101
|
+
/**
|
|
22102
|
+
* DotReplitPort externalPort.
|
|
22103
|
+
*/
|
|
22104
|
+
externalPort: number;
|
|
22105
|
+
|
|
22106
|
+
/**
|
|
22107
|
+
* Creates a new DotReplitPort instance using the specified properties.
|
|
22108
|
+
* @param [properties] Properties to set
|
|
22109
|
+
* @returns DotReplitPort instance
|
|
22110
|
+
*/
|
|
22111
|
+
static create(properties?: api$IDotReplitPort): api$DotReplitPort;
|
|
22112
|
+
|
|
22113
|
+
/**
|
|
22114
|
+
* [object Object],[object Object],[object Object]
|
|
22115
|
+
* @param message DotReplitPort message or plain object to encode
|
|
22116
|
+
* @param [writer] Writer to encode to
|
|
22117
|
+
* @returns Writer
|
|
22118
|
+
*/
|
|
22119
|
+
static encode(
|
|
22120
|
+
message: api$DotReplitPort,
|
|
22121
|
+
writer?: $protobuf.Writer
|
|
22122
|
+
): $protobuf.Writer;
|
|
22123
|
+
|
|
22124
|
+
/**
|
|
22125
|
+
* [object Object],[object Object],[object Object]
|
|
22126
|
+
* @param message DotReplitPort message or plain object to encode
|
|
22127
|
+
* @param [writer] Writer to encode to
|
|
22128
|
+
* @returns Writer
|
|
22129
|
+
*/
|
|
22130
|
+
static encodeDelimited(
|
|
22131
|
+
message: api$DotReplitPort,
|
|
22132
|
+
writer?: $protobuf.Writer
|
|
22133
|
+
): $protobuf.Writer;
|
|
22134
|
+
|
|
22135
|
+
/**
|
|
22136
|
+
* Decodes a DotReplitPort message from the specified reader or buffer.
|
|
22137
|
+
* @param reader Reader or buffer to decode from
|
|
22138
|
+
* @param [length] Message length if known beforehand
|
|
22139
|
+
* @returns DotReplitPort
|
|
22140
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
22141
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
22142
|
+
*/
|
|
22143
|
+
static decode(
|
|
22144
|
+
reader: $protobuf.Reader | Uint8Array,
|
|
22145
|
+
length?: number
|
|
22146
|
+
): api$DotReplitPort;
|
|
22147
|
+
|
|
22148
|
+
/**
|
|
22149
|
+
* Decodes a DotReplitPort message from the specified reader or buffer, length delimited.
|
|
22150
|
+
* @param reader Reader or buffer to decode from
|
|
22151
|
+
* @returns DotReplitPort
|
|
22152
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
22153
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
22154
|
+
*/
|
|
22155
|
+
static decodeDelimited(
|
|
22156
|
+
reader: $protobuf.Reader | Uint8Array
|
|
22157
|
+
): api$DotReplitPort;
|
|
22158
|
+
|
|
22159
|
+
/**
|
|
22160
|
+
* Verifies a DotReplitPort message.
|
|
22161
|
+
* @param message Plain object to verify
|
|
22162
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
22163
|
+
*/
|
|
22164
|
+
static verify(message: {|
|
|
22165
|
+
[k: string]: any,
|
|
22166
|
+
|}): string | null;
|
|
22167
|
+
|
|
22168
|
+
/**
|
|
22169
|
+
* Creates a DotReplitPort message from a plain object. Also converts values to their respective internal types.
|
|
22170
|
+
* @param object Plain object
|
|
22171
|
+
* @returns DotReplitPort
|
|
22172
|
+
*/
|
|
22173
|
+
static fromObject(object: {|
|
|
22174
|
+
[k: string]: any,
|
|
22175
|
+
|}): api$DotReplitPort;
|
|
22176
|
+
|
|
22177
|
+
/**
|
|
22178
|
+
* Creates a plain object from a DotReplitPort message. Also converts values to other types if specified.
|
|
22179
|
+
* @param message DotReplitPort
|
|
22180
|
+
* @param [options] Conversion options
|
|
22181
|
+
* @returns Plain object
|
|
22182
|
+
*/
|
|
22183
|
+
static toObject(
|
|
22184
|
+
message: api$DotReplitPort,
|
|
22185
|
+
options?: $protobuf.IConversionOptions
|
|
22186
|
+
): {|
|
|
22187
|
+
[k: string]: any,
|
|
22188
|
+
|};
|
|
22189
|
+
|
|
22190
|
+
/**
|
|
22191
|
+
* Converts this DotReplitPort to JSON.
|
|
22192
|
+
* @returns JSON object
|
|
22193
|
+
*/
|
|
22194
|
+
toJSON(): {|
|
|
22195
|
+
[k: string]: any,
|
|
22196
|
+
|};
|
|
22197
|
+
}
|
|
22198
|
+
|
|
22199
|
+
/**
|
|
22200
|
+
* Properties of a DotReplitHint.
|
|
22201
|
+
*/
|
|
22202
|
+
declare type api$IDotReplitHint = {|
|
|
22203
|
+
/**
|
|
22204
|
+
* DotReplitHint regex
|
|
22205
|
+
*/
|
|
22206
|
+
regex?: string | null,
|
|
22207
|
+
|
|
22208
|
+
/**
|
|
22209
|
+
* DotReplitHint message
|
|
22210
|
+
*/
|
|
22211
|
+
message?: string | null,
|
|
22212
|
+
|};
|
|
22213
|
+
|
|
22214
|
+
/**
|
|
22215
|
+
* Represents a DotReplitHint.
|
|
22216
|
+
*/
|
|
22217
|
+
declare class api$DotReplitHint {
|
|
22218
|
+
/**
|
|
22219
|
+
* Constructs a new DotReplitHint.
|
|
22220
|
+
* @param [properties] Properties to set
|
|
22221
|
+
*/
|
|
22222
|
+
constructor(properties?: api$IDotReplitHint): this;
|
|
22223
|
+
|
|
22224
|
+
/**
|
|
22225
|
+
* DotReplitHint regex.
|
|
22226
|
+
*/
|
|
22227
|
+
regex: string;
|
|
22228
|
+
|
|
22229
|
+
/**
|
|
22230
|
+
* DotReplitHint message.
|
|
22231
|
+
*/
|
|
22232
|
+
message: string;
|
|
22233
|
+
|
|
22234
|
+
/**
|
|
22235
|
+
* Creates a new DotReplitHint instance using the specified properties.
|
|
22236
|
+
* @param [properties] Properties to set
|
|
22237
|
+
* @returns DotReplitHint instance
|
|
22238
|
+
*/
|
|
22239
|
+
static create(properties?: api$IDotReplitHint): api$DotReplitHint;
|
|
22240
|
+
|
|
22241
|
+
/**
|
|
22242
|
+
* [object Object],[object Object],[object Object]
|
|
22243
|
+
* @param message DotReplitHint message or plain object to encode
|
|
22244
|
+
* @param [writer] Writer to encode to
|
|
22245
|
+
* @returns Writer
|
|
22246
|
+
*/
|
|
22247
|
+
static encode(
|
|
22248
|
+
message: api$DotReplitHint,
|
|
22249
|
+
writer?: $protobuf.Writer
|
|
22250
|
+
): $protobuf.Writer;
|
|
22251
|
+
|
|
22252
|
+
/**
|
|
22253
|
+
* [object Object],[object Object],[object Object]
|
|
22254
|
+
* @param message DotReplitHint message or plain object to encode
|
|
22255
|
+
* @param [writer] Writer to encode to
|
|
22256
|
+
* @returns Writer
|
|
22257
|
+
*/
|
|
22258
|
+
static encodeDelimited(
|
|
22259
|
+
message: api$DotReplitHint,
|
|
22260
|
+
writer?: $protobuf.Writer
|
|
22261
|
+
): $protobuf.Writer;
|
|
22262
|
+
|
|
22263
|
+
/**
|
|
22264
|
+
* Decodes a DotReplitHint message from the specified reader or buffer.
|
|
22265
|
+
* @param reader Reader or buffer to decode from
|
|
22266
|
+
* @param [length] Message length if known beforehand
|
|
22267
|
+
* @returns DotReplitHint
|
|
22268
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
22269
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
22270
|
+
*/
|
|
22271
|
+
static decode(
|
|
22272
|
+
reader: $protobuf.Reader | Uint8Array,
|
|
22273
|
+
length?: number
|
|
22274
|
+
): api$DotReplitHint;
|
|
22275
|
+
|
|
22276
|
+
/**
|
|
22277
|
+
* Decodes a DotReplitHint message from the specified reader or buffer, length delimited.
|
|
22278
|
+
* @param reader Reader or buffer to decode from
|
|
22279
|
+
* @returns DotReplitHint
|
|
22280
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
22281
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
22282
|
+
*/
|
|
22283
|
+
static decodeDelimited(
|
|
22284
|
+
reader: $protobuf.Reader | Uint8Array
|
|
22285
|
+
): api$DotReplitHint;
|
|
22286
|
+
|
|
22287
|
+
/**
|
|
22288
|
+
* Verifies a DotReplitHint message.
|
|
22289
|
+
* @param message Plain object to verify
|
|
22290
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
22291
|
+
*/
|
|
22292
|
+
static verify(message: {|
|
|
22293
|
+
[k: string]: any,
|
|
22294
|
+
|}): string | null;
|
|
22295
|
+
|
|
22296
|
+
/**
|
|
22297
|
+
* Creates a DotReplitHint message from a plain object. Also converts values to their respective internal types.
|
|
22298
|
+
* @param object Plain object
|
|
22299
|
+
* @returns DotReplitHint
|
|
22300
|
+
*/
|
|
22301
|
+
static fromObject(object: {|
|
|
22302
|
+
[k: string]: any,
|
|
22303
|
+
|}): api$DotReplitHint;
|
|
22304
|
+
|
|
22305
|
+
/**
|
|
22306
|
+
* Creates a plain object from a DotReplitHint message. Also converts values to other types if specified.
|
|
22307
|
+
* @param message DotReplitHint
|
|
22308
|
+
* @param [options] Conversion options
|
|
22309
|
+
* @returns Plain object
|
|
22310
|
+
*/
|
|
22311
|
+
static toObject(
|
|
22312
|
+
message: api$DotReplitHint,
|
|
22313
|
+
options?: $protobuf.IConversionOptions
|
|
22314
|
+
): {|
|
|
22315
|
+
[k: string]: any,
|
|
22316
|
+
|};
|
|
22317
|
+
|
|
22318
|
+
/**
|
|
22319
|
+
* Converts this DotReplitHint to JSON.
|
|
22320
|
+
* @returns JSON object
|
|
22321
|
+
*/
|
|
22322
|
+
toJSON(): {|
|
|
22323
|
+
[k: string]: any,
|
|
22324
|
+
|};
|
|
22325
|
+
}
|
|
22326
|
+
|
|
21857
22327
|
/**
|
|
21858
22328
|
* Properties of a GitHubImportConfig.
|
|
21859
22329
|
*/
|
|
21860
22330
|
declare type api$IGitHubImportConfig = {|
|
|
21861
22331
|
/**
|
|
21862
|
-
* GitHubImportConfig
|
|
22332
|
+
* GitHubImportConfig requiredFiles
|
|
21863
22333
|
*/
|
|
21864
|
-
|
|
22334
|
+
requiredFiles?: string[] | null,
|
|
21865
22335
|
|};
|
|
21866
22336
|
|
|
21867
22337
|
/**
|
|
@@ -21875,9 +22345,9 @@ declare class api$GitHubImportConfig {
|
|
|
21875
22345
|
constructor(properties?: api$IGitHubImportConfig): this;
|
|
21876
22346
|
|
|
21877
22347
|
/**
|
|
21878
|
-
* GitHubImportConfig
|
|
22348
|
+
* GitHubImportConfig requiredFiles.
|
|
21879
22349
|
*/
|
|
21880
|
-
|
|
22350
|
+
requiredFiles: string[];
|
|
21881
22351
|
|
|
21882
22352
|
/**
|
|
21883
22353
|
* Creates a new GitHubImportConfig instance using the specified properties.
|
|
@@ -22926,6 +23396,11 @@ declare type api$IDotReplitPackagerFeatures = {|
|
|
|
22926
23396
|
* DotReplitPackagerFeatures guessImports
|
|
22927
23397
|
*/
|
|
22928
23398
|
guessImports?: boolean | null,
|
|
23399
|
+
|
|
23400
|
+
/**
|
|
23401
|
+
* DotReplitPackagerFeatures enabledForHosting
|
|
23402
|
+
*/
|
|
23403
|
+
enabledForHosting?: boolean | null,
|
|
22929
23404
|
|};
|
|
22930
23405
|
|
|
22931
23406
|
/**
|
|
@@ -22948,6 +23423,11 @@ declare class api$DotReplitPackagerFeatures {
|
|
|
22948
23423
|
*/
|
|
22949
23424
|
guessImports: boolean;
|
|
22950
23425
|
|
|
23426
|
+
/**
|
|
23427
|
+
* DotReplitPackagerFeatures enabledForHosting.
|
|
23428
|
+
*/
|
|
23429
|
+
enabledForHosting: boolean;
|
|
23430
|
+
|
|
22951
23431
|
/**
|
|
22952
23432
|
* Creates a new DotReplitPackagerFeatures instance using the specified properties.
|
|
22953
23433
|
* @param [properties] Properties to set
|