Skip to content

Commit 7161365

Browse files
Merge #1398
1398: Make all the fields of details field of TaskObject optional r=bidoubiwa a=amit-ksh # Pull Request ## Related issue Fixes #1381 ## What does this PR do? Make all the fields of details field of TaskObject optional ## PR checklist Please check if your PR fulfills the following requirements: - [x] Does this PR fix an existing issue, or have you listed the changes applied in the PR description (and why they are needed)? - [x] Have you read the contributing guidelines? - [x] Have you made sure that the title is accurate and descriptive of the changes? Thank you so much for contributing to Meilisearch! Co-authored-by: amit-ksh <[email protected]>
2 parents ffbb183 + eb2e736 commit 7161365

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/types/types.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -260,28 +260,28 @@ export type TaskObject = Omit<EnqueuedTaskObject, 'taskUid'> & {
260260
primaryKey?: string
261261

262262
// Ranking rules on settings actions
263-
rankingRules: RankingRules
263+
rankingRules?: RankingRules
264264

265265
// Searchable attributes on settings actions
266-
searchableAttributes: SearchableAttributes
266+
searchableAttributes?: SearchableAttributes
267267

268268
// Displayed attributes on settings actions
269-
displayedAttributes: DisplayedAttributes
269+
displayedAttributes?: DisplayedAttributes
270270

271271
// Filterable attributes on settings actions
272-
filterableAttributes: FilterableAttributes
272+
filterableAttributes?: FilterableAttributes
273273

274274
// Sortable attributes on settings actions
275-
sortableAttributes: SortableAttributes
275+
sortableAttributes?: SortableAttributes
276276

277277
// Stop words on settings actions
278-
stopWords: StopWords
278+
stopWords?: StopWords
279279

280280
// Stop words on settings actions
281-
synonyms: Synonyms
281+
synonyms?: Synonyms
282282

283283
// Distinct attribute on settings actions
284-
distinctAttribute: DistinctAttribute
284+
distinctAttribute?: DistinctAttribute
285285
}
286286
error?: MeiliSearchErrorInfo
287287
duration: string

0 commit comments

Comments
 (0)