feat(seed): GB/US/CA-högtider inkl. Thanksgiving-datum (MIKRO C4)
CI / Typecheck, test & build (push) Failing after 43s
CI / Typecheck, test & build (push) Failing after 43s
This commit is contained in:
@@ -178,18 +178,6 @@ export const SEED_SEASON_EVENTS: SeedSeasonEvent[] = [
|
||||
recipeSlugs: [],
|
||||
priority: 20,
|
||||
},
|
||||
{
|
||||
id: "int-thanksgiving",
|
||||
slug: "thanksgiving",
|
||||
nameSv: "Thanksgiving",
|
||||
nameLocalized: "",
|
||||
market: "US",
|
||||
dateRule: { kind: "range", startMonthDay: "11-20", endMonthDay: "11-28" },
|
||||
leadDays: 10,
|
||||
foodTags: ["kalkon", "pumpapaj"],
|
||||
recipeSlugs: [],
|
||||
priority: 90,
|
||||
},
|
||||
{
|
||||
id: "int-ramadan-eid",
|
||||
slug: "eid",
|
||||
@@ -934,4 +922,228 @@ export const SEED_SEASON_EVENTS: SeedSeasonEvent[] = [
|
||||
recipeSlugs: [],
|
||||
priority: 80,
|
||||
},
|
||||
// --- Storbritannien (GB) ---
|
||||
{
|
||||
id: "gb-christmas",
|
||||
slug: "christmas",
|
||||
nameSv: "Christmas",
|
||||
nameLocalized: "Christmas",
|
||||
market: "GB",
|
||||
dateRule: { kind: "fixed", monthDay: "12-25" },
|
||||
leadDays: 21,
|
||||
foodTags: [
|
||||
"turkey",
|
||||
"roast-potatoes",
|
||||
"pigs-in-blankets",
|
||||
"brussels-sprouts",
|
||||
"christmas-pudding",
|
||||
"mince-pies",
|
||||
],
|
||||
recipeSlugs: [],
|
||||
priority: 100,
|
||||
},
|
||||
{
|
||||
id: "gb-easter",
|
||||
slug: "easter",
|
||||
nameSv: "Easter",
|
||||
nameLocalized: "Easter",
|
||||
market: "GB",
|
||||
dateRule: { kind: "computed", algorithm: "easter" },
|
||||
leadDays: 12,
|
||||
foodTags: ["roast-lamb", "mint-sauce", "hot-cross-buns", "simnel-cake"],
|
||||
recipeSlugs: [],
|
||||
priority: 90,
|
||||
},
|
||||
{
|
||||
id: "gb-pancake-day",
|
||||
slug: "pancake-day",
|
||||
nameSv: "Pancake Day",
|
||||
nameLocalized: "Pancake Day",
|
||||
market: "GB",
|
||||
dateRule: { kind: "easter-offset", days: -47 },
|
||||
leadDays: 5,
|
||||
foodTags: ["pancakes", "lemon", "sugar", "golden-syrup"],
|
||||
recipeSlugs: [],
|
||||
priority: 75,
|
||||
},
|
||||
{
|
||||
id: "gb-bonfire-night",
|
||||
slug: "bonfire-night",
|
||||
nameSv: "Bonfire Night",
|
||||
nameLocalized: "Bonfire Night",
|
||||
market: "GB",
|
||||
dateRule: { kind: "fixed", monthDay: "11-05" },
|
||||
leadDays: 5,
|
||||
foodTags: ["bonfire-toffee", "parkin", "toffee-apples", "jacket-potatoes", "sausages"],
|
||||
recipeSlugs: [],
|
||||
priority: 75,
|
||||
},
|
||||
{
|
||||
id: "gb-burns-night",
|
||||
slug: "burns-night",
|
||||
nameSv: "Burns Night",
|
||||
nameLocalized: "Burns Night",
|
||||
market: "GB",
|
||||
dateRule: { kind: "fixed", monthDay: "01-25" },
|
||||
leadDays: 7,
|
||||
foodTags: ["haggis", "neeps", "tatties", "cranachan"],
|
||||
recipeSlugs: [],
|
||||
priority: 70,
|
||||
},
|
||||
{
|
||||
id: "gb-boxing-day",
|
||||
slug: "boxing-day",
|
||||
nameSv: "Boxing Day",
|
||||
nameLocalized: "Boxing Day",
|
||||
market: "GB",
|
||||
dateRule: { kind: "fixed", monthDay: "12-26" },
|
||||
leadDays: 3,
|
||||
foodTags: ["turkey-leftovers", "bubble-and-squeak", "cold-cuts", "pork-pie"],
|
||||
recipeSlugs: [],
|
||||
priority: 65,
|
||||
},
|
||||
// --- USA (US) ---
|
||||
{
|
||||
id: "us-thanksgiving",
|
||||
slug: "thanksgiving",
|
||||
nameSv: "Thanksgiving",
|
||||
nameLocalized: "Thanksgiving",
|
||||
market: "US",
|
||||
dateRule: { kind: "nth-weekday", month: 11, weekday: 4, n: 4 },
|
||||
leadDays: 21,
|
||||
foodTags: [
|
||||
"turkey",
|
||||
"stuffing",
|
||||
"mashed-potatoes",
|
||||
"gravy",
|
||||
"cranberry-sauce",
|
||||
"green-bean-casserole",
|
||||
"pumpkin-pie",
|
||||
],
|
||||
recipeSlugs: [],
|
||||
priority: 100,
|
||||
},
|
||||
{
|
||||
id: "us-christmas",
|
||||
slug: "christmas",
|
||||
nameSv: "Christmas",
|
||||
nameLocalized: "Christmas",
|
||||
market: "US",
|
||||
dateRule: { kind: "fixed", monthDay: "12-25" },
|
||||
leadDays: 21,
|
||||
foodTags: ["ham", "prime-rib", "roast-turkey", "christmas-cookies", "eggnog"],
|
||||
recipeSlugs: [],
|
||||
priority: 100,
|
||||
},
|
||||
{
|
||||
id: "us-fourth-of-july",
|
||||
slug: "fourth-of-july",
|
||||
nameSv: "Independence Day",
|
||||
nameLocalized: "Independence Day",
|
||||
market: "US",
|
||||
dateRule: { kind: "fixed", monthDay: "07-04" },
|
||||
leadDays: 7,
|
||||
foodTags: [
|
||||
"hamburgers",
|
||||
"hot-dogs",
|
||||
"bbq-ribs",
|
||||
"corn-on-the-cob",
|
||||
"potato-salad",
|
||||
"apple-pie",
|
||||
],
|
||||
recipeSlugs: [],
|
||||
priority: 85,
|
||||
},
|
||||
{
|
||||
id: "us-super-bowl",
|
||||
slug: "super-bowl",
|
||||
nameSv: "Super Bowl",
|
||||
nameLocalized: "Super Bowl",
|
||||
market: "US",
|
||||
dateRule: { kind: "nth-weekday", month: 2, weekday: 0, n: 2 },
|
||||
leadDays: 5,
|
||||
foodTags: ["chicken-wings", "nachos", "chili", "guacamole", "sliders"],
|
||||
recipeSlugs: [],
|
||||
priority: 80,
|
||||
},
|
||||
{
|
||||
id: "us-easter",
|
||||
slug: "easter",
|
||||
nameSv: "Easter",
|
||||
nameLocalized: "Easter",
|
||||
market: "US",
|
||||
dateRule: { kind: "computed", algorithm: "easter" },
|
||||
leadDays: 10,
|
||||
foodTags: ["ham", "deviled-eggs", "scalloped-potatoes", "carrot-cake"],
|
||||
recipeSlugs: [],
|
||||
priority: 85,
|
||||
},
|
||||
{
|
||||
id: "us-memorial-day",
|
||||
slug: "memorial-day",
|
||||
nameSv: "Memorial Day",
|
||||
nameLocalized: "Memorial Day",
|
||||
market: "US",
|
||||
dateRule: { kind: "nth-weekday", month: 5, weekday: 1, n: "last" },
|
||||
leadDays: 5,
|
||||
foodTags: ["hamburgers", "hot-dogs", "bbq", "baked-beans", "potato-salad"],
|
||||
recipeSlugs: [],
|
||||
priority: 75,
|
||||
},
|
||||
// --- Kanada (CA) ---
|
||||
{
|
||||
id: "ca-thanksgiving",
|
||||
slug: "thanksgiving",
|
||||
nameSv: "Thanksgiving",
|
||||
nameLocalized: "Thanksgiving",
|
||||
market: "CA",
|
||||
dateRule: { kind: "nth-weekday", month: 10, weekday: 1, n: 2 },
|
||||
leadDays: 14,
|
||||
foodTags: [
|
||||
"turkey",
|
||||
"stuffing",
|
||||
"gravy",
|
||||
"cranberry-sauce",
|
||||
"pumpkin-pie",
|
||||
"butter-tarts",
|
||||
],
|
||||
recipeSlugs: [],
|
||||
priority: 100,
|
||||
},
|
||||
{
|
||||
id: "ca-christmas",
|
||||
slug: "christmas",
|
||||
nameSv: "Christmas",
|
||||
nameLocalized: "Christmas",
|
||||
market: "CA",
|
||||
dateRule: { kind: "fixed", monthDay: "12-25" },
|
||||
leadDays: 21,
|
||||
foodTags: ["turkey", "ham", "tourtiere", "butter-tarts", "nanaimo-bars"],
|
||||
recipeSlugs: [],
|
||||
priority: 100,
|
||||
},
|
||||
{
|
||||
id: "ca-canada-day",
|
||||
slug: "canada-day",
|
||||
nameSv: "Canada Day",
|
||||
nameLocalized: "Canada Day",
|
||||
market: "CA",
|
||||
dateRule: { kind: "fixed", monthDay: "07-01" },
|
||||
leadDays: 5,
|
||||
foodTags: ["bbq", "hamburgers", "hot-dogs", "poutine", "maple"],
|
||||
recipeSlugs: [],
|
||||
priority: 80,
|
||||
},
|
||||
{
|
||||
id: "ca-easter",
|
||||
slug: "easter",
|
||||
nameSv: "Easter",
|
||||
nameLocalized: "Easter",
|
||||
market: "CA",
|
||||
dateRule: { kind: "computed", algorithm: "easter" },
|
||||
leadDays: 10,
|
||||
foodTags: ["ham", "roast-lamb", "scalloped-potatoes", "hot-cross-buns"],
|
||||
recipeSlugs: [],
|
||||
priority: 85,
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user