@faststore/api 1.7.52 → 1.7.53

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -57,17 +57,6 @@ export interface First {
57
57
  index: number
58
58
  }
59
59
 
60
- export interface SuggestedTerms {
61
- total: number
62
- sampling: boolean
63
- translated: boolean
64
- locale: string
65
- query: string
66
- operator: string
67
- suggestion: Suggestion
68
- correction: Correction
69
- }
70
-
71
60
  export interface Suggestion {
72
61
  searches: Search[]
73
62
  }
@@ -24,9 +24,7 @@ export const StoreSearchResult: Record<string, Resolver<Root>> = {
24
24
  })
25
25
  .filter((sku) => !!sku)
26
26
 
27
- const {
28
- suggestion: { searches },
29
- } = terms
27
+ const { searches } = terms
30
28
 
31
29
  return {
32
30
  terms: searches.map((item) => item.term),