mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 03:53:29 +01:00
chore: monorepo setup (#7175)
This commit is contained in:
11
packages/rest/src/lib/handlers/IHandler.ts
Normal file
11
packages/rest/src/lib/handlers/IHandler.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import type { RequestInit } from 'node-fetch';
|
||||
import type { InternalRequest, RouteData } from '../RequestManager';
|
||||
|
||||
export interface IHandler {
|
||||
queueRequest(
|
||||
routeId: RouteData,
|
||||
url: string,
|
||||
options: RequestInit,
|
||||
bodyData: Pick<InternalRequest, 'attachments' | 'body'>,
|
||||
): Promise<unknown>;
|
||||
}
|
||||
Reference in New Issue
Block a user