mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-05 16:23:36 +00:00
Remove root site option from nsite deploy form, always use named sites
This commit is contained in:
4 files changed
+14
-124
No files matched your search
@@ -15,14 +15,13 @@ const nsiteProjectConfigSchema = z.object({
|
||||
type: z.literal('nsite'),
|
||||
url: z.string(),
|
||||
data: z.object({
|
||||
/** 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). */
|
||||
/** Named-site dTag identifier (kind 35128). */
|
||||
dTag: z.string().optional(),
|
||||
/** 'named' | 'root'. Absent on legacy configs — treated as 'named' by the form. */
|
||||
/** @deprecated — Shakespeare always deploys named sites now. Kept for backward compat. */
|
||||
siteType: z.enum(['named', 'root']).optional(),
|
||||
}),
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user