File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -14,9 +14,15 @@ import * as MSWPluginPkg from '@objectstack/plugin-msw';
1414import * as ObjectQLPluginPkg from '@objectstack/objectql' ;
1515// @ts -ignore
1616import * as HonoServerPluginPkg from '@objectstack/plugin-hono-server' ;
17+ // @ts -ignore
18+ import * as DriverMemoryPkg from '@objectstack/driver-memory' ;
19+ // @ts -ignore
20+ import * as RuntimePkg from '@objectstack/runtime' ;
1721
1822const MSWPlugin = MSWPluginPkg . MSWPlugin || ( MSWPluginPkg as any ) . default ?. MSWPlugin || ( MSWPluginPkg as any ) . default ;
1923const ObjectQLPlugin = ObjectQLPluginPkg . ObjectQLPlugin || ( ObjectQLPluginPkg as any ) . default ?. ObjectQLPlugin || ( ObjectQLPluginPkg as any ) . default ;
24+ const InMemoryDriver = DriverMemoryPkg . InMemoryDriver || ( DriverMemoryPkg as any ) . default ?. InMemoryDriver || ( DriverMemoryPkg as any ) . default ;
25+ const DriverPlugin = RuntimePkg . DriverPlugin || ( RuntimePkg as any ) . default ?. DriverPlugin || ( RuntimePkg as any ) . default ;
2026// const HonoServerPlugin = HonoServerPluginPkg.HonoServerPlugin || (HonoServerPluginPkg as any).default?.HonoServerPlugin || (HonoServerPluginPkg as any).default;
2127
2228import ConsolePluginConfig from './plugin.js' ;
@@ -100,6 +106,7 @@ const FixedConsolePlugin = {
100106
101107const plugins : any [ ] = [
102108 new ObjectQLPlugin ( ) ,
109+ new DriverPlugin ( new InMemoryDriver ( ) , 'memory' ) ,
103110 // new MSWPlugin(), // Disabled in production mode
104111 // HonoServerPlugin is auto-detected
105112 FixedConsolePlugin
You can’t perform that action at this time.
0 commit comments