@replit/protocol 0.2.62 → 0.2.63

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.
@@ -164,6 +164,8 @@ declare var npm$namespace$api: {|
164
164
  IDebugBreakpointEvent: Class<api$IDebugBreakpointEvent>,
165
165
  IDebugBreakpoint: Class<api$IDebugBreakpoint>,
166
166
  IDotReplit: Class<api$IDotReplit>,
167
+ IDotReplitPort: Class<api$IDotReplitPort>,
168
+ IDotReplitHint: Class<api$IDotReplitHint>,
167
169
  IGitHubImportConfig: Class<api$IGitHubImportConfig>,
168
170
  INixConfig: Class<api$INixConfig>,
169
171
  IHostingConfig: Class<api$IHostingConfig>,
@@ -347,6 +349,8 @@ declare var npm$namespace$api: {|
347
349
  DebugBreakpointEvent: typeof api$DebugBreakpointEvent,
348
350
  DebugBreakpoint: typeof api$DebugBreakpoint,
349
351
  DotReplit: typeof api$DotReplit,
352
+ DotReplitPort: typeof api$DotReplitPort,
353
+ DotReplitHint: typeof api$DotReplitHint,
350
354
  GitHubImportConfig: typeof api$GitHubImportConfig,
351
355
  NixConfig: typeof api$NixConfig,
352
356
  HostingConfig: typeof api$HostingConfig,
@@ -21662,6 +21666,16 @@ declare type api$IDotReplit = {|
21662
21666
  * DotReplit auth
21663
21667
  */
21664
21668
  auth?: api$AuthConfig | api$IAuthConfig | null,
21669
+
21670
+ /**
21671
+ * DotReplit hintsList
21672
+ */
21673
+ hintsList?: (api$DotReplitHint | api$IDotReplitHint)[] | null,
21674
+
21675
+ /**
21676
+ * DotReplit ports
21677
+ */
21678
+ ports?: (api$DotReplitPort | api$IDotReplitPort)[] | null,
21665
21679
  |};
21666
21680
 
21667
21681
  /**
@@ -21763,6 +21777,16 @@ declare class api$DotReplit {
21763
21777
  */
21764
21778
  auth?: api$AuthConfig | null;
21765
21779
 
21780
+ /**
21781
+ * DotReplit hintsList.
21782
+ */
21783
+ hintsList: api$DotReplitHint[];
21784
+
21785
+ /**
21786
+ * DotReplit ports.
21787
+ */
21788
+ ports: api$DotReplitPort[];
21789
+
21766
21790
  /**
21767
21791
  * Creates a new DotReplit instance using the specified properties.
21768
21792
  * @param [properties] Properties to set
@@ -21854,14 +21878,270 @@ declare class api$DotReplit {
21854
21878
  |};
21855
21879
  }
21856
21880
 
21881
+ /**
21882
+ * Properties of a DotReplitPort.
21883
+ */
21884
+ declare type api$IDotReplitPort = {|
21885
+ /**
21886
+ * DotReplitPort localPort
21887
+ */
21888
+ localPort?: number | null,
21889
+
21890
+ /**
21891
+ * DotReplitPort externalPort
21892
+ */
21893
+ externalPort?: number | null,
21894
+ |};
21895
+
21896
+ /**
21897
+ * Represents a DotReplitPort.
21898
+ */
21899
+ declare class api$DotReplitPort {
21900
+ /**
21901
+ * Constructs a new DotReplitPort.
21902
+ * @param [properties] Properties to set
21903
+ */
21904
+ constructor(properties?: api$IDotReplitPort): this;
21905
+
21906
+ /**
21907
+ * DotReplitPort localPort.
21908
+ */
21909
+ localPort: number;
21910
+
21911
+ /**
21912
+ * DotReplitPort externalPort.
21913
+ */
21914
+ externalPort: number;
21915
+
21916
+ /**
21917
+ * Creates a new DotReplitPort instance using the specified properties.
21918
+ * @param [properties] Properties to set
21919
+ * @returns DotReplitPort instance
21920
+ */
21921
+ static create(properties?: api$IDotReplitPort): api$DotReplitPort;
21922
+
21923
+ /**
21924
+ * [object Object],[object Object],[object Object]
21925
+ * @param message DotReplitPort message or plain object to encode
21926
+ * @param [writer] Writer to encode to
21927
+ * @returns Writer
21928
+ */
21929
+ static encode(
21930
+ message: api$DotReplitPort,
21931
+ writer?: $protobuf.Writer
21932
+ ): $protobuf.Writer;
21933
+
21934
+ /**
21935
+ * [object Object],[object Object],[object Object]
21936
+ * @param message DotReplitPort message or plain object to encode
21937
+ * @param [writer] Writer to encode to
21938
+ * @returns Writer
21939
+ */
21940
+ static encodeDelimited(
21941
+ message: api$DotReplitPort,
21942
+ writer?: $protobuf.Writer
21943
+ ): $protobuf.Writer;
21944
+
21945
+ /**
21946
+ * Decodes a DotReplitPort message from the specified reader or buffer.
21947
+ * @param reader Reader or buffer to decode from
21948
+ * @param [length] Message length if known beforehand
21949
+ * @returns DotReplitPort
21950
+ * @throws {Error} If the payload is not a reader or valid buffer
21951
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
21952
+ */
21953
+ static decode(
21954
+ reader: $protobuf.Reader | Uint8Array,
21955
+ length?: number
21956
+ ): api$DotReplitPort;
21957
+
21958
+ /**
21959
+ * Decodes a DotReplitPort message from the specified reader or buffer, length delimited.
21960
+ * @param reader Reader or buffer to decode from
21961
+ * @returns DotReplitPort
21962
+ * @throws {Error} If the payload is not a reader or valid buffer
21963
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
21964
+ */
21965
+ static decodeDelimited(
21966
+ reader: $protobuf.Reader | Uint8Array
21967
+ ): api$DotReplitPort;
21968
+
21969
+ /**
21970
+ * Verifies a DotReplitPort message.
21971
+ * @param message Plain object to verify
21972
+ * @returns `null` if valid, otherwise the reason why it is not
21973
+ */
21974
+ static verify(message: {|
21975
+ [k: string]: any,
21976
+ |}): string | null;
21977
+
21978
+ /**
21979
+ * Creates a DotReplitPort message from a plain object. Also converts values to their respective internal types.
21980
+ * @param object Plain object
21981
+ * @returns DotReplitPort
21982
+ */
21983
+ static fromObject(object: {|
21984
+ [k: string]: any,
21985
+ |}): api$DotReplitPort;
21986
+
21987
+ /**
21988
+ * Creates a plain object from a DotReplitPort message. Also converts values to other types if specified.
21989
+ * @param message DotReplitPort
21990
+ * @param [options] Conversion options
21991
+ * @returns Plain object
21992
+ */
21993
+ static toObject(
21994
+ message: api$DotReplitPort,
21995
+ options?: $protobuf.IConversionOptions
21996
+ ): {|
21997
+ [k: string]: any,
21998
+ |};
21999
+
22000
+ /**
22001
+ * Converts this DotReplitPort to JSON.
22002
+ * @returns JSON object
22003
+ */
22004
+ toJSON(): {|
22005
+ [k: string]: any,
22006
+ |};
22007
+ }
22008
+
22009
+ /**
22010
+ * Properties of a DotReplitHint.
22011
+ */
22012
+ declare type api$IDotReplitHint = {|
22013
+ /**
22014
+ * DotReplitHint regex
22015
+ */
22016
+ regex?: string | null,
22017
+
22018
+ /**
22019
+ * DotReplitHint message
22020
+ */
22021
+ message?: string | null,
22022
+ |};
22023
+
22024
+ /**
22025
+ * Represents a DotReplitHint.
22026
+ */
22027
+ declare class api$DotReplitHint {
22028
+ /**
22029
+ * Constructs a new DotReplitHint.
22030
+ * @param [properties] Properties to set
22031
+ */
22032
+ constructor(properties?: api$IDotReplitHint): this;
22033
+
22034
+ /**
22035
+ * DotReplitHint regex.
22036
+ */
22037
+ regex: string;
22038
+
22039
+ /**
22040
+ * DotReplitHint message.
22041
+ */
22042
+ message: string;
22043
+
22044
+ /**
22045
+ * Creates a new DotReplitHint instance using the specified properties.
22046
+ * @param [properties] Properties to set
22047
+ * @returns DotReplitHint instance
22048
+ */
22049
+ static create(properties?: api$IDotReplitHint): api$DotReplitHint;
22050
+
22051
+ /**
22052
+ * [object Object],[object Object],[object Object]
22053
+ * @param message DotReplitHint message or plain object to encode
22054
+ * @param [writer] Writer to encode to
22055
+ * @returns Writer
22056
+ */
22057
+ static encode(
22058
+ message: api$DotReplitHint,
22059
+ writer?: $protobuf.Writer
22060
+ ): $protobuf.Writer;
22061
+
22062
+ /**
22063
+ * [object Object],[object Object],[object Object]
22064
+ * @param message DotReplitHint message or plain object to encode
22065
+ * @param [writer] Writer to encode to
22066
+ * @returns Writer
22067
+ */
22068
+ static encodeDelimited(
22069
+ message: api$DotReplitHint,
22070
+ writer?: $protobuf.Writer
22071
+ ): $protobuf.Writer;
22072
+
22073
+ /**
22074
+ * Decodes a DotReplitHint message from the specified reader or buffer.
22075
+ * @param reader Reader or buffer to decode from
22076
+ * @param [length] Message length if known beforehand
22077
+ * @returns DotReplitHint
22078
+ * @throws {Error} If the payload is not a reader or valid buffer
22079
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
22080
+ */
22081
+ static decode(
22082
+ reader: $protobuf.Reader | Uint8Array,
22083
+ length?: number
22084
+ ): api$DotReplitHint;
22085
+
22086
+ /**
22087
+ * Decodes a DotReplitHint message from the specified reader or buffer, length delimited.
22088
+ * @param reader Reader or buffer to decode from
22089
+ * @returns DotReplitHint
22090
+ * @throws {Error} If the payload is not a reader or valid buffer
22091
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
22092
+ */
22093
+ static decodeDelimited(
22094
+ reader: $protobuf.Reader | Uint8Array
22095
+ ): api$DotReplitHint;
22096
+
22097
+ /**
22098
+ * Verifies a DotReplitHint message.
22099
+ * @param message Plain object to verify
22100
+ * @returns `null` if valid, otherwise the reason why it is not
22101
+ */
22102
+ static verify(message: {|
22103
+ [k: string]: any,
22104
+ |}): string | null;
22105
+
22106
+ /**
22107
+ * Creates a DotReplitHint message from a plain object. Also converts values to their respective internal types.
22108
+ * @param object Plain object
22109
+ * @returns DotReplitHint
22110
+ */
22111
+ static fromObject(object: {|
22112
+ [k: string]: any,
22113
+ |}): api$DotReplitHint;
22114
+
22115
+ /**
22116
+ * Creates a plain object from a DotReplitHint message. Also converts values to other types if specified.
22117
+ * @param message DotReplitHint
22118
+ * @param [options] Conversion options
22119
+ * @returns Plain object
22120
+ */
22121
+ static toObject(
22122
+ message: api$DotReplitHint,
22123
+ options?: $protobuf.IConversionOptions
22124
+ ): {|
22125
+ [k: string]: any,
22126
+ |};
22127
+
22128
+ /**
22129
+ * Converts this DotReplitHint to JSON.
22130
+ * @returns JSON object
22131
+ */
22132
+ toJSON(): {|
22133
+ [k: string]: any,
22134
+ |};
22135
+ }
22136
+
21857
22137
  /**
21858
22138
  * Properties of a GitHubImportConfig.
21859
22139
  */
21860
22140
  declare type api$IGitHubImportConfig = {|
21861
22141
  /**
21862
- * GitHubImportConfig RequiredFiles
22142
+ * GitHubImportConfig requiredFiles
21863
22143
  */
21864
- RequiredFiles?: string[] | null,
22144
+ requiredFiles?: string[] | null,
21865
22145
  |};
21866
22146
 
21867
22147
  /**
@@ -21875,9 +22155,9 @@ declare class api$GitHubImportConfig {
21875
22155
  constructor(properties?: api$IGitHubImportConfig): this;
21876
22156
 
21877
22157
  /**
21878
- * GitHubImportConfig RequiredFiles.
22158
+ * GitHubImportConfig requiredFiles.
21879
22159
  */
21880
- RequiredFiles: string[];
22160
+ requiredFiles: string[];
21881
22161
 
21882
22162
  /**
21883
22163
  * Creates a new GitHubImportConfig instance using the specified properties.
@@ -22926,6 +23206,11 @@ declare type api$IDotReplitPackagerFeatures = {|
22926
23206
  * DotReplitPackagerFeatures guessImports
22927
23207
  */
22928
23208
  guessImports?: boolean | null,
23209
+
23210
+ /**
23211
+ * DotReplitPackagerFeatures enabledForHosting
23212
+ */
23213
+ enabledForHosting?: boolean | null,
22929
23214
  |};
22930
23215
 
22931
23216
  /**
@@ -22948,6 +23233,11 @@ declare class api$DotReplitPackagerFeatures {
22948
23233
  */
22949
23234
  guessImports: boolean;
22950
23235
 
23236
+ /**
23237
+ * DotReplitPackagerFeatures enabledForHosting.
23238
+ */
23239
+ enabledForHosting: boolean;
23240
+
22951
23241
  /**
22952
23242
  * Creates a new DotReplitPackagerFeatures instance using the specified properties.
22953
23243
  * @param [properties] Properties to set
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@replit/protocol",
3
- "version": "0.2.62",
3
+ "version": "0.2.63",
4
4
  "description": "JavaScript bindings for the Replit protocol",
5
5
  "main": "main/index.js",
6
6
  "repository": "https://github.com/replit/protocol",