From e383a8f159824e6aaf7e54683c1a47bda6ae9de4 Mon Sep 17 00:00:00 2001 From: ncoronel Date: Tue, 14 Jul 2026 12:17:40 -0300 Subject: [PATCH] feat(tenant): add HeroConfig, EventConfig, and Menu interfaces to enhance tenant structure --- src/app/core/services/tenant.interface.ts | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/src/app/core/services/tenant.interface.ts b/src/app/core/services/tenant.interface.ts index afd6b7c..322df3a 100644 --- a/src/app/core/services/tenant.interface.ts +++ b/src/app/core/services/tenant.interface.ts @@ -9,6 +9,26 @@ export interface BankAccount { cvu: string; } +export interface HeroConfig { + background_image?: string | null; + title_html?: string | null; + description_html?: string | null; + button_text?: string | null; + button_href?: string | null; +} + +export interface EventConfig { + title?: string | null; + location?: string | null; + dates?: string[] | null; +} + +export interface Menu { + id: number; + code: string; + route: string; +} + export interface Tenant { id: number; codigo: string; @@ -24,6 +44,9 @@ export interface Tenant { footer_logo: string; selected_bank_account_id?: number | null; selected_bank_account?: BankAccount | null; + hero_config?: HeroConfig | null; + event_config?: EventConfig | null; + menues?: Menu[]; } export type TenantBootstrapResponse = ApiResponse;