feat(payment): update payment collection status (#7335)

This commit is contained in:
Carlos R. L. Rodrigues authored and GitHub committed 2024-05-15 15:11:40 +00:00
1 parent 774696845c
commit 7c4f4d7388
8 files changed
+384 -33

No files matched your search

+5
View File
@@ -110,6 +110,11 @@ export interface FindConfig<Entity> {
* Enable ORM specific defined filters
*/
filters?: Record<string, any>
/**
* Enable ORM specific defined options
*/
options?: Record<string, any>
}
/**
@@ -66,6 +66,10 @@ export function buildQuery<T = any, TDto = any>(
}
}
if (config.options) {
Object.assign(findOptions, config.options)
}
return { where, options: findOptions }
}