initial commit. phase 1 complete

This commit is contained in:
2026-05-05 20:45:19 +02:00
parent d9c68313a0
commit 89e058ffac
20631 changed files with 3224610 additions and 43 deletions
@@ -0,0 +1,26 @@
/// <reference types="react" />
import type { FlightDataPath, FlightRouterState } from './types';
import type { LoaderTree } from '../lib/app-dir-module';
import type { CreateSegmentPath, AppRenderContext } from './app-render';
/**
* Use router state to decide at what common layout to render the page.
* This can either be the common layout between two pages or a specific place to start rendering from using the "refetch" marker in the tree.
*/
export declare function walkTreeWithFlightRouterState({ createSegmentPath, loaderTreeToFilter, parentParams, isFirst, flightRouterState, parentRendered, rscPayloadHead, injectedCSS, injectedJS, injectedFontPreloadTags, rootLayoutIncluded, asNotFound, metadataOutlet, ctx, }: {
createSegmentPath: CreateSegmentPath;
loaderTreeToFilter: LoaderTree;
parentParams: {
[key: string]: string | string[];
};
isFirst: boolean;
flightRouterState?: FlightRouterState;
parentRendered?: boolean;
rscPayloadHead: React.ReactNode;
injectedCSS: Set<string>;
injectedJS: Set<string>;
injectedFontPreloadTags: Set<string>;
rootLayoutIncluded: boolean;
asNotFound?: boolean;
metadataOutlet: React.ReactNode;
ctx: AppRenderContext;
}): Promise<FlightDataPath[]>;