webiny-api-tenancy-catalog
webiny/webiny-js
This comprehensive API provides a structured set of abstractions for managing the entire lifecycle of tenants within a multi-tenant application. It includes dedicated use cases (e.g., CreateTenantUseCase, DeleteTenantUseCase), repositories for data persistence, and extensive event handlers (Before/After hooks) to hook into critical moments like creation, update, and deletion. It is essential for building robust, scalable, and event-driven multi-tenant systems.