- App.tsx: full navigation (Auth stack + Main tabs with 5 screens) - Auth: LoginScreen, RegisterScreen, ForgotPasswordScreen - HomeScreen: dashboard with IoT metrics, weather widget, alerts, quick actions, sensors - MapScreen: interactive map with layer toggles (6 layers) - MarketplaceScreen: categories (6), products (5), search - ChatScreen: AI chat with quick prompts (4), bot responses - ProfileScreen: user info, stats, menu (9 items), logout - AlertsScreen: alert list with severity, acknowledge - SensorsScreen: sensor list with type filters (6 types), search - ZonesScreen: zone cards with stats - SettingsScreen: language picker (FR/EN/ES/DE), privacy, about - Stores: iotStore (sensors, zones, alerts), notificationStore, uiStore + i18n - Hooks: useSensors, useAlerts, useNotifications, useLocation - Components: Card, Button, LoadingSpinner, ErrorBoundary, Header - Services: iotService, notificationService (with axios API client) - Utils: formatters (temp, AQI, noise, dates), validators (email, password, IBAN) - Theme: colors.ts with full design system (Blue Ocean palette) - Ditto: fixed MongoDB connection, new JWT secrets, official gateway image
78 lines
2.5 KiB
TypeScript
78 lines
2.5 KiB
TypeScript
import type { ExpoConfig } from '@expo/config-types';
|
|
import type { JSONObject } from '@expo/json-file';
|
|
import type { XcodeProject } from 'xcode';
|
|
import type { ConfigPlugin, Mod } from '../Plugin.types';
|
|
import type { ExpoPlist, InfoPlist } from '../ios/IosConfig.types';
|
|
import type { AppDelegateProjectFile, PodfileProjectFile } from '../ios/Paths';
|
|
type MutateInfoPlistAction = (expo: ExpoConfig, infoPlist: InfoPlist) => Promise<InfoPlist> | InfoPlist;
|
|
/**
|
|
* Helper method for creating mods from existing config functions.
|
|
*
|
|
* @param action
|
|
*/
|
|
export declare function createInfoPlistPlugin(action: MutateInfoPlistAction, name?: string): ConfigPlugin;
|
|
export declare function createInfoPlistPluginWithPropertyGuard(action: MutateInfoPlistAction, settings: {
|
|
infoPlistProperty: string;
|
|
expoConfigProperty: string;
|
|
expoPropertyGetter?: (config: ExpoConfig) => string;
|
|
}, name?: string): ConfigPlugin;
|
|
type MutateEntitlementsPlistAction = (expo: ExpoConfig, entitlements: JSONObject) => JSONObject;
|
|
/**
|
|
* Helper method for creating mods from existing config functions.
|
|
*
|
|
* @param action
|
|
*/
|
|
export declare function createEntitlementsPlugin(action: MutateEntitlementsPlistAction, name: string): ConfigPlugin;
|
|
/**
|
|
* Provides the AppDelegate file for modification.
|
|
*
|
|
* @param config
|
|
* @param action
|
|
*/
|
|
export declare const withAppDelegate: ConfigPlugin<Mod<AppDelegateProjectFile>>;
|
|
/**
|
|
* Provides the Info.plist file for modification.
|
|
* Keeps the config's expo.ios.infoPlist object in sync with the data.
|
|
*
|
|
* @param config
|
|
* @param action
|
|
*/
|
|
export declare const withInfoPlist: ConfigPlugin<Mod<InfoPlist>>;
|
|
/**
|
|
* Provides the main .entitlements file for modification.
|
|
* Keeps the config's expo.ios.entitlements object in sync with the data.
|
|
*
|
|
* @param config
|
|
* @param action
|
|
*/
|
|
export declare const withEntitlementsPlist: ConfigPlugin<Mod<JSONObject>>;
|
|
/**
|
|
* Provides the Expo.plist for modification.
|
|
*
|
|
* @param config
|
|
* @param action
|
|
*/
|
|
export declare const withExpoPlist: ConfigPlugin<Mod<ExpoPlist>>;
|
|
/**
|
|
* Provides the main .xcodeproj for modification.
|
|
*
|
|
* @param config
|
|
* @param action
|
|
*/
|
|
export declare const withXcodeProject: ConfigPlugin<Mod<XcodeProject>>;
|
|
/**
|
|
* Provides the Podfile for modification.
|
|
*
|
|
* @param config
|
|
* @param action
|
|
*/
|
|
export declare const withPodfile: ConfigPlugin<Mod<PodfileProjectFile>>;
|
|
/**
|
|
* Provides the Podfile.properties.json for modification.
|
|
*
|
|
* @param config
|
|
* @param action
|
|
*/
|
|
export declare const withPodfileProperties: ConfigPlugin<Mod<Record<string, string>>>;
|
|
export {};
|