Skip to content

Commit eced53f

Browse files
committed
chore: expose Route and StaticRoute
to allow adding routes on the fly to the store by using the same Class instance even if the call comes from an external source
1 parent ecf23a4 commit eced53f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
import { prepareModuleHashMap } from './src/init/prepareModuleHashMap'
22
import { initJsonApiPlugin } from './src/init/initJsonApiPlugin'
3+
import { Route } from './src/route/Route'
4+
import { StaticRoute } from './src/route/StaticRoute'
35
import { StaticRouter } from './src/route/StaticRouter'
46
import { JsonApiRouter } from './src/route/JsonApiRouter'
57
import { FosJsRoutingRouter } from './src/route/FosJsRoutingRouter'
68

79
export {
810
initJsonApiPlugin,
11+
Route,
12+
StaticRoute,
913
StaticRouter,
1014
JsonApiRouter,
1115
FosJsRoutingRouter,

0 commit comments

Comments
 (0)