- 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
47 lines
2.0 KiB
TypeScript
47 lines
2.0 KiB
TypeScript
import * as core from "../core/index.cjs";
|
|
import type { ZodType } from "./schemas.cjs";
|
|
export type {
|
|
/** @deprecated Use `z.output<T>` instead. */
|
|
output as TypeOf,
|
|
/** @deprecated Use `z.output<T>` instead. */
|
|
output as Infer,
|
|
/** @deprecated Use `z.core.$$ZodFirstPartyTypes` instead */
|
|
$ZodTypes as ZodFirstPartySchemaTypes, } from "../core/index.cjs";
|
|
/** @deprecated Use the raw string literal codes instead, e.g. "invalid_type". */
|
|
export declare const ZodIssueCode: {
|
|
readonly invalid_type: "invalid_type";
|
|
readonly too_big: "too_big";
|
|
readonly too_small: "too_small";
|
|
readonly invalid_format: "invalid_format";
|
|
readonly not_multiple_of: "not_multiple_of";
|
|
readonly unrecognized_keys: "unrecognized_keys";
|
|
readonly invalid_union: "invalid_union";
|
|
readonly invalid_key: "invalid_key";
|
|
readonly invalid_element: "invalid_element";
|
|
readonly invalid_value: "invalid_value";
|
|
readonly custom: "custom";
|
|
};
|
|
/** @deprecated Use `z.$ZodFlattenedError` */
|
|
export type inferFlattenedErrors<T extends core.$ZodType, U = string> = core.$ZodFlattenedError<core.output<T>, U>;
|
|
/** @deprecated Use `z.$ZodFormattedError` */
|
|
export type inferFormattedError<T extends core.$ZodType<any, any>, U = string> = core.$ZodFormattedError<core.output<T>, U>;
|
|
/** Use `z.$brand` instead */
|
|
export type BRAND<T extends string | number | symbol = string | number | symbol> = {
|
|
[core.$brand]: {
|
|
[k in T]: true;
|
|
};
|
|
};
|
|
export { $brand, config } from "../core/index.cjs";
|
|
/** @deprecated Use `z.config(params)` instead. */
|
|
export declare function setErrorMap(map: core.$ZodErrorMap): void;
|
|
/** @deprecated Use `z.config()` instead. */
|
|
export declare function getErrorMap(): core.$ZodErrorMap<core.$ZodIssue> | undefined;
|
|
export type {
|
|
/** @deprecated Use z.ZodType (without generics) instead. */
|
|
ZodType as ZodTypeAny,
|
|
/** @deprecated Use `z.ZodType` */
|
|
ZodType as ZodSchema,
|
|
/** @deprecated Use `z.ZodType` */
|
|
ZodType as Schema, };
|
|
export type ZodRawShape = core.$ZodShape;
|