From 60b21171a6abaffb9381b38a4c73fd63fa8e2489 Mon Sep 17 00:00:00 2001 From: "Chang, Hui-Tang" Date: Thu, 11 Jan 2024 02:32:25 +0800 Subject: [PATCH] feat: add `instillUpstreamTypes: template` in component condition field (#46) Because - We need to make the smart hint works for `condition` field on Console, so we need to update the `instillUpstreamTypes`. This commit - add `instillUpstreamTypes: template` in component condition field --- pkg/base/component.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/base/component.go b/pkg/base/component.go index 195b40ef..bbe53c27 100644 --- a/pkg/base/component.go +++ b/pkg/base/component.go @@ -19,7 +19,7 @@ const conditionJson = ` "instillUIOrder": 1, "instillShortDescription": "config whether the component will be executed or skipped", "instillAcceptFormats": ["string"], - "instillUpstreamTypes": ["value"] + "instillUpstreamTypes": ["value", "template"] } `