Skip to content
Source
Sign inSign up
TanStack/query
Open History to see the last commit

types.ts

48 lines790 Bytes

1export type Commit = {
2 commit: CommitOrTree
3 tree: CommitOrTree
4 author: AuthorOrCommitter
5 committer: AuthorOrCommitter
6 subject: string
7 body: string
8 parsed: Parsed
9}
10​
11export type CommitOrTree = {
12 long: string
13 short: string
15​
16export type AuthorOrCommitter = {
17 name: string
18 email: string
19 date: string
21​
22export type Parsed = {
23 type: string
24 scope?: string | null
25 subject: string
26 merge?: null
27 header: string
28 body?: null
29 footer?: null
30 notes?: null[] | null
31 references?: null[] | null
32 mentions?: null[] | null
33 revert?: null
34 raw: string
36​
37export type Package = {
38 name: string
39 packageDir: string
40 srcDir: string
41 dependencies?: string[]
42 peerDependencies?: string[]
44​
45export type BranchConfig = {
46 prerelease: boolean
47 ghRelease: boolean