Upgraded dependencies, bumped to Node 24.

This commit is contained in:
2026-07-12 05:27:14 +02:00
parent 2d4786a4fd
commit d745b10d24
181 changed files with 18720 additions and 23134 deletions
+8
View File
@@ -8,3 +8,11 @@ mantiClient.basePath = `http://${config.database.manticore.host}:${config.databa
export const searchApi = new manticore.SearchApi(mantiClient);
export const indexApi = new manticore.IndexApi(mantiClient);
export const utilsApi = new manticore.UtilsApi();
// manticoresearch v10's utilsApi.sql() wraps the response in a `SqlResponse` oneOf model instead of
// returning the parsed array/object directly; unwrap it to keep the previous plain data shape.
export async function querySql(query) {
const response = await utilsApi.sql(query);
return response.getActualInstance();
}