Websites v4 docs v12.7.0
    Preparing search index...

    Interface GlobalConfig

    interface GlobalConfig {
        _id: string | null;
        agencyId: number | null;
        brandingRules?: BrandingRule[];
        buttons?: {
            [variant: string]: {
                backgroundColor?: string;
                borderColor?: string;
                hoverBackgroundColor?: string;
                hoverBorderColor?: string;
                hoverTextColor?: string;
                textColor?: string;
            };
        };
        customVariables?: { [name: string]: string };
        domain: string;
        externalScripts: {
            analytics: {
                gtmCustomEventNames: {
                    branchEnquiry?: string;
                    emailPortal?: string;
                    expertValuation?: string;
                    instantValuation?: string;
                    mortgageEnquiry?: string;
                    sendPropertyToFriend?: string;
                    staffEnquiry?: string;
                    userRegistration?: string;
                    viewingEnquiry?: string;
                };
                gtmId?: string;
                items: AnalyticsScriptItem[];
            };
            standalone: { items: ScriptItem[] };
        };
        floatingButtons?: FloatingButton[];
        footer: Footer;
        generalSettings: {
            buttonRounding?: ButtonRounding;
            cookiePolicyLink?: string;
            defaultCanonicalDomain?: string;
            disableHomeflowCookieConsent: boolean;
            disableStaffPages?: boolean;
            enableGoogleStaticMaps: boolean;
            mapsMaxZoom?: number;
            mapsMinZoom?: number;
            useLegacyArticles: boolean;
        };
        mainNav: { variant: string };
        navigation?: Navigation;
        propertyCard: { variant: string };
        searchForm: SearchForm;
        sectionPadding: number;
        siteColors?: Partial<
            Record<
                | "footer"
                | "primary"
                | "primaryTint"
                | "accent"
                | "accentTint"
                | "primaryText"
                | "accentText"
                | "headerText"
                | "subHeaderText"
                | "onPrimaryText"
                | "onPrimaryTintText"
                | "onAccentText"
                | "onAccentTintText"
                | "siteHeaderBackground"
                | "navigationPrimaryBackground"
                | "navigationPrimaryTintBackground"
                | "onNavigationPrimaryText"
                | "onNavigationPrimaryTintText"
                | "navigationHoverText"
                | "navigationHamburger"
                | "secondaryNavigationText"
                | "buttonPrimary"
                | "buttonText"
                | "buttonTint"
                | "buttonTintText"
                | "siteBackground"
                | "greyAlternative"
                | "carouselAndSummaryBackground"
                | "onCarouselAndSummaryText"
                | "sidebarPodBackground"
                | "onSidebarPodText"
                | "onFooterText"
                | "custom1"
                | "custom2"
                | "custom8"
                | "custom4"
                | "custom3"
                | "custom5"
                | "custom6"
                | "custom7"
                | "custom9"
                | "custom10",
                string,
            >,
        >;
        theme?: string;
        typography: Typography;
        urls?: {
            article?: string;
            articleList?: string;
            branch?: string;
            branchList?: string;
            propertyReference?: boolean;
        };
    }
    Index
    _id: string | null
    agencyId: number | null
    brandingRules?: BrandingRule[]
    buttons?: {
        [variant: string]: {
            backgroundColor?: string;
            borderColor?: string;
            hoverBackgroundColor?: string;
            hoverBorderColor?: string;
            hoverTextColor?: string;
            textColor?: string;
        };
    }
    customVariables?: { [name: string]: string }
    domain: string
    externalScripts: {
        analytics: {
            gtmCustomEventNames: {
                branchEnquiry?: string;
                emailPortal?: string;
                expertValuation?: string;
                instantValuation?: string;
                mortgageEnquiry?: string;
                sendPropertyToFriend?: string;
                staffEnquiry?: string;
                userRegistration?: string;
                viewingEnquiry?: string;
            };
            gtmId?: string;
            items: AnalyticsScriptItem[];
        };
        standalone: { items: ScriptItem[] };
    }
    floatingButtons?: FloatingButton[]
    footer: Footer
    generalSettings: {
        buttonRounding?: ButtonRounding;
        cookiePolicyLink?: string;
        defaultCanonicalDomain?: string;
        disableHomeflowCookieConsent: boolean;
        disableStaffPages?: boolean;
        enableGoogleStaticMaps: boolean;
        mapsMaxZoom?: number;
        mapsMinZoom?: number;
        useLegacyArticles: boolean;
    }
    mainNav: { variant: string }
    navigation?: Navigation

    Navigation menus configured in v4 admin, which take precedence over the Hestia menus

    propertyCard: { variant: string }
    searchForm: SearchForm
    sectionPadding: number
    siteColors?: Partial<
        Record<
            | "footer"
            | "primary"
            | "primaryTint"
            | "accent"
            | "accentTint"
            | "primaryText"
            | "accentText"
            | "headerText"
            | "subHeaderText"
            | "onPrimaryText"
            | "onPrimaryTintText"
            | "onAccentText"
            | "onAccentTintText"
            | "siteHeaderBackground"
            | "navigationPrimaryBackground"
            | "navigationPrimaryTintBackground"
            | "onNavigationPrimaryText"
            | "onNavigationPrimaryTintText"
            | "navigationHoverText"
            | "navigationHamburger"
            | "secondaryNavigationText"
            | "buttonPrimary"
            | "buttonText"
            | "buttonTint"
            | "buttonTintText"
            | "siteBackground"
            | "greyAlternative"
            | "carouselAndSummaryBackground"
            | "onCarouselAndSummaryText"
            | "sidebarPodBackground"
            | "onSidebarPodText"
            | "onFooterText"
            | "custom1"
            | "custom2"
            | "custom8"
            | "custom4"
            | "custom3"
            | "custom5"
            | "custom6"
            | "custom7"
            | "custom9"
            | "custom10",
            string,
        >,
    >

    Colours configured in v4 admin, which take precedence over the Hestia theme preferences

    theme?: string
    typography: Typography
    urls?: {
        article?: string;
        articleList?: string;
        branch?: string;
        branchList?: string;
        propertyReference?: boolean;
    }