|
1 |
| -import { LanguageEnumeration } from "./assistantTypes"; |
2 |
| -import { Group } from "./groupTypes"; |
3 |
| -import { User, UserLevel } from "./userTypes"; |
| 1 | +import { LanguageEnumeration } from './assistantTypes'; |
| 2 | +import { Group } from './groupTypes'; |
| 3 | +import { User, UserLevel } from './userTypes'; |
4 | 4 |
|
5 | 5 | export type ProjectState =
|
6 |
| - | "Active" |
7 |
| - | "Deleting_In_Progress" |
8 |
| - | "Deleting" |
9 |
| - | "Disabled"; |
| 6 | + | 'Active' |
| 7 | + | 'Deleting_In_Progress' |
| 8 | + | 'Deleting' |
| 9 | + | 'Disabled'; |
10 | 10 |
|
11 | 11 | export type AnalysisResultStatus =
|
12 |
| - | "Unknown" |
13 |
| - | "Done" |
14 |
| - | "Error" |
15 |
| - | "Same_Revision" |
16 |
| - | "Ignore" |
17 |
| - | "InProgress" |
18 |
| - | "Scheduled" |
19 |
| - | "Started"; |
| 12 | + | 'Unknown' |
| 13 | + | 'Done' |
| 14 | + | 'Error' |
| 15 | + | 'Same_Revision' |
| 16 | + | 'Ignore' |
| 17 | + | 'InProgress' |
| 18 | + | 'Scheduled' |
| 19 | + | 'Started'; |
20 | 20 |
|
21 | 21 | export type ViolationCategory =
|
22 |
| - | "Unknown" |
23 |
| - | "Error_Prone" |
24 |
| - | "Code_Style" |
25 |
| - | "Best_Practice" |
26 |
| - | "Safety" |
27 |
| - | "Security" |
28 |
| - | "Design" |
29 |
| - | "Deployment" |
30 |
| - | "Performance"; |
31 |
| -("Documentation"); |
| 22 | + | 'Unknown' |
| 23 | + | 'Error_Prone' |
| 24 | + | 'Code_Style' |
| 25 | + | 'Best_Practice' |
| 26 | + | 'Safety' |
| 27 | + | 'Security' |
| 28 | + | 'Design' |
| 29 | + | 'Deployment' |
| 30 | + | 'Performance'; |
| 31 | +// ('Documentation'); |
32 | 32 |
|
33 | 33 | export interface DuplicateOccurrence {
|
34 | 34 | filename?: string;
|
@@ -69,21 +69,21 @@ export interface Violation {
|
69 | 69 | }
|
70 | 70 |
|
71 | 71 | export type VersionConstraintEnumeration =
|
72 |
| - | "Unknown" |
73 |
| - | "LessOrEqual" |
74 |
| - | "LessThan" |
75 |
| - | "GreaterOrEqual" |
76 |
| - | "GreaterThan" |
77 |
| - | "Equal"; |
| 72 | + | 'Unknown' |
| 73 | + | 'LessOrEqual' |
| 74 | + | 'LessThan' |
| 75 | + | 'GreaterOrEqual' |
| 76 | + | 'GreaterThan' |
| 77 | + | 'Equal'; |
78 | 78 |
|
79 | 79 | export type ProjectStatus =
|
80 |
| - | "Unavailable" |
81 |
| - | "Unknown" |
82 |
| - | "Critical" |
83 |
| - | "Warning" |
84 |
| - | "Neutral" |
85 |
| - | "Good" |
86 |
| - | "Excellent"; |
| 80 | + | 'Unavailable' |
| 81 | + | 'Unknown' |
| 82 | + | 'Critical' |
| 83 | + | 'Warning' |
| 84 | + | 'Neutral' |
| 85 | + | 'Good' |
| 86 | + | 'Excellent'; |
87 | 87 |
|
88 | 88 | export interface Dependency {
|
89 | 89 | name?: string;
|
@@ -171,23 +171,23 @@ export interface AnalysisResultSummary {
|
171 | 171 | }
|
172 | 172 |
|
173 | 173 | export type AnalysisErrorType =
|
174 |
| - | "Unknown" |
175 |
| - | "TooManyLines" |
176 |
| - | "ShellError" |
177 |
| - | "ScalaError" |
178 |
| - | "SecurityError" |
179 |
| - | "PythonError" |
180 |
| - | "PhpError" |
181 |
| - | "LizardError" |
182 |
| - | "JavascriptError" |
183 |
| - | "JavaError" |
184 |
| - | "GoError" |
185 |
| - | "DependsError" |
186 |
| - | "DuplicationFindError" |
187 |
| - | "CloneError" |
188 |
| - | "CppError" |
189 |
| - | "BanditError" |
190 |
| - | "AuthenticationError"; |
| 174 | + | 'Unknown' |
| 175 | + | 'TooManyLines' |
| 176 | + | 'ShellError' |
| 177 | + | 'ScalaError' |
| 178 | + | 'SecurityError' |
| 179 | + | 'PythonError' |
| 180 | + | 'PhpError' |
| 181 | + | 'LizardError' |
| 182 | + | 'JavascriptError' |
| 183 | + | 'JavaError' |
| 184 | + | 'GoError' |
| 185 | + | 'DependsError' |
| 186 | + | 'DuplicationFindError' |
| 187 | + | 'CloneError' |
| 188 | + | 'CppError' |
| 189 | + | 'BanditError' |
| 190 | + | 'AuthenticationError'; |
191 | 191 |
|
192 | 192 | export interface AnalysisResultStatType {
|
193 | 193 | language?: string;
|
@@ -240,13 +240,13 @@ export interface Analysis {
|
240 | 240 | fileContent?: string[];
|
241 | 241 | }
|
242 | 242 |
|
243 |
| -export type ScmKind = "Subversion" | "Gitlab" | "Github" | "Git" | "Bitbucket"; |
| 243 | +export type ScmKind = 'Subversion' | 'Gitlab' | 'Github' | 'Git' | 'Bitbucket'; |
244 | 244 |
|
245 | 245 | export type CodeReviewAnnotationKind =
|
246 |
| - | "LongFunction" |
247 |
| - | "ComplexFunction" |
248 |
| - | "Duplicate" |
249 |
| - | "Violation"; |
| 246 | + | 'LongFunction' |
| 247 | + | 'ComplexFunction' |
| 248 | + | 'Duplicate' |
| 249 | + | 'Violation'; |
250 | 250 |
|
251 | 251 | export interface CodeReviewAnnotation {
|
252 | 252 | codeReviewIdentifier?: number;
|
@@ -384,7 +384,7 @@ export interface BitbucketPullRequest {
|
384 | 384 | diff?: string;
|
385 | 385 | }
|
386 | 386 |
|
387 |
| -export type AnalysisTrend = "Unknown" | "Worst" | "Same" | "Better"; |
| 387 | +export type AnalysisTrend = 'Unknown' | 'Worst' | 'Same' | 'Better'; |
388 | 388 |
|
389 | 389 | export interface ProjectTrend {
|
390 | 390 | period?: number;
|
@@ -419,9 +419,9 @@ export interface ViolationIgnore {
|
419 | 419 | tool?: string;
|
420 | 420 | }
|
421 | 421 |
|
422 |
| -export type ProjectNotificationEventType = "AnalysisCompleted"; |
423 |
| -export type ProjectNotificationType = "Email"; |
424 |
| -export type ProjectNotificationStatus = "Confirmed" | "Pending"; |
| 422 | +export type ProjectNotificationEventType = 'AnalysisCompleted'; |
| 423 | +export type ProjectNotificationType = 'Email'; |
| 424 | +export type ProjectNotificationStatus = 'Confirmed' | 'Pending'; |
425 | 425 |
|
426 | 426 | export interface ProjectNotification {
|
427 | 427 | eventType?: ProjectNotificationEventType;
|
|
0 commit comments