import type { CoAuthorInfo, SubmoduleInfo } from '../shared/index.js' export interface RawCommit { /** File path */ filepath: string /** Commit hash */ hash: string /** Unix timestamp in milliseconds */ time: number /** Commit message */ message: string /** Commit message body */ body: string /** Commit refs */ refs: string /** Commit author name */ author: string /** Commit author email */ email: string /** The co-authors of the commit */ coAuthors: CoAuthorInfo[] /** * Information about the submodule if the commit is related to a submodule * update, otherwise null. */ submodule: SubmoduleInfo | null } export interface MergedRawCommit extends Omit { filepaths: string[] }