twitch-getter
Advanced tools
Comparing version 1.1.6 to 1.1.7
import { NewStreamPayload, NewGamesPayload } from "./new_twitch_types"; | ||
export declare type StreamerConfig = { | ||
[key: string]: any; | ||
after?: string; | ||
before?: string; | ||
first?: string; | ||
user_id?: string; | ||
user_login?: string; | ||
language?: string; | ||
game_id?: string; | ||
}; | ||
export declare type GameConfig = { | ||
id?: string; | ||
name?: string; | ||
}; | ||
import { StreamerConfig, GameConfig } from "./new_twitch_types"; | ||
export default class NewTwitchApi { | ||
@@ -17,0 +4,0 @@ private helpers; |
@@ -20,6 +20,6 @@ export interface NewStreamPayload { | ||
} | ||
interface Pagination { | ||
export interface Pagination { | ||
cursor: string; | ||
} | ||
interface SubTopGames { | ||
export interface SubTopGames { | ||
id: string; | ||
@@ -29,2 +29,16 @@ name: string; | ||
} | ||
export interface StreamerConfig { | ||
[key: string]: any; | ||
after?: string; | ||
before?: string; | ||
first?: string; | ||
user_id?: string; | ||
user_login?: string; | ||
language?: string; | ||
game_id?: string; | ||
} | ||
export interface GameConfig { | ||
id?: string; | ||
name?: string; | ||
} | ||
export {}; |
@@ -66,3 +66,3 @@ export interface StreamData { | ||
} | ||
export declare type V5StreamsConfig = { | ||
export interface V5StreamsConfig { | ||
[key: string]: any; | ||
@@ -75,7 +75,7 @@ channel?: string; | ||
offset?: number; | ||
}; | ||
export declare type V5TopGames = { | ||
} | ||
export interface V5TopGames { | ||
limit?: number; | ||
offset?: number; | ||
}; | ||
} | ||
export {}; |
{ | ||
"name": "twitch-getter", | ||
"version": "1.1.6", | ||
"version": "1.1.7", | ||
"description": "Get data from twitch's own API", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
25853
554