Init: RoggioApp Architecture, Prisma Schema, API MVP

This commit is contained in:
Clara Zetkin
2026-04-26 19:42:42 +02:00
commit 193b29e8a9
5256 changed files with 1446953 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
// src/adapter/netlify/conninfo.ts
var getConnInfo = (c) => ({
remote: {
address: c.env.context?.ip
}
});
export {
getConnInfo
};
+9
View File
@@ -0,0 +1,9 @@
// src/adapter/netlify/handler.ts
var handle = (app) => {
return (req, context) => {
return app.fetch(req, { context });
};
};
export {
handle
};
+2
View File
@@ -0,0 +1,2 @@
// src/adapter/netlify/index.ts
export * from "./mod.js";
+7
View File
@@ -0,0 +1,7 @@
// src/adapter/netlify/mod.ts
import { handle } from "./handler.js";
import { getConnInfo } from "./conninfo.js";
export {
getConnInfo,
handle
};