✨ 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
77 lines
2.5 KiB
TypeScript
77 lines
2.5 KiB
TypeScript
/**
|
|
* Options passed to validator during validation.
|
|
* @see https://github.com/typestack/class-validator
|
|
*
|
|
* class-validator@0.13.0
|
|
*
|
|
* @publicApi
|
|
*/
|
|
export interface ValidatorOptions {
|
|
/**
|
|
* If set to true then class-validator will print extra warning messages to the console when something is not right.
|
|
*/
|
|
enableDebugMessages?: boolean;
|
|
/**
|
|
* If set to true then validator will skip validation of all properties that are undefined in the validating object.
|
|
*/
|
|
skipUndefinedProperties?: boolean;
|
|
/**
|
|
* If set to true then validator will skip validation of all properties that are null in the validating object.
|
|
*/
|
|
skipNullProperties?: boolean;
|
|
/**
|
|
* If set to true then validator will skip validation of all properties that are null or undefined in the validating object.
|
|
*/
|
|
skipMissingProperties?: boolean;
|
|
/**
|
|
* If set to true validator will strip validated object of any properties that do not have any decorators.
|
|
*
|
|
* Tip: if no other decorator is suitable for your property use @Allow decorator.
|
|
*/
|
|
whitelist?: boolean;
|
|
/**
|
|
* If set to true, instead of stripping non-whitelisted properties validator will throw an error
|
|
*/
|
|
forbidNonWhitelisted?: boolean;
|
|
/**
|
|
* Groups to be used during validation of the object.
|
|
*/
|
|
groups?: string[];
|
|
/**
|
|
* Set default for `always` option of decorators. Default can be overridden in decorator options.
|
|
*/
|
|
always?: boolean;
|
|
/**
|
|
* If [groups]{@link ValidatorOptions#groups} is not given or is empty,
|
|
* ignore decorators with at least one group.
|
|
*/
|
|
strictGroups?: boolean;
|
|
/**
|
|
* If set to true, the validation will not use default messages.
|
|
* Error message always will be undefined if its not explicitly set.
|
|
*/
|
|
dismissDefaultMessages?: boolean;
|
|
/**
|
|
* ValidationError special options.
|
|
*/
|
|
validationError?: {
|
|
/**
|
|
* Indicates if target should be exposed in ValidationError.
|
|
*/
|
|
target?: boolean;
|
|
/**
|
|
* Indicates if validated value should be exposed in ValidationError.
|
|
*/
|
|
value?: boolean;
|
|
};
|
|
/**
|
|
* Settings true will cause fail validation of unknown objects.
|
|
*/
|
|
forbidUnknownValues?: boolean;
|
|
/**
|
|
* When set to true, validation of the given property will stop after encountering the first error.
|
|
* This is enabled by default.
|
|
*/
|
|
stopAtFirstError?: boolean;
|
|
}
|