Skip to content

Commit 8a9a84a

Browse files
authored
fix: add searchFields type in the collection options (#875)
1 parent 75289a5 commit 8a9a84a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

types/index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,7 @@ export interface CollectionOptions {
321321
fields?: SmartFieldOptions[];
322322
actions?: SmartActionOptions[];
323323
segments?: SmartSegmentOptions[];
324+
searchFields?: string[];
324325
}
325326

326327
export function collection(name: string, options: CollectionOptions): void;

0 commit comments

Comments
 (0)