mirror of
https://github.com/LukeHagar/form.git
synced 2025-12-06 04:19:43 +00:00
46 lines
717 B
TypeScript
46 lines
717 B
TypeScript
export type Commit = {
|
|
commit: CommitOrTree
|
|
tree: CommitOrTree
|
|
author: AuthorOrCommitter
|
|
committer: AuthorOrCommitter
|
|
subject: string
|
|
body: string
|
|
parsed: Parsed
|
|
}
|
|
|
|
export type CommitOrTree = {
|
|
long: string
|
|
short: string
|
|
}
|
|
|
|
export type AuthorOrCommitter = {
|
|
name: string
|
|
email: string
|
|
date: string
|
|
}
|
|
|
|
export type Parsed = {
|
|
type: string
|
|
scope?: string | null
|
|
subject: string
|
|
merge?: null
|
|
header: string
|
|
body?: null
|
|
footer?: null
|
|
notes?: null[] | null
|
|
references?: null[] | null
|
|
mentions?: null[] | null
|
|
revert?: null
|
|
raw: string
|
|
}
|
|
|
|
export type Package = {
|
|
name: string
|
|
packageDir: string
|
|
}
|
|
|
|
export type BranchConfig = {
|
|
prerelease: boolean
|
|
ghRelease: boolean
|
|
}
|