diff --git a/src/types/types.ts b/src/types/types.ts index 55de85f02..47c264b72 100644 --- a/src/types/types.ts +++ b/src/types/types.ts @@ -260,28 +260,28 @@ export type TaskObject = Omit & { 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