Work on materialized queries

This commit is contained in:
Zef Hemel
2022-03-29 17:02:28 +02:00
parent c6628927ba
commit c268fa9f27
9 changed files with 273 additions and 17 deletions
+6 -6
View File
@@ -11,9 +11,9 @@ import {EndpointHook, EndpointHookT} from "../hooks/endpoint";
import {safeRun} from "../util";
import knex from "knex";
import {
ensureTable,
storeReadSyscalls,
storeWriteSyscalls,
ensureTable,
storeReadSyscalls,
storeWriteSyscalls,
} from "../syscalls/store.knex_node";
import {fetchSyscalls} from "../syscalls/fetch.node";
import {EventHook, EventHookT} from "../hooks/event";
@@ -21,13 +21,13 @@ import {eventSyscalls} from "../syscalls/event";
let args = yargs(hideBin(process.argv))
.option("port", {
type: "number",
default: 1337,
type: "number",
default: 1337,
})
.parse();
if (!args._.length) {
console.error("Usage: plugos-server <path-to-plugs>");
console.error("Usage: plugos-server <path-to-plugs>");
process.exit(1);
}