Skip to content

Commit

Permalink
Merge pull request #510 from miholeus/banner-ad-align
Browse files Browse the repository at this point in the history
banner ad align property
  • Loading branch information
gbagretsov authored Jan 31, 2024
2 parents 433723e + e0d21ec commit f533b7c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/core/src/types/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -417,8 +417,15 @@ export enum BannerAdLocation {
BOTTOM = 'bottom',
}

export enum BannerAdAlign {
LEFT = 'left',
RIGHT = 'right',
CENTER = 'center',
}

export type ShowBannerAdRequest = {
banner_location: BannerAdLocation;
banner_align?: BannerAdAlign;
layout_type?: BannerAdLayoutType;
can_close?: boolean;
};
Expand Down Expand Up @@ -1042,6 +1049,7 @@ export type VKWebAppShowBannerAdResponse = {
banner_width: number;
banner_height: number;
banner_location: BannerAdLocation;
banner_align: BannerAdAlign;
layout_type: BannerAdLayoutType;
};

Expand Down

0 comments on commit f533b7c

Please sign in to comment.