mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-16 12:37:20 +00:00
fixed schema updates to fail in nextjs envs due to lodash's merge
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import type { App } from "App";
|
||||
import type { Guard } from "auth";
|
||||
import { SchemaObject } from "core";
|
||||
import { type DebugLogger, SchemaObject } from "core";
|
||||
import type { EventManager } from "core/events";
|
||||
import type { Static, TSchema } from "core/utils";
|
||||
import {
|
||||
@@ -35,6 +35,7 @@ export type ModuleBuildContext = {
|
||||
em: EntityManager;
|
||||
emgr: EventManager<any>;
|
||||
guard: Guard;
|
||||
logger: DebugLogger;
|
||||
flags: (typeof Module)["ctx_flags"];
|
||||
};
|
||||
|
||||
|
||||
@@ -231,7 +231,8 @@ export class ModuleManager {
|
||||
em: this.em,
|
||||
emgr: this.emgr,
|
||||
guard: this.guard,
|
||||
flags: Module.ctx_flags
|
||||
flags: Module.ctx_flags,
|
||||
logger: this.logger
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user