@gitkraken/gitkraken-components 1.0.0-rc.2 → 1.0.0-rc.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -18,6 +18,14 @@ export type WorkDirType = typeof mergeConflictNodeType
|
|
|
18
18
|
| typeof unsupportedRebaseWarningNodeType
|
|
19
19
|
| typeof workDirType;
|
|
20
20
|
|
|
21
|
+
export type WorkDirStats = {
|
|
22
|
+
added: number,
|
|
23
|
+
deleted: number,
|
|
24
|
+
modified: number
|
|
25
|
+
// TODO: Add renamed once available in GitLens from provider
|
|
26
|
+
// renamed: number
|
|
27
|
+
};
|
|
28
|
+
|
|
21
29
|
export type CommitType = typeof commitNodeType
|
|
22
30
|
| typeof mergeNodeType
|
|
23
31
|
| typeof mergeConflictNodeType
|
|
@@ -41,6 +49,7 @@ export type Head = {
|
|
|
41
49
|
|
|
42
50
|
export type Remote = {
|
|
43
51
|
name: string;
|
|
52
|
+
owner?: string;
|
|
44
53
|
avatarUrl?: string;
|
|
45
54
|
url?: string;
|
|
46
55
|
};
|
|
@@ -135,7 +144,7 @@ export interface GraphContainerProps {
|
|
|
135
144
|
themeOpacityFactor?: number;
|
|
136
145
|
translate?: TranslationFn;
|
|
137
146
|
useAuthorInitialsForAvatars?: boolean;
|
|
138
|
-
|
|
147
|
+
workDirStats?: WorkDirStats;
|
|
139
148
|
onRowContextMenu?: OnRowContextMenu;
|
|
140
149
|
onRefContextMenu?: OnRefContextMenu;
|
|
141
150
|
onGraphRowHovered?: OnGraphRowHovered;
|