feat: frontend PWA scaffolding with React and Tailwind

This commit is contained in:
Daniel Bedeleanu
2026-04-10 14:05:50 +03:00
parent 373652e8b8
commit 7f8b24aabb
33622 changed files with 4317382 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
import type { DynamicParamTypesShort } from '../server/app-render/types';
import type { NormalizedSearch } from './components/segment-cache';
import type { RSCResponse } from './components/router-reducer/fetch-server-response';
export type RouteParamValue = string | Array<string> | null;
export type RouteParam = {
name: string;
value: RouteParamValue;
type: DynamicParamTypesShort;
};
export declare function getRenderedSearch(response: RSCResponse): NormalizedSearch;
export declare function getRenderedPathname(response: RSCResponse): string;
export declare function parseDynamicParamFromURLPart(paramType: DynamicParamTypesShort, pathnameParts: Array<string>, partIndex: number): RouteParamValue;
export declare function doesStaticSegmentAppearInURL(segment: string): boolean;
export declare function getCacheKeyForDynamicParam(paramValue: RouteParamValue, renderedSearch: NormalizedSearch): string;
export declare function urlToUrlWithoutFlightMarker(url: URL): URL;
export declare function getParamValueFromCacheKey(paramCacheKey: string, paramType: DynamicParamTypesShort): string | string[];