memos/server
Claude c8900acc4e
feat(api): validate custom memo_id format in CreateMemo
Add early validation for custom memo IDs to provide clear error
messages when an invalid format is provided.

Validation ensures memo_id matches the required pattern:
- 1-32 characters long
- Alphanumeric and hyphens only
- Cannot start or end with a hyphen
- Pattern: ^[a-zA-Z0-9]([a-zA-Z0-9-]{0,30}[a-zA-Z0-9])?$

This provides better UX by catching format errors early with a
descriptive error message rather than a generic "invalid uid"
error from the store layer.
2025-11-08 01:28:53 +00:00
..
profiler chore: fix linter 2025-05-27 23:22:32 +08:00
router feat(api): validate custom memo_id format in CreateMemo 2025-11-08 01:28:53 +00:00
runner refactor: rename workspace to instance throughout codebase 2025-11-05 23:35:35 +08:00
server.go refactor: rename workspace to instance throughout codebase 2025-11-05 23:35:35 +08:00