Updates
This commit is contained in:
+17
-3
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user