Spaces:
Paused
Paused
Download node_modules/graphql/jsutils/Path.d.ts from sam522/GenAI_Course: direct link, hf CLI and curl.
- Browser
- Download file 538 Bytes
-
https://huggingface.co/spaces/sam522/GenAI_Course/resolve/bbf0eafbb40cb551e2f40f8ad8a90a585be08221/node_modules/graphql/jsutils/Path.d.ts
- Command line
-
hf download hf://spaces/sam522/GenAI_Course@bbf0eafbb40cb551e2f40f8ad8a90a585be08221/node_modules/graphql/jsutils/Path.d.ts
-
curl -L -o Path.d.ts https://huggingface.co/spaces/sam522/GenAI_Course/resolve/bbf0eafbb40cb551e2f40f8ad8a90a585be08221/node_modules/graphql/jsutils/Path.d.ts
538 Bytes
| import type { Maybe } from './Maybe'; | |
| export interface Path { | |
| readonly prev: Path | undefined; | |
| readonly key: string | number; | |
| readonly typename: string | undefined; | |
| } | |
| /** | |
| * Given a Path and a key, return a new Path containing the new key. | |
| */ | |
| export declare function addPath( | |
| prev: Readonly<Path> | undefined, | |
| key: string | number, | |
| typename: string | undefined, | |
| ): Path; | |
| /** | |
| * Given a Path, return an Array of the path keys. | |
| */ | |
| export declare function pathToArray( | |
| path: Maybe<Readonly<Path>>, | |
| ): Array<string | number>; | |