2024-11-17 11:45:08 +08:00
|
|
|
declare interface IActivity<T = string> {
|
2025-01-13 21:51:37 +08:00
|
|
|
id: string
|
2024-11-17 11:45:08 +08:00
|
|
|
content: T
|
|
|
|
op_type: string
|
|
|
|
repo: {
|
|
|
|
name: string
|
|
|
|
html_url: string
|
|
|
|
}
|
|
|
|
created: string
|
|
|
|
}
|
|
|
|
|
|
|
|
declare interface IContent {
|
|
|
|
Commits: ICommit[]
|
|
|
|
HeadCommit: ICommit
|
|
|
|
CompareURL: string
|
|
|
|
Len: number
|
|
|
|
}
|
|
|
|
|
|
|
|
declare interface ICommit {
|
2025-01-13 21:51:37 +08:00
|
|
|
Sha1: string
|
|
|
|
Message: string
|
|
|
|
AuthorEmail: string
|
|
|
|
AuthorName: string
|
|
|
|
CommitterEmail: string
|
|
|
|
CommitterName: string
|
2024-11-17 11:45:08 +08:00
|
|
|
Timestamp: string
|
2025-01-13 21:51:37 +08:00
|
|
|
}
|