mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-05 22:32:12 +00:00
perf: split whatsapp targets facade
This commit is contained in:
@@ -876,6 +876,36 @@ export const GENERATED_PLUGIN_SDK_FACADES = [
|
||||
"ZAI_GLOBAL_BASE_URL",
|
||||
],
|
||||
},
|
||||
{
|
||||
subpath: "whatsapp-targets",
|
||||
source: pluginSource("whatsapp", "targets.js"),
|
||||
exports: ["isWhatsAppGroupJid", "isWhatsAppUserTarget", "normalizeWhatsAppTarget"],
|
||||
},
|
||||
{
|
||||
subpath: "whatsapp-surface",
|
||||
source: pluginSource("whatsapp", "api.js"),
|
||||
exportSources: {
|
||||
DEFAULT_WEB_MEDIA_BYTES: pluginSource("whatsapp", "constants.js"),
|
||||
},
|
||||
exports: [
|
||||
"DEFAULT_WEB_MEDIA_BYTES",
|
||||
"hasAnyWhatsAppAuth",
|
||||
"listEnabledWhatsAppAccounts",
|
||||
"listWhatsAppDirectoryGroupsFromConfig",
|
||||
"listWhatsAppDirectoryPeersFromConfig",
|
||||
"resolveWhatsAppAccount",
|
||||
"resolveWhatsAppGroupRequireMention",
|
||||
"resolveWhatsAppGroupToolPolicy",
|
||||
"resolveWhatsAppOutboundTarget",
|
||||
"whatsappAccessControlTesting",
|
||||
],
|
||||
typeExports: [
|
||||
"WebChannelStatus",
|
||||
"WebInboundMessage",
|
||||
"WebListenerCloseReason",
|
||||
"WebMonitorTuning",
|
||||
],
|
||||
},
|
||||
{
|
||||
subpath: "zalo-setup",
|
||||
source: pluginSource("zalo", "api.js"),
|
||||
|
||||
Reference in New Issue
Block a user