UNPKG

atlasgql

Version:

A self-composing GraphQL server library using TypeScript, Express and Apollo Server

27 lines (26 loc) 877 B
import { ENV } from './helpers/constants'; declare class Configurations { static ServerKey: string; static ServerAddr: string; static ServerPort: string | number; static ServerEnv: string; static ServerEnvId: string | number; static AppVersion: string; static AppId: string; static AppName: string; static AppStartedAt: number; static DefaultAppPort: number; static DefaultAppAddr: string; static CORSEnabled: boolean; static Origin: string[]; static AcceptedMethods: string[]; static PreflightContinue: boolean; static OptionsSuccessStatus: number; static RestPath: string; static GraphQlPath: string; static ViewsEngine: string; static ViewsSrcPath: string; private static sessionHash; static load(env: ENV, envId: number, confs: Record<string, any>): void; } export { Configurations };