@hasura/ndc-sdk-typescript
Version:
This SDK is mostly analogous to the Rust SDK, except where necessary.
16 lines • 743 B
TypeScript
import { Connector } from "./connector";
import { Command } from "commander";
import { ServerOptions, startServer } from "./server";
export * from "./error";
export * from "./schema";
export { Connector, ServerOptions, startServer };
/**
* Starts the connector.
* Will read command line arguments or environment variables to determine runtime configuration.
*
* This should be the entrypoint of your connector
* @param connector An object that implements the Connector interface
*/
export declare function start<Configuration, State>(connector: Connector<Configuration, State>): void;
export declare function getServeCommand<Configuration, State>(connector?: Connector<Configuration, State>): Command;
//# sourceMappingURL=index.d.ts.map