File tree 4 files changed +27
-0
lines changed
packages/cozy-harvest-lib/src
components/KonnectorConfiguration/DataTab
4 files changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,11 @@ const appLinksProps = {
16
16
slug : 'contacts' ,
17
17
icon : 'team' ,
18
18
iconColor : 'brightSun'
19
+ } ) ,
20
+ coachco2 : ( ) => ( {
21
+ slug : 'coachco2' ,
22
+ icon : 'location' ,
23
+ iconColor : 'brightSun'
19
24
} )
20
25
}
21
26
Original file line number Diff line number Diff line change 97
97
"description" : " This service retrieves and keeps a complete record of your latest banking operations for you." ,
98
98
"button" : " Access bank accounts" ,
99
99
"install" : " Discover Cozy Banks"
100
+ },
101
+ "coachco2" : {
102
+ "title" : " Your trips" ,
103
+ "description" : " This service retrieves and keeps a complete record of your trips." ,
104
+ "button" : " Access trips" ,
105
+ "install" : " Discover CoachCO2"
100
106
}
101
107
},
102
108
"websiteLink" : {
Original file line number Diff line number Diff line change 97
97
"description" : " Ce service récupère vos dernières lignes bancaires et en sauvegarde l'historique complet à votre place." ,
98
98
"button" : " Accéder aux comptes bancaires" ,
99
99
"install" : " Découvrir Cozy Banks"
100
+ },
101
+ "coachco2" : {
102
+ "title" : " Vos déplacements" ,
103
+ "description" : " Ce service récupère l'historique de vos trajets." ,
104
+ "button" : " Accéder aux déplacements" ,
105
+ "install" : " Découvrir Coach CO2"
100
106
}
101
107
},
102
108
"websiteLink" : {
Original file line number Diff line number Diff line change @@ -6,6 +6,16 @@ import flag from 'cozy-flags'
6
6
* Exporting relatedAppsConfiguration is useful for overrides
7
7
*/
8
8
export const relatedAppsConfiguration = [
9
+ {
10
+ slug : 'coachco2' ,
11
+ priority : 3 ,
12
+ predicate : ( { konnectorManifest } ) => {
13
+ return (
14
+ Array . isArray ( konnectorManifest . data_types ) &&
15
+ konnectorManifest . data_types . includes ( 'geojson' )
16
+ )
17
+ }
18
+ } ,
9
19
{
10
20
slug : 'banks' ,
11
21
priority : 2 ,
You can’t perform that action at this time.
0 commit comments