UNPKG

dt-common-device

Version:

A secure and robust device management library for IoT applications

14 lines (13 loc) 443 B
import { Job, Queue, Worker } from "bullmq"; export interface CopilotJobData { url: string; method: "GET" | "POST" | "PUT" | "DELETE"; params?: Record<string, string>; query?: Record<string, string>; headers?: Record<string, string>; body: any; timestamp?: number; } export type CopilotQueue = Queue<CopilotJobData>; export type CopilotWorker = Worker<CopilotJobData>; export type CopilotJob = Job<CopilotJobData>;