fix(build): migrate smartconfig metadata and refresh build dependencies

This commit is contained in:
2026-03-26 08:02:04 +00:00
parent c65c285296
commit 97e8298dcd
10 changed files with 1669 additions and 3735 deletions

View File

@@ -47,7 +47,7 @@ export class AggregationEngine {
const cursor = aggregator.stream(documents);
for (const doc of cursor) {
yield doc;
yield doc as Document;
}
}

View File

@@ -297,7 +297,7 @@ export class AggregateHandler implements ICommandHandler {
const existingDocs = await storage.findAll(targetDb, targetColl);
const onFields = Array.isArray(on) ? on : [on];
let matchingDoc = null;
let matchingDoc: plugins.bson.Document | null = null;
for (const existing of existingDocs) {
let matches = true;
for (const field of onFields) {