- 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
61 lines
2.1 KiB
TypeScript
61 lines
2.1 KiB
TypeScript
import { AndroidGradlePluginDescriptor, RawExpoModuleConfig, RawModuleConfigApple, SupportedPlatform } from './types';
|
|
/**
|
|
* A class that wraps the raw config (`expo-module.json` or `unimodule.json`).
|
|
*/
|
|
export declare class ExpoModuleConfig {
|
|
readonly rawConfig: RawExpoModuleConfig;
|
|
constructor(rawConfig: RawExpoModuleConfig);
|
|
/**
|
|
* Whether the module supports given platform.
|
|
*/
|
|
supportsPlatform(platform: SupportedPlatform): boolean;
|
|
/**
|
|
* Returns the generic config for all Apple platforms with a fallback to the legacy iOS config.
|
|
*/
|
|
getAppleConfig(): RawModuleConfigApple | null;
|
|
/**
|
|
* Returns a list of names of Swift native modules classes to put to the generated modules provider file.
|
|
*/
|
|
appleModules(): string[];
|
|
/**
|
|
* Returns a list of names of Swift classes that receives AppDelegate life-cycle events.
|
|
*/
|
|
appleAppDelegateSubscribers(): string[];
|
|
/**
|
|
* Returns a list of names of Swift classes that implement `ExpoReactDelegateHandler`.
|
|
*/
|
|
appleReactDelegateHandlers(): string[];
|
|
/**
|
|
* Returns podspec paths defined by the module author.
|
|
*/
|
|
applePodspecPaths(): string[];
|
|
/**
|
|
* Returns the product module names, if defined by the module author.
|
|
*/
|
|
appleSwiftModuleNames(): string[];
|
|
/**
|
|
* Returns whether this module will be added only to the debug configuration
|
|
*/
|
|
appleDebugOnly(): boolean;
|
|
/**
|
|
* Returns a list of names of Kotlin native modules classes to put to the generated package provider file.
|
|
*/
|
|
androidModules(): string[];
|
|
/**
|
|
* Returns build.gradle file paths defined by the module author.
|
|
*/
|
|
androidGradlePaths(): string[];
|
|
/**
|
|
* Returns gradle plugins descriptors defined by the module author.
|
|
*/
|
|
androidGradlePlugins(): AndroidGradlePluginDescriptor[];
|
|
/**
|
|
* Returns serializable raw config.
|
|
*/
|
|
toJSON(): RawExpoModuleConfig;
|
|
}
|
|
/**
|
|
* Reads the config at given path and returns the config wrapped by `ExpoModuleConfig` class.
|
|
*/
|
|
export declare function requireAndResolveExpoModuleConfig(path: string): ExpoModuleConfig;
|