Add ability to view source for datasets

This commit is contained in:
Dominic Ferrando
2026-07-10 14:11:42 -04:00
parent 6d4d5f83b7
commit 0d9f8d0d01
8 changed files with 333 additions and 14 deletions
+6
View File
@@ -168,6 +168,12 @@ export const app = new Elysia()
}, {
params: t.Object({ id: t.String() })
})
.patch("/datasets/:id", async ({ params: { id }, body: { name } }) => {
await s.Standards.Datasets.update(id, name);
}, {
params: t.Object({ id: t.String() }),
body: t.Object({ name: t.String() })
})
)
// COMMERCE