File tree Expand file tree Collapse file tree 3 files changed +0
-43
lines changed Expand file tree Collapse file tree 3 files changed +0
-43
lines changed Original file line number Diff line number Diff line change @@ -153,7 +153,6 @@ get_indexes_stats_1: |-
153153 client.stats()
154154get_health_1 : |-
155155 client.isHealthy()
156- update_health_1 : |-
157156get_version_1 : |-
158157 client.version()
159158distinct_attribute_guide_1 : |-
Original file line number Diff line number Diff line change @@ -107,45 +107,6 @@ class MeiliSearch implements Types.MeiliSearchInterface {
107107 return await this . httpRequest . get ( url ) . then ( ( ) => true )
108108 }
109109
110- /**
111- * Change the healthyness to healthy
112- * @memberof MeiliSearch
113- * @method setHealthy
114- */
115- async setHealthy ( ) : Promise < void > {
116- const url = '/health'
117-
118- return await this . httpRequest . put ( url , {
119- health : true ,
120- } )
121- }
122-
123- /**
124- * Change the healthyness to unhealthy
125- * @memberof MeiliSearch
126- * @method setUnhealthy
127- */
128- async setUnhealthy ( ) : Promise < void > {
129- const url = '/health'
130-
131- return await this . httpRequest . put ( url , {
132- health : false ,
133- } )
134- }
135-
136- /**
137- * Set the healthyness to health value
138- * @memberof MeiliSearch
139- * @method changeHealthTo
140- */
141- async changeHealthTo ( health : boolean ) : Promise < void > {
142- const url = '/health'
143-
144- return await this . httpRequest . put ( url , {
145- health,
146- } )
147- }
148-
149110 ///
150111 /// STATS
151112 ///
Original file line number Diff line number Diff line change @@ -229,9 +229,6 @@ export interface MeiliSearchInterface {
229229 createIndex : < T > ( uid : string , options ?: IndexOptions ) => Promise < Index < T > >
230230 getKeys : ( ) => Promise < Keys >
231231 isHealthy : ( ) => Promise < true >
232- setHealthy : ( ) => Promise < void >
233- setUnhealthy : ( ) => Promise < void >
234- changeHealthTo : ( health : boolean ) => Promise < void >
235232 stats : ( ) => Promise < Stats >
236233 version : ( ) => Promise < Version >
237234 createDump : ( ) => Promise < EnqueuedDump >
You can’t perform that action at this time.
0 commit comments