Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion packages/core/src/types/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1098,6 +1098,10 @@ export type AddToProfileResponse = {
visibility: 'all' | 'friends' | 'best_friends';
};

export type AppShareResponse = {
result: LinkShareResult[];
};

/**
* Map of types of request props of VK Bridge methods
*/
Expand Down Expand Up @@ -1251,7 +1255,7 @@ export type ReceiveDataMap = {
VKWebAppSendToClient: { result: true };
VKWebAppSetLocation: { result: true };
VKWebAppSetViewSettings: { result: true };
VKWebAppShare: LinkShareResult[];
VKWebAppShare: AppShareResponse;
VKWebAppShowCommunityWidgetPreviewBox: { result: true };
VKWebAppShowImages: { result: true };
VKWebAppShowInviteBox: { success: true };
Expand Down