UNPKG

@coko/server

Version:

Reusable server for use by Coko's projects

21 lines 628 B
import model from './chatChannel.model'; declare const _default: { model: typeof model; modelName: string; typeDefs: string; resolvers: { Query: { chatChannel: (_: any, { id }: { id: any; }) => Promise<model>; chatChannels: (_: any, { filter }: { filter: any; }) => Promise<import("..").QueryResult<model>>; }; ChatChannel: { messages: (chatChannel: model, _: any, ctx: any) => Promise<import("..").ChatMessage[]>; }; }; }; export default _default; //# sourceMappingURL=index.d.ts.map