Skip to content

Commit

Permalink
Merge #1398
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
meili-bors[bot] and amit-ksh authored Nov 21, 2022
2 parents ffbb183 + eb2e736 commit 7161365
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 7161365

Please sign in to comment.