feat(core): Add changelog fetching and parsing functionality
This commit is contained in:
@ -1,37 +1,37 @@
|
||||
export interface RepositoryOwner {
|
||||
export interface IRepositoryOwner {
|
||||
login: string;
|
||||
}
|
||||
|
||||
export interface Repository {
|
||||
owner: RepositoryOwner;
|
||||
export interface IRepository {
|
||||
owner: IRepositoryOwner;
|
||||
name: string;
|
||||
}
|
||||
|
||||
export interface CommitAuthor {
|
||||
export interface ICommitAuthor {
|
||||
date: string;
|
||||
}
|
||||
|
||||
export interface CommitDetail {
|
||||
export interface ICommitDetail {
|
||||
message: string;
|
||||
author: CommitAuthor;
|
||||
author: ICommitAuthor;
|
||||
}
|
||||
|
||||
export interface Commit {
|
||||
export interface ICommit {
|
||||
sha: string;
|
||||
commit: CommitDetail;
|
||||
commit: ICommitDetail;
|
||||
}
|
||||
|
||||
export interface Tag {
|
||||
export interface ITag {
|
||||
commit?: {
|
||||
sha?: string;
|
||||
};
|
||||
}
|
||||
|
||||
export interface RepoSearchResponse {
|
||||
data: Repository[];
|
||||
export interface IRepoSearchResponse {
|
||||
data: IRepository[];
|
||||
}
|
||||
|
||||
export interface CommitResult {
|
||||
export interface ICommitResult {
|
||||
baseUrl: string;
|
||||
org: string;
|
||||
repo: string;
|
||||
@ -41,4 +41,5 @@ export interface CommitResult {
|
||||
tagged: boolean;
|
||||
publishedOnNpm: boolean;
|
||||
prettyAgoTime: string;
|
||||
changelog: string | undefined;
|
||||
}
|
||||
|
Reference in New Issue
Block a user