tyrellcurry commented on code in PR #47821:
URL: https://github.com/apache/airflow/pull/47821#discussion_r1997657489


##########
airflow/ui/src/layouts/Details/DetailsLayout.tsx:
##########
@@ -39,14 +40,25 @@ import { Grid } from "./Grid";
 import { NavTabs } from "./NavTabs";
 import { PanelButtons } from "./PanelButtons";
 
+type DagWarningItem = {
+  dag_id: string;
+  message: string;
+};
+
+type DagWarningsResponse = {
+  dag_warnings: Array<DagWarningItem>;
+  total_entries: number;
+};
+
 type Props = {
   readonly dag?: DAGResponse;
   readonly error?: unknown;
   readonly isLoading?: boolean;
   readonly tabs: Array<{ icon: ReactNode; label: string; value: string }>;
+  readonly warning?: DagWarningsResponse;

Review Comment:
   @aritra24 thanks for catching this, I was looking for that type and couldn't 
find it! 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to