import axios from 'axios' ; import type { AxiosInstance } from 'axios' ; /**
 * Service API base class - configures default settings/error handling for inheriting class
 */ export abstract class BaseService { protected readonly $http : AxiosInstance ; protected constructor ( controller , timeout = 50000 ) { this . $http = axios . create ( { timeout , baseURL : `http://localhost:52530/api/${ controller }/` } ) ; } }