Skip to content

Commit

Permalink
fix: Update the typescript sdk version. trigger_rule issue
Browse files Browse the repository at this point in the history
  • Loading branch information
wagnercosta committed Jul 6, 2024
1 parent d6b758a commit ca087f4
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"@codemirror/lang-json": "^6.0.1",
"@codemirror/language": "^6.8.0",
"@codemirror/legacy-modes": "^6.3.2",
"@emergentmethods/flowdapt-ts-sdk": "^1.0.5",
"@emergentmethods/flowdapt-ts-sdk": "^1.0.6",
"@heroicons/react": "^2.0.18",
"@hookform/resolvers": "^3.1.0",
"@tremor/react": "^3.4.1",
Expand Down
10 changes: 5 additions & 5 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/app/[lang]/trigger/components/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export const handleTriggerflowNewEditRoute = (props: Flowdapt.IPageParams) => {
export const getInitialTriggerPageData = async (id: string, type: "new" | "edit") => {
if (type === "new") {
const trigger: TriggerRuleResourceReadResponseDTOType[FLOWDAPT_API_VERSION]["data"] = {
kind: "trigger",
kind: "trigger_rule",
metadata: {
name: "",
annotations: {},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export const triggerExample = `
kind: trigger
kind: trigger_rule
metadata:
name: schedule_workflow_name
annotations:
Expand Down

0 comments on commit ca087f4

Please sign in to comment.