fix(ci): dedupe bluebubbles actions config type

This commit is contained in:
Vincent Koc
2026-04-04 02:26:31 +09:00
parent 22fd61e483
commit f93f76dcc4

View File

@@ -85,14 +85,14 @@ export type BlueBubblesActionConfig = {
sendAttachment?: boolean;
};
export type BlueBubblesConfig = {
export type BlueBubblesConfig = Omit<BlueBubblesAccountConfig, "actions"> & {
/** Optional per-account BlueBubbles configuration (multi-account). */
accounts?: Record<string, BlueBubblesAccountConfig>;
/** Optional default account id when multiple accounts are configured. */
defaultAccount?: string;
/** Per-action tool gating (default: true for all). */
actions?: BlueBubblesActionConfig;
} & BlueBubblesAccountConfig;
};
export type BlueBubblesSendTarget =
| { kind: "chat_id"; chatId: number }