Return project timestamps

This commit is contained in:
D. Berge
2025-08-22 00:04:21 +02:00
parent a68000eac6
commit c39afc1f3c

View File

@@ -36,8 +36,16 @@ async function fetchErrors (pid) {
}
async function groupTimestamps (groupName) {
const projects = await groups()?.[groupName];
if (projects?.length) {
}
}
async function groups () {
const projects = await db.project.get();
const projects = await db.project.get({timestamps: true});
const groupNames = [
...projects
.reduce( (acc, cur) => acc.add(...cur.groups), new Set() )