Add TypeScript Types for Cloudinary Product Gallery Widget#218
Add TypeScript Types for Cloudinary Product Gallery Widget#218colbyfayock merged 1 commit intocloudinary-community:betafrom
Conversation
|
hey thanks @Mrinank-Bhowmick this is great! just curious about the zoomProps and the thumbnailProps, did you intentionally leave those as any as I see they have definitions i could consider it out of scope for this because i imagine it was a lot of work typing it up for what you have so far and can create a followup Issue, but just wondering if there was an actual reason first |
|
Thanks @colbyfayock for the feedback! Regarding zoomProps and thumbnailProps, I initially left those as However, it would make a great follow-up,beginner friendly good-first-issue for others. |
|
@colbyfayock any updates? |
# [@cloudinary-util/types-v2.0.0-beta.2](https://github.com/cloudinary-community/cloudinary-util/compare/@cloudinary-util/types-v2.0.0-beta.1...@cloudinary-util/types-v2.0.0-beta.2) (2024-10-22) ### Bug Fixes * Add TypeScript Types for Cloudinary Product Gallery Widget ([#218](#218)) ([05cd33e](05cd33e)), closes [#199](#199)
|
sure thats fine, ideally you could go ahead and just get the other ones in, otherwise someone else can pick it up thanks for your contribution. this PR is eligible for free Cloudinary Hackatoberfest swag. Please send me an email at hacktoberfest@cloudinary.com with your name, GitHub username, and a link to the PR where I'll send further instructions. Happy Hacktoberfest! |
|
@all-contributors please add @Mrinank-Bhowmick for code |
|
I've put up a pull request to add @Mrinank-Bhowmick! 🎉 |
Adds @Mrinank-Bhowmick as a contributor for code. This was requested by colbyfayock [in this comment](#218 (comment)) [skip ci] --------- Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
Description
This pull request introduces TypeScript types for the Cloudinary Product Gallery Widget. It defines a comprehensive interface for the widget, following the reference documentation for better type safety and improved developer experience. No additional dependencies are required for this change.
Issue Ticket Number
199
Fixes #199
Type of change
Checklist