MCPcopy Create free account
hub / github.com/47ng/nuqs / Commit

Interface Commit

packages/docs/src/components/commit-graph.tsx:33–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31}
32
33interface 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
50interface CommitGraphProps
51 extends Omit<React.ComponentProps<'div'>, 'children'> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected