MCPcopy Create free account

hub / github.com/colouring-cities/colouring-core / functions

Functions545 in github.com/colouring-cities/colouring-core

↓ 44 callersMethodget
(tileParams: TileParams)
app/src/tiles/tileCache.ts:78
↓ 31 callersFunctionuseDisplayPreferences
()
app/src/frontend/displayPreferences-context.tsx:475
↓ 23 callersFunctionapiGet
(path: string, options?: { jsonReviver?: JsonReviver })
app/src/frontend/apiHelpers.ts:3
↓ 22 callersFunctionasyncController
* A wrapper for controller functions that return a Promise, enabling them to be used with Express * Without this wrapper, Promise rejections caused b
app/src/api/routes/asyncController.ts:10
↓ 15 callersFunctionprocessParam
(params: object, paramName: string, processingFn: (x: string) => T, required: boolean = false)
app/src/api/parameters.ts:6
↓ 12 callersFunctionwithCopyEdit
(WrappedComponent: React.ComponentType<CategoryViewProps>)
app/src/frontend/building/data-container.tsx:64
↓ 11 callersFunctiongetGlobalEditHistory
( beforeId?: string, afterId?: string, count: number = 100, filterDeletions: boolean = false )
app/src/api/services/editHistory.ts:6
↓ 8 callersFunctionuseAuth
()
app/src/frontend/auth-context.tsx:210
↓ 6 callersFunctionapiPost
(path: string, data?: object, options?: { jsonReviver?: JsonReviver })
app/src/frontend/apiHelpers.ts:9
↓ 6 callersFunctionstrictParseInt
* Parse a string as positive integer or NaN * * @param {string} value * @returns {number} integer or NaN
app/src/parse.ts:12
↓ 6 callersFunctionupdateLandUse
(landUse: LandUseState, landUseUpdate: Partial<LandUseState>)
app/src/api/services/domainLogic/landUse.ts:11
↓ 5 callersFunctionShowIfAvailable
(data)
app/src/frontend/building/data-components/planning-data-entry.tsx:58
↓ 5 callersMethoddoSubmit
(edits: Partial<Building & BuildingUserAttributes>)
app/src/frontend/building/data-container.tsx:201
↓ 5 callersFunctiongetTileLayerUrl
(tileset: T, parameters?: Record<string, string>)
app/src/frontend/map/layers/get-tile-layer-url.ts:9
↓ 5 callersFunctionshow_data
(site_name, site_number, street_name, secondary_street_name, address)
etl/planning_data/address_data.py:110
↓ 5 callersFunctionswitchToMapStyleHideHistoricMaps
(event: React.MouseEvent<HTMLButtonElement, MouseEvent>, map_style: MapTileset)
app/src/frontend/building/data-containers/age-history.tsx:77
↓ 4 callersFunctionfetchData
()
app/src/frontend/pages/changes.tsx:46
↓ 4 callersFunctiongenerateHistory
(n: number, firstId: number = 100)
app/src/api/services/__tests__/editHistory.test.ts:10
↓ 4 callersMethodgetLeaders
(number_limit: number, time_limit: number)
app/src/frontend/pages/leaderboard.tsx:53
↓ 4 callersMethodisEdited
()
app/src/frontend/building/data-container.tsx:157
↓ 4 callersFunctionsleep_before_retry
(message, url, headers, json_data)
etl/planning_data/obtain_livestream_data_and_load_into_database.py:235
↓ 3 callersFunctionapiRequest
( path: string, method: 'GET' | 'POST' | 'DELETE', data?: object, options?: { jsonRevi
app/src/frontend/apiHelpers.ts:21
↓ 3 callersMethodcacheLocation
({tileset, z, x, y, scale}: TileParams)
app/src/tiles/tileCache.ts:130
↓ 3 callersFunctiondate_object_into_date_string
(date)
etl/planning_data/obtain_livestream_data_and_load_into_database.py:294
↓ 3 callersFunctionfilter_mastermap
(mm_path)
etl/filter_mastermap.py:20
↓ 3 callersFunctionflipHistoricData
(e)
app/src/frontend/displayPreferences-context.tsx:349
↓ 3 callersFunctionfliphistoricMap
(e)
app/src/frontend/displayPreferences-context.tsx:367
↓ 3 callersFunctiongetBuildingData
( buildingId: number, lockForUpdate: boolean = false, t?: ITask<any> )
app/src/api/dataAccess/building.ts:10
↓ 3 callersFunctiongetNavigationUrl
(options: { afterId?: string, beforeId?: string, deletions?: string })
app/src/frontend/pages/changes.tsx:20
↓ 3 callersFunctiongetXYZ
(bbox, z)
app/src/tiles/util.ts:15
↓ 3 callersFunctionhasAnyOwnProperty
(obj: T, keys: (keyof T)[])
app/src/helpers.ts:27
↓ 3 callersFunctionhistoricDataSwitchOnClick
(e)
app/src/frontend/displayPreferences-context.tsx:346
↓ 3 callersFunctionhistoricMapSwitchOnClick
(e)
app/src/frontend/displayPreferences-context.tsx:364
↓ 3 callersFunctionnavigate
(direction)
html/main.js:22
↓ 3 callersFunctionparseBooleanExact
(val: string)
app/src/helpers.ts:62
↓ 3 callersFunctionparse_date_string_into_date_object
(incoming)
etl/planning_data/obtain_livestream_data_and_load_into_database.py:300
↓ 3 callersFunctionread_sql
(rel_path_from_script)
maintenance/extract_data/extract_data.py:43
↓ 3 callersFunctionrenderTile
(tileParams: TileParams, dataParams: any)
app/src/tiles/rendererDefinition.ts:74
↓ 3 callersFunctionupdateUserData
()
app/src/frontend/auth-context.tsx:131
↓ 3 callersFunctionuseUrlParam
( param: string, paramTransform: UrlParamTransform<T>, pathPattern?: string, defaultParams: {
app/src/frontend/nav/use-url-param.ts:6
↓ 3 callersFunctionvalidateChangeSet
( attributes: Partial<BuildingAttributes> | Partial<BuildingUserAttributes>, isExternal: boolean = tru
app/src/api/services/domainLogic/validateUpdate.ts:45
↓ 2 callersFunctionLinkIfAvailable
(link)
app/src/frontend/building/data-components/planning-data-entry.tsx:62
↓ 2 callersFunctionarrayToDictionary
* Transform an array of objects into a dictionary of arrays of objects, * where the objects are grouped into arrays given an arbitrary key function
app/src/frontend/helpers.ts:47
↓ 2 callersFunctioncheckRegexParam
(param: string, regex: RegExp)
app/src/api/parameters.ts:45
↓ 2 callersMethodclearResults
()
app/src/frontend/map/search-box.tsx:78
↓ 2 callersFunctiondays_since
(date, now)
etl/planning_data/obtain_livestream_data_and_load_into_database.py:288
↓ 2 callersFunctiondecBigInt
(bigStr: string)
app/src/helpers.ts:58
↓ 2 callersFunctionexecute_database_command
(cursor, command, passed_values=None)
etl/planning_data/obtain_livestream_data_and_load_into_database.py:46
↓ 2 callersFunctionfind_by_reference
Find building_id by TOID or UPRN
etl/join_building_data/load_csv_to_staging.py:86
↓ 2 callersFunctionfind_by_reference
Find building_id by TOID or UPRN
etl/join_building_data/load_csv.py:151
↓ 2 callersFunctionflipBorough
(e)
app/src/frontend/displayPreferences-context.tsx:286
↓ 2 callersFunctionflipConservation
(e)
app/src/frontend/displayPreferences-context.tsx:316
↓ 2 callersFunctionflipDarkLightTheme
(e)
app/src/frontend/displayPreferences-context.tsx:397
↓ 2 callersFunctionflipEditableBuildings
(e)
app/src/frontend/displayPreferences-context.tsx:382
↓ 2 callersFunctionflipParcel
(e)
app/src/frontend/displayPreferences-context.tsx:301
↓ 2 callersFunctionflipShowLayerSelection
(e)
app/src/frontend/displayPreferences-context.tsx:412
↓ 2 callersFunctionflipWorldHeritageSites
(e)
app/src/frontend/displayPreferences-context.tsx:331
↓ 2 callersFunctionformatParams
({ tileset, z, x, y, scale }: TileParams)
app/src/tiles/util.ts:19
↓ 2 callersFunctionformatValue
(value: any)
app/src/frontend/building/edit-history/field-edit-summary.tsx:9
↓ 2 callersFunctiongetBbox
(z, x, y)
app/src/tiles/util.ts:11
↓ 2 callersFunctiongetBuildingLayerNames
()
app/src/tiles/dataDefinition.ts:869
↓ 2 callersMethodgetEditedBuilding
()
app/src/frontend/building/data-container.tsx:168
↓ 2 callersMethodhandleChange
(event: FormEvent<HTMLInputElement>)
app/src/frontend/user/password-reset.tsx:41
↓ 2 callersMethodhandleClick
(verify)
app/src/frontend/building/data-components/verification.tsx:22
↓ 2 callersFunctionhasDeletions
(json)
app/src/api/dataAccess/__mocks__/editHistory.ts:20
↓ 2 callersFunctionincBigInt
(bigStr: string)
app/src/helpers.ts:55
↓ 2 callersFunctionisArchived
(item)
app/src/frontend/building/data-containers/planning-conservation.tsx:36
↓ 2 callersFunctionisComplex
(x: any)
app/src/frontend/building/edit-history/field-edit-summary.tsx:19
↓ 2 callersFunctionlifespan
(a: number, b: number)
app/src/frontend/building/data-containers/dynamics/dynamics-data-entry.tsx:24
↓ 2 callersFunctionlogout
(session: Express.Session)
app/src/api/services/user.ts:186
↓ 2 callersFunctionnumDesc
(accessor: AccessorFunction<T, V>)
app/src/helpers.ts:46
↓ 2 callersFunctionosgb_toid
(toid)
etl/join_building_data/load_shapefile_to_staging.py:69
↓ 2 callersFunctionosgb_toid
(toid)
etl/join_building_data/load_shapefile.py:69
↓ 2 callersFunctionparseDate
* Parse a string containing an ISO8601 formatted date * @param isoUtcDate a date string in ISO8601 format, assuming UTC * @returns a JS Date object
app/src/frontend/helpers.ts:59
↓ 2 callersFunctionparseDateSpecifiedWithDailyAccuracy
(isoUtcDate: string)
app/src/frontend/building/data-containers/planning-conservation.tsx:29
↓ 2 callersMethodput
(im: Image, tileParams: TileParams)
app/src/tiles/tileCache.ts:86
↓ 2 callersMethodremove
(tileParams: TileParams)
app/src/tiles/tileCache.ts:102
↓ 2 callersFunctionrenderBuildingTile
(t: TileParams, d: any)
app/src/tiles/rendererDefinition.ts:59
↓ 2 callersFunctionrenderHTML
(context, data, req, res)
app/src/frontendRoute.tsx:77
↓ 2 callersFunctionsendBuildingUpdate
(buildingId: number, edits: BuildingEdits)
app/src/frontend/api-data/building-update.ts:26
↓ 2 callersMethodshouldUseCache
(tileParams: TileParams)
app/src/tiles/tileCache.ts:137
↓ 2 callersFunctionshow_dictionary
(data)
etl/planning_data/obtain_livestream_data_and_load_into_database.py:283
↓ 2 callersFunctiontransformValue
(value: string)
app/src/frontend/building/data-components/data-entry-input.tsx:30
↓ 2 callersFunctionunless
Returns first argument, unless it's equal to the second argument - then returns undefined
app/src/frontend/map-app.tsx:50
↓ 2 callersFunctionuseMultiEditData
()
app/src/frontend/hooks/use-multi-edit-data.ts:4
↓ 2 callersFunctionvalidatePassword
(password: string)
app/src/api/validation.ts:15
↓ 2 callersFunctionvalueType
()
app/src/helpers.ts:90
↓ 1 callersFunctionadd_extract_record_to_database
(connection, zip_file_path, extracted_time)
maintenance/extract_data/extract_data.py:31
↓ 1 callersFunctionaggregateUserAttributes
( buildingId: number, userId: string, { attributes, userAttributes } : BuildingUpdate, t?: ITa
app/src/api/services/domainLogic/aggregateUserAttributes.ts:6
↓ 1 callersFunctionapiDelete
(path: string, options?: { jsonReviver?: JsonReviver })
app/src/frontend/apiHelpers.ts:15
↓ 1 callersFunctionasVerified
(verifications)
app/src/api/dataAccess/verify.ts:44
↓ 1 callersFunctionauthUser
(username: string, password: string)
app/src/api/services/user.ts:56
↓ 1 callersFunctionbuildPartialMatchQuery
(value: string)
app/src/api/services/autofill.ts:43
↓ 1 callersFunctionbuildingExists
(buildingId: number, t?: ITask<any>)
app/src/api/dataAccess/building.ts:172
↓ 1 callersFunctioncacheOrCreateBuildingTile
(tileParams: TileParams, dataParams: any)
app/src/tiles/rendererDefinition.ts:61
↓ 1 callersFunctioncanEdit
(key: string, allowDerived: boolean = false)
app/src/api/services/domainLogic/validateUpdate.ts:19
↓ 1 callersFunctioncanVerify
(key: string)
app/src/api/services/building/verify.ts:7
↓ 1 callersFunctioncheck_data_present
(building_id, fields, base_url)
etl/join_building_data/load_csv.py:96
↓ 1 callersMethodclearEdits
()
app/src/frontend/building/data-container.tsx:162
↓ 1 callersMethodclearQuery
()
app/src/frontend/map/search-box.tsx:84
next →1–100 of 545, ranked by callers