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
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>
12 lines
944 B
TypeScript
12 lines
944 B
TypeScript
import type { FlightRouterState, Segment } from './app-router-types';
|
|
export declare function getSegmentValue(segment: Segment): string;
|
|
export declare function isGroupSegment(segment: string): boolean;
|
|
export declare function isParallelRouteSegment(segment: string): boolean;
|
|
export declare function addSearchParamsIfPageSegment(segment: Segment, searchParams: Record<string, string | string[] | undefined>): Segment;
|
|
export declare function computeSelectedLayoutSegment(segments: string[] | null, parallelRouteKey: string): string | null;
|
|
/** Get the canonical parameters from the current level to the leaf node. */
|
|
export declare function getSelectedLayoutSegmentPath(tree: FlightRouterState, parallelRouteKey: string, first?: boolean, segmentPath?: string[]): string[];
|
|
export declare const PAGE_SEGMENT_KEY = "__PAGE__";
|
|
export declare const DEFAULT_SEGMENT_KEY = "__DEFAULT__";
|
|
export declare const NOT_FOUND_SEGMENT_KEY = "/_not-found";
|