@gitkraken/gitkraken-components 1.0.0-rc.20 → 1.0.0-rc.22
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.
|
@@ -128,9 +128,9 @@ export type GraphRef = Head
|
|
|
128
128
|
|
|
129
129
|
export type GraphRefGroup = Array<GraphRef>;
|
|
130
130
|
|
|
131
|
-
export type RefMetadataById = { [id: string]: RefMetadata | null | undefined };
|
|
131
|
+
export type RefMetadataById = { [id: string]: RefMetadata | null | undefined } | null;
|
|
132
132
|
export type RefMetadata = {
|
|
133
|
-
pullRequests?: PullRequestMetadata[];
|
|
133
|
+
pullRequests?: PullRequestMetadata[] | null;
|
|
134
134
|
};
|
|
135
135
|
|
|
136
136
|
export type PullRequestMetadata = {
|
|
@@ -153,20 +153,20 @@ export const azureDevopsHostingServiceType = 'azureDevops';
|
|
|
153
153
|
export const bitBucketHostingServiceType = 'bitbucket';
|
|
154
154
|
export const bitBucketServerHostingServiceType = 'bitbucketServer';
|
|
155
155
|
export type HostingServiceType =
|
|
156
|
-
typeof
|
|
157
|
-
typeof
|
|
158
|
-
typeof
|
|
159
|
-
typeof
|
|
160
|
-
typeof
|
|
161
|
-
typeof
|
|
162
|
-
typeof
|
|
156
|
+
typeof gitHubDotComHostingServiceType |
|
|
157
|
+
typeof githubEnterpriseHostingServiceType |
|
|
158
|
+
typeof bitBucketHostingServiceType |
|
|
159
|
+
typeof bitBucketServerHostingServiceType |
|
|
160
|
+
typeof gitLabHostingServiceType |
|
|
161
|
+
typeof gitLabSelfHostingServiceType |
|
|
162
|
+
typeof azureDevopsHostingServiceType;
|
|
163
163
|
|
|
164
164
|
export type RefsMissingMetadata = {
|
|
165
|
-
[refId: string]:
|
|
165
|
+
[refId: string]: RefMetadataType[]
|
|
166
166
|
}
|
|
167
|
-
export const
|
|
167
|
+
export const pullRequestMetadataType = 'pullRequests';
|
|
168
168
|
// Expand this as we add more types to RefMetadata
|
|
169
|
-
export type
|
|
169
|
+
export type RefMetadataType = typeof pullRequestMetadataType;
|
|
170
170
|
|
|
171
171
|
// Callbacks
|
|
172
172
|
export type GetExternalIcon = (key: string) => React.ReactElement<any>;
|
|
@@ -201,6 +201,7 @@ export interface GraphContainerProps {
|
|
|
201
201
|
getExternalIcon: GetExternalIcon;
|
|
202
202
|
highlightRowsOnRefHover?: boolean,
|
|
203
203
|
showGhostRefsOnRowHover?: boolean,
|
|
204
|
+
showRemoteNamesOnRefs?: boolean,
|
|
204
205
|
enableMultiSelection?: boolean,
|
|
205
206
|
graphRows: GraphRow[];
|
|
206
207
|
hasMoreCommits?: boolean;
|