You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
iptv/scripts/models/blocked.ts

18 lines
280 B
TypeScript

2 years ago
type BlockedProps = {
channel: string
5 months ago
reason: string
2 years ago
ref: string
}
export class Blocked {
channel: string
5 months ago
reason: string
2 years ago
ref: string
5 months ago
constructor({ ref, reason, channel }: BlockedProps) {
2 years ago
this.channel = channel
5 months ago
this.reason = reason
2 years ago
this.ref = ref
}
}