From 0c89dbce8d5fb4cfb09f13e2d13bbb15b3544b52 Mon Sep 17 00:00:00 2001 From: Junyan Qin Date: Sun, 11 May 2025 15:34:28 +0800 Subject: [PATCH] fix: config field incompletion in adapter manifests --- pkg/platform/sources/dingtalk.yaml | 7 +++++++ pkg/platform/sources/telegram.yaml | 7 +++++++ pkg/platform/sources/wecomcs.yaml | 1 + 3 files changed, 15 insertions(+) diff --git a/pkg/platform/sources/dingtalk.yaml b/pkg/platform/sources/dingtalk.yaml index 480d16c2..e251bf25 100644 --- a/pkg/platform/sources/dingtalk.yaml +++ b/pkg/platform/sources/dingtalk.yaml @@ -39,6 +39,13 @@ spec: type: string required: true default: "" + - name: markdown_card + label: + en_US: Markdown Card + zh_CN: 是否使用 Markdown 卡片 + type: boolean + required: false + default: true execution: python: path: ./dingtalk.py diff --git a/pkg/platform/sources/telegram.yaml b/pkg/platform/sources/telegram.yaml index 4da2b514..a83c5fa8 100644 --- a/pkg/platform/sources/telegram.yaml +++ b/pkg/platform/sources/telegram.yaml @@ -18,6 +18,13 @@ spec: type: string required: true default: "" + - name: markdown_card + label: + en_US: Markdown Card + zh_CN: 是否使用 Markdown 卡片 + type: boolean + required: false + default: true execution: python: path: ./telegram.py diff --git a/pkg/platform/sources/wecomcs.yaml b/pkg/platform/sources/wecomcs.yaml index fb93d0b6..c542e188 100644 --- a/pkg/platform/sources/wecomcs.yaml +++ b/pkg/platform/sources/wecomcs.yaml @@ -8,6 +8,7 @@ metadata: description: en_US: WeComCSAdapter zh_CN: 企业微信客服适配器 + icon: wecom.png spec: config: - name: port