1
0
mirror of https://github.com/muety/wakapi.git synced 2023-08-10 21:12:56 +03:00

feat: implement wakatime users endpoint (resolve #193)

This commit is contained in:
Ferdinand Mütsch
2021-04-30 10:12:28 +02:00
parent b16f777cc7
commit 1beca82875
15 changed files with 1072 additions and 586 deletions

View File

@@ -1,6 +1,8 @@
package v1
import "github.com/muety/wakapi/models"
import (
"github.com/muety/wakapi/models"
)
type HeartbeatsViewModel struct {
Data []*HeartbeatEntry `json:"data"`
@@ -22,4 +24,6 @@ type HeartbeatEntry struct {
UserId string `json:"user_id"`
MachineNameId string `json:"machine_name_id"`
UserAgentId string `json:"user_agent_id"`
CreatedAt models.CustomTime `json:"created_at"`
ModifiedAt models.CustomTime `json:"created_at"`
}