From 3f54ba5d7bf2aba6ca5a61417900b037b46627ec Mon Sep 17 00:00:00 2001 From: Andrey Romanov <64421792+quick6response@users.noreply.github.com> Date: Sat, 27 Apr 2024 23:25:18 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A3=D0=B4=D0=B0=D0=BB=D0=B5=D0=BD=D1=8B=20?= =?UTF-8?q?=D1=82=D0=B8=D0=BF=D1=8B=20=D0=B2=20=D0=B8=D0=BD=D1=82=D0=B5?= =?UTF-8?q?=D1=80=D1=84=D0=B5=D0=B9=D1=81=D0=B5=20-=20=D0=B2=D0=B7=D1=8F?= =?UTF-8?q?=D1=82=D1=8B=20=D0=B4=D0=B0=D0=BD=D0=BD=D1=8B=D0=B5=20=D0=B8?= =?UTF-8?q?=D0=B7=20=D0=B8=D0=BD=D1=82=D0=B5=D1=80=D1=84=D0=B5=D0=B9=D1=81?= =?UTF-8?q?=D0=B0=20VK?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/config/app.config.ts | 29 +++-------------------------- 1 file changed, 3 insertions(+), 26 deletions(-) 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; }