Merged in chore/cleanup-unused (pull request #3461)
chore: Cleanup unused vars, exports, types * Cleanup some unused exports * Remove more * Readd CampaignPageIncludedHotelsRef * Add alias comment to procedure exports * Remove unused exports Approved-by: Linus Flood
This commit is contained in:
@@ -20,7 +20,7 @@ type FailedWarmup = {
|
||||
|
||||
export type WarmupResult = BaseWarmup | FailedWarmup
|
||||
|
||||
export const warmupFunctions: Record<WarmupFunctionsKey, WarmupFunction> = {
|
||||
const warmupFunctions: Record<WarmupFunctionsKey, WarmupFunction> = {
|
||||
countries_en: warmupCountry(Lang.en),
|
||||
countries_da: warmupCountry(Lang.da),
|
||||
countries_de: warmupCountry(Lang.de),
|
||||
|
||||
@@ -5,7 +5,7 @@ const langs = Object.keys(Lang) as Lang[]
|
||||
/*
|
||||
* Keys for warmup functions, the order of the keys is the order in which they will be executed
|
||||
*/
|
||||
export const warmupKeys = [
|
||||
const warmupKeys = [
|
||||
...langs.map((lang) => `countries_${lang}` as const),
|
||||
"hotelsByCountry",
|
||||
...langs.map((lang) => `hotelData_${lang}` as const),
|
||||
|
||||
Reference in New Issue
Block a user