feat(ui): add bug reporting integrations
This commit is contained in:
@@ -71,6 +71,18 @@ export const uiFrontmatterSchema = z.object({
|
||||
typedEffect: true,
|
||||
roomScroll: true,
|
||||
}),
|
||||
bugReport: z.object({
|
||||
enabled: z.boolean().default(false),
|
||||
label: z.string().trim().min(1).default('Report a Bug'),
|
||||
bugpin: z.object({
|
||||
serverUrl: z.url(),
|
||||
apiKey: z.string().trim().min(1),
|
||||
}).optional(),
|
||||
bugsink: z.object({
|
||||
enabled: z.boolean().default(true),
|
||||
dsn: z.url(),
|
||||
}).optional(),
|
||||
}).optional(),
|
||||
})
|
||||
|
||||
export type UiFrontmatter = z.infer<typeof uiFrontmatterSchema>
|
||||
|
||||
Reference in New Issue
Block a user