Fix all TypeScript errors and remove Storybook
All checks were successful
Build Docker Image / build (push) Successful in 5m8s

- Remove all Storybook files and configuration
- Add type declarations for @vueuse/core, @formkit/core, vue3-apexcharts
- Fix TypeScript configuration (typeRoots, include paths)
- Fix Sentry config - move settings to plugin
- Fix nullable prop assignments with ?? operator
- Fix type narrowing issues with explicit type assertions
- Fix Card component linkable computed properties
- Update codegen with operationResultSuffix
- Fix GraphQL operation type definitions
This commit is contained in:
Ruslan Bakiev
2026-01-26 00:32:36 +07:00
parent b326d8cd76
commit 2b6cccdead
99 changed files with 419 additions and 1171 deletions

View File

@@ -120,7 +120,7 @@ const fetchRouteGeometry = async (stage: RouteStage): Promise<[number, number][]
fromLon: stage.fromLon,
toLat: stage.toLat,
toLon: stage.toLon
}, 'public', 'geo')
}, 'public', 'geo') as Record<string, any>
const geometry = routeData?.[routeField]?.geometry
if (typeof geometry === 'string') {
@@ -363,13 +363,15 @@ const onMapCreated = (map: MapboxMapType) => {
// Click on marker
map.on('click', 'orders-markers-circles', (e) => {
const props = e.features?.[0]?.properties
const feature = e.features?.[0]
if (!feature) return
const props = feature.properties
const orderId = props?.orderId
if (orderId) {
emit('select-order', orderId)
}
const coordinates = (e.features?.[0].geometry as GeoJSON.Point).coordinates.slice() as [number, number]
const coordinates = (feature.geometry as GeoJSON.Point).coordinates.slice() as [number, number]
new Popup()
.setLngLat(coordinates)
.setHTML(`<strong>${props?.name || 'Point'}</strong><br/>${props?.orderName || ''}`)