mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-17 12:56:05 +00:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user