From eb2e736b9a92688da43088042bcfdd9a307c266a Mon Sep 17 00:00:00 2001 From: amit-ksh Date: Thu, 17 Nov 2022 18:18:44 +0530 Subject: [PATCH] Make the details field of TaskObject optional --- src/types/types.ts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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