refactor(nextcloud-talk): narrow channel runtime imports

This commit is contained in:
Vincent Koc 2026-04-04 12:08:20 +09:00
parent 6349e6aa3e
commit ba20e6cd98
2 changed files with 11 additions and 7 deletions

View File

@ -0,0 +1,4 @@
export { clearAccountEntryFields } from "openclaw/plugin-sdk/channel-config-helpers";
export type { ChannelPlugin, OpenClawConfig } from "openclaw/plugin-sdk/core";
export { DEFAULT_ACCOUNT_ID } from "openclaw/plugin-sdk/core";
export { buildChannelConfigSchema } from "openclaw/plugin-sdk/channel-config-schema";

View File

@ -18,13 +18,6 @@ import {
createComputedAccountStatusAdapter,
createDefaultChannelRuntimeState,
} from "openclaw/plugin-sdk/status-helpers";
import {
buildChannelConfigSchema,
clearAccountEntryFields,
DEFAULT_ACCOUNT_ID,
type ChannelPlugin,
type OpenClawConfig,
} from "../runtime-api.js";
import {
listNextcloudTalkAccountIds,
resolveDefaultNextcloudTalkAccountId,
@ -32,6 +25,13 @@ import {
type ResolvedNextcloudTalkAccount,
} from "./accounts.js";
import { nextcloudTalkApprovalAuth } from "./approval-auth.js";
import {
buildChannelConfigSchema,
clearAccountEntryFields,
DEFAULT_ACCOUNT_ID,
type ChannelPlugin,
type OpenClawConfig,
} from "./channel-api.js";
import { NextcloudTalkConfigSchema } from "./config-schema.js";
import { monitorNextcloudTalkProvider } from "./monitor.js";
import {