UNPKG

shyft

Version:

Model driven GraphQL API framework

9 lines (8 loc) 693 B
import { Connection } from 'typeorm'; import { Configuration } from '../engine/configuration/Configuration'; export declare const loadModels: (configuration: any) => {}; export declare const generateMockData: (configuration: any) => Promise<void>; export declare const installStorageScripts: (configuration: Configuration, synchronize?: boolean) => Promise<void>; export declare type OnConnectionHandler = (connection: Connection) => void; export declare const connectStorage: (configuration: Configuration, synchronize?: boolean, dropSchema?: boolean, onConnect?: OnConnectionHandler) => Promise<Connection>; export declare const disconnectStorage: (connection: Connection) => Promise<void>;