rag-context-optimizer / frontend /node_modules /next /dist /server /lib /router-utils /decode-path-params.d.ts
Download frontend/node_modules/next/dist/server/lib/router-utils/decode-path-params.d.ts from netzkontrast/rag-context-optimizer: direct link, hf CLI and curl.
- Browser
- Download file 345 Bytes
-
https://huggingface.co/spaces/netzkontrast/rag-context-optimizer/resolve/main/frontend/node_modules/next/dist/server/lib/router-utils/decode-path-params.d.ts
- Command line
-
hf download hf://spaces/netzkontrast/rag-context-optimizer/frontend/node_modules/next/dist/server/lib/router-utils/decode-path-params.d.ts
-
curl -L -o decode-path-params.d.ts https://huggingface.co/spaces/netzkontrast/rag-context-optimizer/resolve/main/frontend/node_modules/next/dist/server/lib/router-utils/decode-path-params.d.ts
345 Bytes
| /** | |
| * We only encode path delimiters for path segments from | |
| * getStaticPaths so we need to attempt decoding the URL | |
| * to match against and only escape the path delimiters | |
| * this allows non-ascii values to be handled e.g. | |
| * Japanese characters. | |
| * */ | |
| declare function decodePathParams(pathname: string): string; | |
| export { decodePathParams }; | |