UNPKG

@apistudio/apim-cli

Version:

CLI for API Management Products

41 lines 2.28 kB
/** * Copyright IBM Corp. 2024, 2025 */ export declare class AppConstants { static readonly KIND_FILE = "file"; static readonly KIND_DIRECTORY = "directory"; static readonly STUDIO_PROJECT_FILENAME = ".apistudio-projects"; static readonly CRSWAP_FILE = ".crswap"; static readonly YAMLContent = "YAML Content"; static readonly YAMLStructure = "YAML Structure"; static readonly pathVariable = "$path"; static readonly YAML_FILE = "STU-YAML_FILE"; static readonly POLICY: string; static readonly MOCK_END_POINT: string; static readonly MOCK_RESPONSE: string; static readonly POLICY_SEQ = "policy-sequence"; static readonly apiSpec = "api-spec"; static readonly EXCEPTION_DIRECTORY_ACCESS = "Exception occured while accessing the directory."; static readonly VALIDATION_ERROR_CODE = "STU-VAL_ERR"; static readonly PARSING_EXCEPTION: (fileName?: string) => string; static readonly ERROR_INVALID_PROJECT = "Invalid project. Please ensure that the project file is valid"; static readonly ERROR_STUDIO_PROJECTS_FILE_NOT_FOUND: (rootDirAlias: string) => string; static readonly ERROR_ASSET_PARSING: (fileName: string) => string; static readonly FAILED_TO_LOAD_PROJECT = "Failed to load project"; static readonly NO_ROOT_DIR_IN_PROJECT = "No projects folder configured in the project"; static readonly NO_PROJECT_DIR_FOUND = "No Project Directory Found"; static readonly DIR_NOT_EXISTS = "Directory not exists"; static readonly ASSET_META_DATA_NOT_FOUND = "Asset metadata not found"; static readonly DUPLICATE_PROJECT_EXCEPTION: (projectName?: string) => string; static readonly TEST = "test"; static readonly ASSERTION = "assertion"; static readonly ENVIRONMENT = "environment"; static readonly MCPTOOL = "mcptool"; static readonly MCPSERVER = "mcpserverconfig"; static readonly DATAPOWERASSEMBLY = "datapowerassembly"; static readonly ALLOWED_ENDPOINTS: string[]; static IGNORE_ASSETS_DURING_DEPLOY: string[]; static readonly SOAP_ALLOWED_GATEWAYS: string[]; static readonly ERROR_SOAP_GATEWAY_RESTRICTION = "SOAP APIs are supported only on DataPower API Gateway (v6) and DataPower Gateway (v5)"; } //# sourceMappingURL=app.constants.d.ts.map