import type { FastifyRequest } from 'fastify'; import type { OperationLogOptions } from '../decorators/operation-log.decorator'; import type { ApiResponse } from './api-response.interface'; /** * Abstract interface for operation logging * Implementations should be provided at the app level */ export interface IOperationLogger { createLog( req: FastifyRequest, options: OperationLogOptions, data: ApiResponse, callMethod: string, status: boolean, ): Promise; } export const OPERATION_LOGGER = Symbol('OPERATION_LOGGER');