Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make all the fields of details field of TaskObject optional #1398

Merged
merged 1 commit into from
Nov 21, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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