feat: Implement subscription-based premium features, payment processing, and enhanced dashboard components.

This commit is contained in:
2569718930@qq.com
2026-03-13 06:41:33 +08:00
parent f7b649bb0a
commit 54c4a26162
19 changed files with 427 additions and 90 deletions
+8
View File
@@ -314,6 +314,13 @@ export interface HistoryState {
dataByCity: Record<string, HistoryPoint[]>;
}
export interface ProAccessState {
loading: boolean;
authenticated: boolean;
subscriptionActive: boolean;
error: string | null;
}
export interface DashboardState {
cities: CityListItem[];
cityDetailsByName: Record<string, CityDetail>;
@@ -323,4 +330,5 @@ export interface DashboardState {
selectedForecastDate: string | null;
loadingState: LoadingState;
historyState: HistoryState;
proAccess: ProAccessState;
}