mirror of
https://github.com/LightZirconite/Microsoft-Rewards-Bot.git
synced 2026-01-11 09:46:16 +00:00
Refactor: Remove legacy code and improve import statements across multiple files
This commit is contained in:
@@ -30,7 +30,6 @@ export interface Config {
|
||||
riskManagement?: ConfigRiskManagement; // NEW: Risk-aware throttling and ban prediction
|
||||
dryRun?: boolean; // NEW: Dry-run mode (simulate without executing)
|
||||
queryDiversity?: ConfigQueryDiversity; // NEW: Multi-source query generation
|
||||
legacy?: ConfigLegacyFlags; // Track legacy config usage for warnings
|
||||
}
|
||||
|
||||
export interface ConfigSaveFingerprint {
|
||||
@@ -186,10 +185,4 @@ export interface ConfigQueryDiversity {
|
||||
sources?: Array<'google-trends' | 'reddit' | 'news' | 'wikipedia' | 'local-fallback'>; // which sources to use
|
||||
maxQueriesPerSource?: number; // limit per source
|
||||
cacheMinutes?: number; // cache duration
|
||||
}
|
||||
|
||||
export interface ConfigLegacyFlags {
|
||||
diagnosticsConfigured?: boolean;
|
||||
analyticsConfigured?: boolean;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user