2023-09-22 05:17:22 +03:00
|
|
|
import { Dictionary } from '@freearhey/core'
|
2023-09-17 04:08:50 +03:00
|
|
|
|
|
|
|
|
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
|
|
|
|
|
}
|
|
|
|
|
}
|