valor-interview
Version:
CLI tool for downloading Valor interview challenges
54 lines • 1.64 kB
TypeScript
/**
* Application configuration constants
* All values are set at build time and cannot be changed at runtime
*/
export declare const CONFIG: {
/**
* GitHub repository URL containing challenges
*/
readonly CHALLENGES_REPO_URL: "https://github.com/ryok90/valor-interview.git";
/**
* Directory structure within the repository
*/
readonly PATHS: {
/** Directory containing challenges within the repository */
readonly CHALLENGES_DIR: "challenges";
/** Prefix for temporary directories */
readonly TEMP_DIR_PREFIX: "valor-challenges-";
};
/**
* Git configuration
*/
readonly GIT: {
/** Default branch to clone */
readonly DEFAULT_BRANCH: "main";
/** Maximum clone depth for performance */
readonly CLONE_DEPTH: 1;
};
/**
* GitHub API configuration
*/
readonly GITHUB: {
/** Base URL for GitHub API */
readonly API_BASE: "https://api.github.com";
/** Base URL for raw file content */
readonly RAW_BASE: "https://raw.githubusercontent.com";
};
/**
* Performance and feature flags
*/
readonly FEATURES: {
/** Enable sparse checkout for better performance */
readonly USE_SPARSE_CHECKOUT: true;
/** Filter out node_modules during file operations */
readonly FILTER_NODE_MODULES: true;
};
};
/**
* Derived configuration values
*/
export declare const DERIVED_CONFIG: {
/** Full GitHub API URL for the configured repository */
readonly REPO_API_URL: string | null;
};
//# sourceMappingURL=config.d.ts.map