mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix: add fallback icons for notifications (#17013)
Related: https://github.com/coder/internal/issues/522
This commit is contained in:
@@ -10,6 +10,13 @@ import (
|
||||
"github.com/google/uuid"
|
||||
)
|
||||
|
||||
const (
|
||||
FallbackIconWorkspace = "DEFAULT_ICON_WORKSPACE"
|
||||
FallbackIconAccount = "DEFAULT_ICON_ACCOUNT"
|
||||
FallbackIconTemplate = "DEFAULT_ICON_TEMPLATE"
|
||||
FallbackIconOther = "DEFAULT_ICON_OTHER"
|
||||
)
|
||||
|
||||
type InboxNotification struct {
|
||||
ID uuid.UUID `json:"id" format:"uuid"`
|
||||
UserID uuid.UUID `json:"user_id" format:"uuid"`
|
||||
|
||||
Reference in New Issue
Block a user