Socket
Socket
Sign inDemoInstall

@apidog/vk-typings

Package Overview
Dependencies
Maintainers
0
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@apidog/vk-typings - npm Package Compare versions

Comparing version 1.0.20 to 1.0.21

2

package.json
{
"name": "@apidog/vk-typings",
"version": "1.0.20",
"version": "1.0.21",
"description": "Typings for VK API objects",

@@ -5,0 +5,0 @@ "scripts": {

@@ -16,2 +16,3 @@ import type { IPhoto } from './IPhoto';

can_share?: boolean;
can_report?: boolean;
created: number;

@@ -28,2 +29,3 @@ question: string;

friends?: { id: number }[];
embed_hash?: string;
}

@@ -18,2 +18,5 @@ import type { IPhoto } from './IPhoto';

can_see?: 1;
can_like?: boolean;
can_hide?: 0 | 1;
is_ads?: boolean;
link?: IStoryLink;

@@ -28,3 +31,3 @@ parent_story_owner_id?: number;

clickable_stickers?: IStoryClickableStickers;
views: number;
views?: number;
access_key?: string;

@@ -45,5 +48,5 @@ seen?: boolean;

export interface IStoryVideo extends IStoryBase<'video'> {
video: IVideo & Required<Pick<IVideo, 'image'>>;
video: Omit<IVideo, 'comments' | 'can_comment' | 'can_like' | 'can_repost' | 'can_add_to_faves'> & Required<Pick<IVideo, 'image'>>;
}
export type IStory = IStoryPhoto | IStoryVideo;

@@ -6,2 +6,3 @@ import type { IApplication } from './IApplication';

type: 'stories';
id: string;
stories: IStory[];

@@ -8,0 +9,0 @@ has_unseen?: boolean;

@@ -24,3 +24,3 @@ import type { IPoll } from './IPoll';

style: 'transparent' | 'underline' | 'red_gradient';
style?: 'transparent' | 'underline' | 'red_gradient';

@@ -27,0 +27,0 @@ // type = post

@@ -56,6 +56,8 @@ import type { ILikesInfo } from './ILikesInfo';

/** only without callback */
can_play_in_background?: boolean;
can_play_in_background?: 0 | 1;
/** only without callback */
can_download?: boolean;
can_download?: 0 | 1;
/** only without callback */
is_from_message?: 0 | 1;
/** only without callback */
files?: Partial<Record<VideoFilesKey, string>> & {

@@ -78,2 +80,4 @@ failover_host?: string;

restriction?: IVideoRestriction;
ov_id?: string;
thumb_hash?: string;
}
export type VideoFilesMp4 = 'mp4_144' | 'mp4_240' | 'mp4_360' | 'mp4_480' | 'mp4_720' | 'mp4_1080' | 'mp4_1440' | 'mp4_2160';
export type VideoFilesKey = VideoFilesMp4 | 'external' | 'hls';
export type VideoFilesKey = VideoFilesMp4 | 'external' | 'hls' | 'dash_sep' | 'dash_webm';
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc