feat: add system configuration platform

This commit is contained in:
2026-07-02 00:03:27 -07:00
parent aed5c6db56
commit e3e7b0d8e0
41 changed files with 5746 additions and 405 deletions

View File

@@ -1,12 +1,15 @@
import { getCurrentAuthContext } from "@/modules/core/server/auth";
import { jsonSuccess } from "@/modules/core/server/api";
export const dynamic = "force-dynamic";
export async function GET(): Promise<Response> {
const context = await getCurrentAuthContext();
return jsonSuccess("Session loaded", {
account: context?.account ?? null,
organization: context?.organization ?? null,
membership: context?.membership ?? null,
permissions: context?.permissions ?? [],
});
}