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

@@ -37,8 +37,8 @@
<div class="order-1 lg:order-2">
<Stack gap="2">
<NuxtLink
v-for="edge in edges"
:key="edge.toUuid"
v-for="(edge, index) in edges"
:key="edge.toUuid ?? index"
:to="localePath(`/catalog/hubs/${edge.toUuid}`)"
class="flex flex-col gap-2 p-3 rounded-lg border border-base-300 hover:bg-base-200 transition-colors"
>
@@ -304,8 +304,10 @@ const onMapCreated = (map: MapboxMapType) => {
// Popups on click
map.on('click', 'current-hub-circle', (e) => {
const coordinates = (e.features![0].geometry as GeoJSON.Point).coordinates.slice() as [number, number]
const name = e.features![0].properties?.name
const feature = e.features?.[0]
if (!feature) return
const coordinates = (feature.geometry as GeoJSON.Point).coordinates.slice() as [number, number]
const name = feature.properties?.name
new Popup()
.setLngLat(coordinates)
@@ -314,8 +316,10 @@ const onMapCreated = (map: MapboxMapType) => {
})
map.on('click', 'neighbors-circles', (e) => {
const coordinates = (e.features![0].geometry as GeoJSON.Point).coordinates.slice() as [number, number]
const featureProps = e.features![0].properties
const feature = e.features?.[0]
if (!feature) return
const coordinates = (feature.geometry as GeoJSON.Point).coordinates.slice() as [number, number]
const featureProps = feature.properties
const name = featureProps?.name
const distanceKm = featureProps?.distanceKm