mirror of
https://github.com/coder/coder.git
synced 2025-07-12 00:14:10 +00:00
chore: rename notification banners to announcement banners (#13419)
This commit is contained in:
committed by
GitHub
parent
de8149fbfd
commit
b248f125e1
@ -2105,18 +2105,18 @@ func (c *Client) DeploymentStats(ctx context.Context) (DeploymentStats, error) {
|
||||
type AppearanceConfig struct {
|
||||
ApplicationName string `json:"application_name"`
|
||||
LogoURL string `json:"logo_url"`
|
||||
// Deprecated: ServiceBanner has been replaced by NotificationBanners.
|
||||
// Deprecated: ServiceBanner has been replaced by AnnouncementBanners.
|
||||
ServiceBanner BannerConfig `json:"service_banner"`
|
||||
NotificationBanners []BannerConfig `json:"notification_banners"`
|
||||
AnnouncementBanners []BannerConfig `json:"announcement_banners"`
|
||||
SupportLinks []LinkConfig `json:"support_links,omitempty"`
|
||||
}
|
||||
|
||||
type UpdateAppearanceConfig struct {
|
||||
ApplicationName string `json:"application_name"`
|
||||
LogoURL string `json:"logo_url"`
|
||||
// Deprecated: ServiceBanner has been replaced by NotificationBanners.
|
||||
// Deprecated: ServiceBanner has been replaced by AnnouncementBanners.
|
||||
ServiceBanner BannerConfig `json:"service_banner"`
|
||||
NotificationBanners []BannerConfig `json:"notification_banners"`
|
||||
AnnouncementBanners []BannerConfig `json:"announcement_banners"`
|
||||
}
|
||||
|
||||
// Deprecated: ServiceBannerConfig has been renamed to BannerConfig.
|
||||
|
Reference in New Issue
Block a user