@@ -34,6 +34,9 @@ type DatabaseStatus struct {
|
||||
|
||||
type SyncResult struct {
|
||||
Direction string `json:"direction"`
|
||||
Status string `json:"status"`
|
||||
Skipped bool `json:"skipped"`
|
||||
Warnings []string `json:"warnings,omitempty"`
|
||||
Tables map[string]int `json:"tables"`
|
||||
FinishedAt string `json:"finishedAt"`
|
||||
}
|
||||
@@ -121,6 +124,8 @@ type LegacyMailRecord struct {
|
||||
Status string `json:"status"`
|
||||
ToAddress string `json:"toAddress"`
|
||||
Subject string `json:"subject"`
|
||||
PlainBody string `json:"plainBody,omitempty"`
|
||||
HTMLBody string `json:"htmlBody,omitempty"`
|
||||
AttachmentPath string `json:"attachmentPath"`
|
||||
AttachmentName string `json:"attachmentName"`
|
||||
ErrorMessage string `json:"errorMessage"`
|
||||
@@ -272,6 +277,21 @@ type AuditLog struct {
|
||||
CreatedAt string `json:"createdAt"`
|
||||
}
|
||||
|
||||
type AuditFilters struct {
|
||||
Page int
|
||||
PerPage int
|
||||
Type string
|
||||
Target string
|
||||
Query string
|
||||
}
|
||||
|
||||
type AuditPage struct {
|
||||
Items []AuditLog `json:"items"`
|
||||
Total int `json:"total"`
|
||||
Page int `json:"page"`
|
||||
PerPage int `json:"perPage"`
|
||||
}
|
||||
|
||||
type LegacyJsonRevision struct {
|
||||
ID int64 `json:"id"`
|
||||
Name string `json:"name"`
|
||||
|
||||
Reference in New Issue
Block a user