@@ -46,7 +46,8 @@ The kernel manages plugin lifecycle and provides core services.
4646** API:**
4747``` typescript
4848import { ObjectKernel } from ' @objectstack/core' ;
49- import { ObjectQLPlugin , DriverPlugin } from ' @objectstack/runtime' ;
49+ import { DriverPlugin } from ' @objectstack/runtime' ;
50+ import { ObjectQLPlugin } from ' @objectstack/objectql' ;
5051
5152const kernel = new ObjectKernel ();
5253
@@ -137,7 +138,8 @@ interface PluginContext {
137138Registers the ObjectQL query engine as a service.
138139
139140``` typescript
140- import { ObjectKernel , ObjectQLPlugin } from ' @objectstack/runtime' ;
141+ import { ObjectKernel } from ' @objectstack/core' ;
142+ import { ObjectQLPlugin } from ' @objectstack/objectql' ;
141143
142144const kernel = new ObjectKernel ();
143145
@@ -317,7 +319,8 @@ await kernel.bootstrap();
317319### Integration Tests
318320
319321``` typescript
320- import { describe , it , expect } from ' vitest' ;
322+ import { describe , it } from ' @objectstack/runtime' ;
323+ import { ObjectQLPlugin } from ' @objectstack/objectql
321324import { ObjectKernel , ObjectQLPlugin } from ' @objectstack/runtime' ;
322325
323326describe (' MyPlugin' , () => {
@@ -432,7 +435,8 @@ await ql.loadObjects([Account, Contact]);
432435```
433436
434437### After (MicroKernel)
435-
438+ DriverPlugin } from '@objectstack/runtime ';
439+ import { ObjectQLPlugin } from ' @objectstack/objectql
436440``` typescript
437441import { ObjectKernel , ObjectQLPlugin , DriverPlugin } from ' @objectstack/runtime' ;
438442
0 commit comments