Files
Gesti-n-Reservas-Naturcalab…/packages/shared/src/index.ts
Kilian ee03f0b36d feat: configuración de destinatarios de notificaciones desde la app
Gestiona grupos de email y asignación por escenario en BD
(natur_reservas.notification_groups / notification_scenario_recipients)
en lugar de variables de entorno hardcodeadas. Incluye pantalla de ajustes,
endpoint admin protegido, envío de prueba y niveles reducida/completa.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-17 11:12:58 +01:00

14 lines
801 B
TypeScript

// Types
export type { Reservation, NewReservation, ReservationOrigin, Property, PricingSnapshot, WebhookPayload } from './types/reservation.js';
export type { UserRole, UserProfile } from './types/user.js';
export type { PricingInput, PricingResult } from './types/pricing.js';
export type { NotificationEventType, NotificationStatus, NotificationEvent, NotificationLevel, NotificationGroup, NotificationConfig, NotificationScenarioMeta } from './types/notification.js';
// Constants
export { CONFIGURABLE_SCENARIOS } from './types/notification.js';
export { PROPERTY_CONFIG, PROPERTIES, DEFAULT_IGIC_RATE, getExtraPersonRate } from './constants/properties.js';
export { ORIGIN_CONFIG } from './constants/origins.js';
// Utils
export { calculateNaturPrice, formatPrice } from './utils/pricing.js';