mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-17 19:42:14 +00:00
16 lines
447 B
JavaScript
16 lines
447 B
JavaScript
'use strict';
|
|
|
|
const Text = require('./Text');
|
|
const NavigationEndpoint = require('./NavigationEndpoint');
|
|
|
|
class ShowingResultsFor {
|
|
type = 'ShowingResultsFor';
|
|
|
|
constructor(data) {
|
|
this.corrected_query = new Text(data.correctedQuery);
|
|
this.endpoint = new NavigationEndpoint(data.correctedQueryEndpoint);
|
|
this.original_query_endpoint = new NavigationEndpoint(data.originalQueryEndpoint);
|
|
}
|
|
}
|
|
|
|
module.exports = ShowingResultsFor; |