Skip to content

feat(behavior): implement CreateBehaviorLogDto (#338) - #442

Merged
llinsss merged 1 commit into
DogStark:mainfrom
coredevdave-cmd:feature/338-create-behavior-log-dto
May 28, 2026
Merged

llinsss merged 1 commit into
DogStark:mainfrom
coredevdave-cmd:feature/338-create-behavior-log-dto

Conversation

@coredevdave-cmd

Copy link
Copy Markdown
Contributor

Summary

Reimplements the deleted create-behavior-log.dto.ts for the behavior module.

Changes

  • BehaviorType enum: aggression, anxiety, appetite_change, energy_level, grooming, lethargy, socialization, training, other
  • BehaviorSeverity enum: low / medium / high / critical
  • Required fields: petId (UUID), behaviorType, description
  • Optional fields: severity, intensity (1–10 int), notes, observedAt
  • MaxLength constraints: description (1000), notes (2000)

Files

  • backend/src/modules/behavior/dto/create-behavior-log.dto.ts

Closes #338

- Add BehaviorType enum (aggression, anxiety, appetite_change, etc.)
- Add BehaviorSeverity enum (low/medium/high/critical)
- Required fields: petId (UUID), behaviorType, description
- Optional fields: severity, intensity (1-10), notes, observedAt
- Add MaxLength constraints on description (1000) and notes (2000)
@drips-wave

drips-wave Bot commented May 27, 2026

Copy link
Copy Markdown

@coredevdave-cmd Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@llinsss
llinsss merged commit 4dcc7ac into DogStark:main May 28, 2026
1 check passed
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.

Implement Create Behavior Log DTO

2 participants