Skip to content

Commit

Permalink
Удалены типы в интерфейсе - взяты данные из интерфейса VK
Browse files Browse the repository at this point in the history
  • Loading branch information
quick6response committed Apr 27, 2024
1 parent 32d3223 commit 3f54ba5
Showing 1 changed file with 3 additions and 26 deletions.
29 changes: 3 additions & 26 deletions src/config/app.config.ts
Original file line number Diff line number Diff line change
@@ -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;
}

Expand Down

0 comments on commit 3f54ba5

Please sign in to comment.