77} from "preact" ;
88import { renderToString } from "preact-render-to-string" ;
99import { SpanStatusCode } from "@opentelemetry/api" ;
10- import type { ResolvedFreshConfig } from "./config.ts" ;
10+ import type { FreshConfig } from "./config.ts" ;
1111import type { BuildCache } from "./build_cache.ts" ;
1212import {
1313 FreshScripts ,
@@ -32,7 +32,7 @@ export type ServerIslandRegistry = Map<ComponentType, Island>;
3232 */
3333export interface FreshContext < State = unknown > {
3434 /** Reference to the resolved Fresh configuration */
35- readonly config : ResolvedFreshConfig ;
35+ readonly config : FreshConfig ;
3636 readonly state : State ;
3737 /** The original incoming `Request` object` */
3838 readonly req : Request ;
@@ -90,7 +90,7 @@ export let getBuildCache: (ctx: FreshContext<unknown>) => BuildCache;
9090
9191export class FreshReqContext < State >
9292 implements FreshContext < State > , PageProps < unknown , State > {
93- config : ResolvedFreshConfig ;
93+ config : FreshConfig ;
9494 url : URL ;
9595 req : Request ;
9696 params : Record < string , string > ;
@@ -116,7 +116,7 @@ export class FreshReqContext<State>
116116 url : URL ,
117117 info : Deno . ServeHandlerInfo ,
118118 params : Record < string , string > ,
119- config : ResolvedFreshConfig ,
119+ config : FreshConfig ,
120120 next : FreshContext < State > [ "next" ] ,
121121 islandRegistry : ServerIslandRegistry ,
122122 buildCache : BuildCache ,
0 commit comments