mirror of https://github.com/openclaw/openclaw.git
fix: restore bluebubbles action config typing
This commit is contained in:
parent
a5e725a3b8
commit
91572df932
|
|
@ -37,6 +37,7 @@ const bluebubblesAccountSchema = z
|
|||
name: z.string().optional(),
|
||||
enabled: z.boolean().optional(),
|
||||
markdown: MarkdownConfigSchema,
|
||||
actions: bluebubblesActionSchema,
|
||||
serverUrl: z.string().optional(),
|
||||
password: buildSecretInputSchema().optional(),
|
||||
webhookPath: z.string().optional(),
|
||||
|
|
|
|||
|
|
@ -18,6 +18,8 @@ export type BlueBubblesAccountConfig = {
|
|||
capabilities?: string[];
|
||||
/** Allow channel-initiated config writes (default: true). */
|
||||
configWrites?: boolean;
|
||||
/** Per-action tool gating (default: true for all). */
|
||||
actions?: BlueBubblesActionConfig;
|
||||
/** If false, do not start this BlueBubbles account. Default: true. */
|
||||
enabled?: boolean;
|
||||
/** Base URL for the BlueBubbles API. */
|
||||
|
|
@ -74,6 +76,7 @@ export type BlueBubblesActionConfig = {
|
|||
reply?: boolean;
|
||||
sendWithEffect?: boolean;
|
||||
renameGroup?: boolean;
|
||||
setGroupIcon?: boolean;
|
||||
addParticipant?: boolean;
|
||||
removeParticipant?: boolean;
|
||||
leaveGroup?: boolean;
|
||||
|
|
|
|||
Loading…
Reference in New Issue