UNPKG

@sentry/remix

Version:
32 lines 754 B
/** * Information about a single route in the manifest */ export type RouteInfo = { /** * The parameterized route path, e.g. "/users/:id" * This is what gets returned by the parameterization function. */ path: string; /** * (Optional) The regex pattern for dynamic routes */ regex?: string; /** * (Optional) The names of dynamic parameters in the route */ paramNames?: string[]; }; /** * The manifest containing all routes discovered in the app */ export type RouteManifest = { /** * List of all dynamic routes */ dynamicRoutes: RouteInfo[]; /** * List of all static routes */ staticRoutes: RouteInfo[]; }; //# sourceMappingURL=remixRouteManifest.d.ts.map