@gitkraken/gitkraken-components 3.1.0 → 5.0.0
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.
|
@@ -87,11 +87,13 @@ interface Ref {
|
|
|
87
87
|
}
|
|
88
88
|
export interface Head extends Ref {
|
|
89
89
|
isCurrentHead?: boolean;
|
|
90
|
+
upstream?: string;
|
|
90
91
|
}
|
|
91
92
|
export interface Remote extends Ref {
|
|
92
93
|
owner?: string;
|
|
93
94
|
avatarUrl?: string;
|
|
94
95
|
url?: string;
|
|
96
|
+
current?: boolean;
|
|
95
97
|
}
|
|
96
98
|
export interface Tag extends Ref {
|
|
97
99
|
annotated?: boolean;
|
|
@@ -218,6 +220,16 @@ export type RefMetadataItem =
|
|
|
218
220
|
data: UpstreamMetadata;
|
|
219
221
|
};
|
|
220
222
|
|
|
223
|
+
export type GraphMarkerType =
|
|
224
|
+
| 'head'
|
|
225
|
+
| 'upstream'
|
|
226
|
+
| 'localBranches'
|
|
227
|
+
| 'remoteBranches'
|
|
228
|
+
| 'stashes'
|
|
229
|
+
| 'tags'
|
|
230
|
+
| 'highlights'
|
|
231
|
+
| 'selection';
|
|
232
|
+
|
|
221
233
|
export type CommitDateTimeSource = CommitDateTimeSources;
|
|
222
234
|
|
|
223
235
|
// Callbacks
|
|
@@ -261,6 +273,7 @@ export interface GraphContainerProps {
|
|
|
261
273
|
showGhostRefsOnRowHover?: boolean;
|
|
262
274
|
showRemoteNamesOnRefs?: boolean;
|
|
263
275
|
enabledRefMetadataTypes?: RefMetadataType[];
|
|
276
|
+
enabledScrollMarkerTypes?: GraphMarkerType[];
|
|
264
277
|
scrollRowPadding?: number;
|
|
265
278
|
enableMultiSelection?: boolean;
|
|
266
279
|
graphRows: GraphRow[];
|