This commit is contained in:
2026-02-11 06:56:43 +01:00
parent 80df059135
commit a90706de5d
7 changed files with 90 additions and 39 deletions
+7 -1
View File
@@ -959,7 +959,13 @@ export type ServerQueryObject<T extends object = {
__query?: {
[key in keyof T]: Omit<ServerQueryObject<T>, "__query">;
};
vector?: Float32Array<ArrayBuffer>;
vector?: boolean;
/**
* ### The Function to be used to generate the vector.
* Eg. `vec_f32`. This will come out as `vec_f32(?)`
* instead of just `?`
*/
vectorFunction?: string;
};
export type ServerQueryQueryObject<T extends object = {
[key: string]: any;