Skip to content

Commit eb2e736

Browse files
committed
Make the details field of TaskObject optional
1 parent ffbb183 commit eb2e736

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)