Files
iptv/scripts/models/issue.ts

20 lines
324 B
TypeScript
Raw Normal View History

2023-09-17 04:08:50 +03:00
import { Dictionary } from '../core'
type IssueProps = {
number: number
2023-09-18 18:24:40 +03:00
labels: string[]
2023-09-17 04:08:50 +03:00
data: Dictionary
}
export class Issue {
number: number
2023-09-18 18:24:40 +03:00
labels: string[]
2023-09-17 04:08:50 +03:00
data: Dictionary
2023-09-18 18:24:40 +03:00
constructor({ number, labels, data }: IssueProps) {
2023-09-17 04:08:50 +03:00
this.number = number
2023-09-18 18:24:40 +03:00
this.labels = labels
2023-09-17 04:08:50 +03:00
this.data = data
}
}