Files
smart-city-digital-twin-mar…/smart-app-city/frontend/node_modules/@rnx-kit/chromium-edge-launcher/lib/edge-launcher.d.ts
Eric FELIXINE e30ae8ed09 feat(smart-app): implement complete mobile app MVP
- 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
2026-06-01 18:00:35 -04:00

72 lines
2.1 KiB
TypeScript

/// <reference types="node" />
/// <reference types="node" />
import type { ChildProcess } from "child_process";
import * as childProcess from "child_process";
import * as fs from "fs";
export type RimrafModule = (path: string, callback: (error: Error | null | undefined) => void) => void;
export type Options = {
startingUrl?: string;
edgeFlags?: string[];
port?: number;
handleSIGINT?: boolean;
edgePath?: string;
userDataDir?: string | boolean;
logLevel?: "verbose" | "info" | "error" | "silent";
ignoreDefaultFlags?: boolean;
connectionPollInterval?: number;
maxConnectionRetries?: number;
envVars?: Record<string, string | undefined>;
};
export type LaunchedEdge = {
pid: number;
port: number;
process: ChildProcess;
kill: () => Promise<void>;
};
export type ModuleOverrides = {
fs?: typeof fs;
rimraf?: RimrafModule;
spawn?: typeof childProcess.spawn;
};
declare function launch(opts?: Options): Promise<LaunchedEdge>;
declare function killAll(): Promise<Error[]>;
declare class Launcher {
private opts;
private tmpDirandPidFileReady;
private pidFile?;
private startingUrl;
private outFile?;
private errFile?;
private edgePath?;
private ignoreDefaultFlags?;
private edgeFlags;
private requestedPort?;
private connectionPollInterval;
private maxConnectionRetries;
private fs;
private rimraf;
private spawn;
private useDefaultProfile;
private envVars;
edge?: childProcess.ChildProcess;
userDataDir?: string;
port?: number;
pid?: number;
constructor(opts?: Options, moduleOverrides?: ModuleOverrides);
private get flags();
static defaultFlags(): string[];
/** Returns the highest priority edge installation. */
static getFirstInstallation(): string | undefined;
makeTmpDir(): string;
prepare(): void;
launch(): Promise<void>;
private spawnProcess;
private cleanup;
private isDebuggerReady;
waitUntilReady(): Promise<void>;
kill(): Promise<void>;
destroyTmp(): Promise<void>;
}
export default Launcher;
export { Launcher, killAll, launch };
//# sourceMappingURL=edge-launcher.d.ts.map