Skip to content

Commit f533b7c

Browse files
authored
Merge pull request #510 from miholeus/banner-ad-align
banner ad align property
2 parents 433723e + e0d21ec commit f533b7c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

packages/core/src/types/data.ts

+8
Original file line numberDiff line numberDiff line change
@@ -417,8 +417,15 @@ export enum BannerAdLocation {
417417
BOTTOM = 'bottom',
418418
}
419419

420+
export enum BannerAdAlign {
421+
LEFT = 'left',
422+
RIGHT = 'right',
423+
CENTER = 'center',
424+
}
425+
420426
export type ShowBannerAdRequest = {
421427
banner_location: BannerAdLocation;
428+
banner_align?: BannerAdAlign;
422429
layout_type?: BannerAdLayoutType;
423430
can_close?: boolean;
424431
};
@@ -1042,6 +1049,7 @@ export type VKWebAppShowBannerAdResponse = {
10421049
banner_width: number;
10431050
banner_height: number;
10441051
banner_location: BannerAdLocation;
1052+
banner_align: BannerAdAlign;
10451053
layout_type: BannerAdLayoutType;
10461054
};
10471055

0 commit comments

Comments
 (0)