Skip to content

Commit

Permalink
feat: add instillUpstreamTypes: template in component condition fie…
Browse files Browse the repository at this point in the history
…ld (instill-ai#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
  • Loading branch information
donch1989 committed Jan 10, 2024
1 parent eb76043 commit 60b2117
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/base/component.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
}
`

Expand Down

0 comments on commit 60b2117

Please sign in to comment.