UNPKG

nest-queue-rabbit

Version:

The rabbitMQ queue package for your NestJS Applications.

17 lines (15 loc) 421 B
import amqp = require("amqplib"); export const schema= { type: "object", properties: { host: { type: "string", nullable: true }, port: { type: "number", nullable: true }, queue: { type: "string", nullable: true }, }, required: ["host", "port"], additionalProperties: true, }; export interface ChannelWithConnection { channel: amqp.ConfirmChannel; connection: amqp.Connection; }