MCPcopy Create free account

hub / github.com/ImGoodBai/MapGoGoGo / functions

Functions85 in github.com/ImGoodBai/MapGoGoGo

↓ 11 callersFunctionconnect
()
backend/app/db.py:19
↓ 11 callersFunctionrequest
(path: string, init?: RequestInit)
frontend/src/api.ts:11
↓ 10 callersFunctionrow_to_dict
(row: sqlite3.Row | None)
backend/app/db.py:133
↓ 7 callersFunctionnow_iso
()
backend/app/main.py:50
↓ 6 callersFunctionget_or_create_participant
( response: Response, participant_id: Annotated[str | None, Cookie(alias=COOKIE_NAME)] = None, )
backend/app/main.py:104
↓ 6 callersFunctionpct
(value: number)
frontend/src/App.tsx:68
↓ 5 callersFunctionpublic_challenge
(conn, row)
backend/app/main.py:171
↓ 4 callersFunctionsafeLatLngToCell
(lat: number, lng: number, resolution: number)
frontend/src/App.tsx:136
↓ 3 callersFunctionapplyOverlayOptions
(overlay: any, options: Record<string, unknown>)
frontend/src/maps.tsx:151
↓ 3 callersFunctionapplyPlace
(next: SelectedPlace)
frontend/src/App.tsx:415
↓ 3 callersFunctionchallenge_stats
(conn, challenge_id: str)
backend/app/main.py:142
↓ 3 callersFunctionnew_id
(prefix: str)
backend/app/main.py:54
↓ 3 callersFunctionrecord_event
( conn, challenge_id: str, participant_id: str, reason: str, position: PositionIn, )
backend/app/main.py:179
↓ 3 callersFunctionresetSimulator
(clearProgress = false)
frontend/src/App.tsx:883
↓ 3 callersFunctionwgs84_to_gcj02
(lat: float, lng: float)
backend/app/geo.py:49
↓ 2 callersFunctionaddChangedCells
(previous: Set<string>, next: Set<string>, changed: Set<string>)
frontend/src/maps.tsx:157
↓ 2 callersFunctioncellStyle
( cellId: string, unlocked: Set<string>, mine: Set<string>, currentCellId?: string | null )
frontend/src/maps.tsx:99
↓ 2 callersFunctionchallengeShareText
(challenge: Challenge)
frontend/src/App.tsx:80
↓ 2 callersFunctioncloneCellStyleState
( unlocked: Set<string>, mine: Set<string>, currentCellId?: string | null )
frontend/src/maps.tsx:166
↓ 2 callersFunctioncopyText
(text: string)
frontend/src/App.tsx:89
↓ 2 callersFunctiondefault_nickname
(participant_id: str)
backend/app/main.py:100
↓ 2 callersFunctioninit_db
()
backend/app/db.py:30
↓ 2 callersFunctionisDesktopSimulatorLayout
()
frontend/src/App.tsx:130
↓ 2 callersFunctionlatlng_to_cell
(lat: float, lng: float, resolution: int)
backend/app/geo.py:23
↓ 2 callersFunctionload
()
frontend/src/App.tsx:701
↓ 2 callersFunctionloadAmap
(config: AppConfig | null, plugins: string[] = [])
frontend/src/maps.tsx:55
↓ 2 callersFunctionnormalizeRotation
(value = 0)
frontend/src/maps.tsx:136
↓ 2 callersFunctionrefreshChallenges
()
frontend/src/App.tsx:197
↓ 2 callersFunctionremoveOverlays
(map: any, overlays: any[])
frontend/src/maps.tsx:140
↓ 2 callersFunctionsafeCellBoundary
(cellId: string)
frontend/src/maps.tsx:91
↓ 2 callersFunctionzoomBy
(delta: number)
frontend/src/maps.tsx:270
↓ 1 callersFunction_transform_lat
(lat: float, lng: float)
backend/app/geo.py:31
↓ 1 callersFunction_transform_lng
(lat: float, lng: float)
backend/app/geo.py:40
↓ 1 callersFunctionbounds
(cells: ChallengeCell[])
frontend/src/maps.tsx:73
↓ 1 callersFunctioncell_center
(cell_id: str)
backend/app/geo.py:63
↓ 1 callersFunctionchallengeShareUrl
(challengeId: string)
frontend/src/App.tsx:76
↓ 1 callersFunctioncheckLocationPermission
()
frontend/src/App.tsx:790
↓ 1 callersFunctiondb_path
()
backend/app/db.py:11
↓ 1 callersFunctionexplainGeoError
(err: GeolocationPositionError)
frontend/src/App.tsx:764
↓ 1 callersFunctiongenerate_circle_cells
( center_lat: float, center_lng: float, radius_m: int, resolution: int )
backend/app/geo.py:68
↓ 1 callersFunctionhaversine_m
(lat1: float, lng1: float, lat2: float, lng2: float)
backend/app/geo.py:13
↓ 1 callersFunctionin_mainland_china
(lat: float, lng: float)
backend/app/geo.py:27
↓ 1 callersFunctionisMobile
()
frontend/src/App.tsx:123
↓ 1 callersFunctionisWeChat
()
frontend/src/App.tsx:119
↓ 1 callersFunctionmanual_unlock_enabled
()
backend/app/main.py:58
↓ 1 callersFunctionmoveByMeters
( point: { lat: number; lng: number }, direction: SimDirection, meters: number, rotationDeg = 0 )
frontend/src/App.tsx:144
↓ 1 callersFunctionpositionOverlayOptions
(currentPosition: MapPosition)
frontend/src/maps.tsx:178
↓ 1 callersFunctionsearchPlaces
()
frontend/src/App.tsx:422
↓ 1 callersFunctionshareChallenge
(challenge: Challenge)
frontend/src/App.tsx:322
FunctionAdminView
()
frontend/src/App.tsx:1328
FunctionAmapView
({ config, challenge, cells = [], unlocked = new Set(), mine = new Set(), currentPosition, curre
frontend/src/maps.tsx:212
FunctionApp
()
frontend/src/App.tsx:168
FunctionChallengeMap
(props: MapProps)
frontend/src/maps.tsx:205
FunctionChallengeView
({ config, challengeId, participant, onBack, }: { config: AppConfig | null; challengeId: string;
frontend/src/App.tsx:647
FunctionCreateView
({ config, participant, onCreated, }: { config: AppConfig | null; participant: Participant | null;
frontend/src/App.tsx:394
FunctionDesktopSimulatorPanel
({ challenge, cells, simCellId, simPosition, simCellInside, simMineCount, stepM, rotationDeg,
frontend/src/App.tsx:1163
FunctionHomeView
({ challenges, onCreate, onOpen, }: { challenges: Challenge[]; onCreate: () => void; onOpen: (id:
frontend/src/App.tsx:310
FunctionLeaderboard
({ rows, participantId, showTitle = true, }: { rows: LeaderboardRow[]; participantId?: string; sho
frontend/src/App.tsx:1296
FunctionMapZoomControls
({ onZoomIn, onZoomOut, }: { onZoomIn: () => void; onZoomOut: () => void; })
frontend/src/maps.tsx:533
FunctionMockMap
({ challenge, cells = [], unlocked = new Set(), mine = new Set(), currentPosition, currentCellId,
frontend/src/maps.tsx:447
Functionadmin_summary
()
backend/app/main.py:533
Functionclient
(tmp_path: Path, monkeypatch: pytest.MonkeyPatch)
backend/tests/test_api.py:13
Functionconfig
()
backend/app/main.py:212
Functionconvert_geo
(payload: GeoConvertIn)
backend/app/main.py:229
Functioncreate
()
frontend/src/App.tsx:498
Functioncreate_challenge
( payload: ChallengeCreate, response: Response, participant=Cookie(default=None, alias=COOKIE_NAME
backend/app/main.py:277
Functionget_challenge
( challenge_id: str, response: Response, participant=Cookie(default=None, alias=COOKIE_NAME), )
backend/app/main.py:337
Functionhealth
()
backend/app/main.py:207
Functionleaderboard
(challenge_id: str)
backend/app/main.py:392
Functionlifespan
(_: FastAPI)
backend/app/main.py:29
Functionlist_challenges
()
backend/app/main.py:264
Functionme
(response: Response, participant=Cookie(default=None, alias=COOKIE_NAME))
backend/app/main.py:240
FunctionmoveSimulator
(direction: SimDirection)
frontend/src/App.tsx:910
FunctiononVisibility
()
frontend/src/App.tsx:755
FunctionrefreshProgress
()
frontend/src/App.tsx:973
FunctionstartTracking
()
frontend/src/App.tsx:807
FunctionstopTracking
()
frontend/src/App.tsx:874
Functionsubmit_position
( challenge_id: str, payload: PositionIn, response: Response, participant=Cookie(default=None,
backend/app/main.py:466
Functiontest_challenge_lifecycle
(client: TestClient)
backend/tests/test_api.py:24
Functiontest_position_filters
(client: TestClient)
backend/tests/test_api.py:61
Functionunlock_cells
( challenge_id: str, payload: UnlockIn, response: Response, participant=Cookie(default=None, a
backend/app/main.py:411
FunctionupdateDesktopMode
()
frontend/src/App.tsx:733
Functionupdate_me
( payload: ParticipantUpdate, response: Response, participant=Cookie(default=None, alias=COOKIE_NA
backend/app/main.py:245
Functionupdate_status
(challenge_id: str, payload: StatusIn)
backend/app/main.py:604
FunctionuseCurrentLocation
()
frontend/src/App.tsx:463