- 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
24 lines
1.3 KiB
TypeScript
24 lines
1.3 KiB
TypeScript
import type { Document } from '../doc/Document';
|
|
import type { Alias } from './Alias';
|
|
import type { Node } from './Node';
|
|
import type { Pair } from './Pair';
|
|
import type { Scalar } from './Scalar';
|
|
import type { YAMLMap } from './YAMLMap';
|
|
import type { YAMLSeq } from './YAMLSeq';
|
|
export declare const ALIAS: unique symbol;
|
|
export declare const DOC: unique symbol;
|
|
export declare const MAP: unique symbol;
|
|
export declare const PAIR: unique symbol;
|
|
export declare const SCALAR: unique symbol;
|
|
export declare const SEQ: unique symbol;
|
|
export declare const NODE_TYPE: unique symbol;
|
|
export declare const isAlias: (node: any) => node is Alias;
|
|
export declare const isDocument: <T extends Node = Node>(node: any) => node is Document<T>;
|
|
export declare const isMap: <K = unknown, V = unknown>(node: any) => node is YAMLMap<K, V>;
|
|
export declare const isPair: <K = unknown, V = unknown>(node: any) => node is Pair<K, V>;
|
|
export declare const isScalar: <T = unknown>(node: any) => node is Scalar<T>;
|
|
export declare const isSeq: <T = unknown>(node: any) => node is YAMLSeq<T>;
|
|
export declare function isCollection<K = unknown, V = unknown>(node: any): node is YAMLMap<K, V> | YAMLSeq<V>;
|
|
export declare function isNode<T = unknown>(node: any): node is Node<T>;
|
|
export declare const hasAnchor: <K = unknown, V = unknown>(node: unknown) => node is Scalar<V> | YAMLMap<K, V> | YAMLSeq<V>;
|