Skip to content

Commit

Permalink
Make the details field of TaskObject optional
Browse files Browse the repository at this point in the history
  • Loading branch information
amit-ksh committed Nov 17, 2022
1 parent ffbb183 commit eb2e736
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/types/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -260,28 +260,28 @@ export type TaskObject = Omit<EnqueuedTaskObject, 'taskUid'> & {
primaryKey?: string

// Ranking rules on settings actions
rankingRules: RankingRules
rankingRules?: RankingRules

// Searchable attributes on settings actions
searchableAttributes: SearchableAttributes
searchableAttributes?: SearchableAttributes

// Displayed attributes on settings actions
displayedAttributes: DisplayedAttributes
displayedAttributes?: DisplayedAttributes

// Filterable attributes on settings actions
filterableAttributes: FilterableAttributes
filterableAttributes?: FilterableAttributes

// Sortable attributes on settings actions
sortableAttributes: SortableAttributes
sortableAttributes?: SortableAttributes

// Stop words on settings actions
stopWords: StopWords
stopWords?: StopWords

// Stop words on settings actions
synonyms: Synonyms
synonyms?: Synonyms

// Distinct attribute on settings actions
distinctAttribute: DistinctAttribute
distinctAttribute?: DistinctAttribute
}
error?: MeiliSearchErrorInfo
duration: string
Expand Down

0 comments on commit eb2e736

Please sign in to comment.