feat: outline of processor

This commit is contained in:
Elias Renman
2023-06-17 12:58:16 +02:00
parent 90c1d1fb5f
commit 668524832e
8 changed files with 226 additions and 182 deletions

View File

@@ -34,6 +34,8 @@ function readMoistureLevels() {
});
}
export type MositureRow = Awaited<ReturnType<typeof insertRows>>[number];
async function insertRows(data: MoistureResponse | undefined) {
if (!data) {
return [];