2024-12-13 23:54:38 +00:00
|
|
|
export interface IRepositoryOwner {
|
2024-12-13 23:30:35 +00:00
|
|
|
login: string;
|
|
|
|
}
|
|
|
|
|
2024-12-13 23:54:38 +00:00
|
|
|
export interface IRepository {
|
|
|
|
owner: IRepositoryOwner;
|
2024-12-13 23:30:35 +00:00
|
|
|
name: string;
|
|
|
|
}
|
|
|
|
|
2024-12-13 23:54:38 +00:00
|
|
|
export interface ICommitAuthor {
|
2024-12-13 23:30:35 +00:00
|
|
|
date: string;
|
|
|
|
}
|
|
|
|
|
2024-12-13 23:54:38 +00:00
|
|
|
export interface ICommitDetail {
|
2024-12-13 23:30:35 +00:00
|
|
|
message: string;
|
2024-12-13 23:54:38 +00:00
|
|
|
author: ICommitAuthor;
|
2024-12-13 23:30:35 +00:00
|
|
|
}
|
|
|
|
|
2024-12-13 23:54:38 +00:00
|
|
|
export interface ICommit {
|
2024-12-13 23:30:35 +00:00
|
|
|
sha: string;
|
2024-12-13 23:54:38 +00:00
|
|
|
commit: ICommitDetail;
|
2024-12-13 23:30:35 +00:00
|
|
|
}
|
|
|
|
|
2024-12-13 23:54:38 +00:00
|
|
|
export interface ITag {
|
2024-12-13 23:30:35 +00:00
|
|
|
commit?: {
|
|
|
|
sha?: string;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
2024-12-13 23:54:38 +00:00
|
|
|
export interface IRepoSearchResponse {
|
|
|
|
data: IRepository[];
|
2024-12-13 23:30:35 +00:00
|
|
|
}
|
|
|
|
|
2024-12-13 23:54:38 +00:00
|
|
|
export interface ICommitResult {
|
2024-12-13 23:30:35 +00:00
|
|
|
baseUrl: string;
|
|
|
|
org: string;
|
|
|
|
repo: string;
|
|
|
|
timestamp: string;
|
|
|
|
hash: string;
|
|
|
|
commitMessage: string;
|
|
|
|
tagged: boolean;
|
|
|
|
publishedOnNpm: boolean;
|
|
|
|
prettyAgoTime: string;
|
2024-12-13 23:54:38 +00:00
|
|
|
changelog: string | undefined;
|
2024-12-13 23:30:35 +00:00
|
|
|
}
|