File tree Expand file tree Collapse file tree 1 file changed +4
-72
lines changed Expand file tree Collapse file tree 1 file changed +4
-72
lines changed Original file line number Diff line number Diff line change @@ -108,76 +108,8 @@ export type HybridSearch = {
108108 semanticRatio ?: number ;
109109} ;
110110
111- export type Locale =
112- | 'epo'
113- | 'eng'
114- | 'rus'
115- | 'cmn'
116- | 'spa'
117- | 'por'
118- | 'ita'
119- | 'ben'
120- | 'fra'
121- | 'deu'
122- | 'ukr'
123- | 'kat'
124- | 'ara'
125- | 'hin'
126- | 'jpn'
127- | 'heb'
128- | 'yid'
129- | 'pol'
130- | 'amh'
131- | 'jav'
132- | 'kor'
133- | 'nob'
134- | 'dan'
135- | 'swe'
136- | 'fin'
137- | 'tur'
138- | 'nld'
139- | 'hun'
140- | 'ces'
141- | 'ell'
142- | 'bul'
143- | 'bel'
144- | 'mar'
145- | 'kan'
146- | 'ron'
147- | 'slv'
148- | 'hrv'
149- | 'srp'
150- | 'mkd'
151- | 'lit'
152- | 'lav'
153- | 'est'
154- | 'tam'
155- | 'vie'
156- | 'urd'
157- | 'tha'
158- | 'guj'
159- | 'uzb'
160- | 'pan'
161- | 'aze'
162- | 'ind'
163- | 'tel'
164- | 'pes'
165- | 'mal'
166- | 'ori'
167- | 'mya'
168- | 'nep'
169- | 'sin'
170- | 'khm'
171- | 'tuk'
172- | 'aka'
173- | 'zul'
174- | 'sna'
175- | 'afr'
176- | 'lat'
177- | 'slk'
178- | 'cat'
179- | 'tgl'
180- | 'hye' ;
111+ // @TODO : Add documentation link to available locales
112+ export type Locale = string ;
181113
182114export type SearchParams = Query &
183115 Pagination &
@@ -757,9 +689,9 @@ export interface FetchError extends Error {
757689
758690export type MeiliSearchErrorResponse = {
759691 message : string ;
760- // @TODO : Could be typed, but will it be kept updated? https://www.meilisearch.com/docs/reference/errors/error_codes
692+ // https://www.meilisearch.com/docs/reference/errors/error_codes
761693 code : string ;
762- // @TODO : Could be typed https://www.meilisearch.com/docs/reference/errors/overview#errors
694+ // https://www.meilisearch.com/docs/reference/errors/overview#errors
763695 type : string ;
764696 link : string ;
765697} ;
You can’t perform that action at this time.
0 commit comments