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,
|
id: record.id,
|
||||||
title: record.title,
|
title: record.title,
|
||||||
query: record.query.startsWith("{") ? JSON.parse(record.query) : record.query,
|
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.birthdate",
|
||||||
"member.internalId",
|
"member.internalId",
|
||||||
])
|
])
|
||||||
.addSelect([
|
.addSelect([...(collectIds ? ["query.id"] : []), "recipientsByQuery.title", "recipientsByQuery.query"])
|
||||||
...(collectIds ? ["recipientsByQuery.id"] : []),
|
|
||||||
"recipientsByQuery.title",
|
|
||||||
"recipientsByQuery.query",
|
|
||||||
"recipientsByQuery.updatedAt",
|
|
||||||
])
|
|
||||||
.getMany()
|
.getMany()
|
||||||
.then((res: any) =>
|
.then((res: any) =>
|
||||||
res.map((n: any) => ({
|
res.map((n: any) => ({
|
||||||
|
|
|
@ -4,5 +4,4 @@ export interface QueryStoreViewModel {
|
||||||
id: string;
|
id: string;
|
||||||
title: string;
|
title: string;
|
||||||
query: string | DynamicQueryStructure;
|
query: string | DynamicQueryStructure;
|
||||||
updatedAt: Date;
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue