| 31 | } |
| 32 | |
| 33 | interface Commit { |
| 34 | /** Commit hash (full or abbreviated). */ |
| 35 | hash: string |
| 36 | /** Commit message (first line). */ |
| 37 | message: string |
| 38 | /** Commit author. */ |
| 39 | author: CommitAuthor |
| 40 | /** ISO date string or Date object. */ |
| 41 | date: string | Date |
| 42 | /** Parent commit hashes. Empty for root commits. Two parents = merge commit. */ |
| 43 | parents: string[] |
| 44 | /** Branch or ref label (e.g. "main", "feat/auth"). */ |
| 45 | refs?: string[] |
| 46 | /** Tag label (e.g. "v1.0.0"). */ |
| 47 | tag?: string |
| 48 | } |
| 49 | |
| 50 | interface CommitGraphProps |
| 51 | extends Omit<React.ComponentProps<'div'>, 'children'> { |
nothing calls this directly
no outgoing calls
no test coverage detected