import { lazy } from "@/util/lazy"
import { createIndexingRoutes } from "@saeeol/indexing/server"

export const IndexingRoutes = lazy(() =>
  createIndexingRoutes({
    current: async () => {
      const mod = await import("@/saeeol/indexing")
      return mod.SaeeolIndexing.current()
    },
  }),
)
