Skip to content

Conversation

@Ash0508
Copy link
Contributor

@Ash0508 Ash0508 commented May 17, 2025

✨ Summary

This PR adds two utility methods to the Google Sheets SDK:

  • detectDuplicateRows: Finds duplicate rows in a sheet range
  • sanitizeSheetData: Trims whitespace from all string values in a given range

✅ What's Included

  • src/sdk.ts: New utility functions added to the GoogleSheetsSdk class
  • __tests__/sdk.test.ts: Unit tests added for both utility functions
  • docs/duplicateRowsDetection.md: Documentation for detectDuplicateRows
  • docs/sanitizeSheetData.md: Documentation for sanitizeSheetData
  • package-info.json: readme_map updated with both new methods
  • package.json, tsconfig.json: Minor adjustments to support local test/dev (if modified)

test case passed

🧪 Test Summary

  • Run npx jest packages/google-sheets
  • All test cases pass locally.

📌 Notes

  • Follows the Microfox contribution structure
  • Naming conventions, typing, and zod schemas remain unchanged

@techmoondev techmoondev merged commit 3d1feb6 into microfox-ai:main May 21, 2025
3 of 5 checks passed
This was referenced May 21, 2025
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