-
-
Notifications
You must be signed in to change notification settings - Fork 239
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
29 changed files
with
327 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
export = Music; | ||
/** @namespace */ | ||
declare class Music { | ||
/** | ||
* @param {Innertube} session | ||
* @constructor | ||
*/ | ||
constructor(session: Innertube); | ||
/** | ||
* Search on YouTube Music. | ||
* @param {string} query | ||
* @returns {Promise.<Search>} | ||
*/ | ||
search(query: string): Promise<Search>; | ||
#private; | ||
} | ||
import Search = require("../parser/ytmusic/Search"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
export = DidYouMean; | ||
declare class DidYouMean { | ||
constructor(data: any); | ||
type: string; | ||
corrected_query: Text; | ||
endpoint: NavigationEndpoint; | ||
} | ||
import Text = require("./Text"); | ||
import NavigationEndpoint = require("./NavigationEndpoint"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
export = EmergencyOnebox; | ||
declare class EmergencyOnebox { | ||
constructor(data: any); | ||
type: string; | ||
title: Text; | ||
first_option: any; | ||
menu: any; | ||
} | ||
import Text = require("./Text"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
export = MerchandiseItem; | ||
declare class MerchandiseItem { | ||
constructor(data: any); | ||
type: string; | ||
title: any; | ||
description: any; | ||
thumbnails: any; | ||
price: any; | ||
vendor_name: any; | ||
button_text: any; | ||
button_accessibility_text: any; | ||
from_vendor_text: any; | ||
additional_fees_text: any; | ||
region_format: any; | ||
endpoint: NavigationEndpoint; | ||
} | ||
import NavigationEndpoint = require("./NavigationEndpoint"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
export = MerchandiseShelf; | ||
declare class MerchandiseShelf { | ||
constructor(data: any); | ||
type: string; | ||
title: any; | ||
menu: any; | ||
items: any; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
export = Message; | ||
declare class Message { | ||
constructor(data: any); | ||
type: string; | ||
text: any; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
export = MusicHeader; | ||
declare class MusicHeader { | ||
constructor(data: any); | ||
type: string; | ||
header: any; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
export = MusicInlineBadge; | ||
declare class MusicInlineBadge { | ||
constructor(data: any); | ||
type: string; | ||
icon_type: any; | ||
label: any; | ||
} |
8 changes: 8 additions & 0 deletions
8
typings/lib/parser/contents/classes/MusicItemThumbnailOverlay.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
export = MusicItemThumbnailOverlay; | ||
declare class MusicItemThumbnailOverlay { | ||
constructor(data: any); | ||
type: string; | ||
content: any; | ||
content_position: any; | ||
display_style: any; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
export = MusicPlayButton; | ||
declare class MusicPlayButton { | ||
constructor(data: any); | ||
type: string; | ||
endpoint: NavigationEndpoint; | ||
play_icon_type: any; | ||
pause_icon_type: any; | ||
play_label: any; | ||
pause_label: any; | ||
icon_color: any; | ||
} | ||
import NavigationEndpoint = require("./NavigationEndpoint"); |
38 changes: 38 additions & 0 deletions
38
typings/lib/parser/contents/classes/MusicResponsiveListItem.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
export = MusicResponsiveListItem; | ||
declare class MusicResponsiveListItem { | ||
constructor(data: any, ctx: any); | ||
type: any; | ||
endpoint: NavigationEndpoint; | ||
thumbnails: any; | ||
badges: any; | ||
menu: any; | ||
overlay: any; | ||
id: any; | ||
title: any; | ||
artist: any; | ||
album: any; | ||
duration: { | ||
text: any; | ||
seconds: number; | ||
} | { | ||
text: any; | ||
seconds: number; | ||
}; | ||
views: any; | ||
author: { | ||
name: any; | ||
channel_id: any; | ||
} | { | ||
name: any; | ||
channel_id: any; | ||
} | { | ||
name: any; | ||
channel_id: any; | ||
}; | ||
name: any; | ||
subscribers: any; | ||
year: any; | ||
item_count: number; | ||
#private; | ||
} | ||
import NavigationEndpoint = require("./NavigationEndpoint"); |
8 changes: 8 additions & 0 deletions
8
typings/lib/parser/contents/classes/MusicResponsiveListItemFlexColumn.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
export = MusicResponsiveListItemFlexColumn; | ||
declare class MusicResponsiveListItemFlexColumn { | ||
constructor(data: any); | ||
type: string; | ||
title: Text; | ||
display_priority: any; | ||
} | ||
import Text = require("./Text"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
export = MusicShelf; | ||
declare class MusicShelf { | ||
constructor(data: any); | ||
type: string; | ||
title: Text; | ||
contents: any; | ||
endpoint: NavigationEndpoint; | ||
continuation: any; | ||
bottom_text: Text; | ||
} | ||
import Text = require("./Text"); | ||
import NavigationEndpoint = require("./NavigationEndpoint"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
typings/lib/parser/contents/classes/PlayerErrorMessage.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
export = PlayerErrorMessage; | ||
declare class PlayerErrorMessage { | ||
constructor(data: any); | ||
type: string; | ||
subreason: Text; | ||
reason: Text; | ||
proceed_button: any; | ||
thumbnails: any; | ||
icon_type: any; | ||
} | ||
import Text = require("./Text"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,5 @@ declare class SectionList { | |
type: string; | ||
target_id: any; | ||
contents: any; | ||
header: any; | ||
} |
10 changes: 10 additions & 0 deletions
10
typings/lib/parser/contents/classes/ShowingResultsFor.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
export = ShowingResultsFor; | ||
declare class ShowingResultsFor { | ||
constructor(data: any); | ||
type: string; | ||
corrected_query: Text; | ||
endpoint: NavigationEndpoint; | ||
original_query_endpoint: NavigationEndpoint; | ||
} | ||
import Text = require("./Text"); | ||
import NavigationEndpoint = require("./NavigationEndpoint"); |
12 changes: 12 additions & 0 deletions
12
typings/lib/parser/contents/classes/SingleActionEmergencySupport.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
export = SingleActionEmergencySupport; | ||
declare class SingleActionEmergencySupport { | ||
constructor(data: any); | ||
type: string; | ||
action_text: Text; | ||
nav_text: Text; | ||
details: Text; | ||
icon_type: any; | ||
endpoint: NavigationEndpoint; | ||
} | ||
import Text = require("./Text"); | ||
import NavigationEndpoint = require("./NavigationEndpoint"); |
12 changes: 12 additions & 0 deletions
12
typings/lib/parser/contents/classes/ToggleMenuServiceItem.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
export = ToggleMenuServiceItem; | ||
declare class ToggleMenuServiceItem { | ||
constructor(data: any); | ||
type: string; | ||
text: Text; | ||
toggled_text: Text; | ||
icon_type: any; | ||
toggled_icon_type: any; | ||
endpoint: NavigationEndpoint; | ||
} | ||
import Text = require("./Text"); | ||
import NavigationEndpoint = require("./NavigationEndpoint"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.