@vuepress/plugin-git
Version:
VuePress plugin - git
26 lines (25 loc) • 536 B
TypeScript
export interface GitPluginFrontmatter {
gitInclude?: string[];
}
export interface GitPluginPageData {
git: GitData;
}
export interface GitData {
/**
* Unix timestamp in milliseconds of the first commit
*/
createdTime?: number;
/**
* Unix timestamp in milliseconds of the last commit
*/
updatedTime?: number;
/**
* Contributors of all commits
*/
contributors?: GitContributor[];
}
export interface GitContributor {
name: string;
email: string;
commits: number;
}