Install @freearhey/core

This commit is contained in:
freearhey 2023-09-22 05:17:22 +03:00
parent 03208a262a
commit 4c92b4ecb1
39 changed files with 141 additions and 420 deletions

View file

@ -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 {