| Server IP : 159.203.156.69 / Your IP : 216.73.217.172 Web Server : nginx/1.24.0 System : Linux main-ubuntu 6.8.0-71-generic #71-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 22 16:52:38 UTC 2025 x86_64 User : root ( 0) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/tanviranik.com/node_modules/vinext/dist/server/ |
Upload File : |
import { FetchCacheMode } from "../shims/fetch-cache.js";
//#region src/server/app-segment-config.d.ts
type AppRouteSegmentDynamic = "auto" | "error" | "force-dynamic" | "force-static";
type AppRouteSegmentConfigModule = {
dynamic?: unknown;
dynamicParams?: unknown;
fetchCache?: unknown;
revalidate?: unknown;
};
type EffectiveAppPageSegmentConfig = {
dynamicConfig?: AppRouteSegmentDynamic;
dynamicParamsConfig?: boolean;
fetchCache?: FetchCacheMode;
revalidateSeconds: number | null;
};
type ResolveAppPageSegmentConfigOptions = {
layouts?: readonly (AppRouteSegmentConfigModule | null | undefined)[];
page?: AppRouteSegmentConfigModule | null;
};
/**
* Resolve the route segment config that applies to an App page route.
*
* Next.js collects config from every segment in the loader tree and reduces it
* into the effective route config. The generated vinext entry already knows
* the concrete layout/page modules for a route, so it should only describe
* those modules and delegate the behavior to this helper.
*/
declare function resolveAppPageSegmentConfig(options: ResolveAppPageSegmentConfigOptions): EffectiveAppPageSegmentConfig;
declare function resolveAppPageFetchCacheMode(options: ResolveAppPageSegmentConfigOptions): FetchCacheMode | null;
//#endregion
export { resolveAppPageFetchCacheMode, resolveAppPageSegmentConfig };
//# sourceMappingURL=app-segment-config.d.ts.map