This commit is contained in:
2026-04-18 11:17:13 +01:00
parent 9a427412f3
commit b2e92e5792
24 changed files with 134 additions and 45 deletions
+3 -1
View File
@@ -190,7 +190,9 @@ export type BunextPageServerFn<T extends {
[k: string]: any;
} = {
[k: string]: any;
}> = (ctx: Omit<BunxRouteParams, "body">) => Promise<BunextPageModuleServerReturn<T>>;
}> = (ctx: Omit<BunxRouteParams, "body"> & {
props?: any;
}) => Promise<BunextPageModuleServerReturn<T>>;
export type BunextRouteConfig = {
/**
* Whether to cache the current page