MCPcopy Create free account

hub / github.com/yousifamanuel/terraink / functions

Functions313 in github.com/yousifamanuel/terraink

↓ 30 callersFunctionclamp
(value: number, min: number, max: number)
src/shared/geo/math.ts:5
↓ 18 callersFunctioncreateSvgIcon
(id: string, label: string, component: IconType)
src/features/markers/infrastructure/iconRegistry.ts:27
↓ 18 callersFunctionnormalizeHexColor
(color: string)
src/shared/utils/color.ts:20
↓ 15 callersFunctioncompensateLineWidthStops
( stops: [number, number][], )
src/features/map/infrastructure/maplibreStyle.ts:175
↓ 15 callersFunctionlineClassFilter
(classes: string[])
src/features/map/infrastructure/maplibreStyle.ts:181
↓ 15 callersFunctionresolveByCandidates
(theme: ThemeObject, candidates: string[])
src/features/theme/infrastructure/themeRepository.ts:173
↓ 15 callersFunctionwidthExpr
(stops: [number, number][])
src/features/map/infrastructure/maplibreStyle.ts:158
↓ 12 callersFunctiongetThemeColorByPath
( theme: unknown, keyPath: ThemeColorKey | string, )
src/features/theme/domain/colorPaths.ts:7
↓ 12 callersFunctionopacityExpr
(stops: [number, number][])
src/features/map/infrastructure/maplibreStyle.ts:163
↓ 11 callersFunctionappend
(part: string | Uint8Array)
src/features/export/infrastructure/pdfExporter.ts:50
↓ 11 callersFunctionusePosterContext
()
src/features/poster/ui/PosterContext.tsx:233
↓ 8 callersFunctionparseHex
(hex: string)
src/shared/utils/color.ts:61
↓ 7 callersMethodget
( url: string, options?: RequestInit, timeoutMs?: number, )
src/core/http/ports.ts:2
↓ 6 callersFunctiontoPositiveNumber
(value: unknown, fallback: number)
src/shared/utils/number.ts:19
↓ 6 callersFunctionwaitForMapIdle
(map: MaplibreMap)
src/features/export/infrastructure/layeredSvgExporter.ts:34
↓ 6 callersFunctionwithAlpha
(hex: string, alpha: number)
src/shared/utils/color.ts:200
↓ 5 callersFunctionblendHex
(hexA: string, hexB: string, weight = 0.5)
src/shared/utils/color.ts:209
↓ 5 callersFunctionbuildDynamicColorChoices
( currentColor: string, paletteColors: string[], )
src/features/theme/domain/colorSuggestions.ts:36
↓ 5 callersFunctiongetPathValue
(theme: ThemeObject, path: string)
src/features/theme/infrastructure/themeRepository.ts:131
↓ 5 callersFunctionisObject
(value: unknown)
src/features/theme/infrastructure/themeRepository.ts:119
↓ 5 callersFunctionscaledStops
( stops: [number, number][], scale: number, )
src/features/map/infrastructure/maplibreStyle.ts:168
↓ 5 callersFunctiontoCqMin
(px: number)
src/features/poster/ui/PosterTextOverlay.tsx:50
↓ 5 callersFunctionwriteObject
( objectId: number, dictionary: string, streamBytes: Uint8Array | null = null, )
src/features/export/infrastructure/pdfExporter.ts:56
↓ 4 callersFunctionaddMore
(color: string)
src/features/theme/domain/colorSuggestions.ts:58
↓ 4 callersFunctionclampDistance
(value: number)
src/features/map/ui/MapDimensionFields.tsx:26
↓ 4 callersFunctionclearColorPickerState
()
src/features/map/ui/MapSettingsSection.tsx:156
↓ 4 callersFunctiondistanceToZoom
( distanceMeters: number, latDeg: number, containerPx: number, )
src/features/map/application/useMapSync.ts:21
↓ 4 callersFunctionformatLayoutCm
(value: number)
src/features/layout/domain/layoutMatcher.ts:52
↓ 4 callersFunctionformatPdfNumber
(value: number)
src/features/export/infrastructure/pdfExporter.ts:17
↓ 4 callersFunctiongetLayoutOption
(layoutId: string)
src/features/layout/infrastructure/layoutRepository.ts:138
↓ 4 callersFunctionisMobileTouchInput
()
src/features/markers/ui/MarkerOverlay.tsx:72
↓ 4 callersFunctionnormalizeLocationResult
( entry: NominatimEntry | null | undefined, fallbackLabel = "", )
src/features/location/infrastructure/locationParser.ts:40
↓ 4 callersFunctionnormalizeTheme
(themeInput: unknown)
src/features/theme/infrastructure/themeRepository.ts:182
↓ 4 callersFunctionpickFirstAddressValue
( address: Record<string, string>, keys: string[], )
src/features/location/infrastructure/locationParser.ts:27
↓ 4 callersFunctionshiftHexColor
( color: string, { hShift = 0, sShift = 0, lShift = 0, }: { hShift?: number; sShift?: number
src/shared/utils/color.ts:175
↓ 4 callersFunctionwriteUint32BE
(target: Uint8Array, offset: number, value: number)
src/features/export/infrastructure/pngExporter.ts:1
↓ 3 callersFunctionapplyResolvedLocation
(location: PendingLocation | null)
src/features/location/ui/StartupLocationModal.tsx:60
↓ 3 callersFunctioncloseModal
()
src/features/location/ui/StartupLocationModal.tsx:52
↓ 3 callersFunctionformatLayoutDimensions
(layoutOption: Layout)
src/features/layout/infrastructure/layoutRepository.ts:133
↓ 3 callersFunctiongetAllMarkerIcons
(customIcons: MarkerIconDefinition[])
src/features/markers/infrastructure/iconRegistry.ts:82
↓ 3 callersFunctiongetGeolocationFailureMessage
( reason: GeolocationFailureReason, options?: { includeManualFallback?: boolean }, )
src/features/location/infrastructure/geolocation.ts:142
↓ 3 callersFunctionhueToRgb
(p: number, q: number, t: number)
src/shared/utils/color.ts:138
↓ 3 callersFunctionisLoading
(format: ExportFormat)
src/features/export/ui/MobileExportFab.tsx:63
↓ 3 callersFunctionisLoading
(fmt: "png" | "pdf" | "svg")
src/features/export/ui/DesktopExportFab.tsx:22
↓ 3 callersFunctionisObject
(value: unknown)
src/features/theme/domain/colorPaths.ts:3
↓ 3 callersFunctionmix
(from: number, to: number)
src/shared/utils/color.ts:223
↓ 3 callersFunctionparseNumericInput
( label: string, value: string | number, )
src/shared/utils/number.ts:4
↓ 3 callersMethodread
(key: string, maxAgeMs?: number)
src/core/cache/ports.ts:2
↓ 3 callersFunctionrequestCurrentPositionWithRetry
({ timeoutMs, maxAttempts = 2, }: GeolocationRequestOptions)
src/features/location/infrastructure/geolocation.ts:62
↓ 3 callersFunctionresolveZoomBounds
( latDeg: number, containerPx: number, )
src/features/map/application/useMapSync.ts:56
↓ 3 callersFunctionrunExport
(format: ExportFormat)
src/features/export/ui/MobileExportFab.tsx:49
↓ 3 callersFunctiontoHex
(value: number)
src/features/markers/ui/MarkerOverlay.tsx:38
↓ 3 callersFunctiontoUniqueHexColors
(colors: string[] = [])
src/shared/utils/color.ts:39
↓ 3 callersFunctiontriggerDownloadBlob
(blob: Blob, filename: string)
src/features/export/infrastructure/fileDownloader.ts:1
↓ 3 callersFunctionuseLocationAutocomplete
( locationInput: string, isFocused: boolean, )
src/features/location/application/useLocationAutocomplete.ts:11
↓ 3 callersFunctionuseMapSync
()
src/features/map/application/useMapSync.ts:80
↓ 3 callersMethodwrite
(key: string, data: unknown)
src/core/cache/ports.ts:3
↓ 2 callersFunctionaddSuggested
(color: string)
src/features/theme/domain/colorSuggestions.ts:51
↓ 2 callersFunctionapplyFades
( ctx: CanvasRenderingContext2D, width: number, height: number, color: string, )
src/features/poster/infrastructure/renderer/layers.ts:3
↓ 2 callersFunctionapplyFallback
()
src/features/map/application/useGeolocation.ts:22
↓ 2 callersFunctionapplyTarget
( city: string, country: string, continent: string, label: string, includeCoordi
src/features/poster/ui/PreviewPanel.tsx:284
↓ 2 callersFunctioncanvasToDataUrl
( width: number, height: number, draw: (ctx: CanvasRenderingContext2D) => void, )
src/features/export/infrastructure/layeredSvgExporter.ts:76
↓ 2 callersFunctioncloseModal
()
src/features/updates/ui/AnnouncementModal.tsx:222
↓ 2 callersFunctioncreateBounds
( centerLat: number, centerLon: number, halfMetersX: number, halfMetersY: number, )
src/shared/geo/bounds.ts:18
↓ 2 callersFunctioncreateCustomLayoutOption
( widthCm: number, heightCm: number, )
src/features/layout/infrastructure/layoutRepository.ts:147
↓ 2 callersFunctioncreateDefaultMarkerSettings
()
src/features/markers/infrastructure/helpers.ts:19
↓ 2 callersFunctioncreateId
(prefix: string)
src/features/markers/infrastructure/helpers.ts:11
↓ 2 callersFunctioncreatePosterFilename
( cityOrLocation: string, themeId: string, extension = "png", )
src/features/export/infrastructure/filenameGenerator.ts:21
↓ 2 callersFunctioncreateSymbolFromRatio
(width: number, height: number)
src/features/layout/infrastructure/layoutRepository.ts:34
↓ 2 callersFunctiondistanceToSliderValue
(distanceMeters: number)
src/features/map/ui/MapDimensionFields.tsx:42
↓ 2 callersFunctiondrawMarkersOnCanvas
( ctx: CanvasRenderingContext2D, markers: MarkerItem[], icons: MarkerIconDefinition[], projection: Mar
src/features/markers/infrastructure/rendering.ts:64
↓ 2 callersFunctiondrawPosterText
( ctx: CanvasRenderingContext2D, width: number, height: number, theme: { ui?: { text?: string } }, c
src/features/poster/infrastructure/renderer/typography.ts:22
↓ 2 callersFunctionfetchWithTimeout
( url: string, options: RequestInit = {}, timeoutMs: number = 20_000, )
src/core/http/fetchAdapter.ts:3
↓ 2 callersFunctionfindMarkerIcon
( iconId: string, customIcons: MarkerIconDefinition[], )
src/features/markers/infrastructure/iconRegistry.ts:86
↓ 2 callersFunctionformatCityLabel
(city: string)
src/features/poster/domain/textLayout.ts:48
↓ 2 callersFunctionformatCoordinate
(value: number)
src/features/markers/ui/MarkersSection.tsx:57
↓ 2 callersFunctionformatCoordinates
(lat: number, lon: number)
src/shared/geo/posterBounds.ts:48
↓ 2 callersFunctionformatDecimal
(value: number)
src/features/layout/infrastructure/layoutRepository.ts:29
↓ 2 callersFunctiongeocodeLocation
(query: string)
src/features/location/infrastructure/nominatimAdapter.ts:57
↓ 2 callersFunctiongetStorageKey
(apiUrl: string)
src/shared/hooks/useRepoStars.ts:33
↓ 2 callersFunctiongetTheme
(themeName: string)
src/features/theme/infrastructure/themeRepository.ts:318
↓ 2 callersFunctiongetThemePalette
(theme: unknown)
src/features/theme/infrastructure/themeRepository.ts:298
↓ 2 callersFunctiongetTouchDistance
(touches: TouchListLike)
src/features/markers/ui/MarkerOverlay.tsx:75
↓ 2 callersFunctionhslToRgb
({ h, s, l }: HSL)
src/shared/utils/color.ts:148
↓ 2 callersFunctionisAndroid
()
src/features/install/application/useInstallPrompt.ts:21
↓ 2 callersFunctionisCssColor
(value: string)
src/features/theme/infrastructure/themeRepository.ts:123
↓ 2 callersFunctionisHexColor
(value: string)
src/features/markers/ui/MarkersSection.tsx:47
↓ 2 callersFunctionisInStandaloneMode
()
src/features/install/application/useInstallPrompt.ts:25
↓ 2 callersFunctionisIos
()
src/features/install/application/useInstallPrompt.ts:14
↓ 2 callersFunctionlatLonToWorld
(lat: number, lon: number, zoom: number)
src/features/markers/infrastructure/projection.ts:4
↓ 2 callersFunctionloadImage
(src: string)
src/features/markers/infrastructure/rendering.ts:12
↓ 2 callersFunctionmatchesLayoutSize
( layoutOption: Layout, widthCm: number, heightCm: number, toleranceCm: number, )
src/features/layout/domain/layoutMatcher.ts:5
↓ 2 callersFunctionnormalizePositiveNumber
(value: number, fallback: number)
src/features/export/infrastructure/pdfExporter.ts:12
↓ 2 callersFunctionnormalizePosterSizeValue
( value: unknown, fallbackValue: number, minCm: number, maxCm: number, )
src/features/layout/domain/layoutMatcher.ts:39
↓ 2 callersFunctionnormalizeReferencePath
(referencePath: string)
src/features/theme/infrastructure/themeRepository.ts:142
↓ 2 callersFunctionopenDatabase
()
src/features/markers/infrastructure/customIconStorage.ts:8
↓ 2 callersFunctionrgbToHexColor
({ r, g, b }: RGB)
src/shared/utils/color.ts:100
↓ 2 callersFunctionsanitizeLayerId
(id: string)
src/features/export/infrastructure/layeredSvgExporter.ts:93
↓ 2 callersFunctionsearchLocations
( query: string, limit = 6, )
src/features/location/infrastructure/nominatimAdapter.ts:23
↓ 2 callersFunctionsnapDistanceToAdaptiveStep
(distanceMeters: number)
src/features/map/ui/MapDimensionFields.tsx:36
next →1–100 of 313, ranked by callers