Skip to content

Commit 9edff34

Browse files
authored
Merge pull request #150 from openobserve/dev
feat: update backgroundTheme options for ApiGlobalAdsBanner to enhanc…
2 parents a2f5101 + 05dc2fc commit 9edff34

2 files changed

Lines changed: 10 additions & 16 deletions

File tree

src/api/global-ads-banner/content-types/global-ads-banner/schema.json

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,12 @@
2929
"backgroundTheme": {
3030
"type": "enumeration",
3131
"enum": [
32-
"hero-gradient",
33-
"theme-blue",
34-
"theme-red",
35-
"theme-purple",
36-
"theme-green",
37-
"theme-pricing-button",
38-
"theme-pricing-card"
32+
"hero-gradient-purple-blue",
33+
"hero-gradient-warm",
34+
"hero-gradient-cool",
35+
"hero-gradient-full"
3936
],
40-
"default": "hero-gradient"
37+
"default": "hero-gradient-purple-blue"
4138
}
4239
}
4340
}

types/generated/contentTypes.d.ts

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1118,16 +1118,13 @@ export interface ApiGlobalAdsBannerGlobalAdsBanner
11181118
attributes: {
11191119
backgroundTheme: Schema.Attribute.Enumeration<
11201120
[
1121-
'hero-gradient',
1122-
'theme-blue',
1123-
'theme-red',
1124-
'theme-purple',
1125-
'theme-green',
1126-
'theme-pricing-button',
1127-
'theme-pricing-card',
1121+
'hero-gradient-purple-blue',
1122+
'hero-gradient-warm',
1123+
'hero-gradient-cool',
1124+
'hero-gradient-full',
11281125
]
11291126
> &
1130-
Schema.Attribute.DefaultTo<'hero-gradient'>;
1127+
Schema.Attribute.DefaultTo<'hero-gradient-purple-blue'>;
11311128
createdAt: Schema.Attribute.DateTime;
11321129
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
11331130
Schema.Attribute.Private;

0 commit comments

Comments
 (0)