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

Init #1

Open
wants to merge 8 commits into
base: Lucas
Choose a base branch
from
Open

Init #1

wants to merge 8 commits into from

Conversation

Lcharvol
Copy link

No description provided.

src/http.js Outdated

const countTypes = (dataflows, types) => {
const groupedData = groupBy(dataflow => dataflow.type, dataflows);
const newTypes = types;
Copy link
Contributor

Choose a reason for hiding this comment

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

!!!!!!

src/http.js Outdated
const groupedData = groupBy(dataflow => dataflow.type, dataflows);
const newTypes = types;
newTypes.map((type) => {
type.count = groupedData[`${type.type}`].length;
Copy link
Contributor

Choose a reason for hiding this comment

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

it's already a string

src/http.js Outdated

const formateGroupeTypes = type => {
const ret = type;
ret.type = ret.avatar;
Copy link
Contributor

Choose a reason for hiding this comment

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

!!!!!

src/mongo.js Outdated
});
};

const getFilteredDataflows = db => (req, res) => {
Copy link
Contributor

Choose a reason for hiding this comment

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

Too simple !!

src/http.js Outdated
const { lang } = req.params;
let searchParams = [];
let fieldsValue;
const restQuery = flatten(map(getRestQuery(lang), toPairs(rest)));
Copy link
Contributor

Choose a reason for hiding this comment

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

Should be a composition compose(...)

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

Successfully merging this pull request may close these issues.

2 participants