@microsoft/api-extractor-model 7.9.7 → 7.10.3
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.json +75 -0
- package/CHANGELOG.md +29 -1
- package/README.md +9 -0
- package/dist/rollup.d.ts +62 -62
- package/dist/tsdoc-metadata.json +1 -1
- package/lib/aedoc/AedocDefinitions.d.ts +1 -1
- package/lib/aedoc/AedocDefinitions.d.ts.map +1 -1
- package/lib/aedoc/AedocDefinitions.js +2 -1
- package/lib/aedoc/AedocDefinitions.js.map +1 -1
- package/lib/aedoc/ReleaseTag.js +1 -0
- package/lib/aedoc/ReleaseTag.js.map +1 -1
- package/lib/index.js +37 -37
- package/lib/index.js.map +1 -1
- package/lib/items/ApiDeclaredItem.d.ts +2 -2
- package/lib/items/ApiDeclaredItem.d.ts.map +1 -1
- package/lib/items/ApiDeclaredItem.js +1 -0
- package/lib/items/ApiDeclaredItem.js.map +1 -1
- package/lib/items/ApiDocumentedItem.d.ts +1 -1
- package/lib/items/ApiDocumentedItem.d.ts.map +1 -1
- package/lib/items/ApiDocumentedItem.js +21 -1
- package/lib/items/ApiDocumentedItem.js.map +1 -1
- package/lib/items/ApiItem.d.ts +6 -6
- package/lib/items/ApiItem.d.ts.map +1 -1
- package/lib/items/ApiItem.js +1 -0
- package/lib/items/ApiItem.js.map +1 -1
- package/lib/items/ApiPropertyItem.d.ts +1 -1
- package/lib/items/ApiPropertyItem.d.ts.map +1 -1
- package/lib/items/ApiPropertyItem.js +1 -0
- package/lib/items/ApiPropertyItem.js.map +1 -1
- package/lib/mixins/ApiItemContainerMixin.js +1 -0
- package/lib/mixins/ApiItemContainerMixin.js.map +1 -1
- package/lib/mixins/ApiNameMixin.js +1 -0
- package/lib/mixins/ApiNameMixin.js.map +1 -1
- package/lib/mixins/ApiParameterListMixin.js +1 -0
- package/lib/mixins/ApiParameterListMixin.js.map +1 -1
- package/lib/mixins/ApiReleaseTagMixin.d.ts.map +1 -1
- package/lib/mixins/ApiReleaseTagMixin.js +4 -1
- package/lib/mixins/ApiReleaseTagMixin.js.map +1 -1
- package/lib/mixins/ApiReturnTypeMixin.js +1 -0
- package/lib/mixins/ApiReturnTypeMixin.js.map +1 -1
- package/lib/mixins/ApiStaticMixin.js +1 -0
- package/lib/mixins/ApiStaticMixin.js.map +1 -1
- package/lib/mixins/ApiTypeParameterListMixin.js +1 -0
- package/lib/mixins/ApiTypeParameterListMixin.js.map +1 -1
- package/lib/mixins/Excerpt.d.ts +5 -5
- package/lib/mixins/Excerpt.d.ts.map +1 -1
- package/lib/mixins/Excerpt.js +1 -0
- package/lib/mixins/Excerpt.js.map +1 -1
- package/lib/model/ApiCallSignature.d.ts +2 -2
- package/lib/model/ApiCallSignature.d.ts.map +1 -1
- package/lib/model/ApiCallSignature.js +1 -0
- package/lib/model/ApiCallSignature.js.map +1 -1
- package/lib/model/ApiClass.d.ts +3 -3
- package/lib/model/ApiClass.d.ts.map +1 -1
- package/lib/model/ApiClass.js +1 -0
- package/lib/model/ApiClass.js.map +1 -1
- package/lib/model/ApiConstructSignature.d.ts +2 -2
- package/lib/model/ApiConstructSignature.d.ts.map +1 -1
- package/lib/model/ApiConstructSignature.js +1 -0
- package/lib/model/ApiConstructSignature.js.map +1 -1
- package/lib/model/ApiConstructor.d.ts +2 -2
- package/lib/model/ApiConstructor.d.ts.map +1 -1
- package/lib/model/ApiConstructor.js +1 -0
- package/lib/model/ApiConstructor.js.map +1 -1
- package/lib/model/ApiEntryPoint.d.ts +3 -3
- package/lib/model/ApiEntryPoint.d.ts.map +1 -1
- package/lib/model/ApiEntryPoint.js +1 -0
- package/lib/model/ApiEntryPoint.js.map +1 -1
- package/lib/model/ApiEnum.d.ts +3 -3
- package/lib/model/ApiEnum.d.ts.map +1 -1
- package/lib/model/ApiEnum.js +1 -0
- package/lib/model/ApiEnum.js.map +1 -1
- package/lib/model/ApiEnumMember.d.ts +2 -2
- package/lib/model/ApiEnumMember.d.ts.map +1 -1
- package/lib/model/ApiEnumMember.js +1 -0
- package/lib/model/ApiEnumMember.js.map +1 -1
- package/lib/model/ApiFunction.d.ts +2 -2
- package/lib/model/ApiFunction.d.ts.map +1 -1
- package/lib/model/ApiFunction.js +1 -0
- package/lib/model/ApiFunction.js.map +1 -1
- package/lib/model/ApiIndexSignature.d.ts +2 -2
- package/lib/model/ApiIndexSignature.d.ts.map +1 -1
- package/lib/model/ApiIndexSignature.js +1 -0
- package/lib/model/ApiIndexSignature.js.map +1 -1
- package/lib/model/ApiInterface.d.ts +3 -3
- package/lib/model/ApiInterface.d.ts.map +1 -1
- package/lib/model/ApiInterface.js +1 -0
- package/lib/model/ApiInterface.js.map +1 -1
- package/lib/model/ApiMethod.d.ts +2 -2
- package/lib/model/ApiMethod.d.ts.map +1 -1
- package/lib/model/ApiMethod.js +1 -0
- package/lib/model/ApiMethod.js.map +1 -1
- package/lib/model/ApiMethodSignature.d.ts +2 -2
- package/lib/model/ApiMethodSignature.d.ts.map +1 -1
- package/lib/model/ApiMethodSignature.js +1 -0
- package/lib/model/ApiMethodSignature.js.map +1 -1
- package/lib/model/ApiModel.d.ts +3 -3
- package/lib/model/ApiModel.d.ts.map +1 -1
- package/lib/model/ApiModel.js +1 -0
- package/lib/model/ApiModel.js.map +1 -1
- package/lib/model/ApiNamespace.d.ts +2 -2
- package/lib/model/ApiNamespace.d.ts.map +1 -1
- package/lib/model/ApiNamespace.js +1 -0
- package/lib/model/ApiNamespace.js.map +1 -1
- package/lib/model/ApiPackage.d.ts +3 -3
- package/lib/model/ApiPackage.d.ts.map +1 -1
- package/lib/model/ApiPackage.js +1 -0
- package/lib/model/ApiPackage.js.map +1 -1
- package/lib/model/ApiProperty.d.ts +2 -2
- package/lib/model/ApiProperty.d.ts.map +1 -1
- package/lib/model/ApiProperty.js +1 -0
- package/lib/model/ApiProperty.js.map +1 -1
- package/lib/model/ApiPropertySignature.d.ts +2 -2
- package/lib/model/ApiPropertySignature.d.ts.map +1 -1
- package/lib/model/ApiPropertySignature.js +1 -0
- package/lib/model/ApiPropertySignature.js.map +1 -1
- package/lib/model/ApiTypeAlias.d.ts +2 -2
- package/lib/model/ApiTypeAlias.d.ts.map +1 -1
- package/lib/model/ApiTypeAlias.js +1 -0
- package/lib/model/ApiTypeAlias.js.map +1 -1
- package/lib/model/ApiVariable.d.ts +2 -2
- package/lib/model/ApiVariable.d.ts.map +1 -1
- package/lib/model/ApiVariable.js +1 -0
- package/lib/model/ApiVariable.js.map +1 -1
- package/lib/model/Deserializer.js +1 -0
- package/lib/model/Deserializer.js.map +1 -1
- package/lib/model/DeserializerContext.js +1 -0
- package/lib/model/DeserializerContext.js.map +1 -1
- package/lib/model/HeritageType.js +1 -0
- package/lib/model/HeritageType.js.map +1 -1
- package/lib/model/ModelReferenceResolver.js +1 -0
- package/lib/model/ModelReferenceResolver.js.map +1 -1
- package/lib/model/Parameter.d.ts +1 -1
- package/lib/model/Parameter.d.ts.map +1 -1
- package/lib/model/Parameter.js +1 -0
- package/lib/model/Parameter.js.map +1 -1
- package/lib/model/TypeParameter.d.ts +1 -1
- package/lib/model/TypeParameter.d.ts.map +1 -1
- package/lib/model/TypeParameter.js +1 -0
- package/lib/model/TypeParameter.js.map +1 -1
- package/package.json +6 -6
package/CHANGELOG.json
CHANGED
|
@@ -1,6 +1,81 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@microsoft/api-extractor-model",
|
|
3
3
|
"entries": [
|
|
4
|
+
{
|
|
5
|
+
"version": "7.10.3",
|
|
6
|
+
"tag": "@microsoft/api-extractor-model_v7.10.3",
|
|
7
|
+
"date": "Tue, 06 Oct 2020 00:24:06 GMT",
|
|
8
|
+
"comments": {
|
|
9
|
+
"dependency": [
|
|
10
|
+
{
|
|
11
|
+
"comment": "Updating dependency \"@rushstack/node-core-library\" to `3.34.3`"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"comment": "Updating dependency \"@rushstack/eslint-config\" to `2.2.1`"
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"version": "7.10.2",
|
|
21
|
+
"tag": "@microsoft/api-extractor-model_v7.10.2",
|
|
22
|
+
"date": "Mon, 05 Oct 2020 22:36:57 GMT",
|
|
23
|
+
"comments": {
|
|
24
|
+
"dependency": [
|
|
25
|
+
{
|
|
26
|
+
"comment": "Updating dependency \"@rushstack/node-core-library\" to `3.34.2`"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"comment": "Updating dependency \"@rushstack/eslint-config\" to `2.2.0`"
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"version": "7.10.1",
|
|
36
|
+
"tag": "@microsoft/api-extractor-model_v7.10.1",
|
|
37
|
+
"date": "Wed, 30 Sep 2020 18:39:17 GMT",
|
|
38
|
+
"comments": {
|
|
39
|
+
"patch": [
|
|
40
|
+
{
|
|
41
|
+
"comment": "Update to build with @rushstack/heft-node-rig"
|
|
42
|
+
}
|
|
43
|
+
],
|
|
44
|
+
"dependency": [
|
|
45
|
+
{
|
|
46
|
+
"comment": "Updating dependency \"@rushstack/node-core-library\" to `3.34.1`"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"comment": "Updating dependency \"@rushstack/eslint-config\" to `2.1.3`"
|
|
50
|
+
}
|
|
51
|
+
]
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"version": "7.10.0",
|
|
56
|
+
"tag": "@microsoft/api-extractor-model_v7.10.0",
|
|
57
|
+
"date": "Wed, 30 Sep 2020 06:53:53 GMT",
|
|
58
|
+
"comments": {
|
|
59
|
+
"patch": [
|
|
60
|
+
{
|
|
61
|
+
"comment": "Update README.md"
|
|
62
|
+
}
|
|
63
|
+
],
|
|
64
|
+
"minor": [
|
|
65
|
+
{
|
|
66
|
+
"comment": "Upgrade compiler; the API now requires TypeScript 3.9 or newer"
|
|
67
|
+
}
|
|
68
|
+
],
|
|
69
|
+
"dependency": [
|
|
70
|
+
{
|
|
71
|
+
"comment": "Updating dependency \"@rushstack/node-core-library\" to `3.34.0`"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"comment": "Updating dependency \"@rushstack/eslint-config\" to `2.1.2`"
|
|
75
|
+
}
|
|
76
|
+
]
|
|
77
|
+
}
|
|
78
|
+
},
|
|
4
79
|
{
|
|
5
80
|
"version": "7.9.7",
|
|
6
81
|
"tag": "@microsoft/api-extractor-model_v7.9.7",
|
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,34 @@
|
|
|
1
1
|
# Change Log - @microsoft/api-extractor-model
|
|
2
2
|
|
|
3
|
-
This log was last generated on Tue,
|
|
3
|
+
This log was last generated on Tue, 06 Oct 2020 00:24:06 GMT and should not be manually modified.
|
|
4
|
+
|
|
5
|
+
## 7.10.3
|
|
6
|
+
Tue, 06 Oct 2020 00:24:06 GMT
|
|
7
|
+
|
|
8
|
+
_Version update only_
|
|
9
|
+
|
|
10
|
+
## 7.10.2
|
|
11
|
+
Mon, 05 Oct 2020 22:36:57 GMT
|
|
12
|
+
|
|
13
|
+
_Version update only_
|
|
14
|
+
|
|
15
|
+
## 7.10.1
|
|
16
|
+
Wed, 30 Sep 2020 18:39:17 GMT
|
|
17
|
+
|
|
18
|
+
### Patches
|
|
19
|
+
|
|
20
|
+
- Update to build with @rushstack/heft-node-rig
|
|
21
|
+
|
|
22
|
+
## 7.10.0
|
|
23
|
+
Wed, 30 Sep 2020 06:53:53 GMT
|
|
24
|
+
|
|
25
|
+
### Minor changes
|
|
26
|
+
|
|
27
|
+
- Upgrade compiler; the API now requires TypeScript 3.9 or newer
|
|
28
|
+
|
|
29
|
+
### Patches
|
|
30
|
+
|
|
31
|
+
- Update README.md
|
|
4
32
|
|
|
5
33
|
## 7.9.7
|
|
6
34
|
Tue, 22 Sep 2020 05:45:57 GMT
|
package/README.md
CHANGED
|
@@ -57,3 +57,12 @@ a namespace containing static members of the class.
|
|
|
57
57
|
|
|
58
58
|
> For a complete project that uses these APIs to generate an API reference web site,
|
|
59
59
|
> see the [@microsoft/api-documenter](https://www.npmjs.com/package/@microsoft/api-documenter) source code.
|
|
60
|
+
|
|
61
|
+
## Links
|
|
62
|
+
|
|
63
|
+
- [CHANGELOG.md](
|
|
64
|
+
https://github.com/microsoft/rushstack/blob/master/apps/api-extractor-model/CHANGELOG.md) - Find
|
|
65
|
+
out what's new in the latest version
|
|
66
|
+
- [API Reference](https://rushstack.io/pages/api/api-extractor-model/)
|
|
67
|
+
|
|
68
|
+
API Extractor is part of the [Rush Stack](https://rushstack.io/) family of projects.
|
package/dist/rollup.d.ts
CHANGED
|
@@ -21,7 +21,7 @@ export declare class AedocDefinitions {
|
|
|
21
21
|
static readonly betaDocumentation: TSDocTagDefinition;
|
|
22
22
|
static readonly internalRemarks: TSDocTagDefinition;
|
|
23
23
|
static readonly preapprovedTag: TSDocTagDefinition;
|
|
24
|
-
static
|
|
24
|
+
static get tsdocConfiguration(): TSDocConfiguration;
|
|
25
25
|
private static _tsdocConfiguration;
|
|
26
26
|
}
|
|
27
27
|
|
|
@@ -58,9 +58,9 @@ export declare class ApiCallSignature extends ApiCallSignature_base {
|
|
|
58
58
|
constructor(options: IApiCallSignatureOptions);
|
|
59
59
|
static getContainerKey(overloadIndex: number): string;
|
|
60
60
|
/** @override */
|
|
61
|
-
|
|
61
|
+
get kind(): ApiItemKind;
|
|
62
62
|
/** @override */
|
|
63
|
-
|
|
63
|
+
get containerKey(): string;
|
|
64
64
|
/** @beta @override */
|
|
65
65
|
buildCanonicalReference(): DeclarationReference;
|
|
66
66
|
}
|
|
@@ -94,13 +94,13 @@ export declare class ApiClass extends ApiClass_base {
|
|
|
94
94
|
/** @override */
|
|
95
95
|
static onDeserializeInto(options: Partial<IApiClassOptions>, context: DeserializerContext, jsonObject: IApiClassJson): void;
|
|
96
96
|
/** @override */
|
|
97
|
-
|
|
97
|
+
get kind(): ApiItemKind;
|
|
98
98
|
/** @override */
|
|
99
|
-
|
|
99
|
+
get containerKey(): string;
|
|
100
100
|
/**
|
|
101
101
|
* The list of interfaces that this class implements using the `implements` keyword.
|
|
102
102
|
*/
|
|
103
|
-
|
|
103
|
+
get implementsTypes(): ReadonlyArray<HeritageType>;
|
|
104
104
|
/** @override */
|
|
105
105
|
serializeInto(jsonObject: Partial<IApiClassJson>): void;
|
|
106
106
|
/** @beta @override */
|
|
@@ -140,9 +140,9 @@ export declare class ApiConstructor extends ApiConstructor_base {
|
|
|
140
140
|
constructor(options: IApiConstructorOptions);
|
|
141
141
|
static getContainerKey(overloadIndex: number): string;
|
|
142
142
|
/** @override */
|
|
143
|
-
|
|
143
|
+
get kind(): ApiItemKind;
|
|
144
144
|
/** @override */
|
|
145
|
-
|
|
145
|
+
get containerKey(): string;
|
|
146
146
|
/** @beta @override */
|
|
147
147
|
buildCanonicalReference(): DeclarationReference;
|
|
148
148
|
}
|
|
@@ -195,9 +195,9 @@ export declare class ApiConstructSignature extends ApiConstructSignature_base {
|
|
|
195
195
|
constructor(options: IApiConstructSignatureOptions);
|
|
196
196
|
static getContainerKey(overloadIndex: number): string;
|
|
197
197
|
/** @override */
|
|
198
|
-
|
|
198
|
+
get kind(): ApiItemKind;
|
|
199
199
|
/** @override */
|
|
200
|
-
|
|
200
|
+
get containerKey(): string;
|
|
201
201
|
/** @beta @override */
|
|
202
202
|
buildCanonicalReference(): DeclarationReference;
|
|
203
203
|
}
|
|
@@ -226,11 +226,11 @@ export declare class ApiDeclaredItem extends ApiDocumentedItem {
|
|
|
226
226
|
/**
|
|
227
227
|
* The source code excerpt where the API item is declared.
|
|
228
228
|
*/
|
|
229
|
-
|
|
229
|
+
get excerpt(): Excerpt;
|
|
230
230
|
/**
|
|
231
231
|
* The individual source code tokens that comprise the main excerpt.
|
|
232
232
|
*/
|
|
233
|
-
|
|
233
|
+
get excerptTokens(): ReadonlyArray<ExcerptToken>;
|
|
234
234
|
/**
|
|
235
235
|
* If the API item has certain important modifier tags such as `@sealed`, `@virtual`, or `@override`,
|
|
236
236
|
* this prepends them as a doc comment above the excerpt.
|
|
@@ -259,7 +259,7 @@ export declare class ApiDocumentedItem extends ApiItem {
|
|
|
259
259
|
constructor(options: IApiDocumentedItemOptions);
|
|
260
260
|
/** @override */
|
|
261
261
|
static onDeserializeInto(options: Partial<IApiDocumentedItemOptions>, context: DeserializerContext, jsonObject: IApiItemJson): void;
|
|
262
|
-
|
|
262
|
+
get tsdocComment(): tsdoc.DocComment | undefined;
|
|
263
263
|
/** @override */
|
|
264
264
|
serializeInto(jsonObject: Partial<IApiDocumentedItemJson>): void;
|
|
265
265
|
}
|
|
@@ -294,9 +294,9 @@ export declare class ApiDocumentedItem extends ApiItem {
|
|
|
294
294
|
export declare class ApiEntryPoint extends ApiEntryPoint_base {
|
|
295
295
|
constructor(options: IApiEntryPointOptions);
|
|
296
296
|
/** @override */
|
|
297
|
-
|
|
297
|
+
get kind(): ApiItemKind;
|
|
298
298
|
/** @override */
|
|
299
|
-
|
|
299
|
+
get containerKey(): string;
|
|
300
300
|
/**
|
|
301
301
|
* The module path for this entry point, relative to the parent `ApiPackage`. In the current implementation,
|
|
302
302
|
* this is always the empty string, indicating the default entry point.
|
|
@@ -309,7 +309,7 @@ export declare class ApiEntryPoint extends ApiEntryPoint_base {
|
|
|
309
309
|
*
|
|
310
310
|
* The `ApiEntryPoint.name` property stores the same value as `ApiEntryPoint.importPath`.
|
|
311
311
|
*/
|
|
312
|
-
|
|
312
|
+
get importPath(): string;
|
|
313
313
|
/** @beta @override */
|
|
314
314
|
buildCanonicalReference(): DeclarationReference;
|
|
315
315
|
}
|
|
@@ -340,11 +340,11 @@ export declare class ApiEnum extends ApiEnum_base {
|
|
|
340
340
|
constructor(options: IApiEnumOptions);
|
|
341
341
|
static getContainerKey(name: string): string;
|
|
342
342
|
/** @override */
|
|
343
|
-
|
|
343
|
+
get kind(): ApiItemKind;
|
|
344
344
|
/** @override */
|
|
345
|
-
|
|
345
|
+
get members(): ReadonlyArray<ApiEnumMember>;
|
|
346
346
|
/** @override */
|
|
347
|
-
|
|
347
|
+
get containerKey(): string;
|
|
348
348
|
/** @override */
|
|
349
349
|
addMember(member: ApiEnumMember): void;
|
|
350
350
|
/** @beta @override */
|
|
@@ -383,9 +383,9 @@ export declare class ApiEnumMember extends ApiEnumMember_base {
|
|
|
383
383
|
/** @override */
|
|
384
384
|
static onDeserializeInto(options: Partial<IApiEnumMemberOptions>, context: DeserializerContext, jsonObject: IApiEnumMemberJson): void;
|
|
385
385
|
/** @override */
|
|
386
|
-
|
|
386
|
+
get kind(): ApiItemKind;
|
|
387
387
|
/** @override */
|
|
388
|
-
|
|
388
|
+
get containerKey(): string;
|
|
389
389
|
/** @override */
|
|
390
390
|
serializeInto(jsonObject: Partial<IApiEnumMemberJson>): void;
|
|
391
391
|
/** @beta @override */
|
|
@@ -419,9 +419,9 @@ export declare class ApiFunction extends ApiFunction_base {
|
|
|
419
419
|
constructor(options: IApiFunctionOptions);
|
|
420
420
|
static getContainerKey(name: string, overloadIndex: number): string;
|
|
421
421
|
/** @override */
|
|
422
|
-
|
|
422
|
+
get kind(): ApiItemKind;
|
|
423
423
|
/** @override */
|
|
424
|
-
|
|
424
|
+
get containerKey(): string;
|
|
425
425
|
/** @beta @override */
|
|
426
426
|
buildCanonicalReference(): DeclarationReference;
|
|
427
427
|
}
|
|
@@ -454,9 +454,9 @@ export declare class ApiIndexSignature extends ApiIndexSignature_base {
|
|
|
454
454
|
constructor(options: IApiIndexSignatureOptions);
|
|
455
455
|
static getContainerKey(overloadIndex: number): string;
|
|
456
456
|
/** @override */
|
|
457
|
-
|
|
457
|
+
get kind(): ApiItemKind;
|
|
458
458
|
/** @override */
|
|
459
|
-
|
|
459
|
+
get containerKey(): string;
|
|
460
460
|
/** @beta @override */
|
|
461
461
|
buildCanonicalReference(): DeclarationReference;
|
|
462
462
|
}
|
|
@@ -487,13 +487,13 @@ export declare class ApiInterface extends ApiInterface_base {
|
|
|
487
487
|
/** @override */
|
|
488
488
|
static onDeserializeInto(options: Partial<IApiInterfaceOptions>, context: DeserializerContext, jsonObject: IApiInterfaceJson): void;
|
|
489
489
|
/** @override */
|
|
490
|
-
|
|
490
|
+
get kind(): ApiItemKind;
|
|
491
491
|
/** @override */
|
|
492
|
-
|
|
492
|
+
get containerKey(): string;
|
|
493
493
|
/**
|
|
494
494
|
* The list of base interfaces that this interface inherits from using the `extends` keyword.
|
|
495
495
|
*/
|
|
496
|
-
|
|
496
|
+
get extendsTypes(): ReadonlyArray<HeritageType>;
|
|
497
497
|
/** @override */
|
|
498
498
|
serializeInto(jsonObject: Partial<IApiInterfaceJson>): void;
|
|
499
499
|
/** @beta @override */
|
|
@@ -523,7 +523,7 @@ export declare class ApiItem {
|
|
|
523
523
|
* Identifies the subclass of the `ApiItem` base class.
|
|
524
524
|
* @virtual
|
|
525
525
|
*/
|
|
526
|
-
|
|
526
|
+
get kind(): ApiItemKind;
|
|
527
527
|
/**
|
|
528
528
|
* Warning: This API is used internally by API extractor but is not yet ready for general usage.
|
|
529
529
|
*
|
|
@@ -533,7 +533,7 @@ export declare class ApiItem {
|
|
|
533
533
|
*
|
|
534
534
|
* @beta
|
|
535
535
|
*/
|
|
536
|
-
|
|
536
|
+
get canonicalReference(): DeclarationReference;
|
|
537
537
|
/**
|
|
538
538
|
* Returns a string key that can be used to efficiently retrieve an `ApiItem` from an `ApiItemContainerMixin`.
|
|
539
539
|
* The key is unique within the container. Its format is undocumented and may change at any time.
|
|
@@ -544,7 +544,7 @@ export declare class ApiItem {
|
|
|
544
544
|
*
|
|
545
545
|
* @virtual
|
|
546
546
|
*/
|
|
547
|
-
|
|
547
|
+
get containerKey(): string;
|
|
548
548
|
/**
|
|
549
549
|
* Returns a name for this object that can be used in diagnostic messages, for example.
|
|
550
550
|
*
|
|
@@ -554,21 +554,21 @@ export declare class ApiItem {
|
|
|
554
554
|
*
|
|
555
555
|
* @virtual
|
|
556
556
|
*/
|
|
557
|
-
|
|
557
|
+
get displayName(): string;
|
|
558
558
|
/**
|
|
559
559
|
* If this item was added to a ApiItemContainerMixin item, then this returns the container item.
|
|
560
560
|
* If this is an Parameter that was added to a method or function, then this returns the function item.
|
|
561
561
|
* Otherwise, it returns undefined.
|
|
562
562
|
* @virtual
|
|
563
563
|
*/
|
|
564
|
-
|
|
564
|
+
get parent(): ApiItem | undefined;
|
|
565
565
|
/**
|
|
566
566
|
* This property supports a visitor pattern for walking the tree.
|
|
567
567
|
* For items with ApiItemContainerMixin, it returns the contained items.
|
|
568
568
|
* Otherwise it returns an empty array.
|
|
569
569
|
* @virtual
|
|
570
570
|
*/
|
|
571
|
-
|
|
571
|
+
get members(): ReadonlyArray<ApiItem>;
|
|
572
572
|
/**
|
|
573
573
|
* If this item has a name (i.e. extends `ApiNameMixin`), then return all items that have the same parent
|
|
574
574
|
* and the same name. Otherwise, return all items that have the same parent and the same `ApiItemKind`.
|
|
@@ -797,9 +797,9 @@ export declare class ApiMethod extends ApiMethod_base {
|
|
|
797
797
|
constructor(options: IApiMethodOptions);
|
|
798
798
|
static getContainerKey(name: string, isStatic: boolean, overloadIndex: number): string;
|
|
799
799
|
/** @override */
|
|
800
|
-
|
|
800
|
+
get kind(): ApiItemKind;
|
|
801
801
|
/** @override */
|
|
802
|
-
|
|
802
|
+
get containerKey(): string;
|
|
803
803
|
/** @beta @override */
|
|
804
804
|
buildCanonicalReference(): DeclarationReference;
|
|
805
805
|
}
|
|
@@ -831,9 +831,9 @@ export declare class ApiMethodSignature extends ApiMethodSignature_base {
|
|
|
831
831
|
constructor(options: IApiMethodSignatureOptions);
|
|
832
832
|
static getContainerKey(name: string, overloadIndex: number): string;
|
|
833
833
|
/** @override */
|
|
834
|
-
|
|
834
|
+
get kind(): ApiItemKind;
|
|
835
835
|
/** @override */
|
|
836
|
-
|
|
836
|
+
get containerKey(): string;
|
|
837
837
|
/** @beta @override */
|
|
838
838
|
buildCanonicalReference(): DeclarationReference;
|
|
839
839
|
}
|
|
@@ -887,10 +887,10 @@ export declare class ApiModel extends ApiModel_base {
|
|
|
887
887
|
constructor();
|
|
888
888
|
loadPackage(apiJsonFilename: string): ApiPackage;
|
|
889
889
|
/** @override */
|
|
890
|
-
|
|
890
|
+
get kind(): ApiItemKind;
|
|
891
891
|
/** @override */
|
|
892
|
-
|
|
893
|
-
|
|
892
|
+
get containerKey(): string;
|
|
893
|
+
get packages(): ReadonlyArray<ApiPackage>;
|
|
894
894
|
/** @override */
|
|
895
895
|
addMember(member: ApiPackage): void;
|
|
896
896
|
/**
|
|
@@ -992,9 +992,9 @@ export declare class ApiNamespace extends ApiNamespace_base {
|
|
|
992
992
|
constructor(options: IApiNamespaceOptions);
|
|
993
993
|
static getContainerKey(name: string): string;
|
|
994
994
|
/** @override */
|
|
995
|
-
|
|
995
|
+
get kind(): ApiItemKind;
|
|
996
996
|
/** @override */
|
|
997
|
-
|
|
997
|
+
get containerKey(): string;
|
|
998
998
|
/** @beta @override */
|
|
999
999
|
buildCanonicalReference(): DeclarationReference;
|
|
1000
1000
|
}
|
|
@@ -1015,10 +1015,10 @@ export declare class ApiPackage extends ApiPackage_base {
|
|
|
1015
1015
|
constructor(options: IApiPackageOptions);
|
|
1016
1016
|
static loadFromJsonFile(apiJsonFilename: string): ApiPackage;
|
|
1017
1017
|
/** @override */
|
|
1018
|
-
|
|
1018
|
+
get kind(): ApiItemKind;
|
|
1019
1019
|
/** @override */
|
|
1020
|
-
|
|
1021
|
-
|
|
1020
|
+
get containerKey(): string;
|
|
1021
|
+
get entryPoints(): ReadonlyArray<ApiEntryPoint>;
|
|
1022
1022
|
/** @override */
|
|
1023
1023
|
addMember(member: ApiEntryPoint): void;
|
|
1024
1024
|
findEntryPointsByPath(importPath: string): ReadonlyArray<ApiEntryPoint>;
|
|
@@ -1145,9 +1145,9 @@ export declare class ApiProperty extends ApiProperty_base {
|
|
|
1145
1145
|
constructor(options: IApiPropertyOptions);
|
|
1146
1146
|
static getContainerKey(name: string, isStatic: boolean): string;
|
|
1147
1147
|
/** @override */
|
|
1148
|
-
|
|
1148
|
+
get kind(): ApiItemKind;
|
|
1149
1149
|
/** @override */
|
|
1150
|
-
|
|
1150
|
+
get containerKey(): string;
|
|
1151
1151
|
/** @beta @override */
|
|
1152
1152
|
buildCanonicalReference(): DeclarationReference;
|
|
1153
1153
|
}
|
|
@@ -1177,7 +1177,7 @@ export declare class ApiPropertyItem extends ApiPropertyItem_base {
|
|
|
1177
1177
|
* The documentation should display such properties under an "Events" heading instead of the
|
|
1178
1178
|
* usual "Properties" heading.
|
|
1179
1179
|
*/
|
|
1180
|
-
|
|
1180
|
+
get isEventProperty(): boolean;
|
|
1181
1181
|
/** @override */
|
|
1182
1182
|
serializeInto(jsonObject: Partial<IApiPropertyItemJson>): void;
|
|
1183
1183
|
}
|
|
@@ -1210,9 +1210,9 @@ export declare class ApiPropertySignature extends ApiPropertyItem {
|
|
|
1210
1210
|
constructor(options: IApiPropertySignatureOptions);
|
|
1211
1211
|
static getContainerKey(name: string): string;
|
|
1212
1212
|
/** @override */
|
|
1213
|
-
|
|
1213
|
+
get kind(): ApiItemKind;
|
|
1214
1214
|
/** @override */
|
|
1215
|
-
|
|
1215
|
+
get containerKey(): string;
|
|
1216
1216
|
/** @beta @override */
|
|
1217
1217
|
buildCanonicalReference(): DeclarationReference;
|
|
1218
1218
|
}
|
|
@@ -1419,9 +1419,9 @@ export declare class ApiTypeAlias extends ApiTypeAlias_base {
|
|
|
1419
1419
|
static onDeserializeInto(options: Partial<IApiTypeAliasOptions>, context: DeserializerContext, jsonObject: IApiTypeAliasJson): void;
|
|
1420
1420
|
static getContainerKey(name: string): string;
|
|
1421
1421
|
/** @override */
|
|
1422
|
-
|
|
1422
|
+
get kind(): ApiItemKind;
|
|
1423
1423
|
/** @override */
|
|
1424
|
-
|
|
1424
|
+
get containerKey(): string;
|
|
1425
1425
|
/** @override */
|
|
1426
1426
|
serializeInto(jsonObject: Partial<IApiTypeAliasJson>): void;
|
|
1427
1427
|
/** @beta @override */
|
|
@@ -1511,9 +1511,9 @@ export declare class ApiVariable extends ApiVariable_base {
|
|
|
1511
1511
|
static onDeserializeInto(options: Partial<IApiVariableOptions>, context: DeserializerContext, jsonObject: IApiVariableJson): void;
|
|
1512
1512
|
static getContainerKey(name: string): string;
|
|
1513
1513
|
/** @override */
|
|
1514
|
-
|
|
1514
|
+
get kind(): ApiItemKind;
|
|
1515
1515
|
/** @override */
|
|
1516
|
-
|
|
1516
|
+
get containerKey(): string;
|
|
1517
1517
|
/** @override */
|
|
1518
1518
|
serializeInto(jsonObject: Partial<IApiVariableJson>): void;
|
|
1519
1519
|
/** @beta @override */
|
|
@@ -1594,11 +1594,11 @@ export declare class Excerpt {
|
|
|
1594
1594
|
/**
|
|
1595
1595
|
* The excerpted text, formed by concatenating the text of the `spannedTokens` strings.
|
|
1596
1596
|
*/
|
|
1597
|
-
|
|
1597
|
+
get text(): string;
|
|
1598
1598
|
/**
|
|
1599
1599
|
* Returns true if the excerpt is an empty range.
|
|
1600
1600
|
*/
|
|
1601
|
-
|
|
1601
|
+
get isEmpty(): boolean;
|
|
1602
1602
|
}
|
|
1603
1603
|
|
|
1604
1604
|
/**
|
|
@@ -1614,16 +1614,16 @@ export declare class ExcerptToken {
|
|
|
1614
1614
|
/**
|
|
1615
1615
|
* Indicates the kind of token.
|
|
1616
1616
|
*/
|
|
1617
|
-
|
|
1617
|
+
get kind(): ExcerptTokenKind;
|
|
1618
1618
|
/**
|
|
1619
1619
|
* The text fragment.
|
|
1620
1620
|
*/
|
|
1621
|
-
|
|
1621
|
+
get text(): string;
|
|
1622
1622
|
/**
|
|
1623
1623
|
* The hyperlink target for a token whose type is `ExcerptTokenKind.Reference`. For other token types,
|
|
1624
1624
|
* this property will be `undefined`.
|
|
1625
1625
|
*/
|
|
1626
|
-
|
|
1626
|
+
get canonicalReference(): DeclarationReference | undefined;
|
|
1627
1627
|
}
|
|
1628
1628
|
|
|
1629
1629
|
/** @public */
|
|
@@ -2096,7 +2096,7 @@ export declare class Parameter {
|
|
|
2096
2096
|
/**
|
|
2097
2097
|
* Returns the `@param` documentation for this parameter, if present.
|
|
2098
2098
|
*/
|
|
2099
|
-
|
|
2099
|
+
get tsdocParamBlock(): tsdoc.DocParamBlock | undefined;
|
|
2100
2100
|
}
|
|
2101
2101
|
|
|
2102
2102
|
/**
|
|
@@ -2237,7 +2237,7 @@ export declare class TypeParameter {
|
|
|
2237
2237
|
/**
|
|
2238
2238
|
* Returns the `@typeParam` documentation for this parameter, if present.
|
|
2239
2239
|
*/
|
|
2240
|
-
|
|
2240
|
+
get tsdocTypeParamBlock(): tsdoc.DocParamBlock | undefined;
|
|
2241
2241
|
}
|
|
2242
2242
|
|
|
2243
2243
|
export { }
|
package/dist/tsdoc-metadata.json
CHANGED
|
@@ -6,7 +6,7 @@ export declare class AedocDefinitions {
|
|
|
6
6
|
static readonly betaDocumentation: TSDocTagDefinition;
|
|
7
7
|
static readonly internalRemarks: TSDocTagDefinition;
|
|
8
8
|
static readonly preapprovedTag: TSDocTagDefinition;
|
|
9
|
-
static
|
|
9
|
+
static get tsdocConfiguration(): TSDocConfiguration;
|
|
10
10
|
private static _tsdocConfiguration;
|
|
11
11
|
}
|
|
12
12
|
//# sourceMappingURL=AedocDefinitions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AedocDefinitions.d.ts","sourceRoot":"","sources":["../../src/aedoc/AedocDefinitions.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAoC,MAAM,kBAAkB,CAAC;AAE5G;;GAEG;AACH,qBAAa,gBAAgB;IAC3B,gBAAuB,iBAAiB,EAAE,kBAAkB,CAGzD;IAEH,gBAAuB,eAAe,EAAE,kBAAkB,CAGvD;IAEH,gBAAuB,cAAc,EAAE,kBAAkB,CAGtD;
|
|
1
|
+
{"version":3,"file":"AedocDefinitions.d.ts","sourceRoot":"","sources":["../../src/aedoc/AedocDefinitions.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAoC,MAAM,kBAAkB,CAAC;AAE5G;;GAEG;AACH,qBAAa,gBAAgB;IAC3B,gBAAuB,iBAAiB,EAAE,kBAAkB,CAGzD;IAEH,gBAAuB,eAAe,EAAE,kBAAkB,CAGvD;IAEH,gBAAuB,cAAc,EAAE,kBAAkB,CAGtD;IAEH,WAAkB,kBAAkB,IAAI,kBAAkB,CAyCzD;IAED,OAAO,CAAC,MAAM,CAAC,mBAAmB,CAAiC;CACpE"}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
|
|
3
3
|
// See LICENSE in the project root for license information.
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.AedocDefinitions = void 0;
|
|
5
6
|
const tsdoc_1 = require("@microsoft/tsdoc");
|
|
6
7
|
/**
|
|
7
8
|
* @internal
|
|
@@ -42,6 +43,7 @@ class AedocDefinitions {
|
|
|
42
43
|
return AedocDefinitions._tsdocConfiguration;
|
|
43
44
|
}
|
|
44
45
|
}
|
|
46
|
+
exports.AedocDefinitions = AedocDefinitions;
|
|
45
47
|
AedocDefinitions.betaDocumentation = new tsdoc_1.TSDocTagDefinition({
|
|
46
48
|
tagName: '@betaDocumentation',
|
|
47
49
|
syntaxKind: tsdoc_1.TSDocTagSyntaxKind.ModifierTag
|
|
@@ -54,5 +56,4 @@ AedocDefinitions.preapprovedTag = new tsdoc_1.TSDocTagDefinition({
|
|
|
54
56
|
tagName: '@preapproved',
|
|
55
57
|
syntaxKind: tsdoc_1.TSDocTagSyntaxKind.ModifierTag
|
|
56
58
|
});
|
|
57
|
-
exports.AedocDefinitions = AedocDefinitions;
|
|
58
59
|
//# sourceMappingURL=AedocDefinitions.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AedocDefinitions.js","sourceRoot":"","sources":["../../src/aedoc/AedocDefinitions.ts"],"names":[],"mappings":";AAAA,4FAA4F;AAC5F,2DAA2D
|
|
1
|
+
{"version":3,"file":"AedocDefinitions.js","sourceRoot":"","sources":["../../src/aedoc/AedocDefinitions.ts"],"names":[],"mappings":";AAAA,4FAA4F;AAC5F,2DAA2D;;;AAE3D,4CAA4G;AAE5G;;GAEG;AACH,MAAa,gBAAgB;IAgBpB,MAAM,KAAK,kBAAkB;QAClC,IAAI,CAAC,gBAAgB,CAAC,mBAAmB,EAAE;YACzC,MAAM,aAAa,GAAuB,IAAI,0BAAkB,EAAE,CAAC;YACnE,aAAa,CAAC,iBAAiB,CAC7B;gBACE,gBAAgB,CAAC,iBAAiB;gBAClC,gBAAgB,CAAC,eAAe;gBAChC,gBAAgB,CAAC,cAAc;aAChC,EACD,IAAI,CACL,CAAC;YAEF,aAAa,CAAC,iBAAiB,CAC7B;gBACE,oBAAY,CAAC,KAAK;gBAClB,oBAAY,CAAC,IAAI;gBACjB,oBAAY,CAAC,YAAY;gBACzB,oBAAY,CAAC,UAAU;gBACvB,oBAAY,CAAC,aAAa;gBAC1B,oBAAY,CAAC,OAAO;gBACpB,oBAAY,CAAC,UAAU;gBACvB,oBAAY,CAAC,QAAQ;gBACrB,oBAAY,CAAC,IAAI;gBACjB,oBAAY,CAAC,QAAQ;gBACrB,oBAAY,CAAC,oBAAoB;gBACjC,oBAAY,CAAC,KAAK;gBAClB,oBAAY,CAAC,cAAc;gBAC3B,oBAAY,CAAC,MAAM;gBACnB,oBAAY,CAAC,QAAQ;gBACrB,oBAAY,CAAC,OAAO;gBACpB,oBAAY,CAAC,OAAO;gBACpB,oBAAY,CAAC,MAAM;gBACnB,oBAAY,CAAC,MAAM;gBACnB,oBAAY,CAAC,OAAO;aACrB,EACD,IAAI,CACL,CAAC;YAEF,gBAAgB,CAAC,mBAAmB,GAAG,aAAa,CAAC;SACtD;QACD,OAAO,gBAAgB,CAAC,mBAAmB,CAAC;IAC9C,CAAC;;AAzDH,4CA4DC;AA3DwB,kCAAiB,GAAuB,IAAI,0BAAkB,CAAC;IACpF,OAAO,EAAE,oBAAoB;IAC7B,UAAU,EAAE,0BAAkB,CAAC,WAAW;CAC3C,CAAC,CAAC;AAEoB,gCAAe,GAAuB,IAAI,0BAAkB,CAAC;IAClF,OAAO,EAAE,kBAAkB;IAC3B,UAAU,EAAE,0BAAkB,CAAC,QAAQ;CACxC,CAAC,CAAC;AAEoB,+BAAc,GAAuB,IAAI,0BAAkB,CAAC;IACjF,OAAO,EAAE,cAAc;IACvB,UAAU,EAAE,0BAAkB,CAAC,WAAW;CAC3C,CAAC,CAAC","sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.\r\n// See LICENSE in the project root for license information.\r\n\r\nimport { TSDocConfiguration, TSDocTagDefinition, TSDocTagSyntaxKind, StandardTags } from '@microsoft/tsdoc';\r\n\r\n/**\r\n * @internal\r\n */\r\nexport class AedocDefinitions {\r\n public static readonly betaDocumentation: TSDocTagDefinition = new TSDocTagDefinition({\r\n tagName: '@betaDocumentation',\r\n syntaxKind: TSDocTagSyntaxKind.ModifierTag\r\n });\r\n\r\n public static readonly internalRemarks: TSDocTagDefinition = new TSDocTagDefinition({\r\n tagName: '@internalRemarks',\r\n syntaxKind: TSDocTagSyntaxKind.BlockTag\r\n });\r\n\r\n public static readonly preapprovedTag: TSDocTagDefinition = new TSDocTagDefinition({\r\n tagName: '@preapproved',\r\n syntaxKind: TSDocTagSyntaxKind.ModifierTag\r\n });\r\n\r\n public static get tsdocConfiguration(): TSDocConfiguration {\r\n if (!AedocDefinitions._tsdocConfiguration) {\r\n const configuration: TSDocConfiguration = new TSDocConfiguration();\r\n configuration.addTagDefinitions(\r\n [\r\n AedocDefinitions.betaDocumentation,\r\n AedocDefinitions.internalRemarks,\r\n AedocDefinitions.preapprovedTag\r\n ],\r\n true\r\n );\r\n\r\n configuration.setSupportForTags(\r\n [\r\n StandardTags.alpha,\r\n StandardTags.beta,\r\n StandardTags.defaultValue,\r\n StandardTags.deprecated,\r\n StandardTags.eventProperty,\r\n StandardTags.example,\r\n StandardTags.inheritDoc,\r\n StandardTags.internal,\r\n StandardTags.link,\r\n StandardTags.override,\r\n StandardTags.packageDocumentation,\r\n StandardTags.param,\r\n StandardTags.privateRemarks,\r\n StandardTags.public,\r\n StandardTags.readonly,\r\n StandardTags.remarks,\r\n StandardTags.returns,\r\n StandardTags.sealed,\r\n StandardTags.throws,\r\n StandardTags.virtual\r\n ],\r\n true\r\n );\r\n\r\n AedocDefinitions._tsdocConfiguration = configuration;\r\n }\r\n return AedocDefinitions._tsdocConfiguration;\r\n }\r\n\r\n private static _tsdocConfiguration: TSDocConfiguration | undefined;\r\n}\r\n"]}
|
package/lib/aedoc/ReleaseTag.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
|
|
3
3
|
// See LICENSE in the project root for license information.
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.ReleaseTag = void 0;
|
|
5
6
|
/**
|
|
6
7
|
* A "release tag" is a custom TSDoc tag that is applied to an API to communicate the level of support
|
|
7
8
|
* provided for third-party developers.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReleaseTag.js","sourceRoot":"","sources":["../../src/aedoc/ReleaseTag.ts"],"names":[],"mappings":";AAAA,4FAA4F;AAC5F,2DAA2D
|
|
1
|
+
{"version":3,"file":"ReleaseTag.js","sourceRoot":"","sources":["../../src/aedoc/ReleaseTag.ts"],"names":[],"mappings":";AAAA,4FAA4F;AAC5F,2DAA2D;;;AAE3D;;;;;;;;;;;;;GAaG;AACH,IAAY,UA2BX;AA3BD,WAAY,UAAU;IACpB;;OAEG;IACH,2CAAQ,CAAA;IACR;;;;OAIG;IACH,mDAAY,CAAA;IACZ;;;OAGG;IACH,6CAAS,CAAA;IACT;;;;OAIG;IACH,2CAAQ,CAAA;IACR;;;OAGG;IACH,+CAAU,CAAA;AACZ,CAAC,EA3BW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QA2BrB;AAED;;;GAGG;AACH,WAAiB,UAAU;IACzB;;;;;OAKG;IACH,SAAgB,UAAU,CAAC,UAAsB;QAC/C,QAAQ,UAAU,EAAE;YAClB,KAAK,UAAU,CAAC,IAAI;gBAClB,OAAO,QAAQ,CAAC;YAClB,KAAK,UAAU,CAAC,QAAQ;gBACtB,OAAO,WAAW,CAAC;YACrB,KAAK,UAAU,CAAC,KAAK;gBACnB,OAAO,QAAQ,CAAC;YAClB,KAAK,UAAU,CAAC,IAAI;gBAClB,OAAO,OAAO,CAAC;YACjB,KAAK,UAAU,CAAC,MAAM;gBACpB,OAAO,SAAS,CAAC;SACpB;QACD,MAAM,IAAI,KAAK,CAAC,yBAAyB,CAAC,CAAC;IAC7C,CAAC;IAde,qBAAU,aAczB,CAAA;IAED;;;;;;;OAOG;IACH,SAAgB,OAAO,CAAC,CAAa,EAAE,CAAa;QAClD,OAAO,CAAC,GAAG,CAAC,CAAC;IACf,CAAC;IAFe,kBAAO,UAEtB,CAAA;AACH,CAAC,EAlCgB,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAkC1B","sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.\r\n// See LICENSE in the project root for license information.\r\n\r\n/**\r\n * A \"release tag\" is a custom TSDoc tag that is applied to an API to communicate the level of support\r\n * provided for third-party developers.\r\n *\r\n * @remarks\r\n *\r\n * The four release tags are: `@internal`, `@alpha`, `@beta`, and `@public`. They are applied to API items such\r\n * as classes, member functions, enums, etc. The release tag applies recursively to members of a container\r\n * (e.g. class or interface). For example, if a class is marked as `@beta`, then all of its members automatically\r\n * have this status; you DON'T need add the `@beta` tag to each member function. However, you could add\r\n * `@internal` to a member function to give it a different release status.\r\n *\r\n * @public\r\n */\r\nexport enum ReleaseTag {\r\n /**\r\n * No release tag was specified in the AEDoc summary.\r\n */\r\n None = 0,\r\n /**\r\n * Indicates that an API item is meant only for usage by other NPM packages from the same\r\n * maintainer. Third parties should never use \"internal\" APIs. (To emphasize this, their\r\n * names are prefixed by underscores.)\r\n */\r\n Internal = 1,\r\n /**\r\n * Indicates that an API item is eventually intended to be public, but currently is in an\r\n * early stage of development. Third parties should not use \"alpha\" APIs.\r\n */\r\n Alpha = 2,\r\n /**\r\n * Indicates that an API item has been released in an experimental state. Third parties are\r\n * encouraged to try it and provide feedback. However, a \"beta\" API should NOT be used\r\n * in production.\r\n */\r\n Beta = 3,\r\n /**\r\n * Indicates that an API item has been officially released. It is part of the supported\r\n * contract (e.g. SemVer) for a package.\r\n */\r\n Public = 4\r\n}\r\n\r\n/**\r\n * Helper functions for working with the `ReleaseTag` enum.\r\n * @public\r\n */\r\nexport namespace ReleaseTag {\r\n /**\r\n * Returns the TSDoc tag name for a `ReleaseTag` value.\r\n *\r\n * @remarks\r\n * For example, `getTagName(ReleaseTag.Internal)` would return the string `@internal`.\r\n */\r\n export function getTagName(releaseTag: ReleaseTag): string {\r\n switch (releaseTag) {\r\n case ReleaseTag.None:\r\n return '(none)';\r\n case ReleaseTag.Internal:\r\n return '@internal';\r\n case ReleaseTag.Alpha:\r\n return '@alpha';\r\n case ReleaseTag.Beta:\r\n return '@beta';\r\n case ReleaseTag.Public:\r\n return '@public';\r\n }\r\n throw new Error('Unsupported release tag');\r\n }\r\n\r\n /**\r\n * Compares two `ReleaseTag` values. Their values must not be `ReleaseTag.None`.\r\n * @returns 0 if `a` and `b` are equal, a positive number if `a` is more public than `b`,\r\n * and a negative number if `a` is less public than `b`.\r\n * @remarks\r\n * For example, `compareReleaseTag(ReleaseTag.Beta, ReleaseTag.Alpha)` will return a positive\r\n * number because beta is more public than alpha.\r\n */\r\n export function compare(a: ReleaseTag, b: ReleaseTag): number {\r\n return a - b;\r\n }\r\n}\r\n"]}
|