@@ -22,7 +22,7 @@ import {
2222 ActionContext ,
2323 LoaderPlugin
2424} from '@objectql/types' ;
25- import { ObjectStackKernel , type RuntimePlugin } from '@objectstack /runtime' ;
25+ import { ObjectStackKernel , type RuntimePlugin } from '@objectql /runtime' ;
2626import { ObjectRepository } from './repository' ;
2727import { ObjectQLPlugin } from './plugin' ;
2828import { convertIntrospectedSchemaToObjects } from './util' ;
@@ -112,7 +112,7 @@ export class ObjectQL implements IObjectQL {
112112 // Delegate to kernel hook manager
113113 // We wrap the handler to bridge ObjectQL's rich context types with runtime's base types
114114 // The runtime HookContext supports all fields via index signature, so this is safe
115- const wrappedHandler = handler as unknown as import ( '@ objectstack/runtime' ) . HookHandler ;
115+ const wrappedHandler = handler as unknown as import ( '../../../ objectstack/runtime/dist ' ) . HookHandler ;
116116 this . kernel . hooks . register ( event , objectName , wrappedHandler , packageName ) ;
117117 }
118118
@@ -126,7 +126,7 @@ export class ObjectQL implements IObjectQL {
126126 // Delegate to kernel action manager
127127 // We wrap the handler to bridge ObjectQL's rich context types with runtime's base types
128128 // The runtime ActionContext supports all fields via index signature, so this is safe
129- const wrappedHandler = handler as unknown as import ( '@ objectstack/runtime' ) . ActionHandler ;
129+ const wrappedHandler = handler as unknown as import ( '../../../ objectstack/runtime/dist ' ) . ActionHandler ;
130130 this . kernel . actions . register ( objectName , actionName , wrappedHandler , packageName ) ;
131131 }
132132
0 commit comments