mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-15 20:38:00 +00:00
9892fd92b6
* refactor: drop unused code * refactor: drop unused code
34 lines
628 B
Go
34 lines
628 B
Go
package domain
|
|
|
|
type NotificationType int32
|
|
|
|
const (
|
|
NotificationTypeEmail NotificationType = iota
|
|
NotificationTypeSms
|
|
|
|
notificationCount
|
|
)
|
|
|
|
type NotificationProviderState int32
|
|
|
|
const (
|
|
NotificationProviderStateUnspecified NotificationProviderState = iota
|
|
NotificationProviderStateActive
|
|
NotificationProviderStateRemoved
|
|
|
|
notificationProviderCount
|
|
)
|
|
|
|
func (s NotificationProviderState) Exists() bool {
|
|
return s == NotificationProviderStateActive
|
|
}
|
|
|
|
type NotificationProviderType int32
|
|
|
|
const (
|
|
NotificationProviderTypeFile NotificationProviderType = iota
|
|
NotificationProviderTypeLog
|
|
|
|
notificationProviderTypeCount
|
|
)
|