UNPKG

axiodb

Version:

A blazing-fast, lightweight, and scalable nodejs package based DBMS for modern application. Supports schemas, encryption, and advanced query capabilities.

14 lines (13 loc) 514 B
import { FastifyInstance, FastifyPluginOptions } from "fastify"; import { AxioDB } from "../../Services/Indexation.operation"; interface RouterOptions extends FastifyPluginOptions { AxioDBInstance: AxioDB; } /** * Main router plugin for the AxioDB server * @param fastify - Fastify instance * @param _options - Plugin options * @param done - Callback to signal completion */ export default function mainRouter(fastify: FastifyInstance, options: RouterOptions, done: () => void): Promise<void>; export {};