feat(datasource): add WeCom document integration and callback setup

- Implemented WeCom document connector to sync smart documents and WeDrive files into WeKnora.
- Added detailed documentation for WeCom integration, including setup instructions for callback URL and API access.
- Enhanced frontend localization to support WeCom-specific messages and instructions.
- Updated data source management UI to include WeCom configuration options and callback URL handling.
- Improved error handling and validation for WeCom API interactions.
This commit is contained in:
wizardchen
2026-03-30 10:57:30 +08:00
committed by lyingbug
parent f1efac3860
commit 11cabd5952
14 changed files with 1638 additions and 27 deletions
+3 -3
View File
@@ -153,10 +153,10 @@ var ConnectorMetadataRegistry = map[string]ConnectorMetadata{
types.ConnectorTypeWecomDoc: {
Type: types.ConnectorTypeWecomDoc,
Name: "WeCom Docs (企微文档)",
Description: "Sync documents and content from WeCom",
Description: "Sync smart documents and WeDrive files from WeCom",
Priority: 8,
AuthType: "api_key",
Capabilities: []string{"incremental"},
AuthType: "corp_secret",
Capabilities: []string{"incremental", "deletion_sync"},
},
types.ConnectorTypeWebCrawler: {
Type: types.ConnectorTypeWebCrawler,