mirror of
https://github.com/iptv-org/iptv
synced 2025-12-17 02:47:33 -05:00
Update scripts
This commit is contained in:
14
scripts/models/category.ts
Normal file
14
scripts/models/category.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
type CategoryProps = {
|
||||
id: string
|
||||
name: string
|
||||
}
|
||||
|
||||
export class Category {
|
||||
id: string
|
||||
name: string
|
||||
|
||||
constructor({ id, name }: CategoryProps) {
|
||||
this.id = id
|
||||
this.name = name
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user