Skip to content

Commit

Permalink
Added new about developer section
Browse files Browse the repository at this point in the history
* added about developer section data

* improved structure of the about developer data

* simplified address
  • Loading branch information
renatosrounds authored Sep 24, 2024
1 parent 60261ad commit c5d8764
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions lib/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,21 @@ const MAPPINGS = {
developerEmail: ['ds:5', 1, 2, 69, 1, 0],
developerWebsite: ['ds:5', 1, 2, 69, 0, 5, 2],
developerAddress: ['ds:5', 1, 2, 69, 2, 0],
aboutDeveloper: {
path: ['ds:5', 1, 2, 69],
fun: (searchArray) => {
const name = R.path([4, 0], searchArray);
const email = R.path([4, 1, 0], searchArray);
const address = R.path([4, 2, 0], searchArray).replace(/\n/g, ', ');
const phoneNumber = R.path([4, 3], searchArray);
return {
name,
email,
address,
phoneNumber
};
}
},
privacyPolicy: ['ds:5', 1, 2, 99, 0, 5, 2],
developerInternalID: {
path: ['ds:5', 1, 2, 68, 1, 4, 2],
Expand Down

0 comments on commit c5d8764

Please sign in to comment.