Files
Laca-City/frontend/node_modules/next/dist/build/index.d.ts
PhongPham c65cc97a33 🎯 MapView v2.0 - Global Deployment Ready
 MAJOR FEATURES:
• Auto-zoom intelligence với smart bounds fitting
• Enhanced 3D GPS markers với pulsing effects
• Professional route display với 6-layer rendering
• Status-based parking icons với availability indicators
• Production-ready build optimizations

🗺️ AUTO-ZOOM FEATURES:
• Smart bounds fitting cho GPS + selected parking
• Adaptive padding (50px) cho visual balance
• Max zoom control (level 16) để tránh quá gần
• Dynamic centering khi không có selection

🎨 ENHANCED VISUALS:
• 3D GPS marker với multi-layer pulse effects
• Advanced parking icons với status colors
• Selection highlighting với animation
• Dimming system cho non-selected items

🛣️ ROUTE SYSTEM:
• OpenRouteService API integration
• Multi-layer route rendering (glow, shadow, main, animated)
• Real-time distance & duration calculation
• Visual route info trong popup

📱 PRODUCTION READY:
• SSR safe với dynamic imports
• Build errors resolved
• Global deployment via Vercel
• Optimized performance

🌍 DEPLOYMENT:
• Vercel: https://whatever-ctk2auuxr-phong12hexdockworks-projects.vercel.app
• Bundle size: 22.8 kB optimized
• Global CDN distribution
• HTTPS enabled

💾 VERSION CONTROL:
• MapView-v2.0.tsx backup created
• MAPVIEW_VERSIONS.md documentation
• Full version history tracking
2025-07-20 19:52:16 +07:00

102 lines
3.5 KiB
TypeScript

import type { Revalidate } from '../server/lib/revalidate';
import '../lib/setup-exception-listeners';
import { RSC_PREFETCH_SUFFIX, RSC_SUFFIX } from '../lib/constants';
import type { Header, Redirect, Rewrite, RouteHas } from '../lib/load-custom-routes';
import type { __ApiPreviewProps } from '../server/api-utils';
import { NEXT_ROUTER_PREFETCH_HEADER, RSC_HEADER, NEXT_DID_POSTPONE_HEADER } from '../client/components/app-router-headers';
interface ExperimentalBypassForInfo {
experimentalBypassFor?: RouteHas[];
}
interface ExperimentalPPRInfo {
experimentalPPR: boolean | undefined;
}
interface DataRouteRouteInfo {
dataRoute: string | null;
prefetchDataRoute: string | null | undefined;
}
export interface SsgRoute extends ExperimentalBypassForInfo, DataRouteRouteInfo, ExperimentalPPRInfo {
initialRevalidateSeconds: Revalidate;
srcRoute: string | null;
initialStatus?: number;
initialHeaders?: Record<string, string>;
}
export interface DynamicSsgRoute extends ExperimentalBypassForInfo, DataRouteRouteInfo, ExperimentalPPRInfo {
fallback: string | null | false;
routeRegex: string;
dataRouteRegex: string | null;
prefetchDataRouteRegex: string | null | undefined;
}
export type PrerenderManifest = {
version: 4;
routes: {
[route: string]: SsgRoute;
};
dynamicRoutes: {
[route: string]: DynamicSsgRoute;
};
notFoundRoutes: string[];
preview: __ApiPreviewProps;
};
type ManifestBuiltRoute = {
/**
* The route pattern used to match requests for this route.
*/
regex: string;
};
export type ManifestRewriteRoute = ManifestBuiltRoute & Rewrite;
export type ManifestRedirectRoute = ManifestBuiltRoute & Redirect;
export type ManifestHeaderRoute = ManifestBuiltRoute & Header;
export type ManifestRoute = ManifestBuiltRoute & {
page: string;
namedRegex?: string;
routeKeys?: {
[key: string]: string;
};
};
export type ManifestDataRoute = {
page: string;
routeKeys?: {
[key: string]: string;
};
dataRouteRegex: string;
namedDataRouteRegex?: string;
};
export type RoutesManifest = {
version: number;
pages404: boolean;
basePath: string;
redirects: Array<Redirect>;
rewrites?: Array<ManifestRewriteRoute> | {
beforeFiles: Array<ManifestRewriteRoute>;
afterFiles: Array<ManifestRewriteRoute>;
fallback: Array<ManifestRewriteRoute>;
};
headers: Array<ManifestHeaderRoute>;
staticRoutes: Array<ManifestRoute>;
dynamicRoutes: Array<ManifestRoute>;
dataRoutes: Array<ManifestDataRoute>;
i18n?: {
domains?: Array<{
http?: true;
domain: string;
locales?: string[];
defaultLocale: string;
}>;
locales: string[];
defaultLocale: string;
localeDetection?: false;
};
rsc: {
header: typeof RSC_HEADER;
didPostponeHeader: typeof NEXT_DID_POSTPONE_HEADER;
varyHeader: string;
prefetchHeader: typeof NEXT_ROUTER_PREFETCH_HEADER;
suffix: typeof RSC_SUFFIX;
prefetchSuffix: typeof RSC_PREFETCH_SUFFIX;
};
skipMiddlewareUrlNormalize?: boolean;
caseSensitive?: boolean;
};
export default function build(dir: string, reactProductionProfiling: boolean | undefined, debugOutput: boolean | undefined, runLint: boolean | undefined, noMangling: boolean | undefined, appDirOnly: boolean | undefined, turboNextBuild: boolean | undefined, experimentalBuildMode: 'default' | 'compile' | 'generate'): Promise<void>;
export {};