Skip to content

Commit cb18f8f

Browse files
Merge pull request #402 from VKCOM/evgeniy.evdokimov/task/add-missing-ad-types
fix: add missing banner ad types
2 parents 19a2a8e + 61ff351 commit cb18f8f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/core/src/types/data.ts

+4
Original file line numberDiff line numberDiff line change
@@ -1008,6 +1008,8 @@ export type VKWebAppShowBannerAdResponse = {
10081008

10091009
export type VKWebAppCheckBannerAdResponse = VKWebAppShowBannerAdResponse;
10101010
export type VKWebAppHideBannerAdResponse = VKWebAppShowBannerAdResponse;
1011+
export type VKWebAppBannerAdUpdatedResponse = VKWebAppShowBannerAdResponse;
1012+
export type VKWebAppBannerAdClosedByUserResponse = Omit<VKWebAppShowBannerAdResponse, 'result'>;
10111013

10121014
export type VKWebAppShowOrderBoxResponse = {
10131015
status: OrderBoxShowingStatus;
@@ -1184,6 +1186,8 @@ export type ReceiveDataMap = {
11841186
VKWebAppCheckBannerAd: VKWebAppCheckBannerAdResponse;
11851187
VKWebAppHideBannerAd: VKWebAppHideBannerAdResponse;
11861188
VKWebAppShowBannerAd: VKWebAppShowBannerAdResponse;
1189+
VKWebAppBannerAdUpdated: VKWebAppBannerAdUpdatedResponse;
1190+
VKWebAppBannerAdClosedByUser: VKWebAppBannerAdClosedByUserResponse;
11871191
VKWebAppShowNativeAds: { result: true };
11881192
VKWebAppCheckNativeAds: { result: boolean };
11891193
VKWebAppShowOrderBox: VKWebAppShowOrderBoxResponse;

0 commit comments

Comments
 (0)