UNPKG

@altostra/core

Version:

Core library for shared types and logic

42 lines (41 loc) 1.91 kB
export interface AltostraEnvironment { apiUri: string; integrationServiceUrl: string; compilerUrl: string; baseConsoleUrl: string; baseDocsUrl: string; baseAccessUrl: string; recommendationsUri: string; feedbackUrl: string; auth0ClientId: string; amplitudeApiKey: string; auth0Tenant?: string; settingsPath?: string; publicKeyPath?: string; templatesGithubAccount: string; debugMode?: boolean; } export declare type EnvironmentDefaults<Keys extends keyof any> = { [K in Keys]: K extends keyof AltostraEnvironment ? string : never; }; export declare const AltoEnvironmentVars: { readonly apiUri: "ALTO_BOSS_URL"; readonly integrationServiceUrl: "ALTO_INTEGRATION_SERVICE_URL"; readonly compilerUrl: "ALTO_COMPILER_URL"; readonly baseConsoleUrl: "ALTO_CONSOLE"; readonly baseDocsUrl: "ALTO_DOCS"; readonly baseAccessUrl: "ALTO_ACCESS_URL"; readonly recommendationsUri: "ALTO_RECOMMENDATIONS_URL"; readonly feedbackUrl: "ALTO_FEEDBACK_URL"; readonly auth0ClientId: "ALTO_AUTH0_CLIENT_ID"; readonly amplitudeApiKey: "ALTO_AMPLITUDE_API_KEY"; readonly auth0Tenant: "ALTO_AUTH0_TENANT"; readonly settingsPath: "ALTO_SETTINGS_PATH"; readonly publicKeyPath: "ALTO_AUTH_PUB_KEY"; readonly templatesGithubAccount: "ALTO_TEMPLATES_ACCOUNT"; readonly debugMode: "ALTO_DEBUG"; }; export declare const environmentDefaults: AltostraEnvironment; export declare const apiUri: string, integrationServiceUrl: string, compilerUrl: string, baseConsoleUrl: string, baseDocsUrl: string, baseAccessUrl: string, recommendationsUri: string, feedbackUrl: string, auth0ClientId: string, amplitudeApiKey: string, auth0Tenant: string | undefined, settingsPath: string | undefined, templatesGithubAccount: string; export declare const publicKey: string | undefined; export declare const debugMode: boolean | undefined;