feat: Implement Telegram Bot and AI Settings
This commit is contained in:
16
lib/types.ts
16
lib/types.ts
@@ -85,3 +85,19 @@ export interface AppState {
|
||||
currentMonth: number
|
||||
currentYear: number
|
||||
}
|
||||
|
||||
export interface AIServiceConfig {
|
||||
id: string
|
||||
name: string
|
||||
endpoint: string
|
||||
token: string
|
||||
model?: string
|
||||
}
|
||||
|
||||
export interface AppSettings {
|
||||
telegram: {
|
||||
botToken: string
|
||||
chatId: string
|
||||
}
|
||||
aiProviders: AIServiceConfig[]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user