Skip to content

Commit

Permalink
Add types for voice query model in collection schema
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonbosco committed May 28, 2024
1 parent 099c9bc commit 733b7b2
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/typesense.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/typesense.min.js.map

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions lib/Typesense/Collections.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ export interface CollectionCreateSchema {
token_separators?: string[];
enable_nested_fields?: boolean;
metadata?: object;
voice_query_model?: {
model_name?: string;
};
}
export interface CollectionCreateOptions {
src_name?: string;
Expand Down
2 changes: 1 addition & 1 deletion lib/Typesense/Collections.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions src/Typesense/Collections.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ export interface CollectionCreateSchema {
token_separators?: string[];
enable_nested_fields?: boolean;
metadata?: object;
voice_query_model?: {
model_name?: string;
};
}

export interface CollectionCreateOptions {
Expand Down

0 comments on commit 733b7b2

Please sign in to comment.