export enum Schemes {
	CodingFile = 'coding-file',
	CodingMr = 'coding-mr',
}

export const CODING_MR_SCHEME = Schemes.CodingMr;

export const CODING_FILE_SCHEME = Schemes.CodingFile;

export const EmptyUserAvatar = `https://coding-net-production-static-ci.codehub.cn/7167f369-59ff-4196-bb76-a9959cf2b906.png`;

// https://git-scm.com/docs/git-diff#Documentation/git-diff.txt---diff-filterACDMRTUXB82308203
export enum GitChangeType {
	ADD = 'ADD',
	// COPY, // 暂时不用
	DELETE = 'DELETE',
	MODIFY = 'MODIFY',
	RENAME = 'REPLACE',
	// TYPE, // 暂时不用
	UNKNOWN = 'UNKNOWN',
	// UNMERGED, // 暂时不用
}

export interface ReviewUriParams {
	path: string;
	ref?: string;
	commit?: string;
	base: boolean;
	isOutdated: boolean;
	rootPath: string;
}
