mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-02 02:46:12 +00:00
Phase 0 + Review
This commit is contained in:
committed by
Peter Steinberger
parent
627fa3083b
commit
ac2fcfe96a
@@ -8,6 +8,10 @@ const bluebubblesActionSchema = z
|
||||
})
|
||||
.optional();
|
||||
|
||||
const bluebubblesGroupConfigSchema = z.object({
|
||||
requireMention: z.boolean().optional(),
|
||||
});
|
||||
|
||||
const bluebubblesAccountSchema = z.object({
|
||||
name: z.string().optional(),
|
||||
enabled: z.boolean().optional(),
|
||||
@@ -22,6 +26,9 @@ const bluebubblesAccountSchema = z.object({
|
||||
dmHistoryLimit: z.number().int().min(0).optional(),
|
||||
textChunkLimit: z.number().int().positive().optional(),
|
||||
mediaMaxMb: z.number().int().positive().optional(),
|
||||
sendReadReceipts: z.boolean().optional(),
|
||||
blockStreaming: z.boolean().optional(),
|
||||
groups: z.object({}).catchall(bluebubblesGroupConfigSchema).optional(),
|
||||
});
|
||||
|
||||
export const BlueBubblesConfigSchema = bluebubblesAccountSchema.extend({
|
||||
|
||||
Reference in New Issue
Block a user