- 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
43 lines
1.2 KiB
JavaScript
43 lines
1.2 KiB
JavaScript
'use strict'
|
|
|
|
const get = require('./get.js')
|
|
const put = require('./put.js')
|
|
const rm = require('./rm.js')
|
|
const verify = require('./verify.js')
|
|
const { clearMemoized } = require('./memoization.js')
|
|
const tmp = require('./util/tmp.js')
|
|
const index = require('./entry-index.js')
|
|
|
|
module.exports.index = {}
|
|
module.exports.index.compact = index.compact
|
|
module.exports.index.insert = index.insert
|
|
|
|
module.exports.ls = index.ls
|
|
module.exports.ls.stream = index.lsStream
|
|
|
|
module.exports.get = get
|
|
module.exports.get.byDigest = get.byDigest
|
|
module.exports.get.stream = get.stream
|
|
module.exports.get.stream.byDigest = get.stream.byDigest
|
|
module.exports.get.copy = get.copy
|
|
module.exports.get.copy.byDigest = get.copy.byDigest
|
|
module.exports.get.info = get.info
|
|
module.exports.get.hasContent = get.hasContent
|
|
|
|
module.exports.put = put
|
|
module.exports.put.stream = put.stream
|
|
|
|
module.exports.rm = rm.entry
|
|
module.exports.rm.all = rm.all
|
|
module.exports.rm.entry = module.exports.rm
|
|
module.exports.rm.content = rm.content
|
|
|
|
module.exports.clearMemoized = clearMemoized
|
|
|
|
module.exports.tmp = {}
|
|
module.exports.tmp.mkdir = tmp.mkdir
|
|
module.exports.tmp.withTmp = tmp.withTmp
|
|
|
|
module.exports.verify = verify
|
|
module.exports.verify.lastRun = verify.lastRun
|