Download next.js/packages/next/src/server/route-definitions/route-definition.ts from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 522 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/packages/next/src/server/route-definitions/route-definition.ts
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/packages/next/src/server/route-definitions/route-definition.ts
-
curl -L -o route-definition.ts https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/packages/next/src/server/route-definitions/route-definition.ts
522 Bytes
| import type { RouteKind } from '../route-kind' | |
| export interface RouteDefinition<K extends RouteKind = RouteKind> { | |
| readonly kind: K | |
| readonly bundlePath: string | |
| readonly filename: string | |
| /** | |
| * Describes the pathname including all internal modifiers such as | |
| * intercepting routes, parallel routes and route/page suffixes that are not | |
| * part of the pathname. | |
| */ | |
| readonly page: string | |
| /** | |
| * The pathname (including dynamic placeholders) for a route to resolve. | |
| */ | |
| readonly pathname: string | |
| } | |