From d1e1d4715b6b8be1015c5ab6e9ae5b7e1134ee38 Mon Sep 17 00:00:00 2001 From: YuShifan <894402575bt@gmail.com> Date: Thu, 19 Dec 2024 10:20:22 +0800 Subject: [PATCH] fix(flow): add tablestore node --- src/hooks/Flow/useFlowNode.ts | 1 + src/hooks/Rule/bridge/useBridgeTypeValue.ts | 1 + yarn.lock | 4 ++-- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/hooks/Flow/useFlowNode.ts b/src/hooks/Flow/useFlowNode.ts index e689b1900..18f47d22e 100644 --- a/src/hooks/Flow/useFlowNode.ts +++ b/src/hooks/Flow/useFlowNode.ts @@ -67,6 +67,7 @@ export const SinkType = { Couchbase: BridgeType.Couchbase, Datalayers: BridgeType.Datalayers, Snowflake: BridgeType.Snowflake, + Tablestore: BridgeType.Tablestore, RePub: 'republish', Console: 'console', } diff --git a/src/hooks/Rule/bridge/useBridgeTypeValue.ts b/src/hooks/Rule/bridge/useBridgeTypeValue.ts index d5f969336..82b0fe68b 100644 --- a/src/hooks/Rule/bridge/useBridgeTypeValue.ts +++ b/src/hooks/Rule/bridge/useBridgeTypeValue.ts @@ -44,6 +44,7 @@ const bridgesOrder = [ BridgeType.SysKeeperForwarder, BridgeType.Datalayers, BridgeType.Snowflake, + BridgeType.Tablestore, ] export const bridgeOrderIndex: Record = bridgesOrder.reduce( (obj, type, index) => ({ ...obj, [type]: index }), diff --git a/yarn.lock b/yarn.lock index 5802e367a..13da6fcf4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1195,11 +1195,11 @@ resolved "https://registry.yarnpkg.com/@element-plus/icons-vue/-/icons-vue-2.0.9.tgz#b7777c57534522e387303d194451d50ff549d49a" integrity sha512-okdrwiVeKBmW41Hkl0eMrXDjzJwhQMuKiBOu17rOszqM+LS/yBYpNQNV5Jvoh06Wc+89fMmb/uhzf8NZuDuUaQ== -"@emqx/shared-ui-constants@link:../constants": +"@emqx/shared-ui-constants@link:../../../Library/Caches/Yarn/v6/npm-@emqx-shared-ui-utils-0.0.16-3cb4f16f0050bae0fa5818db2948105a48bcf9b5-integrity/node_modules/@emqx/constants": version "0.0.0" uid "" -"@emqx/shared-ui-i18n@link:../i18n": +"@emqx/shared-ui-i18n@link:../../../Library/Caches/Yarn/v6/npm-@emqx-shared-ui-utils-0.0.16-3cb4f16f0050bae0fa5818db2948105a48bcf9b5-integrity/node_modules/@emqx/i18n": version "0.0.0" uid ""