Skip to content

fix: sync package-lock.json and add zod validation to inbounds tools - #8

Open
pshakhmin wants to merge 1 commit into
TrackLine:mainfrom
pshakhmin:main
Open

fix: sync package-lock.json and add zod validation to inbounds tools#8
pshakhmin wants to merge 1 commit into
TrackLine:mainfrom
pshakhmin:main

Conversation

@pshakhmin

Copy link
Copy Markdown

Changes:

  • package-lock.json: synced version with package.json (1.0.0 -> 1.2.0)
  • inbounds.ts: added .uuid() validation for all UUID params
  • inbounds.ts: added min/max/regex constraints for name (matching API contract)
  • inbounds.ts: changed config type to z.object({}).passthrough() (matching contract)
  • inbounds.ts: improved config parameter description

fix: add zod validation for uuid, name, and config in inbounds tools

- Add .uuid() validation to all UUID parameters
- Add min/max/regex constraints to name parameters (matching API contract)
- Change config type from z.record(z.unknown()) to z.object({}).passthrough() to match contract
- Improve config description for clarity
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.

1 participant