@gitkraken/gitkraken-components 1.0.0-rc.14 → 1.0.0-rc.15

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.
@@ -13,6 +13,7 @@ import {
13
13
  export type Sha = string;
14
14
  export type CssVariables = {[variable: string]: string};
15
15
  export type IsSelectedBySha = {[sha: Sha]: boolean};
16
+ export type HighlightedShas = {[sha: Sha]: boolean};
16
17
 
17
18
  export type WorkDirType = typeof mergeConflictNodeType
18
19
  | typeof unsupportedRebaseWarningNodeType
@@ -42,9 +43,21 @@ export type GraphPlatform = 'aix'
42
43
  | 'win32'
43
44
  | 'cygwin';
44
45
 
46
+ export type RowContexts = {
47
+ row?: string;
48
+ ref?: string;
49
+ graph?: string;
50
+ avatar?: string;
51
+ message?: string;
52
+ author?: string;
53
+ date?: string;
54
+ sha?: string;
55
+ };
56
+
45
57
  export type Head = {
46
58
  name: string;
47
59
  isCurrentHead?: boolean;
60
+ context?: string;
48
61
  };
49
62
 
50
63
  export type Remote = {
@@ -52,11 +65,13 @@ export type Remote = {
52
65
  owner?: string;
53
66
  avatarUrl?: string;
54
67
  url?: string;
68
+ context?: string;
55
69
  };
56
70
 
57
71
  export type Tag = {
58
72
  name: string;
59
73
  annotated?: boolean;
74
+ context?: string;
60
75
  };
61
76
 
62
77
  export type GraphRow = {
@@ -70,10 +85,12 @@ export type GraphRow = {
70
85
  heads?: Head[];
71
86
  remotes?: Remote[];
72
87
  tags?: Tag[];
88
+ contexts?: RowContexts;
73
89
  };
74
90
 
75
91
  export type GraphColumnSetting = {
76
- width: number
92
+ width: number,
93
+ isHidden: boolean
77
94
  };
78
95
 
79
96
  export type AvatarUrlByEmail = { [email: string]: string };
@@ -135,6 +152,7 @@ export interface GraphContainerProps {
135
152
  enableMultiSelection?: boolean,
136
153
  graphRows: GraphRow[];
137
154
  hasMoreCommits?: boolean;
155
+ highlightedShas?: HighlightedShas;
138
156
  // isCommitting: boolean;
139
157
  isSelectedBySha?: IsSelectedBySha;
140
158
  // isInUnsupportedRebase: boolean;