diff --git a/src/config/app.config.ts b/src/config/app.config.ts index bf52ee4..b3b18c9 100644 --- a/src/config/app.config.ts +++ b/src/config/app.config.ts @@ -1,37 +1,14 @@ -export const parameterStartURL = window.location?.search?.slice(1); +import { LaunchParams } from '@vkontakte/vk-bridge/dist/types/src/parseURLSearchParamsForGetLaunchParams'; +export const parameterStartURL = window.location?.search?.slice(1); export enum ClientApplicationEnum { VK = 'vk', OK = 'ok', } -export interface ParameterStartInterface { - vk_access_token_settings: string; - - vk_app_id: string; - - vk_are_notifications_enabled: number; - - vk_is_app_user: number; - - vk_is_favorite: number; - - vk_language: string; - - vk_platform: string; - - vk_ref: string; - - vk_ts: string; - - vk_user_id: number; - - sign: string; - +export interface ParameterStartInterface extends LaunchParams { ip: string; - userAgent: string; - vk_client: ClientApplicationEnum; }