This repository has been archived on 2023-11-06. You can view files and clone it, but cannot push or open issues or pull requests.
lfk-client-node/dist/core/ApiRequestOptions.d.ts
Nicolai Ort f9aa86b553
All checks were successful
continuous-integration/drone Build is passing
🚀New lib version [CI SKIP]
2023-02-02 09:47:35 +00:00

12 lines
435 B
TypeScript

export type ApiRequestOptions = {
readonly method: 'GET' | 'PUT' | 'POST' | 'DELETE' | 'OPTIONS' | 'HEAD' | 'PATCH';
readonly path: string;
readonly cookies?: Record<string, any>;
readonly headers?: Record<string, any>;
readonly query?: Record<string, any>;
readonly formData?: Record<string, any>;
readonly body?: any;
readonly responseHeader?: string;
readonly errors?: Record<number, string>;
};