MCPcopy Create free account

hub / github.com/Thanas-R/Virdis / functions

Functions243 in github.com/Thanas-R/Virdis

↓ 198 callersFunctioncn
(...inputs: ClassValue[])
src/lib/utils.ts:4
↓ 25 callersFunctionclampNum
(v: unknown, min = -1e9, max = 1e9)
supabase/functions/crop-planning/index.ts:22
↓ 17 callersFunctionclamp
(value: number, min: number, max: number)
src/components/CropPlanningSection.tsx:1066
↓ 16 callersFunctionclampNum
(v: unknown, min = -1e9, max = 1e9)
supabase/functions/analyze-field/index.ts:25
↓ 12 callersFunctionhaToAcres
(ha: number)
src/data/fields.ts:15
↓ 9 callersFunctioncomputeValue
(token: string, projectId: string, expr: any)
supabase/functions/gee-analytics/index.ts:124
↓ 9 callersFunctionreduceRegion
(image: any, geometry: any, reducerName: string, scale = 10)
supabase/functions/gee-analytics/index.ts:195
↓ 8 callersFunctiongetFreshLocalCacheValue
(key: string, id: string, ttlMs: number)
src/lib/query-cache.ts:21
↓ 7 callersFunctionsetLocalCache
(key: string, id: string, data: T)
src/lib/query-cache.ts:15
↓ 7 callersFunctionuseIsMobile
()
src/hooks/use-mobile.tsx:5
↓ 6 callersFunctionjson
(body: unknown, status = 200)
supabase/functions/mapbox-geocode/index.ts:9
↓ 5 callersFunctionclampStr
(v: unknown)
supabase/functions/crop-planning/index.ts:21
↓ 5 callersFunctionclampStr
(v: unknown)
supabase/functions/analyze-field/index.ts:21
↓ 5 callersFunctiondispatch
(action: Action)
src/hooks/use-toast.ts:128
↓ 5 callersFunctiongetAqiLabel
(aqi: number)
src/components/WeatherView.tsx:69
↓ 5 callersFunctionhasNdviPayload
(value: unknown)
src/lib/query-cache.ts:44
↓ 4 callersFunctiondetectRegion
(locationText: string)
src/components/CropPlanningSection.tsx:191
↓ 4 callersFunctiongetFieldCenter
(field: Field)
src/components/WeatherView.tsx:114
↓ 4 callersFunctionhasSoilPayload
(value: unknown)
src/lib/query-cache.ts:38
↓ 4 callersFunctionmakeGeometry
(coords: [number, number][])
supabase/functions/gee-analytics/index.ts:182
↓ 4 callersFunctionroundTo
(value: number, digits = 1)
src/components/CropPlanningSection.tsx:1070
↓ 4 callersFunctionuseCarousel
()
src/components/ui/carousel.tsx:31
↓ 4 callersFunctionuseFormField
()
src/components/ui/form.tsx:33
↓ 4 callersFunctionuseSidebar
()
src/components/ui/sidebar.tsx:34
↓ 3 callersFunctionbase64url
(data: Uint8Array)
supabase/functions/gee-tile-proxy/index.ts:9
↓ 3 callersFunctionbase64url
(data: Uint8Array)
supabase/functions/gee-ndvi-tiles/index.ts:11
↓ 3 callersFunctionbase64url
(data: Uint8Array)
supabase/functions/ndvi-timeseries/index.ts:49
↓ 3 callersFunctionbase64url
(data: Uint8Array)
supabase/functions/analyze-field/index.ts:58
↓ 3 callersFunctionbase64url
(data: Uint8Array)
supabase/functions/gee-analytics/index.ts:53
↓ 3 callersFunctionbuildReduceRegion
(image: any, geometry: any, reducerName: string)
supabase/functions/analyze-field/index.ts:136
↓ 3 callersFunctioncomputeValue
(token: string, projectId: string, expr: any)
supabase/functions/ndvi-timeseries/index.ts:120
↓ 3 callersFunctioncomputeValue
(expr: any)
supabase/functions/analyze-field/index.ts:172
↓ 3 callersFunctiongetAqiLabel
(aqi: number)
src/components/FieldDetailView.tsx:124
↓ 3 callersFunctiongetCache
(key: string)
src/components/FieldDetailView.tsx:101
↓ 3 callersFunctiongetPayloadConfigFromPayload
(config: ChartConfig, payload: unknown, key: string)
src/components/ui/chart.tsx:278
↓ 3 callersFunctionhasGeeAnalyticsPayload
(value: unknown)
src/lib/query-cache.ts:32
↓ 3 callersFunctionisFallbackPayload
(value: unknown)
src/lib/query-cache.ts:28
↓ 3 callersFunctionrangeScore
(value: number, [min, max]: [number, number], tolerance = 0)
src/components/CropPlanningSection.tsx:1127
↓ 3 callersFunctiontoPct
(v: number | null)
supabase/functions/soil-data/index.ts:171
↓ 2 callersFunctionaddToRemoveQueue
(toastId: string)
src/hooks/use-toast.ts:55
↓ 2 callersFunctionfetchWithRetry
(url: string)
supabase/functions/soil-data/index.ts:111
↓ 2 callersFunctionflushMarkdown
()
src/components/FieldDetailView.tsx:85
↓ 2 callersFunctiongetCachedTimeseries
(key: string, allowStale = false)
supabase/functions/ndvi-timeseries/index.ts:24
↓ 2 callersFunctiongetLocalCache
(key: string)
src/lib/query-cache.ts:6
↓ 2 callersFunctiongetMean
(layers: any[], name: string, depthIdx = 0)
supabase/functions/soil-data/index.ts:13
↓ 2 callersFunctiongetPlanCache
()
src/components/CropPlanningSection.tsx:1075
↓ 2 callersFunctiongetWaterNeedIndex
(waterNeeds: string)
src/components/CropPlanningSection.tsx:1141
↓ 2 callersFunctionhideExtraLabels
(map: mapboxgl.Map)
src/components/MapView.tsx:31
↓ 2 callersFunctionisTableRow
(line: string)
src/components/FieldDetailView.tsx:76
↓ 2 callersFunctionndviColor
(val: number)
src/components/FieldDetailView.tsx:110
↓ 2 callersFunctiononChange
()
src/hooks/use-mobile.tsx:10
↓ 2 callersFunctionsetCache
(key: string, id: string, data: T)
src/components/FieldDetailView.tsx:104
↓ 2 callersFunctionsetPlanCache
(fieldId: string, data: CropPlan)
src/components/CropPlanningSection.tsx:1084
↓ 2 callersFunctionsleep
(ms: number)
supabase/functions/gee-analytics/index.ts:16
↓ 2 callersFunctiontryComputeNdvi
(start: string, end: string)
supabase/functions/analyze-field/index.ts:203
↓ 2 callersFunctionuseChart
()
src/components/ui/chart.tsx:22
↓ 1 callersFunctionbuildAnalyticsCacheKey
(coords: [number, number][], analyses: string[])
supabase/functions/gee-analytics/index.ts:20
↓ 1 callersFunctionbuildCacheKey
(coords: [number, number][])
supabase/functions/ndvi-timeseries/index.ts:20
↓ 1 callersFunctionbuildFilteredCollection
(coords: [number, number][], startDate: string, endDate: string)
supabase/functions/ndvi-timeseries/index.ts:171
↓ 1 callersFunctionbuildImageNdviAtIndex
(list: any, index: number, geometry: any)
supabase/functions/ndvi-timeseries/index.ts:257
↓ 1 callersFunctionbuildLocalCropPlan
({ field, ndviData, soilData, weatherData, suitabilityData }: Omit<CropPlanningSectionProps, "mapToken">)
src/components/CropPlanningSection.tsx:1362
↓ 1 callersFunctionbuildNdviImage
(coords: [number, number][], startDate: string, endDate: string)
supabase/functions/analyze-field/index.ts:123
↓ 1 callersFunctionbuildPlanningSignals
({ ndviData, soilData, weatherData, suitabilityData, field }: Omit<CropPlanningSectionProps, "mapToken">)
src/components/CropPlanningSection.tsx:1147
↓ 1 callersFunctioncalculateAreaAcres
(coords: [number, number][])
src/components/NewFieldDialog.tsx:48
↓ 1 callersFunctionchooseIntercropping
(chosenProfiles: CropProfile[], signals: PlanningSignals)
src/components/CropPlanningSection.tsx:1285
↓ 1 callersFunctionchooseRotationPlan
(chosenProfiles: CropProfile[], signals: PlanningSignals)
src/components/CropPlanningSection.tsx:1235
↓ 1 callersFunctionclassifySoil
(sand: number | null, clay: number | null, silt: number | null, ph: number | null, soc: number | null, wrb: st
supabase/functions/soil-data/index.ts:25
↓ 1 callersFunctioncomputeGrowthStage
(token: string, projectId: string, coords: [number, number][])
supabase/functions/gee-analytics/index.ts:658
↓ 1 callersFunctioncomputeLandSuitability
(token: string, projectId: string, coords: [number, number][])
supabase/functions/gee-analytics/index.ts:510
↓ 1 callersFunctioncomputeLandUse
(token: string, projectId: string, coords: [number, number][])
supabase/functions/gee-analytics/index.ts:212
↓ 1 callersFunctioncomputeVegetationIndices
(token: string, projectId: string, coords: [number, number][])
supabase/functions/gee-analytics/index.ts:276
↓ 1 callersFunctioncreateJwt
(email: string, privateKeyPem: string, scopes: string[])
supabase/functions/gee-tile-proxy/index.ts:14
↓ 1 callersFunctioncreateJwt
(email: string, privateKeyPem: string, scopes: string[])
supabase/functions/gee-ndvi-tiles/index.ts:18
↓ 1 callersFunctioncreateJwt
(email: string, privateKeyPem: string, scopes: string[])
supabase/functions/ndvi-timeseries/index.ts:56
↓ 1 callersFunctioncreateJwt
(email: string, privateKeyPem: string, scopes: string[])
supabase/functions/analyze-field/index.ts:65
↓ 1 callersFunctioncreateJwt
(email: string, privateKeyPem: string, scopes: string[])
supabase/functions/gee-analytics/index.ts:60
↓ 1 callersFunctiondetect
()
src/components/NewFieldDialog.tsx:95
↓ 1 callersFunctiondetectEdgeCase
(field: Field, suitabilityData?: any, ndviData?: any, weatherData?: any, landUseData?: any)
src/components/CropPlanningSection.tsx:132
↓ 1 callersFunctiondismiss
()
src/hooks/use-toast.ts:145
↓ 1 callersFunctionfetchAll
()
src/components/FieldDetailView.tsx:242
↓ 1 callersFunctionfetchAqi
()
src/components/WeatherView.tsx:288
↓ 1 callersFunctionfetchGee
()
src/components/WeatherView.tsx:177
↓ 1 callersFunctionfetchGee
()
src/components/FieldComparisonColumn.tsx:96
↓ 1 callersFunctionfetchGrowthStage
()
src/components/FieldDetailView.tsx:151
↓ 1 callersFunctionfetchLive
()
src/components/WeatherView.tsx:271
↓ 1 callersFunctionfetchNdviStats
()
src/components/FieldDetailView.tsx:295
↓ 1 callersFunctionfetchSoil
()
src/components/FieldDetailView.tsx:268
↓ 1 callersFunctionfetchSoil
()
src/components/WeatherView.tsx:250
↓ 1 callersFunctionfetchToken
()
src/components/WeatherView.tsx:234
↓ 1 callersFunctionfetchToken
()
src/components/MapView.tsx:80
↓ 1 callersFunctionfetchTs
()
src/components/WeatherView.tsx:209
↓ 1 callersFunctionfetchTs
()
src/components/FieldComparisonColumn.tsx:128
↓ 1 callersFunctionfetchWeatherData
()
src/components/WeatherView.tsx:311
↓ 1 callersFunctionfetchWeatherData
()
src/components/FieldComparisonColumn.tsx:154
↓ 1 callersFunctionflatten
(node: any)
supabase/functions/gee-ndvi-tiles/index.ts:52
↓ 1 callersFunctionflatten
(node: any)
supabase/functions/ndvi-timeseries/index.ts:98
↓ 1 callersFunctionflatten
(node: any)
supabase/functions/analyze-field/index.ts:99
↓ 1 callersFunctionflatten
(node: any)
supabase/functions/gee-analytics/index.ts:102
↓ 1 callersFunctionflattenExpression
(nested: any)
supabase/functions/gee-ndvi-tiles/index.ts:49
↓ 1 callersFunctionflattenExpression
(nested: any)
supabase/functions/ndvi-timeseries/index.ts:95
next →1–100 of 243, ranked by callers