hatch-surf/node_modules/next/dist/build/static-paths/app/extract-pathname-route-param-segments-from-loader-tree.d.ts
Riley Zhang df378d33ef
Some checks failed
CI / go (push) Waiting to run
CI / docker (push) Waiting to run
CI / lint-go (push) Waiting to run
CI / lint-docs (push) Waiting to run
CI / check-paperclip (push) Waiting to run
Deploy static site / Deploy to GitHub Pages (push) Has been cancelled
Deploy static site / Deploy via Docker to hatch.surf (push) Has been cancelled
Merge GitHub main into Gitea repo (allow unrelated histories)
Resolved conflicts by taking GitHub versions for:
- .dockerignore, .gitignore, Dockerfile, README.md, docker-compose.yml

Kept deploy.sh updated to:
- Pull from GitHub (primary source)
- Push to Gitea (push-mirror)
- Build from site/ directory (GitHub structure)

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-06-25 05:20:46 +02:00

21 lines
951 B
TypeScript

import type { LoaderTree } from '../../../server/lib/app-dir-module';
import type { Params } from '../../../server/request/params';
import type { DynamicParamTypes } from '../../../shared/lib/app-router-types';
import { type NormalizedAppRoute } from '../../../shared/lib/router/routes/app';
/**
* Extracts pathname route param segments from a loader tree and resolves
* parameter values from static segments in the route.
*
* @param loaderTree - The loader tree structure containing route hierarchy
* @param route - The target route to match against
* @returns Object containing pathname route param segments and resolved params
*/
export declare function extractPathnameRouteParamSegmentsFromLoaderTree(loaderTree: LoaderTree, route: NormalizedAppRoute): {
pathnameRouteParamSegments: Array<{
readonly name: string;
readonly paramName: string;
readonly paramType: DynamicParamTypes;
}>;
params: Params;
};