UNPKG

ipfs-http-gateway

Version:

JavaScript implementation of the IPFS specification

15 lines (12 loc) 320 B
import type { IPFS } from 'ipfs-core-types' import type { Request, Server } from '@hapi/hapi' import type { Multiaddr } from '@multiformats/multiaddr' declare module '@hapi/hapi' { interface ServerApplicationState { ipfs: IPFS } interface ServerInfo { ma: Multiaddr } } export type { Request, Server }