Compare commits
No commits in common. "412871842f2816d3ab0d9fac8499b87153896cfb" and "7e66353da107d536c3a527814fb92d2f037afdef" have entirely different histories.
412871842f
...
7e66353da1
3 changed files with 1 additions and 8 deletions
|
@ -12,7 +12,6 @@ export default abstract class QueryStoreFactory {
|
|||
id: record.id,
|
||||
title: record.title,
|
||||
query: record.query.startsWith("{") ? JSON.parse(record.query) : record.query,
|
||||
updatedAt: record.updatedAt,
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -349,12 +349,7 @@ export default abstract class BackupHelper {
|
|||
"member.birthdate",
|
||||
"member.internalId",
|
||||
])
|
||||
.addSelect([
|
||||
...(collectIds ? ["recipientsByQuery.id"] : []),
|
||||
"recipientsByQuery.title",
|
||||
"recipientsByQuery.query",
|
||||
"recipientsByQuery.updatedAt",
|
||||
])
|
||||
.addSelect([...(collectIds ? ["query.id"] : []), "recipientsByQuery.title", "recipientsByQuery.query"])
|
||||
.getMany()
|
||||
.then((res: any) =>
|
||||
res.map((n: any) => ({
|
||||
|
|
|
@ -4,5 +4,4 @@ export interface QueryStoreViewModel {
|
|||
id: string;
|
||||
title: string;
|
||||
query: string | DynamicQueryStructure;
|
||||
updatedAt: Date;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue