diff --git a/airflow/api_connexion/openapi/v1.yaml b/airflow/api_connexion/openapi/v1.yaml index 14d17880458ac..ed98e5c0d8eef 100644 --- a/airflow/api_connexion/openapi/v1.yaml +++ b/airflow/api_connexion/openapi/v1.yaml @@ -3430,6 +3430,16 @@ components: type: string readOnly: true nullable: true + map_index: + description: The Map Index + type: integer + readOnly: true + nullable: true + try_number: + description: The Try Number + type: integer + readOnly: true + nullable: true event: description: A key describing the type of event. type: string @@ -3459,6 +3469,7 @@ components: Collection of event logs. *Changed in version 2.1.0*: 'total_entries' field is added. + *Changed in version 2.10.0*: 'try_number' and 'map_index' fields are added. allOf: - type: object properties: @@ -3487,7 +3498,7 @@ components: stack_trace: type: string readOnly: true - description: The full stackstrace.. + description: The full stackstrace. ImportErrorCollection: type: object diff --git a/airflow/www/static/js/components/NewTable/NewCells.tsx b/airflow/www/static/js/components/NewTable/NewCells.tsx index 9be1b88741208..b6c67f95ab2c5 100644 --- a/airflow/www/static/js/components/NewTable/NewCells.tsx +++ b/airflow/www/static/js/components/NewTable/NewCells.tsx @@ -19,15 +19,18 @@ import React from "react"; import { Code } from "@chakra-ui/react"; +import type { CellContext } from "@tanstack/react-table"; import Time from "src/components/Time"; -export const TimeCell = ({ getValue }: any) => { +// eslint-disable-next-line @typescript-eslint/no-explicit-any +export const TimeCell = ({ getValue }: CellContext) => { const value = getValue(); return