import dayjs from 'dayjs' import { filterFunctionsRequestResponse } from 'lib/logs' import { LOGS_TAILWIND_CLASSES } from '../Logs.constants' import { jsonSyntaxHighlight, ResponseCodeFormatter } from '../LogsFormatters' const FunctionInvocationSelectionRender = ({ log }: any) => { const request = log?.request const response = log?.response const method = log?.method const status = log?.status_code const requestUrl = new URL(request?.url) const executionTimeMs = log?.execution_time_ms const timestamp = dayjs(log.timestamp / 1000) const DetailedRow = ({ label, value, code, }: { label: string value: string | React.ReactNode code?: boolean }) => { return (