fix: remove Data from FreshContext (#2473)

This is now only on `PageProps`.
This commit is contained in:
Luca Casonato
2024-05-31 13:50:28 +02:00
committed by GitHub
parent dc283a137b
commit 8d85945da6
16 changed files with 131 additions and 124 deletions
+6 -6
View File
@@ -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