refactor: improve type handling and config structure

Updated various type definitions to improve flexibility and maintain consistency, including `MaybePromise` and `PartialRec`. Adjusted `App` class and related configurations to properly utilize these changes.
This commit is contained in:
dswbx
2025-09-18 09:58:12 +02:00
parent 07029e3797
commit 6e3060141b
5 changed files with 15 additions and 8 deletions

View File

@@ -29,6 +29,7 @@ export {
type InitialModuleConfigs,
ModuleManagerEvents,
} from "./modules/ModuleManager";
export type * from "modules/ModuleApi";
export type { ServerEnv } from "modules/Controller";
export type { BkndConfig } from "bknd/adapter";
@@ -128,6 +129,7 @@ export type { EntityRelation } from "data/relations";
export type * from "data/entities/Entity";
export type { EntityManager } from "data/entities/EntityManager";
export type { SchemaManager } from "data/schema/SchemaManager";
export type * from "data/entities";
export {
BaseIntrospector,
Connection,