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,
title: record.title,
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.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) => ({

View file

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