import { IOClients } from '../../../clients/IOClients' ; import { LogLevel , logOnceToDevConsole } from '../../logger' ; import { ParamsContext , RecorderState , ServiceConfig } from './typings' ; export class template ClientsT template StateT template CustomT export class Service < T extends IOClients , U extends RecorderState , V extends ParamsContext > { constructor ( public config ) { if ( config . routes && config . routes . graphql ) { logOnceToDevConsole ( `Route id "graphql" is reserved and apps containing this routes will stop working in the near future. To create a GraphQL app, export a "graphql" key with {resolvers}.` , LogLevel . Warn ) ; } } }