Spaces:
Paused
Paused
Download node_modules/graphql/utilities/assertValidName.d.ts from sam522/GenAI_Course: direct link, hf CLI and curl.
- Browser
- Download file 444 Bytes
-
https://huggingface.co/spaces/sam522/GenAI_Course/resolve/bbf0eafbb40cb551e2f40f8ad8a90a585be08221/node_modules/graphql/utilities/assertValidName.d.ts
- Command line
-
hf download hf://spaces/sam522/GenAI_Course@bbf0eafbb40cb551e2f40f8ad8a90a585be08221/node_modules/graphql/utilities/assertValidName.d.ts
-
curl -L -o assertValidName.d.ts https://huggingface.co/spaces/sam522/GenAI_Course/resolve/bbf0eafbb40cb551e2f40f8ad8a90a585be08221/node_modules/graphql/utilities/assertValidName.d.ts
444 Bytes
| import { GraphQLError } from '../error/GraphQLError'; | |
| /** | |
| * Upholds the spec rules about naming. | |
| * @deprecated Please use `assertName` instead. Will be removed in v17 | |
| */ | |
| export declare function assertValidName(name: string): string; | |
| /** | |
| * Returns an Error if a name is invalid. | |
| * @deprecated Please use `assertName` instead. Will be removed in v17 | |
| */ | |
| export declare function isValidNameError( | |
| name: string, | |
| ): GraphQLError | undefined; | |