✨ 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
96 lines
2.4 KiB
JSON
96 lines
2.4 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/schema",
|
|
"$id": "SchematicsNestResource",
|
|
"title": "Nest Resource Options Schema",
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string",
|
|
"description": "The name of the resource.",
|
|
"$default": {
|
|
"$source": "argv",
|
|
"index": 0
|
|
},
|
|
"x-prompt": "What name would you like to use for this resource (plural, e.g., \"users\")?"
|
|
},
|
|
"path": {
|
|
"type": "string",
|
|
"format": "path",
|
|
"description": "The path to create the resource."
|
|
},
|
|
"sourceRoot": {
|
|
"type": "string",
|
|
"description": "Nest resource source root directory."
|
|
},
|
|
"language": {
|
|
"type": "string",
|
|
"description": "Application language (ts/js)."
|
|
},
|
|
"flat": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"description": "Flag to indicate if a directory is created."
|
|
},
|
|
"spec": {
|
|
"type": "boolean",
|
|
"default": true,
|
|
"description": "Specifies if specs file are generated."
|
|
},
|
|
"specFileSuffix": {
|
|
"type": "string",
|
|
"default": "spec",
|
|
"description": "Specifies the file suffix of spec files."
|
|
},
|
|
"type": {
|
|
"type": "string",
|
|
"description": "The transport layer.",
|
|
"default": "rest",
|
|
"enum": [
|
|
"rest",
|
|
"graphql-code-first",
|
|
"graphql-schema-first",
|
|
"microservice",
|
|
"ws"
|
|
],
|
|
"x-prompt": {
|
|
"message": "What transport layer do you use?",
|
|
"type": "list",
|
|
"items": [
|
|
{ "value": "rest", "label": "REST API" },
|
|
{
|
|
"value": "graphql-code-first",
|
|
"label": "GraphQL (code first)"
|
|
},
|
|
{
|
|
"value": "graphql-schema-first",
|
|
"label": "GraphQL (schema first)"
|
|
},
|
|
{
|
|
"value": "microservice",
|
|
"label": "Microservice (non-HTTP)"
|
|
},
|
|
{
|
|
"value": "ws",
|
|
"label": "WebSockets"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"skipImport": {
|
|
"type": "boolean",
|
|
"description": "Flag to skip the module import.",
|
|
"default": false
|
|
},
|
|
"crud": {
|
|
"type": "boolean",
|
|
"description": "When true, CRUD entry points are generated.",
|
|
"default": true,
|
|
"x-prompt": {
|
|
"message": "Would you like to generate CRUD entry points?",
|
|
"type": "confirmation"
|
|
}
|
|
}
|
|
},
|
|
"required": ["name"]
|
|
}
|