Repository navigation
Expand file tree
/
Copy pathConsoleMessageId.ts
More file actions
94 lines (80 loc) · 2.54 KB
/
Copy pathConsoleMessageId.ts
File metadata and controls
94 lines (80 loc) · 2.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
/**
* Unique identifiers for console messages reported by API Extractor.
*
* @remarks
*
* These strings are possible values for the {@link ExtractorMessage.messageId} property
* when the `ExtractorMessage.category` is {@link ExtractorMessageCategory.Console}.
*
* @public
*/
export enum ConsoleMessageId {
/**
* "Analysis will use the bundled TypeScript version ___"
*/
Preamble = 'console-preamble',
/**
* "The target project appears to use TypeScript ___ which is newer than the bundled compiler engine;
* consider upgrading API Extractor."
*/
CompilerVersionNotice = 'console-compiler-version-notice',
/**
* "Using custom TSDoc config from ___"
*/
UsingCustomTSDocConfig = 'console-using-custom-tsdoc-config',
/**
* "Found metadata in ___"
*/
FoundTSDocMetadata = 'console-found-tsdoc-metadata',
/**
* "Writing: ___"
*/
WritingDocModelFile = 'console-writing-doc-model-file',
/**
* "Writing package typings: ___"
*/
WritingDtsRollup = 'console-writing-dts-rollup',
/**
* "Generating ___ API report: ___"
*/
WritingApiReport = 'console-writing-api-report',
/**
* "You have changed the public API signature for this project.
* Please copy the file ___ to ___, or perform a local build (which does this automatically).
* See the Git repo documentation for more info."
*
* OR
*
* "The API report file is missing.
* Please copy the file ___ to ___, or perform a local build (which does this automatically).
* See the Git repo documentation for more info."
*/
ApiReportNotCopied = 'console-api-report-not-copied',
/**
* Changes to the API report:
* ___
*/
ApiReportDiff = 'console-api-report-diff',
/**
* "You have changed the public API signature for this project. Updating ___"
*/
ApiReportCopied = 'console-api-report-copied',
/**
* "The API report is up to date: ___"
*/
ApiReportUnchanged = 'console-api-report-unchanged',
/**
* "The API report file was missing, so a new file was created. Please add this file to Git: ___"
*/
ApiReportCreated = 'console-api-report-created',
/**
* "Unable to create the API report file. Please make sure the target folder exists: ___"
*/
ApiReportFolderMissing = 'console-api-report-folder-missing',
/**
* Used for the information printed when the "--diagnostics" flag is enabled.
*/
Diagnostics = 'console-diagnostics'
}