Type for the API router function. It should return a valid Fastify instance.
(server: FastifyInstance,dbConn: Pool,) => Promise<void>
Type for the API router function. It should return a valid Fastify instance.
(server: FastifyInstance,dbConn: Pool,) => Promise<void>
Add Package
deno add jsr:@paimaexample/runtime
Import symbol
import { type StartConfigApiRouter } from "@paimaexample/runtime";
Import directly with a jsr specifier
import { type StartConfigApiRouter } from "jsr:@paimaexample/runtime";
Add Package
pnpm i jsr:@paimaexample/runtime
pnpm dlx jsr add @paimaexample/runtime
Import symbol
import { type StartConfigApiRouter } from "@paimaexample/runtime";
Add Package
yarn add jsr:@paimaexample/runtime
yarn dlx jsr add @paimaexample/runtime
Import symbol
import { type StartConfigApiRouter } from "@paimaexample/runtime";
Add Package
vlt install jsr:@paimaexample/runtime
Import symbol
import { type StartConfigApiRouter } from "@paimaexample/runtime";
Add Package
npx jsr add @paimaexample/runtime
Import symbol
import { type StartConfigApiRouter } from "@paimaexample/runtime";
Add Package
bunx jsr add @paimaexample/runtime
Import symbol
import { type StartConfigApiRouter } from "@paimaexample/runtime";