mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore: rename notification banners to announcement banners (#13419)
This commit is contained in:
@@ -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