mirror of
https://github.com/iptv-org/iptv
synced 2025-12-16 18:37:17 -05:00
Install @freearhey/core
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { Collection } from '../core'
|
||||
import { Collection } from '@freearhey/core'
|
||||
|
||||
type ChannelProps = {
|
||||
id: string
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Dictionary } from '../core'
|
||||
import { Dictionary } from '@freearhey/core'
|
||||
|
||||
type IssueProps = {
|
||||
number: number
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Collection } from '../core'
|
||||
import { Collection } from '@freearhey/core'
|
||||
import { Stream } from '../models'
|
||||
|
||||
type PlaylistOptions = {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Collection } from '../core'
|
||||
import { Collection } from '@freearhey/core'
|
||||
|
||||
type RegionProps = {
|
||||
code: string
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { URL, Collection } from '../core'
|
||||
import { URL, Collection } from '@freearhey/core'
|
||||
import { Category, Language } from './index'
|
||||
|
||||
type StreamProps = {
|
||||
@@ -86,7 +86,7 @@ export class Stream {
|
||||
}
|
||||
|
||||
noCategories(): boolean {
|
||||
return this.categories.empty()
|
||||
return this.categories.isEmpty()
|
||||
}
|
||||
|
||||
hasCategory(category: Category): boolean {
|
||||
@@ -94,7 +94,7 @@ export class Stream {
|
||||
}
|
||||
|
||||
noLanguages(): boolean {
|
||||
return this.languages.empty()
|
||||
return this.languages.isEmpty()
|
||||
}
|
||||
|
||||
hasLanguage(language: Language): boolean {
|
||||
@@ -102,7 +102,7 @@ export class Stream {
|
||||
}
|
||||
|
||||
noBroadcastArea(): boolean {
|
||||
return this.broadcastArea.empty()
|
||||
return this.broadcastArea.isEmpty()
|
||||
}
|
||||
|
||||
isInternational(): boolean {
|
||||
|
||||
Reference in New Issue
Block a user