Copy and layout improvements.
This commit is contained in:
parent
39eb9e039a
commit
02222a5c16
20 changed files with 464 additions and 652 deletions
|
|
@ -27,8 +27,7 @@ export const memberProfileUpdateSchema = z.object({
|
|||
}).optional(),
|
||||
showInDirectory: z.boolean().optional(),
|
||||
notifications: z.object({
|
||||
events: z.boolean().optional(),
|
||||
updates: z.boolean().optional()
|
||||
events: z.boolean().optional()
|
||||
}).optional(),
|
||||
craftTags: z.array(z.string().max(100)).max(16).optional(),
|
||||
boardSlackHandle: z.string().max(200).optional()
|
||||
|
|
@ -416,3 +415,12 @@ export const adminAlertRestoreSchema = z.object({
|
|||
.min(1)
|
||||
.max(ADMIN_ALERT_TYPES.length)
|
||||
})
|
||||
|
||||
// --- Site content (key/value editable copy blocks) ---
|
||||
|
||||
export const SITE_CONTENT_KEYS = ['homepage.wiki_feature']
|
||||
|
||||
export const siteContentUpsertSchema = z.object({
|
||||
title: z.string().max(300).optional(),
|
||||
body: z.string().max(5000).optional()
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue