feat: add desktop bug report collection
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
package domain
|
||||
|
||||
import "time"
|
||||
import (
|
||||
"encoding/json"
|
||||
"time"
|
||||
)
|
||||
|
||||
const (
|
||||
StatusActive = "active"
|
||||
@@ -102,3 +105,44 @@ type DesktopClientRelease struct {
|
||||
CreatedAt time.Time
|
||||
UpdatedAt time.Time
|
||||
}
|
||||
|
||||
type DesktopBugReport struct {
|
||||
ID string
|
||||
ReportType string
|
||||
Status string
|
||||
Severity string
|
||||
TenantID *int64
|
||||
TenantName *string
|
||||
WorkspaceID *int64
|
||||
WorkspaceName *string
|
||||
UserID *int64
|
||||
UserName *string
|
||||
UserPhone *string
|
||||
UserEmail *string
|
||||
DesktopClientID *string
|
||||
CrashGUID *string
|
||||
CrashReportID *string
|
||||
ProcessType *string
|
||||
ElectronVersion *string
|
||||
AppVersion *string
|
||||
ProductName *string
|
||||
Platform *string
|
||||
OSArch *string
|
||||
DeviceName *string
|
||||
Title string
|
||||
Description *string
|
||||
DumpObjectKey *string
|
||||
DumpFileName *string
|
||||
DumpSizeBytes *int64
|
||||
DumpSHA256 *string
|
||||
FormFields json.RawMessage
|
||||
RuntimeSnapshot json.RawMessage
|
||||
AppLogTail *string
|
||||
ResolutionNote *string
|
||||
UploaderIP *string
|
||||
UserAgent *string
|
||||
OccurredAt time.Time
|
||||
ResolvedAt *time.Time
|
||||
CreatedAt time.Time
|
||||
UpdatedAt time.Time
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user