refactor: remove unused methods

This commit is contained in:
Polianin Nikita 2024-10-09 03:10:32 +03:00
parent 2b09086902
commit 0bbed93df2

View File

@ -64,36 +64,4 @@ export class RequestBuilder {
needAuth: false
};
}
public getEndpoint(): string {
return this.endpoint;
}
public getQueryParams(): Record<string, string | number | boolean | Array<any> | 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
};
}
}