mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-04-13 01:56:37 +00:00
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: jose-d <7630424+jose-d@users.noreply.github.com> Co-authored-by: Alessandro (Ale) Segala <43508+ItalyPaleAle@users.noreply.github.com> Co-authored-by: Elias Schneider <login@eliasschneider.com>
21 lines
664 B
Go
21 lines
664 B
Go
package dto
|
|
|
|
import (
|
|
datatype "github.com/pocket-id/pocket-id/backend/internal/model/types"
|
|
)
|
|
|
|
type AuditLogDto struct {
|
|
ID string `json:"id"`
|
|
CreatedAt datatype.DateTime `json:"createdAt"`
|
|
|
|
Event string `json:"event"`
|
|
IpAddress string `json:"ipAddress"`
|
|
Country string `json:"country"`
|
|
City string `json:"city"`
|
|
Device string `json:"device"`
|
|
UserID string `json:"userID"`
|
|
Username string `json:"username"`
|
|
ActorUsername string `json:"actorUsername"`
|
|
Data map[string]string `json:"data"`
|
|
}
|