feat(statuspage): add nested status page groups and optional component details
This commit is contained in:
1 parent
1c31003baf
commit
9b26b4150e
26 files changed
+4566
-760
No files matched your search
+25
-12
@@ -344,18 +344,30 @@ type SsoProvider struct {
|
||||
}
|
||||
|
||||
type StatusPage struct {
|
||||
ID uuid.UUID
|
||||
OrgID uuid.UUID
|
||||
Slug string
|
||||
Title string
|
||||
Description string
|
||||
Published bool
|
||||
CustomDomain *string
|
||||
DomainToken string
|
||||
DomainVerifiedAt *time.Time
|
||||
Theme []byte
|
||||
CreatedAt time.Time
|
||||
UpdatedAt time.Time
|
||||
ID uuid.UUID
|
||||
OrgID uuid.UUID
|
||||
Slug string
|
||||
Title string
|
||||
Description string
|
||||
Published bool
|
||||
CustomDomain *string
|
||||
DomainToken string
|
||||
DomainVerifiedAt *time.Time
|
||||
Theme []byte
|
||||
CreatedAt time.Time
|
||||
UpdatedAt time.Time
|
||||
ShowComponentDetails bool
|
||||
}
|
||||
|
||||
type StatusPageGroup struct {
|
||||
ID uuid.UUID
|
||||
PageID uuid.UUID
|
||||
OrgID uuid.UUID
|
||||
ParentID *uuid.UUID
|
||||
Name string
|
||||
Position int32
|
||||
CreatedAt time.Time
|
||||
UpdatedAt time.Time
|
||||
}
|
||||
|
||||
type StatusPageMonitor struct {
|
||||
@@ -365,6 +377,7 @@ type StatusPageMonitor struct {
|
||||
Section string
|
||||
Label string
|
||||
Position int32
|
||||
GroupID *uuid.UUID
|
||||
}
|
||||
|
||||
type User struct {
|
||||
|
||||
Reference in new issue
Block a user