File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1111 */
1212
1313import { ObjectKernel , DriverPlugin , AppPlugin } from '@objectstack/runtime' ;
14- import { ObjectQLPlugin } from '@objectstack/objectql' ;
14+ import { ObjectQLPlugin , ObjectQL } from '@objectstack/objectql' ;
1515import { TursoDriver } from '@objectstack/driver-turso' ;
1616import { InMemoryDriver } from '@objectstack/driver-memory' ;
1717import { createHonoApp } from '@objectstack/hono' ;
@@ -84,7 +84,7 @@ async function ensureKernel(): Promise<ObjectKernel> {
8484 await kernel . use ( new DriverPlugin ( tursoDriver , 'turso' ) ) ;
8585
8686 // Configure datasource mapping: sys namespace → Turso, everything else → Memory
87- const ql = await kernel . getServiceAsync < any > ( 'objectql' ) ;
87+ const ql = await kernel . getServiceAsync < ObjectQL > ( 'objectql' ) ;
8888 if ( ql && typeof ql . setDatasourceMapping === 'function' ) {
8989 ql . setDatasourceMapping ( [
9090 // System objects (sys namespace) use Turso for persistent storage
You can’t perform that action at this time.
0 commit comments