Skip to content

Commit 7df025f

Browse files
committed
refactor: trim bluebubbles config helper exports
1 parent 8bd9e22 commit 7df025f

2 files changed

Lines changed: 4 additions & 7 deletions

File tree

extensions/bluebubbles/src/targets.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ type BlueBubblesTarget =
1919
| { kind: "chat_identifier"; chatIdentifier: string }
2020
| { kind: "handle"; to: string; service: BlueBubblesService };
2121

22-
export type BlueBubblesAllowTarget = ParsedChatTarget | { kind: "handle"; handle: string };
22+
type BlueBubblesAllowTarget = ParsedChatTarget | { kind: "handle"; handle: string };
2323

2424
const CHAT_ID_PREFIXES = ["chat_id:", "chatid:", "chat:"];
2525
const CHAT_GUID_PREFIXES = ["chat_guid:", "chatguid:", "guid:"];

extensions/bluebubbles/src/types.ts

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,7 @@ import { fetchWithRuntimeDispatcherOrMockedGlobal } from "openclaw/plugin-sdk/ru
22
import type { DmPolicy, GroupPolicy } from "openclaw/plugin-sdk/setup";
33
import { fetchWithSsrFGuard, type SsrFPolicy } from "openclaw/plugin-sdk/ssrf-runtime";
44

5-
export type { SsrFPolicy } from "openclaw/plugin-sdk/ssrf-runtime";
6-
export type { DmPolicy, GroupPolicy } from "openclaw/plugin-sdk/setup";
7-
8-
export type BlueBubblesGroupConfig = {
5+
type BlueBubblesGroupConfig = {
96
/** If true, only respond in this group when mentioned. */
107
requireMention?: boolean;
118
/** Optional tool policy overrides for this group. */
@@ -17,7 +14,7 @@ export type BlueBubblesGroupConfig = {
1714
systemPrompt?: string;
1815
};
1916

20-
export type BlueBubblesActionConfig = {
17+
type BlueBubblesActionConfig = {
2118
reactions?: boolean;
2219
edit?: boolean;
2320
unsend?: boolean;
@@ -31,7 +28,7 @@ export type BlueBubblesActionConfig = {
3128
sendAttachment?: boolean;
3229
};
3330

34-
export type BlueBubblesNetworkConfig = {
31+
type BlueBubblesNetworkConfig = {
3532
/** Dangerous opt-in for same-host or trusted private/internal BlueBubbles deployments. */
3633
dangerouslyAllowPrivateNetwork?: boolean;
3734
};

0 commit comments

Comments
 (0)