@gitkraken/gitkraken-components 1.0.0-rc.3 → 1.0.0-rc.6
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
|
};
|
|
@@ -65,8 +74,7 @@ export type GraphRow = {
|
|
|
65
74
|
};
|
|
66
75
|
|
|
67
76
|
export type GraphColumnSetting = {
|
|
68
|
-
width: number
|
|
69
|
-
preferredWidth?: number
|
|
77
|
+
width: number
|
|
70
78
|
};
|
|
71
79
|
|
|
72
80
|
export const REF_ZONE_TYPE = 'refZone';
|
|
@@ -135,7 +143,7 @@ export interface GraphContainerProps {
|
|
|
135
143
|
themeOpacityFactor?: number;
|
|
136
144
|
translate?: TranslationFn;
|
|
137
145
|
useAuthorInitialsForAvatars?: boolean;
|
|
138
|
-
|
|
146
|
+
workDirStats?: WorkDirStats;
|
|
139
147
|
onRowContextMenu?: OnRowContextMenu;
|
|
140
148
|
onRefContextMenu?: OnRefContextMenu;
|
|
141
149
|
onGraphRowHovered?: OnGraphRowHovered;
|