feat(03-01): add Module SDK package and Prisma module registry schema

- Create @tessera/module-sdk with TesseraModule, ModuleRoute, ModuleManifest, ModuleCategory types
- Add Module and TenantModuleActivation Prisma models with tenant-scoped unique constraint
- Apply migration add-module-registry to PostgreSQL
- Framework-agnostic ComponentType for lazy-loaded module UIs
This commit is contained in:
2026-06-19 12:33:55 +02:00
parent 6e2f6e7c3e
commit 8c24c1e267
7 changed files with 183 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
{
"name": "@tessera/module-sdk",
"version": "0.1.0",
"private": true,
"main": "src/index.ts",
"types": "src/index.ts",
"scripts": {
"type-check": "tsc --noEmit"
},
"devDependencies": {
"typescript": "^5.5.0"
}
}