Skip to content

Commit

Permalink
Build
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonbosco committed Nov 11, 2024
1 parent 51a3b89 commit fc1bdc3
Show file tree
Hide file tree
Showing 18 changed files with 243 additions and 55 deletions.
169 changes: 134 additions & 35 deletions dist/typesense.js

Large diffs are not rendered by default.

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

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.

11 changes: 11 additions & 0 deletions lib/Typesense/Documents.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,17 @@ export interface SearchParamsWithPreset extends Partial<SearchParams> {
}
type DropTokensMode = "right_to_left" | "left_to_right" | "both_sides:3";
type OperationMode = "off" | "always" | "fallback";
export type UnionArrayKeys<T> = {
[K in keyof T]: T[K] extends undefined ? never : NonNullable<T[K]> extends infer R ? R extends R[] ? never : R extends (infer U)[] | infer U ? U[] extends R ? K : never : never : never;
}[keyof T] & keyof T;
export type UnionArraySearchParams = UnionArrayKeys<SearchParams>;
export type ArraybleParams = {
readonly [K in UnionArraySearchParams]: string;
};
export type ExtractBaseTypes<T> = {
[K in keyof T]: K extends UnionArrayKeys<T> ? T[K] extends (infer U)[] | infer U ? U : T[K] : T[K];
};
export declare const arrayableParams: ArraybleParams;
export interface SearchParams {
q?: string;
query_by?: string | string[];
Expand Down
18 changes: 18 additions & 0 deletions lib/Typesense/Documents.js

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

2 changes: 1 addition & 1 deletion lib/Typesense/Documents.js.map

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

4 changes: 3 additions & 1 deletion lib/Typesense/Keys.js

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

2 changes: 1 addition & 1 deletion lib/Typesense/Keys.js.map

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

16 changes: 13 additions & 3 deletions lib/Typesense/MultiSearch.js

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

2 changes: 1 addition & 1 deletion lib/Typesense/MultiSearch.js.map

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

Loading

0 comments on commit fc1bdc3

Please sign in to comment.