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

new api for kits #1976

Merged
merged 1 commit into from
Jun 28, 2024
Merged

new api for kits #1976

merged 1 commit into from
Jun 28, 2024

Conversation

GunkaArtur
Copy link
Contributor

@GunkaArtur GunkaArtur self-assigned this Feb 7, 2024
@GunkaArtur GunkaArtur force-pushed the 25518-newApiKits branch 4 times, most recently from b28b963 to 3514eea Compare February 22, 2024 09:09
@GunkaArtur GunkaArtur force-pushed the 25518-newApiKits branch 4 times, most recently from f306885 to b25e25a Compare March 12, 2024 14:26
@GunkaArtur GunkaArtur force-pushed the 25518-newApiKits branch 2 times, most recently from 609b99b to 44f06b8 Compare March 26, 2024 14:25
@GunkaArtur GunkaArtur force-pushed the 25518-newApiKits branch 2 times, most recently from b58f709 to c3b1e5e Compare April 24, 2024 08:46
};
};

export const getKitData = async (url: string, kitId: string, id: string) => {
Copy link
Collaborator

Choose a reason for hiding this comment

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

return allElements;
};
export function convertToCategories(obj: Record<string, string>): Categories[] {
return Object.entries(obj).map(([_, title]) => ({
Copy link
Collaborator

Choose a reason for hiding this comment

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

use Object.values instead of Object.entries

@GunkaArtur GunkaArtur force-pushed the 25518-newApiKits branch 2 times, most recently from 531a25d to b5bd1fe Compare April 26, 2024 14:24
@GunkaArtur GunkaArtur force-pushed the 25518-newApiKits branch 3 times, most recently from 56515d8 to 8629047 Compare May 29, 2024 07:55
@GunkaArtur GunkaArtur force-pushed the 25518-newApiKits branch 2 times, most recently from d6dcc62 to b9fcdf6 Compare June 4, 2024 11:11
@GunkaArtur GunkaArtur force-pushed the 25518-newApiKits branch 3 times, most recently from 9eb7ef9 to e5943cb Compare June 24, 2024 08:23
@maxval1 maxval1 merged commit 1790eb3 into develop Jun 28, 2024
@maxval1 maxval1 deleted the 25518-newApiKits branch June 28, 2024 10:36
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.

3 participants