Generic Commit; Most likely a fix or small feature

This commit is contained in:
Darius
2025-11-21 16:24:10 +01:00
parent a3689f4cd2
commit 9b61909eab
3 changed files with 13 additions and 5 deletions

6
dist/fastify.d.ts vendored
View File

@@ -3,13 +3,15 @@ export type ServiceResult<T = unknown> = {
result: T;
successful: boolean;
};
export declare abstract class Client {
export declare abstract class BaseClient {
private axiosInstance;
constructor(axiosInstance: AxiosInstance);
getAxios(): AxiosInstance;
}
export declare abstract class Service<T> {
export declare abstract class BaseService<T> {
private client;
constructor(client: T);
getClient(): T;
getSuccessfulResult<R = unknown>(result: R): ServiceResult<R>;
getErrorResult(error: string): ServiceResult<string>;
}