MCPcopy Create free account

hub / github.com/devfullcycle/imersao14 / functions

Functions101 in github.com/devfullcycle/imersao14

↓ 3 callersMethodExecute
(input ChangeRouteStatusInput)
go/internal/routes/usecase/change_route_status.go:33
↓ 3 callersMethodaddRouteWithIcons
(routeOptions: { routeId: string; startMarkerOptions: Omit<google.maps.MarkerOptions, "icon">; end
nextjs/src/app/utils/map.ts:120
↓ 3 callersMethodmoveCar
(routeId: string, position: google.maps.LatLngLiteral)
nextjs/src/app/utils/map.ts:158
↓ 3 callersFunctionuseMap
(containerRef: React.RefObject<HTMLDivElement>)
nextjs/src/app/hooks/useMap.ts:6
↓ 2 callersMethodCalculate
(route *Route)
go/internal/routes/entity/route.go:70
↓ 2 callersMethodExecute
(input CreateRouteInput)
go/internal/routes/usecase/create_route.go:36
↓ 2 callersFunctionNewRoute
(id, name string, distance float64)
go/internal/routes/entity/route.go:37
↓ 2 callersMethodhasRoute
(id: string)
nextjs/src/app/utils/map.ts:175
↓ 2 callersFunctionmakeMarkerIcon
(color: string)
nextjs/src/app/utils/map.ts:256
↓ 2 callersMethodremoveAllRoutes
()
nextjs/src/app/utils/map.ts:171
↓ 2 callersMethodremoveRoute
(id: string)
nextjs/src/app/utils/map.ts:162
↓ 2 callersFunctionsleep
(ms: number)
nextjs/src/app/driver/page.tsx:80
↓ 1 callersMethodCalculate
(route *Route)
go/internal/routes/entity/route.go:57
↓ 1 callersMethodCreate
(route *entity.Route)
go/internal/routes/infra/repository/route_repository_mysql.go:20
↓ 1 callersMethodCreate
(route *Route)
go/internal/routes/entity/route.go:22
↓ 1 callersMethodFindById
(id string)
go/internal/routes/infra/repository/route_repository_mysql.go:30
↓ 1 callersMethodFindById
(id string)
go/internal/routes/entity/route.go:23
↓ 1 callersMethodFinish
(finishedAt time.Time)
go/internal/routes/entity/route.go:51
↓ 1 callersFunctionNewChangeRouteStatusUseCase
(repository entity.RouteRepository)
go/internal/routes/usecase/change_route_status.go:27
↓ 1 callersFunctionNewCreateRouteUseCase
(repository entity.RouteRepository, freight entity.FreightInterface)
go/internal/routes/usecase/create_route.go:29
↓ 1 callersFunctionNewFreight
(pricePerKm float64)
go/internal/routes/entity/route.go:64
↓ 1 callersFunctionNewRouteRepositoryMysql
(db *sql.DB)
go/internal/routes/infra/repository/route_repository_mysql.go:14
↓ 1 callersMethodStart
(startedAt time.Time)
go/internal/routes/entity/route.go:46
↓ 1 callersMethodUpdate
(route *Route)
go/internal/routes/entity/route.go:24
↓ 1 callersMethodaddRoute
(routeOptions: { routeId: string; startMarkerOptions: google.maps.MarkerOptions; endMarkerOptions:
nextjs/src/app/utils/map.ts:94
↓ 1 callersFunctionbootstrap
()
nestjs/src/main.ts:4
↓ 1 callersFunctionbootstrap
()
nestjs/src/repl.ts:4
↓ 1 callersMethodcalculateRoute
( directionsResponseData?: DirectionsResponseData & { request: any } )
nextjs/src/app/utils/map.ts:217
↓ 1 callersFunctionconvertDirectionsResponseToDirectionsResult
( directionsResponse: DirectionsResponseData & { request: any } )
nextjs/src/app/utils/map.ts:286
↓ 1 callersMethodcreate
(createRouteDto: CreateRouteDto)
nestjs/src/routes/routes.service.ts:20
↓ 1 callersMethodcreateOrUpdate
(dto: { route_id: string; lat: number; lng: number })
nestjs/src/routes/routes-driver/routes-driver.service.ts:20
↓ 1 callersMethoddelete
()
nextjs/src/app/utils/map.ts:239
↓ 1 callersMethodfitBounds
()
nextjs/src/app/utils/map.ts:146
↓ 1 callersFunctiongetCurrentPosition
( options?: PositionOptions )
nextjs/src/app/utils/geolocation.ts:1
↓ 1 callersMethodgetDirections
(placeOriginId: string, placeDestinationId: string)
nestjs/src/maps/directions/directions.service.ts:16
↓ 1 callersMethodgetHello
()
nestjs/src/app.service.ts:5
↓ 1 callersFunctionmakeCarIcon
(color: string)
nextjs/src/app/utils/map.ts:247
FunctionAdminPage
()
nextjs/src/app/admin/page.tsx:8
FunctionConsume
(topics []string, servers string, msgChan chan *kafka.Message)
go/pkg/kafka/consumer.go:7
MethodCreate
(route *entity.Route)
go/internal/routes/usecase/create_route_usecase_test.go:15
FunctionDriverPage
()
nextjs/src/app/driver/page.tsx:11
MethodFindById
(id string)
go/internal/routes/usecase/create_route_usecase_test.go:20
FunctionGET
(request: NextRequest)
nextjs/src/app/api/places/route.ts:3
FunctionGET
()
nextjs/src/app/api/routes/route.ts:4
FunctionGET
( request: NextRequest, { params }: { params: { routeId: string } } )
nextjs/src/app/api/routes/[routeId]/route.ts:3
FunctionGET
(request: NextRequest)
nextjs/src/app/api/directions/route.ts:3
FunctionHome
()
nextjs/src/app/page.tsx:4
FunctionNavbar
()
nextjs/src/app/components/Navbar.tsx:3
FunctionNewRoutePage
()
nextjs/src/app/new-route/page.tsx:12
FunctionNextAppDirEmotionCacheProvider
(props: NextAppDirEmotionCacheProviderProps)
nextjs/src/app/components/ThemeRegistry/EmotionCache.tsx:21
FunctionPOST
(request: Request)
nextjs/src/app/api/routes/route.ts:14
FunctionRootLayout
({ children, }: { children: React.ReactNode; })
nextjs/src/app/layout.tsx:11
FunctionRouteSelect
(props: RouteSelectProps)
nextjs/src/app/components/RouteSelect.tsx:11
FunctionTestCreateRouteUseCaseExecute
(t *testing.T)
go/internal/routes/usecase/create_route_usecase_test.go:30
FunctionTestFreightCalculate
(t *testing.T)
go/internal/routes/entity/route_test.go:24
FunctionTestNewChangeRouteStatusUseCase
mock repository
go/internal/routes/usecase/change_route_status_test.go:10
FunctionTestNewRoute
(t *testing.T)
go/internal/routes/entity/route_test.go:8
FunctionTestRouteRepositoryMysqlCreate
(t *testing.T)
go/internal/routes/infra/repository/route_repository_mysql_test.go:14
FunctionThemeRegistry
({ children }: { children: React.ReactNode })
nextjs/src/app/components/ThemeRegistry/ThemeRegistry.tsx:9
MethodUnmarshalJSON
(b []byte)
go/internal/routes/entity/route.go:11
MethodUpdate
(route *entity.Route)
go/internal/routes/infra/repository/route_repository_mysql.go:54
MethodUpdate
(route *entity.Route)
go/internal/routes/usecase/create_route_usecase_test.go:25
Methodconstructor
(element: HTMLElement, options: google.maps.MapOptions)
nextjs/src/app/utils/map.ts:8
Methodconstructor
(options: { startMarkerOptions: google.maps.MarkerOptions; endMarkerOptions: google.maps.MarkerOptions
nextjs/src/app/utils/map.ts:193
Methodconstructor
(private readonly appService: AppService)
nestjs/src/app.controller.ts:7
Methodconstructor
( private googleMapsClient: GoogleMapsClient, private configService: ConfigService, )
nestjs/src/maps/places/places.service.ts:10
Methodconstructor
(private placeService: PlacesService)
nestjs/src/maps/places/places.controller.ts:6
Methodconstructor
(private directionsService: DirectionsService)
nestjs/src/maps/directions/directions.controller.ts:6
Methodconstructor
( private googleMapsClient: GoogleMapsClient, private configService: ConfigService, )
nestjs/src/maps/directions/directions.service.ts:11
Methodconstructor
(private routesDriverService: RoutesDriverService)
nestjs/src/routes/new-points.job.ts:7
Methodconstructor
(route: Route)
nestjs/src/routes/route.serializer.ts:15
Methodconstructor
( private prismaService: PrismaService, private directionsService: DirectionsService, // @Inject('
nestjs/src/routes/routes.service.ts:12
Methodconstructor
(private readonly routesService: RoutesService)
nestjs/src/routes/routes.controller.ts:17
Methodconstructor
( @Inject('KAFKA_SERVICE') private kafkaService: ClientKafka, )
nestjs/src/routes/route-kafka-producer.job.ts:8
Methodconstructor
(@InjectQueue('new-points') private newPointsQueue: Queue)
nestjs/src/routes/routes/routes.gateway.ts:15
Methodconstructor
( private prismaService: PrismaService, @InjectQueue('kafka-producer') private kafkaProducerQueue: Que
nestjs/src/routes/routes-driver/routes-driver.service.ts:11
Methodcreate
(@Body() createRouteDto: CreateRouteDto)
nestjs/src/routes/routes.controller.ts:20
FunctioncreateRoute
()
nextjs/src/app/new-route/page.tsx:72
Functionfetcher
(url: string)
nextjs/src/app/utils/http.ts:1
MethodfindAll
()
nestjs/src/routes/routes.service.ts:69
MethodfindAll
()
nestjs/src/routes/routes.controller.ts:27
MethodfindOne
(id: string)
nestjs/src/routes/routes.service.ts:73
MethodfindOne
(@Param('id') id: string)
nestjs/src/routes/routes.controller.ts:33
MethodfindPlace
(text: string)
nestjs/src/maps/places/places.service.ts:15
MethodfindPlace
(@Query('text') text: string)
nestjs/src/maps/places/places.controller.ts:9
Functionflush
()
nextjs/src/app/components/ThemeRegistry/EmotionCache.tsx:39
MethodgetDirections
( @Query('originId') originId: string, @Query('destinationId') destinationId: string, )
nestjs/src/maps/directions/directions.controller.ts:9
MethodgetHello
()
nestjs/src/app.controller.ts:10
MethodgetRoute
(id: string)
nextjs/src/app/utils/map.ts:179
Methodhandle
(job: Job<{ route_id: string; lat: number; lng: number }>)
nestjs/src/routes/new-points.job.ts:10
Methodhandle
(job: Job<any>)
nestjs/src/routes/route-kafka-producer.job.ts:14
MethodhandleMessage
( client: Socket, payload: { route_id: string; lat: number; lng: number }, )
nestjs/src/routes/routes/routes.gateway.ts:18
Functioninit
()
go/cmd/freight/main.go:43
Functionmain
()
go/cmd/freight/main.go:49
MethodonModuleInit
()
nestjs/src/prisma/prisma/prisma.service.ts:6
Methodremove
(id: number)
nestjs/src/routes/routes.service.ts:83
Methodremove
(@Param('id') id: string)
nestjs/src/routes/routes.controller.ts:44
FunctionsearchPlaces
(event: FormEvent)
nextjs/src/app/new-route/page.tsx:20
FunctionstartRoute
()
nextjs/src/app/driver/page.tsx:22
Methodupdate
(id: number, updateRouteDto: UpdateRouteDto)
nestjs/src/routes/routes.service.ts:79
next →1–100 of 101, ranked by callers