@0xobelisk/graphql-server
Version:
Tookit for interacting with dubhe graphql server
21 lines • 591 B
TypeScript
export interface ServerConfig {
port: string;
databaseUrl: string;
schema: string;
endpoint: string;
cors: boolean;
subscriptions: boolean;
env: string;
debug: boolean;
queryTimeout: number;
maxConnections: number;
heartbeatInterval: number;
enableMetrics: boolean;
enableLiveQueries: boolean;
enablePgSubscriptions: boolean;
enableNativeWebSocket: boolean;
realtimePort?: number;
debugNotifications: boolean;
}
export declare const startServer: (config: ServerConfig) => Promise<void>;
//# sourceMappingURL=server.d.ts.map