This commit is contained in:
2026-04-09 07:47:38 +01:00
parent ab6fc3be26
commit eb0721f94b
47 changed files with 826 additions and 136 deletions
+17 -3
View File
@@ -151,7 +151,7 @@ export type PageDistGenParams = {
};
export type LivePageDistGenParams = {
component: ReactNode;
component?: FC;
pageProps?: any;
module?: BunextPageModule;
root_module?: BunextRootModule;
@@ -282,7 +282,7 @@ export type BunextPageModuleMetadata = {
};
export type GrabPageComponentRes = {
component?: JSX.Element;
component?: FC;
serverRes?: BunextPageModuleServerReturn;
routeParams?: BunxRouteParams;
bundledMap?: BundlerCTXMap;
@@ -294,7 +294,7 @@ export type GrabPageComponentRes = {
export type BunextRootModule = BunextPageModule;
export type GrabPageReactBundledComponentRes = {
component: JSX.Element;
component?: FC;
server_res?: BunextPageModuleServerReturn;
tsx?: string;
};
@@ -330,3 +330,17 @@ export type BunextCacheFileMeta = {
};
export type BunextRootComponentProps = PropsWithChildren & BunextPageProps;
export type GrabTSXModuleSingleParams = {
tsx: string;
page_file_path: string;
};
export type GrabTSXModuleBatchParams = {
tsx_map: GrabTSXModuleBatchMap[];
};
export type GrabTSXModuleBatchMap = {
tsx: string;
page_file_path: string;
};