mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-06 00:27:24 +00:00
Update nsite deployment
Add support for named sites under users key
This commit is contained in:
1 parent
c5ed881af0
commit
d51fee34e3
11 files changed
+1200
-262
No files matched your search
@@ -15,7 +15,15 @@ const nsiteProjectConfigSchema = z.object({
|
||||
type: z.literal('nsite'),
|
||||
url: z.string(),
|
||||
data: z.object({
|
||||
nsec: z.string(),
|
||||
/** Kept optional — only present on configs created before the signer migration */
|
||||
/** Kept optional — only present on configs created before the signer migration */
|
||||
nsec: z.string().optional(),
|
||||
siteTitle: z.string().optional(),
|
||||
siteDescription: z.string().optional(),
|
||||
/** Named-site dTag identifier (kind 35128). Absent → root site (kind 15128). */
|
||||
dTag: z.string().optional(),
|
||||
/** 'named' | 'root'. Absent on legacy configs — treated as 'named' by the form. */
|
||||
siteType: z.enum(['named', 'root']).optional(),
|
||||
}),
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user