@the-smithy/hearth-schema 0.13.0 → 0.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +4 -0
- package/dist/index.js +2 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2002,6 +2002,10 @@ declare const siteSettingsSchema: z.ZodObject<{
|
|
|
2002
2002
|
label: z.ZodString;
|
|
2003
2003
|
href: z.ZodString;
|
|
2004
2004
|
}, z.core.$strip>>>;
|
|
2005
|
+
navigationCta: z.ZodOptional<z.ZodObject<{
|
|
2006
|
+
label: z.ZodString;
|
|
2007
|
+
href: z.ZodString;
|
|
2008
|
+
}, z.core.$strip>>;
|
|
2005
2009
|
footerLinks: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
2006
2010
|
label: z.ZodString;
|
|
2007
2011
|
href: z.ZodString;
|
package/dist/index.js
CHANGED
|
@@ -486,6 +486,8 @@ var ORGANIZATION_TYPES = ["Organization", "LocalBusiness", "NGO", "Corporation",
|
|
|
486
486
|
var SOCIAL_PLATFORMS = ["facebook", "instagram", "linkedin", "x", "youtube", "tiktok", "other"];
|
|
487
487
|
var siteSettingsSchema = z2.object({
|
|
488
488
|
navigation: z2.array(link2).default([]),
|
|
489
|
+
/** An optional button at the end of the main menu, e.g. "Book now" or "Donate". Frontends style it as a button. */
|
|
490
|
+
navigationCta: link2.optional(),
|
|
489
491
|
footerLinks: z2.array(link2).default([]),
|
|
490
492
|
contact: z2.object({
|
|
491
493
|
email: z2.string().trim().optional(),
|