Update src/

This commit is contained in:
freearhey 2025-04-30 04:06:54 +03:00
parent e411cec545
commit 2a893a827b
33 changed files with 416 additions and 186 deletions

View file

@ -272,6 +272,10 @@ export class Channel {
return broadcastArea.uniqBy((broadcastArea: BroadcastArea) => broadcastArea.code)
}
getFeedNames(): Collection {
return this.getFeeds().map((feed: Feed) => feed.name)
}
getSearchable(): ChannelSearchable {
return {
id: this.id,
@ -308,7 +312,8 @@ export class Channel {
_broadcastLocationNames: this.getBroadcastLocationNames().all(),
_countryName: this.getCountryName(),
_guideSiteNames: this.getGuideSiteNames().all(),
_streamUrls: this.getStreamUrls().all()
_streamUrls: this.getStreamUrls().all(),
_feedNames: this.getFeedNames().all()
}
}