Skip to content

Commit 0b8336f

Browse files
committed
fix(config): align bluebubbles network schema
1 parent 2d6e75c commit 0b8336f

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

src/config/zod-schema.providers-core.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1424,7 +1424,12 @@ export const BlueBubblesAccountSchemaBase = z
14241424
mediaMaxMb: z.number().int().positive().optional(),
14251425
mediaLocalRoots: z.array(z.string()).optional(),
14261426
sendReadReceipts: z.boolean().optional(),
1427-
allowPrivateNetwork: z.boolean().optional(),
1427+
network: z
1428+
.object({
1429+
dangerouslyAllowPrivateNetwork: z.boolean().optional(),
1430+
})
1431+
.strict()
1432+
.optional(),
14281433
blockStreaming: z.boolean().optional(),
14291434
blockStreamingCoalesce: BlockStreamingCoalesceSchema.optional(),
14301435
groups: z.record(z.string(), BlueBubblesGroupConfigSchema.optional()).optional(),

0 commit comments

Comments
 (0)