From 9b52b2bdf0b4503e349e5d9fa882aad6bba3ee95 Mon Sep 17 00:00:00 2001 From: Cahllagerfeld <43843195+Cahllagerfeld@users.noreply.github.com> Date: Fri, 29 Nov 2024 12:07:32 +0000 Subject: [PATCH] fix: prop name --- src/app/runs/[id]/useDag.tsx | 2 +- src/types/core.ts | 8 +------- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/src/app/runs/[id]/useDag.tsx b/src/app/runs/[id]/useDag.tsx index dd072db0..d5a79342 100644 --- a/src/app/runs/[id]/useDag.tsx +++ b/src/app/runs/[id]/useDag.tsx @@ -39,7 +39,7 @@ export function useDag() { const realNodes = useMemo(() => { return extractExistingNodes( (pipelineRun.data?.metadata?.steps as StepDict) ?? {}, - (pipelineRun.data?.metadata?.steps_substitutions as Record>) || + (pipelineRun.data?.metadata?.step_substitutions as Record>) || {} ); }, [pipelineRun.data?.metadata?.steps]); diff --git a/src/types/core.ts b/src/types/core.ts index a6c6c65b..9a1bccf1 100644 --- a/src/types/core.ts +++ b/src/types/core.ts @@ -4034,8 +4034,6 @@ export type components = { labels?: { [key: string]: unknown; } | null; - /** The path to the component spec used for mlstacks deployments. */ - component_spec_path?: string | null; /** The service connector linked to this stack component. */ connector?: string | null; }; @@ -4104,8 +4102,6 @@ export type components = { labels?: { [key: string]: unknown; } | null; - /** The path to the component spec used for mlstacks deployments. */ - component_spec_path?: string | null; /** * Connector Resource Id * @description The ID of a specific resource instance to gain access to through the connector @@ -4143,8 +4139,6 @@ export type components = { labels?: { [key: string]: unknown; } | null; - /** The path to the component spec used for mlstacks deployments. */ - component_spec_path?: string | null; /** The service connector linked to this stack component. */ connector?: string | null; }; @@ -6407,7 +6401,7 @@ export type components = { */ is_templatable?: boolean; /** Substitutions used in the step runs of this pipeline run. */ - steps_substitutions?: { + step_substitutions?: { [key: string]: unknown; }; };