Files
smart-city-digital-twin-mar…/smart-app-city/frontend/node_modules/@expo/config-plugins/build/utils/generateCode.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

37 lines
1.3 KiB
TypeScript

export type MergeResults = {
contents: string;
didClear: boolean;
didMerge: boolean;
};
/**
* Merge the contents of two files together and add a generated header.
*
* @param src contents of the original file
* @param newSrc new contents to merge into the original file
* @param identifier used to update and remove merges
* @param anchor regex to where the merge should begin
* @param offset line offset to start merging at (<1 for behind the anchor)
* @param comment comment style `//` or `#`
*/
export declare function mergeContents({ src, newSrc, tag, anchor, offset, comment, }: {
src: string;
newSrc: string;
tag: string;
anchor: string | RegExp;
offset: number;
comment: string;
}): MergeResults;
export declare function removeContents({ src, tag }: {
src: string;
tag: string;
}): MergeResults;
/**
* Removes the generated section from a file, returns null when nothing can be removed.
* This sways heavily towards not removing lines unless it's certain that modifications were not made manually.
*
* @param src
*/
export declare function removeGeneratedContents(src: string, tag: string): string | null;
export declare function createGeneratedHeaderComment(contents: string, tag: string, comment: string): string;
export declare function createHash(src: string): string;