Initial commit: monorepo Naturcalabacera reservas (apps/api + apps/web + packages/shared)
This commit is contained in:
12
packages/shared/src/index.ts
Normal file
12
packages/shared/src/index.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
// 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 } from './types/notification.js';
|
||||
|
||||
// Constants
|
||||
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';
|
||||
Reference in New Issue
Block a user