@gitkraken/gitkraken-components 1.0.0-rc.26 → 1.0.0-rc.28

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.
@@ -64,15 +64,15 @@ export type GraphContexts = {
64
64
  header?: GraphItemContext;
65
65
  };
66
66
 
67
- export type Head = {
67
+ export interface Head {
68
68
  id?: string,
69
69
  name: string;
70
70
  isCurrentHead?: boolean;
71
71
  context?: GraphItemContext;
72
72
  contextGroup?: GraphItemContext;
73
- };
73
+ }
74
74
 
75
- export type Remote = {
75
+ export interface Remote {
76
76
  id?: string,
77
77
  name: string;
78
78
  owner?: string;
@@ -80,15 +80,15 @@ export type Remote = {
80
80
  url?: string;
81
81
  context?: GraphItemContext;
82
82
  contextGroup?: GraphItemContext;
83
- };
83
+ }
84
84
 
85
- export type Tag = {
85
+ export interface Tag {
86
86
  id?: string,
87
87
  name: string;
88
88
  annotated?: boolean;
89
89
  context?: GraphItemContext;
90
90
  contextGroup?: GraphItemContext;
91
- };
91
+ }
92
92
 
93
93
  export type GraphRow = {
94
94
  sha: Sha;
@@ -131,12 +131,9 @@ export type GraphRefType = 'head'
131
131
  | 'remote'
132
132
  | 'tag';
133
133
 
134
- export type GraphRef = Head
135
- | Remote
136
- | Tag
137
- | {
138
- refType: GraphRefType
139
- };
134
+ export interface GraphRef extends Head, Remote, Tag {
135
+ refType: GraphRefType;
136
+ }
140
137
 
141
138
  export type GraphRefOptData = {
142
139
  id: string;