File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ type Heartbeat struct {
1111 ID uuid.UUID `json:"id" example:"32343a19-da5e-4b1b-a767-3298a73703cb"`
1212 Owner string `json:"owner" gorm:"index:idx_heartbeats_owner_timestamp" example:"+18005550199"`
1313 UserID string `json:"user_id" example:"WB7DRDWrJZRGbYrv2CKGkqbzvqdC"`
14+ Charging bool `json:"charging" example:"true"`
1415 Timestamp time.Time `json:"timestamp" example:"2022-06-05T14:26:01.520828+03:00"`
1516}
1617
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ type MessageThread struct {
2323 IsArchived bool `json:"is_archived" example:"false"`
2424 UserID string `json:"user_id" example:"WB7DRDWrJZRGbYrv2CKGkqbzvqdC"`
2525 Color string `json:"color" example:"indigo"`
26+ Status string `json:"status" example:"pending"`
2627 LastMessageContent string `json:"last_message_content" example:"This is a sample message content"`
2728 LastMessageID uuid.UUID `json:"last_message_id" example:"32343a19-da5e-4b1b-a767-3298a73703ca"`
2829 CreatedAt time.Time `json:"created_at" example:"2022-06-05T14:26:09.527976+03:00"`
You can’t perform that action at this time.
0 commit comments