Skip to content

Commit

Permalink
banner ad align property
Browse files Browse the repository at this point in the history
  • Loading branch information
miholeus committed Jan 29, 2024
1 parent 433723e commit e0d21ec
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 e0d21ec

Please sign in to comment.