feat(order): order change actions engine (#6467)

This commit is contained in:
Carlos R. L. Rodrigues
2024-02-29 16:22:14 -03:00
committed by GitHub
parent cdb01e073b
commit 03ca5c814e
70 changed files with 5727 additions and 992 deletions
@@ -50,6 +50,14 @@ export function buildQuery<T = any, TDto = any>(
}
}
if (config.filters) {
findOptions.filters ??= {}
for (const [key, value] of Object.entries(config.filters)) {
findOptions.filters[key] = value
}
}
return { where, options: findOptions }
}