@gitkraken/gitkraken-components 4.0.0 → 6.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;
|
|
@@ -126,13 +128,15 @@ export const MESSAGE_ZONE_TYPE = 'message';
|
|
|
126
128
|
export const AUTHOR_ZONE_TYPE = 'author';
|
|
127
129
|
export const DATE_TIME_ZONE_TYPE = 'datetime';
|
|
128
130
|
export const SHA_ZONE_TYPE = 'sha';
|
|
131
|
+
export const CHANGES_ZONE_TYPE = 'changes';
|
|
129
132
|
|
|
130
133
|
export type GraphZoneType = typeof REF_ZONE_TYPE
|
|
131
134
|
| typeof GRAPH_ZONE_TYPE
|
|
132
135
|
| typeof MESSAGE_ZONE_TYPE
|
|
133
136
|
| typeof AUTHOR_ZONE_TYPE
|
|
134
137
|
| typeof DATE_TIME_ZONE_TYPE
|
|
135
|
-
| typeof SHA_ZONE_TYPE
|
|
138
|
+
| typeof SHA_ZONE_TYPE
|
|
139
|
+
| typeof CHANGES_ZONE_TYPE;
|
|
136
140
|
|
|
137
141
|
export type GraphColumnsSettings = { [graphZoneType: string]: GraphColumnSetting };
|
|
138
142
|
|
|
@@ -218,6 +222,16 @@ export type RefMetadataItem =
|
|
|
218
222
|
data: UpstreamMetadata;
|
|
219
223
|
};
|
|
220
224
|
|
|
225
|
+
export type GraphMarkerType =
|
|
226
|
+
| 'head'
|
|
227
|
+
| 'upstream'
|
|
228
|
+
| 'localBranches'
|
|
229
|
+
| 'remoteBranches'
|
|
230
|
+
| 'stashes'
|
|
231
|
+
| 'tags'
|
|
232
|
+
| 'highlights'
|
|
233
|
+
| 'selection';
|
|
234
|
+
|
|
221
235
|
export type CommitDateTimeSource = CommitDateTimeSources;
|
|
222
236
|
|
|
223
237
|
// Callbacks
|
|
@@ -261,6 +275,7 @@ export interface GraphContainerProps {
|
|
|
261
275
|
showGhostRefsOnRowHover?: boolean;
|
|
262
276
|
showRemoteNamesOnRefs?: boolean;
|
|
263
277
|
enabledRefMetadataTypes?: RefMetadataType[];
|
|
278
|
+
enabledScrollMarkerTypes?: GraphMarkerType[];
|
|
264
279
|
scrollRowPadding?: number;
|
|
265
280
|
enableMultiSelection?: boolean;
|
|
266
281
|
graphRows: GraphRow[];
|