Commits
Click on a commit to change the comparison rangeUpdate `deno.lock` to include versions for `arktype`, `valibot`, `zod`, and `syncpack` dependencies. Add comprehensive tests and documentation for ApiData type and validateRequestData utility (#32)
* Initial plan
* Add comprehensive tests for validateRequestData and validateData utilities
Co-authored-by: hckhanh <6380436+hckhanh@users.noreply.github.com>
* Update documentation to reflect new ApiData type and validation behavior
Co-authored-by: hckhanh <6380436+hckhanh@users.noreply.github.com>
* Refactor API schema typing and validation to enhance type safety, streamline request validation, and improve flexibility in `createFetch`.
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: hckhanh <6380436+hckhanh@users.noreply.github.com>
Co-authored-by: Khánh Hoàng <hi@khanh.id> Refactor `validateData`, `validateRequestData`, and `createFetch` to improve type safety, enhance schema validation, and unify request validation logic. Update tests and improve type safety for validateRequestData (#33)
* Initial plan
* Fix validateRequestData to return object and address review comments
Co-authored-by: hckhanh <6380436+hckhanh@users.noreply.github.com>
* Revert validateRequestData to return array as requested
Co-authored-by: hckhanh <6380436+hckhanh@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: hckhanh <6380436+hckhanh@users.noreply.github.com>