Skip to content

Commit b7d93e9

Browse files
committed
Updated types [skip ci]
1 parent 9b9a2c3 commit b7d93e9

2 files changed

Lines changed: 6 additions & 10 deletions

File tree

types/utils/index.d.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ export function halfvecFromSql(value: any): any;
66
export function halfvecToSql(value: any): any;
77
export function sparsevecFromSql(value: any): SparseVector;
88
export function sparsevecToSql(value: any): any;
9-
export function anyToSql(value: any): any;
109
export function sqlType(dimensions: any): any;
1110
export function vectorType(dimensions: any): any;
1211
export function halfvecType(dimensions: any): any;

types/utils/sparse-vector.d.ts

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
11
export class SparseVector {
2-
static fromSql(value: any): SparseVector;
3-
static fromDense(value: any): SparseVector;
4-
static fromMap(map: any, dimensions: any): SparseVector;
5-
constructor(dimensions: any, indices: any, values: any);
6-
dimensions: any;
7-
indices: any;
8-
values: any;
9-
toString(): string;
10-
toSql(): string;
2+
constructor(value: any, dimensions: any);
113
toPostgres(): string;
4+
toString(): string;
125
toArray(): any[];
6+
dimensions: any;
7+
indices: any[];
8+
values: any[];
9+
#private;
1310
}

0 commit comments

Comments
 (0)