ffa638429e
- config/ with default + local (gitignored) merge pattern - fetcher with manual redirect tracking, cookie jar, dev mode JSON logging - cheerio parser stub ready for selectors - telegram sender - weekday-aware entry point Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
36 lines
518 B
TypeScript
36 lines
518 B
TypeScript
export interface DayUrls {
|
|
monday: string
|
|
tuesday: string
|
|
wednesday: string
|
|
thursday: string
|
|
friday: string
|
|
}
|
|
|
|
export interface TelegramConfig {
|
|
botToken: string
|
|
chatId: string
|
|
}
|
|
|
|
export interface Config {
|
|
days: DayUrls
|
|
devMode: boolean
|
|
telegram: TelegramConfig
|
|
}
|
|
|
|
const config: Config = {
|
|
days: {
|
|
monday: "",
|
|
tuesday: "",
|
|
wednesday: "",
|
|
thursday: "",
|
|
friday: "",
|
|
},
|
|
devMode: false,
|
|
telegram: {
|
|
botToken: "",
|
|
chatId: "",
|
|
},
|
|
}
|
|
|
|
export default config
|