MCPcopy Create free account

hub / github.com/Code-for-Senegal/vie-publique.sn / functions

Functions186 in github.com/Code-for-Senegal/vie-publique.sn

↓ 57 callersFunctiongetCmsClient
()
server/utils/cms-client.ts:6
↓ 18 callersFunctionuseCmsCollection
(options: CmsCollectionOptions)
app/composables/useCmsCollection.ts:13
↓ 10 callersFunctionuseCollectionState
( options: CollectionStateOptions = {} )
app/composables/useCollectionState.ts:62
↓ 9 callersFunctioncalculateVariation
(current: number, previous: number)
app/composables/useBudget.ts:166
↓ 9 callersFunctiongetVariationColor
( variation: string, indicatorCode: string, )
app/composables/useBudget.ts:175
↓ 7 callersFunctiongetStatusIcon
(status: string)
app/composables/usePromesseStatus.ts:3
↓ 7 callersFunctiontransformDeputy
(deputy: any)
server/api/assembly/commissions/[id].get.ts:73
↓ 4 callersFunctiongetStatusBackgroundClass
(status: string)
app/composables/usePromesseStatus.ts:16
↓ 4 callersFunctiongetStatusIconClass
(status: string)
app/composables/usePromesseStatus.ts:29
↓ 4 callersFunctiongetStatusTextClass
(status: string)
app/composables/usePromesseStatus.ts:42
↓ 4 callersFunctionperformSearch
()
app/composables/useSearchEnhanced.ts:61
↓ 3 callersFunctiontoHex
(n: number)
app/composables/useElectionMapJson.ts:183
↓ 3 callersFunctionuseCmsFile
(filePath: string | null | undefined)
app/composables/useCmsFile.ts:10
↓ 2 callersFunctionapplyFilters
()
app/composables/useElectionBureauxTemoins.ts:51
↓ 2 callersFunctiongenerateSlugFromName
(name: string)
server/utils/slug.ts:6
↓ 2 callersFunctionhighlightText
(text: string, query: string)
app/composables/useSearchEnhanced.ts:25
↓ 2 callersFunctionsendDonationConfirmationEmail
( donationData: DonationEmailData )
server/utils/nodemailer.ts:62
↓ 2 callersFunctiontransformDeputy
(deputy: any)
server/api/assembly/groups/[id].get.ts:64
↓ 2 callersFunctionuseElectionPvsServer
(options: PvsOptions = {})
app/composables/useElectionPvsServer.ts:15
↓ 2 callersFunctionuseSiteMetadata
()
app/composables/useSiteMetadata.ts:1
↓ 1 callersFunctioncalculateSeatPosition
(index: number, radius: number)
app/composables/useElectionD3Hemicycle.ts:59
↓ 1 callersFunctioncalculateStats
(promesses: Promesse[])
server/api/barometre-politique/diomaye-faye.ts:5
↓ 1 callersFunctioncollectIds
(nodes: StateEntityTreeNode[])
app/composables/useStateTree.ts:84
↓ 1 callersFunctioncreateLogMessage
(violation: any)
server/api/csp-report.ts:11
↓ 1 callersFunctionfindPath
(nodes: StateEntityTreeNode[])
app/composables/useStateTree.ts:169
↓ 1 callersFunctionflattenData3
(data: any[], parentPath = "")
server/api/etat-organisation.ts:62
↓ 1 callersFunctionformatAmount
* Formater un montant en FCFA
server/utils/nodemailer.ts:51
↓ 1 callersFunctionformatDate
(date: Date)
server/api/csp-report.ts:6
↓ 1 callersFunctiongetDepartmentStats
(department?: string)
app/composables/useElectionMapJson.ts:88
↓ 1 callersFunctiongetGeoData
()
app/composables/useElectionMapJson.ts:62
↓ 1 callersFunctiongetGeoData
()
app/composables/useElectionMapJsonResult.ts:73
↓ 1 callersFunctiongetTransporter
* Créer et configurer le transporteur Nodemailer
server/utils/nodemailer.ts:13
↓ 1 callersFunctiongetTypeFromQuery
()
app/composables/useStateEntities.ts:20
↓ 1 callersFunctionhandleError
(e: unknown)
app/composables/useElectionMap.ts:27
↓ 1 callersFunctionhandleFailedPayment
* Gérer un paiement échoué
server/api/donate/webhook.post.ts:114
↓ 1 callersFunctionhandleFailedPayment
* Gérer un paiement échoué
server/api/donate/paydunya/callback.post.ts:110
↓ 1 callersFunctionhandlePendingPayment
* Gérer un paiement en attente
server/api/donate/webhook.post.ts:126
↓ 1 callersFunctionhandleSuccessfulPayment
* Gérer un paiement réussi
server/api/donate/webhook.post.ts:80
↓ 1 callersFunctionhandleSuccessfulPayment
* Gérer un paiement réussi
server/api/donate/paydunya/callback.post.ts:78
↓ 1 callersFunctionhslToHex
(h: number, s: number, l: number)
app/composables/useElectionMapJson.ts:168
↓ 1 callersFunctionloadGeoData
()
app/composables/useElectionMapJson.ts:41
↓ 1 callersFunctionloadGeoDataWithWinner
()
app/composables/useElectionMapJsonResult.ts:51
↓ 1 callersFunctionperformSearch
()
app/composables/useSearch.ts:10
↓ 1 callersFunctionsearch
(nodes: StateEntityTreeNode[])
app/composables/useStateTree.ts:143
↓ 1 callersFunctionslugify
(text: string)
server/api/__sitemap__/urls.ts:69
↓ 1 callersFunctionsyncWithUrl
()
app/composables/useSearchEnhanced.ts:42
↓ 1 callersFunctiontransformCoordinates
(geoData: GeoData[])
app/composables/useElectionMapJson.ts:70
↓ 1 callersFunctiontransformCoordinates
(geoData: GeoData[])
app/composables/useElectionMapJsonResult.ts:81
↓ 1 callersFunctiontransformRegionData
(data: Department[])
app/composables/useElectionMap.ts:14
↓ 1 callersFunctiontraverse
(nodes: StateEntityTreeNode[], level = 0)
app/composables/useStateTree.ts:114
↓ 1 callersFunctionuseCmsImage
(imagePath: string | null | undefined, quality?: number | string)
app/composables/useCmsImage.ts:11
↓ 1 callersFunctionuseElectionResultsServer
()
app/composables/useElectionResultsServer.ts:11
↓ 1 callersFunctionuseElections
(options: ElectionCandidatesOptions = {})
app/composables/useElections.ts:35
Methodabout_page
(self)
test/locust/perf-vpsn.py:9
FunctioncloseDonateModal
()
app/composables/useDonate.ts:11
FunctioncollapseAll
()
app/composables/useStateTree.ts:98
FunctioncollapseNode
(nodeId: number)
app/composables/useStateTree.ts:78
FunctioncreateHemicycle
( data: SeatData[], options = { width: 800, height: 400, innerRadius: 100, out
app/composables/useElectionD3Hemicycle.ts:13
FunctiondownloadCmsFile
( filePath: string | null | undefined, filename?: string, )
app/composables/useCmsFile.ts:87
FunctionexpandAll
()
app/composables/useStateTree.ts:82
FunctionexpandNode
(nodeId: number)
app/composables/useStateTree.ts:74
FunctionfetchBureaux
()
app/composables/useElectionBureauxTemoins.ts:122
FunctionfetchDepartmentDetails
(department: string)
app/composables/useElectionMapNational.ts:27
FunctionfetchDepartmentsStats
()
app/composables/useElectionMapNational.ts:15
FunctionfetchElectedDeputies
(groupId?: string | null)
app/composables/useAssemblyDeputies.ts:112
FunctionfetchElectedDeputyById
(id: string)
app/composables/useAssemblyDeputies.ts:123
FunctionfetchElectedDeputyCommissions
(idDeputy: string)
app/composables/useAssemblyDeputies.ts:134
FunctionfetchRegions
()
app/composables/useElectionMap.ts:42
FunctionfetchUpdates
()
app/stores/latestUpdates.ts:45
FunctionfindPathToNode
(targetId: number)
app/composables/useStateTree.ts:164
FunctionflattenData1
(data: any[], parent = "")
server/api/etat-organisation.ts:10
FunctionflattenData2
(data: any[], parent = "")
server/api/etat-organisation.ts:28
FunctionforceRefresh
()
app/stores/latestUpdates.ts:106
FunctionformatAmount
(amount: number)
app/composables/useBictorysDonation.ts:98
FunctionformatAmount
(amount: number)
app/composables/usePaydunyaDonation.ts:99
FunctionformatResultUrl
(result: any)
app/composables/useSearchEnhanced.ts:37
FunctiongetCacheMaxAge
(productionSeconds: number, devSeconds: number = 30)
server/utils/cache.ts:10
FunctiongetCardStyles
(title: string)
app/composables/useNavigationCards.ts:125
FunctiongetCurrentEnvironment
()
app/config/features.config.ts:152
FunctiongetDepartmentDetails
(department: string)
app/composables/useElectionMapJson.ts:147
FunctiongetDepartmentStats
(department: string)
app/composables/useElectionMapNational.ts:39
FunctiongetFeatureFlag
* Récupère un feature flag par sa clé
app/composables/useFeatureFlags.ts:84
FunctiongetIconColor
(title: string)
app/composables/useNavigationCards.ts:130
FunctiongetImage
(src, { modifiers = {}, baseURL } = {})
app/providers/cms-image.ts:8
FunctiongetInstitutionColor
(index: number)
app/composables/useInstitution.ts:3
FunctiongetMapData
()
app/composables/useElectionMapJson.ts:109
FunctiongetMapDataResult
()
app/composables/useElectionMapJsonResult.ts:102
FunctiongetMenuCardColor
(title: string)
app/composables/useNavigationCards.ts:141
FunctiongetQuickAccessIconBackground
(title: string)
app/composables/useNavigationCards.ts:146
FunctiongetQuickAccessIconColor
(title: string)
app/composables/useNavigationCards.ts:165
FunctiongetRegionColor
( regionId: number, baseHue: number = 150, saturation: number = 0.5, )
app/composables/useElectionMapJson.ts:127
FunctiongetTextColor
(title: string)
app/composables/useNavigationCards.ts:135
FunctiongetTypeBadgeColor
(type: string)
app/composables/useSearchEnhanced.ts:153
Methodget_deputes
(self)
test/locust/directus-api.py:5
Methodindex_page
(self)
test/locust/perf-vpsn.py:5
FunctioninitiateDonation
(donationData: DonationData)
app/composables/useBictorysDonation.ts:30
FunctioninitiateDonation
(donationData: DonationData)
app/composables/usePaydunyaDonation.ts:31
FunctionisExpanded
(nodeId: number)
app/composables/useStateTree.ts:102
FunctionisFeatureEnabled
* Vérifie si une feature est activée * * Règle : Une feature est visible si : * 1. enabled = true * 2. L'environnement actuel est dans la
app/composables/useFeatureFlags.ts:56
FunctionisFeatureFlagsEnabled
()
app/config/features.config.ts:167
next →1–100 of 186, ranked by callers