From eced53f10c3c2be148c74575d537440a8ff2a750 Mon Sep 17 00:00:00 2001 From: Florian Salis Date: Tue, 14 Jan 2025 15:26:03 +0100 Subject: [PATCH] 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 --- index.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/index.js b/index.js index 31b6e049..256d0655 100644 --- a/index.js +++ b/index.js @@ -1,11 +1,15 @@ import { prepareModuleHashMap } from './src/init/prepareModuleHashMap' import { initJsonApiPlugin } from './src/init/initJsonApiPlugin' +import { Route } from './src/route/Route' +import { StaticRoute } from './src/route/StaticRoute' import { StaticRouter } from './src/route/StaticRouter' import { JsonApiRouter } from './src/route/JsonApiRouter' import { FosJsRoutingRouter } from './src/route/FosJsRoutingRouter' export { initJsonApiPlugin, + Route, + StaticRoute, StaticRouter, JsonApiRouter, FosJsRoutingRouter,