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
+14
View File
@@ -0,0 +1,14 @@
/**
* @tessera/module-sdk
*
* Public API for the Tessera module system.
* All module implementations should import types from this package.
*/
export type {
ComponentType,
ModuleCategory,
HttpMethod,
ModuleRoute,
TesseraModule,
ModuleManifest,
} from './types';