UNPKG

react-azure-config

Version:

🚀 The Ultimate Multi-App Configuration Library! CRITICAL BUG FIXES: Prefixed environment keys no longer sent to Azure. Complete architectural redesign with bulletproof fallback system. Enterprise-grade Azure integration and monorepo support.

47 lines • 1.67 kB
export declare const DEFAULT_CONSTANTS: { readonly CONFIG_SERVER_PORT: number; readonly APP_SERVER_PORT: number; readonly DEFAULT_TIMEOUT: number; readonly DEFAULT_CACHE_TTL: number; readonly LOCAL_CONFIG_TTL: number; readonly DEFAULT_CACHE_SIZE: number; readonly MEMORY_CACHE_SIZE: number; readonly MEMORY_CACHE_TTL: number; readonly CACHE_CLEANUP_INTERVAL: number; readonly MAX_RETRIES: number; readonly RETRY_DELAY_MS: number; readonly DEFAULT_BASE_URL: string; readonly CACHE_KEY_PREFIX: string; readonly ENV_VAR_PREFIX: string; readonly DEFAULT_APPLICATION: string; readonly DEFAULT_ENVIRONMENT: string; readonly KV_SECRET_CACHE_TTL: number; readonly KV_REFRESH_INTERVAL: number; readonly DEFAULT_CORS_ORIGINS: string[]; }; export declare const REFRESH_STRATEGIES: { readonly LOAD_ONCE: "load-once"; readonly PERIODIC: "periodic"; readonly ON_DEMAND: "on-demand"; }; export declare const AUTH_TYPES: { readonly SERVICE_PRINCIPAL: "servicePrincipal"; readonly MANAGED_IDENTITY: "managedIdentity"; readonly AZURE_CLI: "azureCli"; }; export declare const CONFIG_SOURCES: { readonly AZURE: "azure"; readonly ENVIRONMENT: "environment"; readonly LOCAL: "local"; readonly DEFAULTS: "defaults"; }; export declare const ENVIRONMENT: { readonly PRODUCTION: "production"; readonly DEVELOPMENT: "development"; readonly TEST: "test"; readonly LOCAL: "local"; }; export declare const isProduction: () => boolean; export declare const isDevelopment: () => boolean; export declare const isTest: () => boolean; //# sourceMappingURL=constants.d.ts.map