- 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
33 lines
1.5 KiB
JavaScript
33 lines
1.5 KiB
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.resolveExtraBuildDependenciesAsync = exports.resolveModulesAsync = void 0;
|
|
const utils_1 = require("./utils");
|
|
/**
|
|
* Resolves search results to a list of platform-specific configuration.
|
|
*/
|
|
async function resolveModulesAsync(searchResults, options) {
|
|
const platformLinking = (0, utils_1.getLinkingImplementationForPlatform)(options.platform);
|
|
return (await Promise.all(Object.entries(searchResults).map(async ([packageName, revision]) => {
|
|
const resolvedModule = await platformLinking.resolveModuleAsync(packageName, revision, options);
|
|
return resolvedModule
|
|
? {
|
|
packageName,
|
|
packageVersion: revision.version,
|
|
...resolvedModule,
|
|
}
|
|
: null;
|
|
})))
|
|
.filter(Boolean)
|
|
.sort((a, b) => a.packageName.localeCompare(b.packageName));
|
|
}
|
|
exports.resolveModulesAsync = resolveModulesAsync;
|
|
/**
|
|
* Resolves the extra build dependencies for the project, such as additional Maven repositories or CocoaPods pods.
|
|
*/
|
|
async function resolveExtraBuildDependenciesAsync(options) {
|
|
const platformLinking = (0, utils_1.getLinkingImplementationForPlatform)(options.platform);
|
|
const extraDependencies = await platformLinking.resolveExtraBuildDependenciesAsync(options.projectRoot);
|
|
return extraDependencies ?? [];
|
|
}
|
|
exports.resolveExtraBuildDependenciesAsync = resolveExtraBuildDependenciesAsync;
|
|
//# sourceMappingURL=resolveModules.js.map
|