UNPKG

@shipengine/connect

Version:

The official developer tooling for building ShipEngine connect apps

27 lines (26 loc) 712 B
export declare enum Environment { Local = "local", Development = "development", Stage = "staging", Production = "production" } /** * @description The implementation and settings necessary for the server to start */ export interface ServerConfig { /** * @description The desired port for this server to run on * @default "3005" */ port?: string; /** * @description The environment this server is currently running on * @default "local" */ environment?: Environment | string; } /** * This method starts a local server for testing Connect functions * @param config */ export declare const start: (app: any, config?: ServerConfig) => Promise<void>;