Files
form/scripts/types.ts
2023-09-08 23:42:54 -07:00

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
}