Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add conventions data #32

Merged
merged 3 commits into from
Apr 15, 2021
Merged

feat: add conventions data #32

merged 3 commits into from
Apr 15, 2021

Conversation

revolunet
Copy link
Member

add more data to conventions results, fix #21

@revolunet revolunet merged commit 021ed24 into master Apr 15, 2021
SocialGroovyBot added a commit that referenced this pull request Apr 15, 2021
# [1.3.0](v1.2.3...v1.3.0) (2021-04-15)

### Features

* add conventions data ([#32](#32)) ([021ed24](021ed24))
@SocialGroovyBot
Copy link
Member

🎉 This PR is included in version 1.3.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@revolunet revolunet deleted the issue-21 branch April 15, 2021 01:35
@@ -62,9 +65,12 @@ export const mapHit = ({
fields: { convention, idcc },
}: { fields: { convention: string[]; idcc: string } }
) => {
const kaliConvention = kaliConventions.find(cv => cv.num === parseInt(idcc)) || {}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

on pourrait passer par un objet indexé (une Map) histoire de s'éviter un find pour chaque call, car c'est quand même une fonction assez critique

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[kali-data] : add metadata
3 participants