Download projects/gemini-cli/packages/cli/src/config/extensions/variableSchema.ts from LevelUp2x/adaptai: direct link, hf CLI and curl.
- Browser
- Download file 624 Bytes
-
https://huggingface.co/datasets/LevelUp2x/adaptai/resolve/2147bc06c2ccf123b96f98eace2e6bf6486e7f0e/projects/gemini-cli/packages/cli/src/config/extensions/variableSchema.ts
- Command line
-
hf download hf://datasets/LevelUp2x/adaptai@2147bc06c2ccf123b96f98eace2e6bf6486e7f0e/projects/gemini-cli/packages/cli/src/config/extensions/variableSchema.ts
-
curl -L -o variableSchema.ts https://huggingface.co/datasets/LevelUp2x/adaptai/resolve/2147bc06c2ccf123b96f98eace2e6bf6486e7f0e/projects/gemini-cli/packages/cli/src/config/extensions/variableSchema.ts
624 Bytes
| /** | |
| * @license | |
| * Copyright 2025 Google LLC | |
| * SPDX-License-Identifier: Apache-2.0 | |
| */ | |
| export interface VariableDefinition { | |
| type: 'string'; | |
| description: string; | |
| default?: string; | |
| required?: boolean; | |
| } | |
| export interface VariableSchema { | |
| [key: string]: VariableDefinition; | |
| } | |
| const PATH_SEPARATOR_DEFINITION = { | |
| type: 'string', | |
| description: 'The path separator.', | |
| } as const; | |
| export const VARIABLE_SCHEMA = { | |
| extensionPath: { | |
| type: 'string', | |
| description: 'The path of the extension in the filesystem.', | |
| }, | |
| '/': PATH_SEPARATOR_DEFINITION, | |
| pathSeparator: PATH_SEPARATOR_DEFINITION, | |
| } as const; | |