openclaw/extensions/slack/src/runtime-api.ts

36 lines
1.1 KiB
TypeScript

export {
buildComputedAccountStatusSnapshot,
PAIRING_APPROVED_MESSAGE,
projectCredentialSnapshotFields,
resolveConfiguredFromRequiredCredentialStatuses,
} from "openclaw/plugin-sdk/channel-status";
export {
buildChannelConfigSchema,
SlackConfigSchema,
} from "openclaw/plugin-sdk/channel-config-schema";
export type { ChannelMessageActionContext } from "openclaw/plugin-sdk/channel-contract";
export { DEFAULT_ACCOUNT_ID } from "openclaw/plugin-sdk/account-id";
export type {
ChannelPlugin,
OpenClawConfig,
OpenClawPluginApi,
PluginRuntime,
} from "openclaw/plugin-sdk/core";
export type { SlackAccountConfig } from "openclaw/plugin-sdk/config-runtime";
export {
emptyPluginConfigSchema,
formatPairingApproveHint,
getChatChannelMeta,
} from "openclaw/plugin-sdk/core";
export { loadOutboundMediaFromUrl } from "openclaw/plugin-sdk/outbound-media";
export { looksLikeSlackTargetId, normalizeSlackMessagingTarget } from "./targets.js";
export {
createActionGate,
imageResultFromFile,
jsonResult,
readNumberParam,
readReactionParams,
readStringParam,
withNormalizedTimestamp,
} from "openclaw/plugin-sdk/channel-actions";