@gitkraken/gitkraken-components 11.0.2 → 11.0.4
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.
- package/CHANGELOG.md +28 -0
- package/ThirdPartyNotices.txt +227 -0
- package/dist/components/graph/messagezone/WorkDirMessageInput.d.ts +2 -1
- package/dist/domain/graph/GraphHelpers.d.ts +2 -2
- package/dist/domain/graph/GraphTypes.d.ts +2 -1
- package/dist/domain/hostingservice/HostingServiceTypes.d.ts +2 -1
- package/dist/domain/ref/RefConstants.d.ts +4 -1
- package/dist/domain/ref/RefTypes.d.ts +1 -1
- package/dist/index.js +2 -2
- package/package.json +2 -2
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# CHANGELOG
|
|
2
|
+
|
|
3
|
+
## 11.0.4
|
|
4
|
+
|
|
5
|
+
- Fixed commit shortcuts (cmd+enter / cmd+shift+enter) not firing in GKD when the WIP input is focused by allowing modifier-based shortcuts to bubble. ([#377](https://github.com/gitkraken/GitKrakenComponents/pull/377))
|
|
6
|
+
|
|
7
|
+
## 11.0.3
|
|
8
|
+
|
|
9
|
+
- Improved external icon handling and added type safety ([#370](https://github.com/gitkraken/GitKrakenComponents/pull/370))
|
|
10
|
+
- Applied correct context menu items to `IssueIcon` ([#370](https://github.com/gitkraken/GitKrakenComponents/pull/370))
|
|
11
|
+
- Fixed an issue where the context menu did not appear when right-clicking outside the input field on WIP rows ([#375](https://github.com/gitkraken/GitKrakenComponents/pull/375))
|
|
12
|
+
|
|
13
|
+
## 11.0.2
|
|
14
|
+
|
|
15
|
+
- Fixed an issue with ref labels sometimes not rendering properly when hovered/unhovered. ([#367](https://github.com/gitkraken/GitKrakenComponents/pull/367))
|
|
16
|
+
- Added some data-test-classes for automated UI tests to find DOM nodes. ([#369](https://github.com/gitkraken/GitKrakenComponents/pull/369))
|
|
17
|
+
|
|
18
|
+
## 11.0.1
|
|
19
|
+
|
|
20
|
+
- Fixed tooltip css so that tooltips on the commit notes and ref label icons are no longer 0 opacity. (CSS classes were modified by previous `react-bootstrap` bump.) ([#366](https://github.com/gitkraken/GitKrakenComponents/pull/366))
|
|
21
|
+
|
|
22
|
+
## 11.0.0
|
|
23
|
+
|
|
24
|
+
- **BREAKING CHANGE:** Upgraded from `react`/`react-dom` 16 to 17. ([#365](https://github.com/gitkraken/GitKrakenComponents/pull/365))
|
|
25
|
+
- **BREAKING CHANGE:** Upgraded `react-bootstrap` from 0.32.4 to 2.10.7 ([#365](https://github.com/gitkraken/GitKrakenComponents/pull/365))
|
|
26
|
+
- The full consequences of this on your project's CSS cannot be fully predicted, so you should test thoroughly. Known concerns which affected at least one project are listed below.
|
|
27
|
+
- The DIV wrapping the ref-creation text input no longer receives the `has-error` class, and the input no longer receives the `is-valid` class. Instead, the input receives the `is-invalid` class.
|
|
28
|
+
- Added `AzureDevopsIssueTrackerType` (in addition to the existing `AzureDevopsIssueTrackerType`) ([262cbf8e](https://github.com/gitkraken/GitKrakenComponents/commit/262cbf8e81c8497676e93fde0d32fdf537fec706))
|
|
@@ -0,0 +1,227 @@
|
|
|
1
|
+
GitKraken Components
|
|
2
|
+
|
|
3
|
+
THIRD-PARTY SOFTWARE NOTICES AND INFORMATION
|
|
4
|
+
This project incorporates components from the projects listed below.
|
|
5
|
+
|
|
6
|
+
1. @axosoft/react-virtualized version 9.22.3-gitkraken.3 (https://github.com/bvaughn/react-virtualized)
|
|
7
|
+
2. classnames version 2.5.1 (https://github.com/JedWatson/classnames)
|
|
8
|
+
3. re-resizable version 6.9.11 (https://github.com/bokuweb/react-resizable-box)
|
|
9
|
+
4. react-bootstrap version 0.32.4 (https://github.com/react-bootstrap/react-bootstrap)
|
|
10
|
+
5. react-dom version 16.8.4 (https://github.com/facebook/react)
|
|
11
|
+
6. react-dragula version 1.1.17 (https://github.com/bevacqua/react-dragula)
|
|
12
|
+
7. react-onclickoutside version 6.13.0 (https://github.com/Pomax/react-onclickoutside)
|
|
13
|
+
8. react version 16.8.4 (https://github.com/facebook/react)
|
|
14
|
+
|
|
15
|
+
%% @axosoft/react-virtualized NOTICES AND INFORMATION BEGIN HERE
|
|
16
|
+
=========================================
|
|
17
|
+
The MIT License (MIT)
|
|
18
|
+
|
|
19
|
+
Copyright (c) 2015 Brian Vaughn
|
|
20
|
+
|
|
21
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
22
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
23
|
+
in the Software without restriction, including without limitation the rights
|
|
24
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
25
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
26
|
+
furnished to do so, subject to the following conditions:
|
|
27
|
+
|
|
28
|
+
The above copyright notice and this permission notice shall be included in all
|
|
29
|
+
copies or substantial portions of the Software.
|
|
30
|
+
|
|
31
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
32
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
33
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
34
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
35
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
36
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
37
|
+
SOFTWARE.
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
=========================================
|
|
41
|
+
END OF @axosoft/react-virtualized NOTICES AND INFORMATION
|
|
42
|
+
|
|
43
|
+
%% classnames NOTICES AND INFORMATION BEGIN HERE
|
|
44
|
+
=========================================
|
|
45
|
+
The MIT License (MIT)
|
|
46
|
+
|
|
47
|
+
Copyright (c) 2018 Jed Watson
|
|
48
|
+
|
|
49
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
50
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
51
|
+
in the Software without restriction, including without limitation the rights
|
|
52
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
53
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
54
|
+
furnished to do so, subject to the following conditions:
|
|
55
|
+
|
|
56
|
+
The above copyright notice and this permission notice shall be included in all
|
|
57
|
+
copies or substantial portions of the Software.
|
|
58
|
+
|
|
59
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
60
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
61
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
62
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
63
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
64
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
65
|
+
SOFTWARE.
|
|
66
|
+
|
|
67
|
+
=========================================
|
|
68
|
+
END OF classnames NOTICES AND INFORMATION
|
|
69
|
+
|
|
70
|
+
%% re-resizable NOTICES AND INFORMATION BEGIN HERE
|
|
71
|
+
=========================================
|
|
72
|
+
The MIT License (MIT)
|
|
73
|
+
|
|
74
|
+
Copyright (c) 2018 @bokuweb
|
|
75
|
+
|
|
76
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
77
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
78
|
+
in the Software without restriction, including without limitation the rights
|
|
79
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
80
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
81
|
+
furnished to do so, subject to the following conditions:
|
|
82
|
+
|
|
83
|
+
The above copyright notice and this permission notice shall be included in all
|
|
84
|
+
copies or substantial portions of the Software.
|
|
85
|
+
|
|
86
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
87
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
88
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
89
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
90
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
91
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
92
|
+
SOFTWARE.
|
|
93
|
+
|
|
94
|
+
=========================================
|
|
95
|
+
END OF re-resizable NOTICES AND INFORMATION
|
|
96
|
+
|
|
97
|
+
%% react-bootstrap NOTICES AND INFORMATION BEGIN HERE
|
|
98
|
+
=========================================
|
|
99
|
+
The MIT License (MIT)
|
|
100
|
+
|
|
101
|
+
Copyright (c) 2014-present Stephen J. Collings, Matthew Honnibal, Pieter Vanderwerff
|
|
102
|
+
|
|
103
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
104
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
105
|
+
in the Software without restriction, including without limitation the rights
|
|
106
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
107
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
108
|
+
furnished to do so, subject to the following conditions:
|
|
109
|
+
|
|
110
|
+
The above copyright notice and this permission notice shall be included in
|
|
111
|
+
all copies or substantial portions of the Software.
|
|
112
|
+
|
|
113
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
114
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
115
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
116
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
117
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
118
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
119
|
+
THE SOFTWARE.
|
|
120
|
+
|
|
121
|
+
=========================================
|
|
122
|
+
END OF react-bootstrap NOTICES AND INFORMATION
|
|
123
|
+
|
|
124
|
+
%% react-dom NOTICES AND INFORMATION BEGIN HERE
|
|
125
|
+
=========================================
|
|
126
|
+
MIT License
|
|
127
|
+
|
|
128
|
+
Copyright (c) Facebook, Inc. and its affiliates.
|
|
129
|
+
|
|
130
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
131
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
132
|
+
in the Software without restriction, including without limitation the rights
|
|
133
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
134
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
135
|
+
furnished to do so, subject to the following conditions:
|
|
136
|
+
|
|
137
|
+
The above copyright notice and this permission notice shall be included in all
|
|
138
|
+
copies or substantial portions of the Software.
|
|
139
|
+
|
|
140
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
141
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
142
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
143
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
144
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
145
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
146
|
+
SOFTWARE.
|
|
147
|
+
|
|
148
|
+
=========================================
|
|
149
|
+
END OF react-dom NOTICES AND INFORMATION
|
|
150
|
+
|
|
151
|
+
%% react-dragula NOTICES AND INFORMATION BEGIN HERE
|
|
152
|
+
=========================================
|
|
153
|
+
The MIT License (MIT)
|
|
154
|
+
|
|
155
|
+
Copyright © 2015 Nicolas Bevacqua
|
|
156
|
+
|
|
157
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
158
|
+
this software and associated documentation files (the "Software"), to deal in
|
|
159
|
+
the Software without restriction, including without limitation the rights to
|
|
160
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
|
161
|
+
the Software, and to permit persons to whom the Software is furnished to do so,
|
|
162
|
+
subject to the following conditions:
|
|
163
|
+
|
|
164
|
+
The above copyright notice and this permission notice shall be included in all
|
|
165
|
+
copies or substantial portions of the Software.
|
|
166
|
+
|
|
167
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
168
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
169
|
+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
|
170
|
+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
171
|
+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
172
|
+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
173
|
+
|
|
174
|
+
=========================================
|
|
175
|
+
END OF react-dragula NOTICES AND INFORMATION
|
|
176
|
+
|
|
177
|
+
%% react-onclickoutside NOTICES AND INFORMATION BEGIN HERE
|
|
178
|
+
=========================================
|
|
179
|
+
Copyright 2015-2022 Mike "Pomax" Kamermans
|
|
180
|
+
|
|
181
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
182
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
183
|
+
in the Software without restriction, including without limitation the rights
|
|
184
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
185
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
186
|
+
furnished to do so, subject to the following conditions:
|
|
187
|
+
|
|
188
|
+
The above copyright notice and this permission notice shall be included in all
|
|
189
|
+
copies or substantial portions of the Software.
|
|
190
|
+
|
|
191
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
192
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
193
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
194
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
195
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
196
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
197
|
+
SOFTWARE.
|
|
198
|
+
|
|
199
|
+
=========================================
|
|
200
|
+
END OF react-onclickoutside NOTICES AND INFORMATION
|
|
201
|
+
|
|
202
|
+
%% react NOTICES AND INFORMATION BEGIN HERE
|
|
203
|
+
=========================================
|
|
204
|
+
MIT License
|
|
205
|
+
|
|
206
|
+
Copyright (c) Facebook, Inc. and its affiliates.
|
|
207
|
+
|
|
208
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
209
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
210
|
+
in the Software without restriction, including without limitation the rights
|
|
211
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
212
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
213
|
+
furnished to do so, subject to the following conditions:
|
|
214
|
+
|
|
215
|
+
The above copyright notice and this permission notice shall be included in all
|
|
216
|
+
copies or substantial portions of the Software.
|
|
217
|
+
|
|
218
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
219
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
220
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
221
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
222
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
223
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
224
|
+
SOFTWARE.
|
|
225
|
+
|
|
226
|
+
=========================================
|
|
227
|
+
END OF react NOTICES AND INFORMATION
|
|
@@ -37,7 +37,8 @@ export default class WorkDirMessageInput extends React.Component<WorkDirMessageI
|
|
|
37
37
|
componentDidMount(): void;
|
|
38
38
|
componentDidUpdate(): void;
|
|
39
39
|
componentWillUnmount(): void;
|
|
40
|
-
onWipKeyDown(event:
|
|
40
|
+
onWipKeyDown: (event: React.KeyboardEvent<any>) => void;
|
|
41
|
+
handleContextMenu: (event: React.MouseEvent<any>) => void;
|
|
41
42
|
render(): ReactElement<'div'>;
|
|
42
43
|
}
|
|
43
44
|
export {};
|
|
@@ -6,7 +6,7 @@ import type { GraphRefType } from '../ref/RefTypes';
|
|
|
6
6
|
import type { WorkDirStats } from '../workdir/WorkDirTypes';
|
|
7
7
|
import type { GraphMarkerType, GraphZone, GraphZoneType, TimelineEntriesByPeriod } from './GraphConstants';
|
|
8
8
|
import { GraphColumnMode } from './GraphConstants';
|
|
9
|
-
import type { BaseMetadata, GetMissingRefMetadata, GraphColumnWidthConstraints, GraphItemContext, GraphRef, GraphRefGroup, GraphRow, GraphZoneModeConstants, Head, HighlightedShas, ProcessedGraphRow, ProcessedGraphRowBySha, Ref, RefMetadata, RefMetadataById, RefMetadataType, RowStatsConstraints } from './GraphTypes';
|
|
9
|
+
import type { BaseMetadata, ExternalIconKeys, GetMissingRefMetadata, GraphColumnWidthConstraints, GraphItemContext, GraphRef, GraphRefGroup, GraphRow, GraphZoneModeConstants, Head, HighlightedShas, ProcessedGraphRow, ProcessedGraphRowBySha, Ref, RefMetadata, RefMetadataById, RefMetadataType, RowStatsConstraints } from './GraphTypes';
|
|
10
10
|
export type DebouncableFn = (...args: any) => void;
|
|
11
11
|
export type DebouncedFn = (...args: any) => void;
|
|
12
12
|
export declare const debounceFrame: (func: DebouncableFn) => DebouncedFn;
|
|
@@ -53,7 +53,7 @@ export declare function workDirStatsHaveChanges(workDirStats?: WorkDirStats): bo
|
|
|
53
53
|
export declare function hasSingleSelectedSha(selectedShas: Set<Sha>): boolean;
|
|
54
54
|
export declare function isSingleSelected(selectedShas: Set<Sha>, sha: Sha): boolean;
|
|
55
55
|
export declare function getScrollToAlignment(rowHeight: number, clientHeight: number, scrollTop: number, scrollToIndex: number): Alignment;
|
|
56
|
-
export declare function getGraphZoneIconByType(zoneType: GraphZoneType):
|
|
56
|
+
export declare function getGraphZoneIconByType(zoneType: GraphZoneType): ExternalIconKeys | undefined;
|
|
57
57
|
export declare function isHeadActive(head: Head): boolean;
|
|
58
58
|
export declare function isGraphRefActive(ref: GraphRef): boolean;
|
|
59
59
|
export interface GraphRowHelperProps {
|
|
@@ -396,7 +396,8 @@ export type DownstreamsByUpstream = {
|
|
|
396
396
|
[upstreamName: string]: string[];
|
|
397
397
|
};
|
|
398
398
|
export type GraphPlatform = 'aix' | 'android' | 'darwin' | 'freebsd' | 'linux' | 'openbsd' | 'sunos' | 'win32' | 'cygwin';
|
|
399
|
-
export type
|
|
399
|
+
export type ExternalIconKeys = 'added' | 'author' | 'branch' | 'changes' | 'check' | 'commit' | 'datetime' | 'deleted' | 'files' | 'filter' | 'graph' | 'head' | 'hide' | `issue-${IssueTrackerType}` | 'loading' | 'message' | 'modified' | 'pull-request' | 'remote' | `remote-${HostingServiceType}` | 'renamed' | 'resolved' | 'settings' | 'show' | 'stash' | 'tag' | 'upstream-ahead' | 'upstream-behind' | 'warning' | 'worktree';
|
|
400
|
+
export type GetExternalIcon = (key: ExternalIconKeys) => ReactElement<any>;
|
|
400
401
|
export type GetMissingAvatar = (email: string, sha: string) => void;
|
|
401
402
|
export type GetMissingRefMetadata = (id: string, types: RefMetadataType[]) => void;
|
|
402
403
|
export type FormatRefShorthand = (shorthand: RefShorthand, sha: Sha, refType: GraphRefType, data?: any | null) => RefShorthand;
|
|
@@ -14,5 +14,6 @@ export type GitLabSelfHostedIssueTrackerType = GitLabSelfHostingServiceType;
|
|
|
14
14
|
export type JiraCloudIssueTrackerType = 'jiraCloud';
|
|
15
15
|
export type JiraServerIssueTrackerType = 'jiraServer';
|
|
16
16
|
export type TrelloIssueTrackerType = 'trello';
|
|
17
|
-
export type
|
|
17
|
+
export type BitbucketIssueTrackerType = 'bitbucket';
|
|
18
|
+
export type IssueTrackerType = GitHubIssueTrackerType | GithubEnterpriseIssueTrackerType | GitLabIssueTrackerType | GitLabSelfHostedIssueTrackerType | JiraCloudIssueTrackerType | JiraServerIssueTrackerType | TrelloIssueTrackerType | AzureDevopsIssueTrackerType | BitbucketIssueTrackerType;
|
|
18
19
|
export declare function getHostingServiceName(hostingServiceType: HostingServiceType): string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Sha } from '../commit/CommitTypes';
|
|
2
2
|
import type * as RefConstants from './RefConstants';
|
|
3
|
-
export type GraphRefType = keyof typeof RefConstants.refTypes;
|
|
3
|
+
export type GraphRefType = (typeof RefConstants.refTypes)[keyof typeof RefConstants.refTypes];
|
|
4
4
|
export type RefFullName = string;
|
|
5
5
|
export type RefShorthand = string;
|
|
6
6
|
export type CreateRefFormData = {
|