Skip to content

Commit

Permalink
feat: Update sponsoredBanners query with sponsoredCount input
Browse files Browse the repository at this point in the history
  • Loading branch information
luarakerlen committed Oct 30, 2024
1 parent 40a0972 commit 939c2ce
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions graphql/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ type Query {
): [SponsoredProduct] @cacheControl(scope: PUBLIC, maxAge: SHORT)
sponsoredBanners(
"""
Identifier for users, logged in or not. Used for A/B tests.
Maximum number of sponsored banners that should be returned.
"""
anonymousId: String
sponsoredCount: Int
"""
Placement of the banner. Used for analytics purposes.
"""
Expand All @@ -88,5 +88,9 @@ type Query {
Channel where the banner is being shown. Used for analytics purposes.
"""
channel: String
"""
Identifier for users, logged in or not. Used for A/B tests.
"""
anonymousId: String
): [SponsoredBanner] @cacheControl(scope: PUBLIC, maxAge: SHORT)
}

0 comments on commit 939c2ce

Please sign in to comment.