Files
zipline/src/lib/plugin/Plugin.ts
diced a0360269b8 why
2020-12-15 13:40:35 -08:00

11 lines
332 B
TypeScript

import { FastifyInstance } from "fastify";
import Server from "next/dist/next-server/server/next-server";
import { Connection } from "typeorm";
import { Config } from "../Config";
export interface Plugin {
name: string;
priority?: number;
onLoad(server: FastifyInstance, orm: Connection, app: Server, config: Config): any;
}