UNPKG

@bitblit/ratchet-epsilon-common

Version:

Tiny adapter to simplify building API gateway Lambda APIS

17 lines (16 loc) 1.03 kB
import { EpsilonGlobalHandler } from './epsilon-global-handler.js'; export declare class EpsilonConstants { static readonly EPSILON_FINDER_DYNAMIC_IMPORT_PATH_ENV_NAME = "EPSILON_FINDER_DYNAMIC_IMPORT_PATH"; static readonly EPSILON_FINDER_FUNCTION_NAME_ENV_NAME = "EPSILON_FINDER_FUNCTION_NAME"; static readonly DEFAULT_EPSILON_FINDER_DYNAMIC_IMPORT_PATH = "epsilon-global-handler-provider.js"; static readonly DEFAULT_EPSILON_FINDER_FUNCTION_NAME = "findEpsilonGlobalHandler"; static readonly AUTH_HEADER_PREFIX: string; static readonly AUTH_HEADER_NAME: string; static readonly BACKGROUND_SQS_TYPE_FIELD = "BACKGROUND_TYPE"; static readonly BACKGROUND_SNS_START_MARKER = "BACKGROUND_START_MARKER"; static readonly BACKGROUND_SNS_IMMEDIATE_RUN_FLAG = "BACKGROUND_IMMEDIATE_RUN_FLAG"; static readonly INTER_API_SNS_EVENT = "EPSILON_INTER_API_EVENT"; private static load; static findDynamicImportEpsilonGlobalHandlerProvider(): Promise<EpsilonGlobalHandler>; private constructor(); }