import { IOperationLog } from "@staticdeploy/core" ; import { AxiosInstance } from "axios" ; export default class OperationLogsClient { constructor ( private axios ) { } async getAll ( ) { const result = await this . axios . get ( "/operationLogs" ) ; return result . data ; } async getOne ( id ) { const result = await this . axios . get ( `/operationLogs/${ id }` ) ; return result . data ; } }