From 0bbed93df277ff631a350af91c20b0a3860d8dab Mon Sep 17 00:00:00 2001 From: Polianin Nikita Date: Wed, 9 Oct 2024 03:10:32 +0300 Subject: [PATCH] refactor: remove unused methods --- src/api/RequestBuilder.ts | 32 -------------------------------- 1 file changed, 32 deletions(-) diff --git a/src/api/RequestBuilder.ts b/src/api/RequestBuilder.ts index 3b7e5f4..4f8e924 100644 --- a/src/api/RequestBuilder.ts +++ b/src/api/RequestBuilder.ts @@ -64,36 +64,4 @@ export class RequestBuilder { needAuth: false }; } - - public getEndpoint(): string { - return this.endpoint; - } - - public getQueryParams(): Record | null> | null { - return this.queryParams; - } - - public getHttpHeaders(): HttpHeaders { - return this.httpHeaders; - } - - public getData(): any { - return this.data; - } - - public getSilenceMode(): boolean { - return this.silenceMode; - } - - public static getStandardRequestData(): RequestData { - return { - endpoint: '', - queryParams: null, - httpHeaders: new HttpHeaders(), - data: null, - silenceMode: false, - withCredentials: false, - needAuth: false - }; - } }