feat: expand price automation contract

This commit is contained in:
TopherMayor
2026-04-30 11:53:18 -07:00
parent 4ad51ed2c6
commit a3b8e9a4b0
5 changed files with 316 additions and 58 deletions

View File

@@ -1,8 +1,9 @@
const SEED_VERSION = 2;
const SEED_VERSION = 3;
const PRICE_UPDATED_AT = '2026-04-29';
const CATEGORY_META = {
hotel: { emoji: '🏨', color: '#3b82f6' },
flight: { emoji: '✈️', color: '#38bdf8' },
golf: { emoji: '⛳', color: '#22c55e' },
nightlife: { emoji: '🎧', color: '#a855f7' },
excursion: { emoji: '🚤', color: '#06b6d4' },
@@ -181,6 +182,7 @@ function buildSeedData() {
priceUpdatedAt: PRICE_UPDATED_AT,
categories: [
{ id: 'hotel', name: 'Hotels', emoji: '🏨' },
{ id: 'flight', name: 'Flights', emoji: '✈️' },
{ id: 'golf', name: 'Golf', emoji: '⛳' },
{ id: 'nightlife', name: 'Nightlife', emoji: '🎧' },
{ id: 'excursion', name: 'Excursions', emoji: '🚤' },