Compare commits

..

No commits in common. "412871842f2816d3ab0d9fac8499b87153896cfb" and "7e66353da107d536c3a527814fb92d2f037afdef" have entirely different histories.

3 changed files with 1 additions and 8 deletions

View file

@ -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,
}; };
} }

View file

@ -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) => ({

View file

@ -4,5 +4,4 @@ export interface QueryStoreViewModel {
id: string; id: string;
title: string; title: string;
query: string | DynamicQueryStructure; query: string | DynamicQueryStructure;
updatedAt: Date;
} }