UNPKG

long-git-cli

Version:

A CLI tool for Git tag management.

51 lines 1.36 kB
/** * 自动化部署功能的常量定义 */ /** * 配置文件存储路径 */ export declare const CONFIG_DIR: string; export declare const CONFIG_FILE: string; /** * 配置版本 */ export declare const CONFIG_VERSION = "1.0.0"; /** * Web UI 服务器配置 */ export declare const WEB_UI_PORT = 3456; export declare const WEB_UI_HOST = "localhost"; /** * Bitbucket API 配置 */ export declare const BITBUCKET_API_BASE_URL = "https://api.bitbucket.org/2.0"; export declare const BITBUCKET_POLL_INTERVAL = 15000; export declare const BITBUCKET_TIMEOUT: number; /** * Jenkins API 配置 */ export declare const JENKINS_POLL_INTERVAL = 10000; export declare const JENKINS_TIMEOUT: number; /** * 支持的环境列表 */ export declare const SUPPORTED_ENVIRONMENTS: readonly ["test-01", "test-02", "test-03", "test-04", "uat"]; /** * 支持的 Jenkins 实例类型 */ export declare const JENKINS_INSTANCE_TYPES: readonly ["app", "pcalpha"]; /** * 默认 Tag 格式 */ export declare const DEFAULT_TAG_FORMATS: { readonly "test-01": "test-v00.00.0000"; readonly "test-02": "test-v00.00.0000"; readonly "test-03": "test-v00.00.0000"; readonly "test-04": "test-v00.00.0000"; readonly uat: "uat-v00.00.0000"; }; /** * bcrypt 加密轮数 */ export declare const BCRYPT_ROUNDS = 10; //# sourceMappingURL=constants.d.ts.map