fix: remove Data from FreshContext (#2473)
This is now only on `PageProps`.
This commit is contained in:
+6
-6
@@ -9,14 +9,14 @@ export {
|
||||
type RouteData,
|
||||
type RouteHandler,
|
||||
} from "./handlers.ts";
|
||||
export { type RouteConfig } from "./types.ts";
|
||||
export { type Middleware, type MiddlewareFn } from "./middlewares/mod.ts";
|
||||
export type { RouteConfig } from "./types.ts";
|
||||
export type { Middleware, MiddlewareFn } from "./middlewares/mod.ts";
|
||||
export { staticFiles } from "./middlewares/static_files.ts";
|
||||
export { type Mode, type PageProps } from "./runtime/server/mod.tsx";
|
||||
export { type FreshConfig, type ResolvedFreshConfig } from "./config.ts";
|
||||
export { type FreshContext, type Island } from "./context.ts";
|
||||
export type { Mode } from "./runtime/server/mod.ts";
|
||||
export type { FreshConfig, ResolvedFreshConfig } from "./config.ts";
|
||||
export type { FreshContext, Island, PageProps } from "./context.ts";
|
||||
export { createDefine, type Define } from "./define.ts";
|
||||
export { type Method } from "./router.ts";
|
||||
export type { Method } from "./router.ts";
|
||||
export { HttpError } from "./error.ts";
|
||||
|
||||
// Compat with older Fresh versions
|
||||
|
||||
Reference in New Issue
Block a user