@microsoft/api-extractor-model 7.23.1 → 7.24.0

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.
Files changed (41) hide show
  1. package/dist/rollup.d.ts +104 -18
  2. package/lib/index.d.ts +1 -0
  3. package/lib/index.d.ts.map +1 -1
  4. package/lib/index.js +3 -1
  5. package/lib/index.js.map +1 -1
  6. package/lib/mixins/ApiExportedMixin.d.ts +83 -0
  7. package/lib/mixins/ApiExportedMixin.d.ts.map +1 -0
  8. package/lib/mixins/ApiExportedMixin.js +66 -0
  9. package/lib/mixins/ApiExportedMixin.js.map +1 -0
  10. package/lib/mixins/ApiItemContainerMixin.d.ts.map +1 -1
  11. package/lib/mixins/ApiItemContainerMixin.js +3 -3
  12. package/lib/mixins/ApiItemContainerMixin.js.map +1 -1
  13. package/lib/model/ApiClass.d.ts +4 -3
  14. package/lib/model/ApiClass.d.ts.map +1 -1
  15. package/lib/model/ApiClass.js +4 -2
  16. package/lib/model/ApiClass.js.map +1 -1
  17. package/lib/model/ApiEnum.d.ts +3 -2
  18. package/lib/model/ApiEnum.d.ts.map +1 -1
  19. package/lib/model/ApiEnum.js +4 -2
  20. package/lib/model/ApiEnum.js.map +1 -1
  21. package/lib/model/ApiFunction.d.ts +3 -2
  22. package/lib/model/ApiFunction.d.ts.map +1 -1
  23. package/lib/model/ApiFunction.js +4 -2
  24. package/lib/model/ApiFunction.js.map +1 -1
  25. package/lib/model/ApiInterface.d.ts +4 -3
  26. package/lib/model/ApiInterface.d.ts.map +1 -1
  27. package/lib/model/ApiInterface.js +4 -2
  28. package/lib/model/ApiInterface.js.map +1 -1
  29. package/lib/model/ApiNamespace.d.ts +3 -2
  30. package/lib/model/ApiNamespace.d.ts.map +1 -1
  31. package/lib/model/ApiNamespace.js +4 -2
  32. package/lib/model/ApiNamespace.js.map +1 -1
  33. package/lib/model/ApiTypeAlias.d.ts +4 -3
  34. package/lib/model/ApiTypeAlias.d.ts.map +1 -1
  35. package/lib/model/ApiTypeAlias.js +4 -2
  36. package/lib/model/ApiTypeAlias.js.map +1 -1
  37. package/lib/model/ApiVariable.d.ts +4 -3
  38. package/lib/model/ApiVariable.d.ts.map +1 -1
  39. package/lib/model/ApiVariable.js +4 -2
  40. package/lib/model/ApiVariable.js.map +1 -1
  41. package/package.json +3 -4
package/dist/rollup.d.ts CHANGED
@@ -108,7 +108,7 @@ export declare class ApiClass extends ApiClass_base {
108
108
  buildCanonicalReference(): DeclarationReference;
109
109
  }
110
110
 
111
- declare const ApiClass_base: typeof ApiDeclaredItem & (new (...args: any[]) => ApiReleaseTagMixin) & (new (...args: any[]) => ApiTypeParameterListMixin) & (new (...args: any[]) => ApiNameMixin) & (new (...args: any[]) => ApiItemContainerMixin);
111
+ declare const ApiClass_base: typeof ApiDeclaredItem & (new (...args: any[]) => ApiExportedMixin) & (new (...args: any[]) => ApiReleaseTagMixin) & (new (...args: any[]) => ApiTypeParameterListMixin) & (new (...args: any[]) => ApiNameMixin) & (new (...args: any[]) => ApiItemContainerMixin);
112
112
 
113
113
  /**
114
114
  * Represents a TypeScript class constructor declaration that belongs to an `ApiClass`.
@@ -352,7 +352,7 @@ export declare class ApiEnum extends ApiEnum_base {
352
352
  buildCanonicalReference(): DeclarationReference;
353
353
  }
354
354
 
355
- declare const ApiEnum_base: typeof ApiDeclaredItem & (new (...args: any[]) => ApiReleaseTagMixin) & (new (...args: any[]) => ApiNameMixin) & (new (...args: any[]) => ApiItemContainerMixin);
355
+ declare const ApiEnum_base: typeof ApiDeclaredItem & (new (...args: any[]) => ApiExportedMixin) & (new (...args: any[]) => ApiReleaseTagMixin) & (new (...args: any[]) => ApiNameMixin) & (new (...args: any[]) => ApiItemContainerMixin);
356
356
 
357
357
  /**
358
358
  * Represents a member of a TypeScript enum declaration.
@@ -387,6 +387,80 @@ export declare class ApiEnumMember extends ApiEnumMember_base {
387
387
 
388
388
  declare const ApiEnumMember_base: typeof ApiDeclaredItem & (new (...args: any[]) => ApiInitializerMixin) & (new (...args: any[]) => ApiReleaseTagMixin) & (new (...args: any[]) => ApiNameMixin);
389
389
 
390
+ /**
391
+ * Mixin function for {@link (ApiExportedMixin:interface)}.
392
+ *
393
+ * @param baseClass - The base class to be extended
394
+ * @returns A child class that extends baseClass, adding the {@link (ApiExportedMixin:interface)} functionality.
395
+ *
396
+ * @public
397
+ */
398
+ export declare function ApiExportedMixin<TBaseClass extends IApiItemConstructor>(baseClass: TBaseClass): TBaseClass & (new (...args: any[]) => ApiExportedMixin);
399
+
400
+ /**
401
+ * The mixin base class for API items that can be exported.
402
+ *
403
+ * @remarks
404
+ *
405
+ * This is part of the {@link ApiModel} hierarchy of classes, which are serializable representations of
406
+ * API declarations. The non-abstract classes (e.g. `ApiClass`, `ApiEnum`, `ApiInterface`, etc.) use
407
+ * TypeScript "mixin" functions (e.g. `ApiDeclaredItem`, `ApiItemContainerMixin`, etc.) to add various
408
+ * features that cannot be represented as a normal inheritance chain (since TypeScript does not allow a child class
409
+ * to extend more than one base class). The "mixin" is a TypeScript merged declaration with three components:
410
+ * the function that generates a subclass, an interface that describes the members of the subclass, and
411
+ * a namespace containing static members of the class.
412
+ *
413
+ * @public
414
+ */
415
+ export declare interface ApiExportedMixin extends ApiItem {
416
+ /**
417
+ * Whether the declaration is exported from its parent item container (i.e. either an `ApiEntryPoint` or an
418
+ * `ApiNamespace`).
419
+ *
420
+ * @remarks
421
+ * Suppose `index.ts` is your entry point:
422
+ *
423
+ * ```ts
424
+ * // index.ts
425
+ *
426
+ * export class A {}
427
+ * class B {}
428
+ *
429
+ * namespace n {
430
+ * export class C {}
431
+ * class D {}
432
+ * }
433
+ *
434
+ * // file.ts
435
+ * export class E {}
436
+ * ```
437
+ *
438
+ * Classes `A` and `C` are both exported, while classes `B`, `D`, and `E` are not. `E` is exported from its
439
+ * local file, but not from its parent item container (i.e. the entry point).
440
+ *
441
+ */
442
+ readonly isExported: boolean;
443
+ /** @override */
444
+ serializeInto(jsonObject: Partial<IApiItemJson>): void;
445
+ }
446
+
447
+ /**
448
+ * Static members for {@link (ApiExportedMixin:interface)}.
449
+ * @public
450
+ */
451
+ export declare namespace ApiExportedMixin {
452
+ /**
453
+ * A type guard that tests whether the specified `ApiItem` subclass extends the `ApiExportedMixin` mixin.
454
+ *
455
+ * @remarks
456
+ *
457
+ * The JavaScript `instanceof` operator cannot be used to test for mixin inheritance, because each invocation of
458
+ * the mixin function produces a different subclass. (This could be mitigated by `Symbol.hasInstance`, however
459
+ * the TypeScript type system cannot invoke a runtime test.)
460
+ */
461
+ export function isBaseClassOf(apiItem: ApiItem): apiItem is ApiExportedMixin;
462
+ }
463
+
390
464
  /**
391
465
  * Represents a TypeScript function declaration.
392
466
  *
@@ -419,7 +493,7 @@ export declare class ApiFunction extends ApiFunction_base {
419
493
  buildCanonicalReference(): DeclarationReference;
420
494
  }
421
495
 
422
- declare const ApiFunction_base: typeof ApiDeclaredItem & (new (...args: any[]) => ApiReturnTypeMixin) & (new (...args: any[]) => ApiReleaseTagMixin) & (new (...args: any[]) => ApiParameterListMixin) & (new (...args: any[]) => ApiTypeParameterListMixin) & (new (...args: any[]) => ApiNameMixin);
496
+ declare const ApiFunction_base: typeof ApiDeclaredItem & (new (...args: any[]) => ApiExportedMixin) & (new (...args: any[]) => ApiReturnTypeMixin) & (new (...args: any[]) => ApiReleaseTagMixin) & (new (...args: any[]) => ApiParameterListMixin) & (new (...args: any[]) => ApiTypeParameterListMixin) & (new (...args: any[]) => ApiNameMixin);
423
497
 
424
498
  /**
425
499
  * Represents a TypeScript index signature.
@@ -544,7 +618,7 @@ export declare class ApiInterface extends ApiInterface_base {
544
618
  buildCanonicalReference(): DeclarationReference;
545
619
  }
546
620
 
547
- declare const ApiInterface_base: typeof ApiDeclaredItem & (new (...args: any[]) => ApiReleaseTagMixin) & (new (...args: any[]) => ApiTypeParameterListMixin) & (new (...args: any[]) => ApiNameMixin) & (new (...args: any[]) => ApiItemContainerMixin);
621
+ declare const ApiInterface_base: typeof ApiDeclaredItem & (new (...args: any[]) => ApiExportedMixin) & (new (...args: any[]) => ApiReleaseTagMixin) & (new (...args: any[]) => ApiTypeParameterListMixin) & (new (...args: any[]) => ApiNameMixin) & (new (...args: any[]) => ApiItemContainerMixin);
548
622
 
549
623
  /**
550
624
  * The abstract base class for all members of an `ApiModel` object.
@@ -1167,7 +1241,7 @@ export declare class ApiNamespace extends ApiNamespace_base {
1167
1241
  buildCanonicalReference(): DeclarationReference;
1168
1242
  }
1169
1243
 
1170
- declare const ApiNamespace_base: typeof ApiDeclaredItem & (new (...args: any[]) => ApiReleaseTagMixin) & (new (...args: any[]) => ApiNameMixin) & (new (...args: any[]) => ApiItemContainerMixin);
1244
+ declare const ApiNamespace_base: typeof ApiDeclaredItem & (new (...args: any[]) => ApiExportedMixin) & (new (...args: any[]) => ApiReleaseTagMixin) & (new (...args: any[]) => ApiNameMixin) & (new (...args: any[]) => ApiItemContainerMixin);
1171
1245
 
1172
1246
  /**
1173
1247
  * Mixin function for {@link (ApiOptionalMixin:interface)}.
@@ -1790,7 +1864,7 @@ export declare class ApiTypeAlias extends ApiTypeAlias_base {
1790
1864
  buildCanonicalReference(): DeclarationReference;
1791
1865
  }
1792
1866
 
1793
- declare const ApiTypeAlias_base: typeof ApiDeclaredItem & (new (...args: any[]) => ApiReleaseTagMixin) & (new (...args: any[]) => ApiNameMixin) & (new (...args: any[]) => ApiTypeParameterListMixin);
1867
+ declare const ApiTypeAlias_base: typeof ApiDeclaredItem & (new (...args: any[]) => ApiExportedMixin) & (new (...args: any[]) => ApiReleaseTagMixin) & (new (...args: any[]) => ApiNameMixin) & (new (...args: any[]) => ApiTypeParameterListMixin);
1794
1868
 
1795
1869
  /**
1796
1870
  * Mixin function for {@link (ApiTypeParameterListMixin:interface)}.
@@ -1882,7 +1956,7 @@ export declare class ApiVariable extends ApiVariable_base {
1882
1956
  buildCanonicalReference(): DeclarationReference;
1883
1957
  }
1884
1958
 
1885
- declare const ApiVariable_base: typeof ApiDeclaredItem & (new (...args: any[]) => ApiInitializerMixin) & (new (...args: any[]) => ApiReadonlyMixin) & (new (...args: any[]) => ApiReleaseTagMixin) & (new (...args: any[]) => ApiNameMixin);
1959
+ declare const ApiVariable_base: typeof ApiDeclaredItem & (new (...args: any[]) => ApiExportedMixin) & (new (...args: any[]) => ApiInitializerMixin) & (new (...args: any[]) => ApiReadonlyMixin) & (new (...args: any[]) => ApiReleaseTagMixin) & (new (...args: any[]) => ApiNameMixin);
1886
1960
 
1887
1961
  /**
1888
1962
  * This abstraction is used by the mixin pattern.
@@ -2097,7 +2171,7 @@ export declare class HeritageType {
2097
2171
  export declare interface IApiCallSignatureOptions extends IApiTypeParameterListMixinOptions, IApiParameterListMixinOptions, IApiReleaseTagMixinOptions, IApiReturnTypeMixinOptions, IApiDeclaredItemOptions {
2098
2172
  }
2099
2173
 
2100
- declare interface IApiClassJson extends IApiDeclaredItemJson, IApiTypeParameterListMixinJson {
2174
+ declare interface IApiClassJson extends IApiDeclaredItemJson, IApiTypeParameterListMixinJson, IApiExportedMixinJson {
2101
2175
  extendsTokenRange?: IExcerptTokenRange;
2102
2176
  implementsTokenRanges: IExcerptTokenRange[];
2103
2177
  }
@@ -2106,7 +2180,7 @@ declare interface IApiClassJson extends IApiDeclaredItemJson, IApiTypeParameterL
2106
2180
  * Constructor options for {@link ApiClass}.
2107
2181
  * @public
2108
2182
  */
2109
- export declare interface IApiClassOptions extends IApiItemContainerMixinOptions, IApiNameMixinOptions, IApiReleaseTagMixinOptions, IApiDeclaredItemOptions, IApiTypeParameterListMixinOptions {
2183
+ export declare interface IApiClassOptions extends IApiItemContainerMixinOptions, IApiNameMixinOptions, IApiReleaseTagMixinOptions, IApiDeclaredItemOptions, IApiTypeParameterListMixinOptions, IApiExportedMixinOptions {
2110
2184
  extendsTokenRange: IExcerptTokenRange | undefined;
2111
2185
  implementsTokenRanges: IExcerptTokenRange[];
2112
2186
  }
@@ -2167,14 +2241,26 @@ export declare interface IApiEnumMemberOptions extends IApiNameMixinOptions, IAp
2167
2241
  * Constructor options for {@link ApiEnum}.
2168
2242
  * @public
2169
2243
  */
2170
- export declare interface IApiEnumOptions extends IApiItemContainerMixinOptions, IApiNameMixinOptions, IApiReleaseTagMixinOptions, IApiDeclaredItemOptions {
2244
+ export declare interface IApiEnumOptions extends IApiItemContainerMixinOptions, IApiNameMixinOptions, IApiReleaseTagMixinOptions, IApiDeclaredItemOptions, IApiExportedMixinOptions {
2245
+ }
2246
+
2247
+ declare interface IApiExportedMixinJson extends IApiItemJson {
2248
+ isExported: boolean;
2249
+ }
2250
+
2251
+ /**
2252
+ * Constructor options for {@link (IApiExportedMixinOptions:interface)}.
2253
+ * @public
2254
+ */
2255
+ export declare interface IApiExportedMixinOptions extends IApiItemOptions {
2256
+ isExported: boolean;
2171
2257
  }
2172
2258
 
2173
2259
  /**
2174
2260
  * Constructor options for {@link ApiFunction}.
2175
2261
  * @public
2176
2262
  */
2177
- export declare interface IApiFunctionOptions extends IApiNameMixinOptions, IApiTypeParameterListMixinOptions, IApiParameterListMixinOptions, IApiReleaseTagMixinOptions, IApiReturnTypeMixinOptions, IApiDeclaredItemOptions {
2263
+ export declare interface IApiFunctionOptions extends IApiNameMixinOptions, IApiTypeParameterListMixinOptions, IApiParameterListMixinOptions, IApiReleaseTagMixinOptions, IApiReturnTypeMixinOptions, IApiDeclaredItemOptions, IApiExportedMixinOptions {
2178
2264
  }
2179
2265
 
2180
2266
  /**
@@ -2196,7 +2282,7 @@ export declare interface IApiInitializerMixinOptions extends IApiItemOptions {
2196
2282
  initializerTokenRange?: IExcerptTokenRange;
2197
2283
  }
2198
2284
 
2199
- declare interface IApiInterfaceJson extends IApiItemContainerJson, IApiNameMixinJson, IApiTypeParameterListMixinJson, IApiReleaseTagMixinJson, IApiDeclaredItemJson {
2285
+ declare interface IApiInterfaceJson extends IApiItemContainerJson, IApiNameMixinJson, IApiTypeParameterListMixinJson, IApiReleaseTagMixinJson, IApiDeclaredItemJson, IApiExportedMixinJson {
2200
2286
  extendsTokenRanges: IExcerptTokenRange[];
2201
2287
  }
2202
2288
 
@@ -2204,7 +2290,7 @@ declare interface IApiInterfaceJson extends IApiItemContainerJson, IApiNameMixin
2204
2290
  * Constructor options for {@link ApiInterface}.
2205
2291
  * @public
2206
2292
  */
2207
- export declare interface IApiInterfaceOptions extends IApiItemContainerMixinOptions, IApiNameMixinOptions, IApiTypeParameterListMixinOptions, IApiReleaseTagMixinOptions, IApiDeclaredItemOptions {
2293
+ export declare interface IApiInterfaceOptions extends IApiItemContainerMixinOptions, IApiNameMixinOptions, IApiTypeParameterListMixinOptions, IApiReleaseTagMixinOptions, IApiDeclaredItemOptions, IApiExportedMixinOptions {
2208
2294
  extendsTokenRanges: IExcerptTokenRange[];
2209
2295
  }
2210
2296
 
@@ -2270,7 +2356,7 @@ export declare interface IApiNameMixinOptions extends IApiItemOptions {
2270
2356
  * Constructor options for {@link ApiClass}.
2271
2357
  * @public
2272
2358
  */
2273
- export declare interface IApiNamespaceOptions extends IApiItemContainerMixinOptions, IApiNameMixinOptions, IApiReleaseTagMixinOptions, IApiDeclaredItemOptions {
2359
+ export declare interface IApiNamespaceOptions extends IApiItemContainerMixinOptions, IApiNameMixinOptions, IApiReleaseTagMixinOptions, IApiDeclaredItemOptions, IApiExportedMixinOptions {
2274
2360
  }
2275
2361
 
2276
2362
  /**
@@ -2407,7 +2493,7 @@ export declare interface IApiStaticMixinOptions extends IApiItemOptions {
2407
2493
  isStatic: boolean;
2408
2494
  }
2409
2495
 
2410
- declare interface IApiTypeAliasJson extends IApiDeclaredItemJson, IApiTypeParameterListMixinJson {
2496
+ declare interface IApiTypeAliasJson extends IApiDeclaredItemJson, IApiTypeParameterListMixinJson, IApiExportedMixinJson {
2411
2497
  typeTokenRange: IExcerptTokenRange;
2412
2498
  }
2413
2499
 
@@ -2415,7 +2501,7 @@ declare interface IApiTypeAliasJson extends IApiDeclaredItemJson, IApiTypeParame
2415
2501
  * Constructor options for {@link ApiTypeAlias}.
2416
2502
  * @public
2417
2503
  */
2418
- export declare interface IApiTypeAliasOptions extends IApiNameMixinOptions, IApiReleaseTagMixinOptions, IApiDeclaredItemOptions, IApiTypeParameterListMixinOptions {
2504
+ export declare interface IApiTypeAliasOptions extends IApiNameMixinOptions, IApiReleaseTagMixinOptions, IApiDeclaredItemOptions, IApiTypeParameterListMixinOptions, IApiExportedMixinOptions {
2419
2505
  typeTokenRange: IExcerptTokenRange;
2420
2506
  }
2421
2507
 
@@ -2441,7 +2527,7 @@ export declare interface IApiTypeParameterOptions {
2441
2527
  defaultTypeTokenRange: IExcerptTokenRange;
2442
2528
  }
2443
2529
 
2444
- declare interface IApiVariableJson extends IApiDeclaredItemJson {
2530
+ declare interface IApiVariableJson extends IApiDeclaredItemJson, IApiExportedMixinJson {
2445
2531
  variableTypeTokenRange: IExcerptTokenRange;
2446
2532
  }
2447
2533
 
@@ -2449,7 +2535,7 @@ declare interface IApiVariableJson extends IApiDeclaredItemJson {
2449
2535
  * Constructor options for {@link ApiVariable}.
2450
2536
  * @public
2451
2537
  */
2452
- export declare interface IApiVariableOptions extends IApiNameMixinOptions, IApiReleaseTagMixinOptions, IApiReadonlyMixinOptions, IApiDeclaredItemOptions, IApiInitializerMixinOptions {
2538
+ export declare interface IApiVariableOptions extends IApiNameMixinOptions, IApiReleaseTagMixinOptions, IApiReadonlyMixinOptions, IApiDeclaredItemOptions, IApiInitializerMixinOptions, IApiExportedMixinOptions {
2453
2539
  variableTypeTokenRange: IExcerptTokenRange;
2454
2540
  }
2455
2541
 
package/lib/index.d.ts CHANGED
@@ -23,6 +23,7 @@ export { IApiNameMixinOptions, ApiNameMixin } from './mixins/ApiNameMixin';
23
23
  export { IApiOptionalMixinOptions, ApiOptionalMixin } from './mixins/ApiOptionalMixin';
24
24
  export { IApiReadonlyMixinOptions, ApiReadonlyMixin } from './mixins/ApiReadonlyMixin';
25
25
  export { IApiInitializerMixinOptions, ApiInitializerMixin } from './mixins/ApiInitializerMixin';
26
+ export { IApiExportedMixinOptions, ApiExportedMixin } from './mixins/ApiExportedMixin';
26
27
  export { IFindApiItemsResult, IFindApiItemsMessage, FindApiItemsMessageId } from './mixins/IFindApiItemsResult';
27
28
  export { ExcerptTokenKind, IExcerptTokenRange, IExcerptToken, ExcerptToken, Excerpt } from './mixins/Excerpt';
28
29
  export { Constructor, PropertiesOf } from './mixins/Mixin';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAGA;;;;;;;GAOG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAGhD,OAAO,EAAE,uBAAuB,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AACnF,OAAO,EAAE,yBAAyB,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AACzF,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,OAAO,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAC7F,OAAO,EAAE,uBAAuB,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAGnF,OAAO,EACL,6BAA6B,EAC7B,oBAAoB,EACpB,qBAAqB,EACtB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,wBAAwB,EACxB,iCAAiC,EACjC,yBAAyB,EAC1B,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,6BAA6B,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AACtG,OAAO,EAAE,yBAAyB,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAC1F,OAAO,EAAE,0BAA0B,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAC7F,OAAO,EAAE,0BAA0B,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAC7F,OAAO,EAAE,sBAAsB,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACjF,OAAO,EAAE,oB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mBAAmB,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AACvE,OAAO,EAAE,kCAAkC,EAAE,MAAM,gCAAgC,CAAC;AACpF,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC"}
package/lib/index.js CHANGED
@@ -2,7 +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.HeritageType = exports.ApiVariable = exports.TypeParameter = exports.ApiTypeAlias = exports.ApiPropertySignature = exports.ApiProperty = exports.Parameter = exports.ApiPackage = exports.ApiNamespace = exports.ApiModel = exports.ApiMethodSignature = exports.ApiMethod = exports.ApiInterface = exports.ApiIndexSignature = exports.ApiFunction = exports.EnumMemberOrder = exports.ApiEnumMember = exports.ApiEnum = exports.ApiEntryPoint = exports.ApiConstructSignature = exports.ApiConstructor = exports.ApiClass = exports.ApiCallSignature = exports.Excerpt = exports.ExcerptToken = exports.ExcerptTokenKind = exports.FindApiItemsMessageId = exports.ApiInitializerMixin = exports.ApiReadonlyMixin = exports.ApiOptionalMixin = exports.ApiNameMixin = exports.ApiStaticMixin = exports.ApiReturnTypeMixin = exports.ApiReleaseTagMixin = exports.ApiProtectedMixin = exports.ApiItemContainerMixin = exports.ApiTypeParameterListMixin = exports.ApiParameterListMixin = exports.ApiPropertyItem = exports.ApiItem = exports.ApiItemKind = exports.ApiDocumentedItem = exports.ApiDeclaredItem = exports.ReleaseTag = exports.AedocDefinitions = void 0;
5
+ exports.HeritageType = exports.ApiVariable = exports.TypeParameter = exports.ApiTypeAlias = exports.ApiPropertySignature = exports.ApiProperty = exports.Parameter = exports.ApiPackage = exports.ApiNamespace = exports.ApiModel = exports.ApiMethodSignature = exports.ApiMethod = exports.ApiInterface = exports.ApiIndexSignature = exports.ApiFunction = exports.EnumMemberOrder = exports.ApiEnumMember = exports.ApiEnum = exports.ApiEntryPoint = exports.ApiConstructSignature = exports.ApiConstructor = exports.ApiClass = exports.ApiCallSignature = exports.Excerpt = exports.ExcerptToken = exports.ExcerptTokenKind = exports.FindApiItemsMessageId = exports.ApiExportedMixin = exports.ApiInitializerMixin = exports.ApiReadonlyMixin = exports.ApiOptionalMixin = exports.ApiNameMixin = exports.ApiStaticMixin = exports.ApiReturnTypeMixin = exports.ApiReleaseTagMixin = exports.ApiProtectedMixin = exports.ApiItemContainerMixin = exports.ApiTypeParameterListMixin = exports.ApiParameterListMixin = exports.ApiPropertyItem = exports.ApiItem = exports.ApiItemKind = exports.ApiDocumentedItem = exports.ApiDeclaredItem = exports.ReleaseTag = exports.AedocDefinitions = void 0;
6
6
  /**
7
7
  * Use this library to read and write *.api.json files as defined by the
8
8
  * {@link https://api-extractor.com/ | API Extractor} tool. These files are used to generate a documentation
@@ -48,6 +48,8 @@ var ApiReadonlyMixin_1 = require("./mixins/ApiReadonlyMixin");
48
48
  Object.defineProperty(exports, "ApiReadonlyMixin", { enumerable: true, get: function () { return ApiReadonlyMixin_1.ApiReadonlyMixin; } });
49
49
  var ApiInitializerMixin_1 = require("./mixins/ApiInitializerMixin");
50
50
  Object.defineProperty(exports, "ApiInitializerMixin", { enumerable: true, get: function () { return ApiInitializerMixin_1.ApiInitializerMixin; } });
51
+ var ApiExportedMixin_1 = require("./mixins/ApiExportedMixin");
52
+ Object.defineProperty(exports, "ApiExportedMixin", { enumerable: true, get: function () { return ApiExportedMixin_1.ApiExportedMixin; } });
51
53
  var IFindApiItemsResult_1 = require("./mixins/IFindApiItemsResult");
52
54
  Object.defineProperty(exports, "FindApiItemsMessageId", { enumerable: true, get: function () { return IFindApiItemsResult_1.FindApiItemsMessageId; } });
53
55
  var Excerpt_1 = require("./mixins/Excerpt");
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA,4FAA4F;AAC5F,2DAA2D;;;AAE3D;;;;;;;GAOG;AAEH,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e,OAAA;AAC9D,mDAAuE;AAAzC,0GAAA,WAAW,OAAA;AACzC,+DAAyF;AAArD,sHAAA,iBAAiB,OAAA;AACrD,qDAA0E;AAA3C,4GAAA,YAAY,OAAA;AAC3C,+CAAiE;AAArC,sGAAA,SAAS,OAAA;AACrC,iEAA4F;AAAvD,wHAAA,kBAAkB,OAAA;AACvD,6CAA4C;AAAnC,oGAAA,QAAQ,OAAA;AACjB,qDAA0E;AAA3C,4GAAA,YAAY,OAAA;AAC3C,iDAA4F;AAA/D,wGAAA,UAAU,OAAA;AACvC,+CAAiE;AAArC,sGAAA,SAAS,OAAA;AACrC,mDAAuE;AAAzC,0GAAA,WAAW,OAAA;AACzC,qEAAkG;AAA3D,4HAAA,oBAAoB,OAAA;AAC3D,qDAA0E;AAA3C,4GAAA,YAAY,OAAA;AAC3C,uDAA6E;AAA7C,8GAAA,aAAa,OAAA;AAC7C,mDAAuE;AAAzC,0GAAA,WAAW,OAAA;AAEzC,qDAAoD;AAA3C,4GAAA,YAAY,OAAA","sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.\n// See LICENSE in the project root for license information.\n\n/**\n * Use this library to read and write *.api.json files as defined by the\n * {@link https://api-extractor.com/ | API Extractor} tool. These files are used to generate a documentation\n * website for your TypeScript package. The files store the API signatures and doc comments that were extracted\n * from your package.\n *\n * @packageDocumentation\n */\n\nexport { AedocDefinitions } from './aedoc/AedocDefinitions';\nexport { ReleaseTag } from './aedoc/ReleaseTag';\n\n// items\nexport { IApiDeclaredItemOptions, ApiDeclaredItem } from './items/ApiDeclaredItem';\nexport { IApiDocumentedItemOptions, ApiDocumentedItem } from './items/ApiDocumentedItem';\nexport { ApiItemKind, IApiItemOptions, ApiItem, IApiItemConstructor } from './items/ApiItem';\nexport { IApiPropertyItemOptions, ApiPropertyItem } from './items/ApiPropertyItem';\n\n// mixins\nexport {\n IApiParameterListMixinOptions,\n IApiParameterOptions,\n ApiParameterListMixin\n} from './mixins/ApiParameterListMixin';\nexport {\n IApiTypeParameterOptions,\n IApiTypeParameterListMixinOptions,\n ApiTypeParameterListMixin\n} from './mixins/ApiTypeParameterListMixin';\nexport { IApiItemContainerMixinOptions, ApiItemContainerMixin } from './mixins/ApiItemContainerMixin';\nexport { IApiProtectedMixinOptions, ApiProtectedMixin } from './mixins/ApiProtectedMixin';\nexport { IApiReleaseTagMixinOptions, ApiReleaseTagMixin } from './mixins/ApiReleaseTagMixin';\nexport { IApiReturnTypeMixinOptions, ApiReturnTypeMixin } from './mixins/ApiReturnTypeMixin';\nexport { IApiStaticMixinOptions, ApiStaticMixin } from './mixins/ApiStaticMixin';\nexport { IApiNameMixinOptions, ApiNameMixin } from './mixins/ApiNameMixin';\nexport { IApiOptionalMixinOptions, ApiOptionalMixin } from './mixins/ApiOptionalMixin';\nexport { IApiReadonlyMixinOptions, ApiReadonlyMixin } from './mixins/ApiReadonlyMixin';\nexport { IApiInitializerMixinOptions, ApiInitializerMixin } from './mixins/ApiInitializerMixin';\nexport {\n IFindApiItemsResult,\n IFindApiItemsMessage,\n FindApiItemsMessageId\n} from './mixins/IFindApiItemsResult';\n\nexport { ExcerptTokenKind, IExcerptTokenRange, IExcerptToken, ExcerptToken, Excerpt } from './mixins/Excerpt';\nexport { Constructor, PropertiesOf } from './mixins/Mixin';\n\n// model\nexport { IApiCallSignatureOptions, ApiCallSignature } from './model/ApiCallSignature';\nexport { IApiClassOptions, ApiClass } from './model/ApiClass';\nexport { IApiConstructorOptions, ApiConstructor } from './model/ApiConstructor';\nexport { IApiConstructSignatureOptions, ApiConstructSignature } from './model/ApiConstructSignature';\nexport { IApiEntryPointOptions, ApiEntryPoint } from './model/ApiEntryPoint';\nexport { IApiEnumOptions, ApiEnum } from './model/ApiEnum';\nexport { IApiEnumMemberOptions, ApiEnumMember, EnumMemberOrder } from './model/ApiEnumMember';\nexport { IApiFunctionOptions, ApiFunction } from './model/ApiFunction';\nexport { IApiIndexSignatureOptions, ApiIndexSignature } from './model/ApiIndexSignature';\nexport { IApiInterfaceOptions, ApiInterface } from './model/ApiInterface';\nexport { IApiMethodOptions, ApiMethod } from './model/ApiMethod';\nexport { IApiMethodSignatureOptions, ApiMethodSignature } from './model/ApiMethodSignature';\nexport { ApiModel } from './model/ApiModel';\nexport { IApiNamespaceOptions, ApiNamespace } from './model/ApiNamespace';\nexport { IApiPackageOptions, ApiPackage, IApiPackageSaveOptions } from './model/ApiPackage';\nexport { IParameterOptions, Parameter } from './model/Parameter';\nexport { IApiPropertyOptions, ApiProperty } from './model/ApiProperty';\nexport { IApiPropertySignatureOptions, ApiPropertySignature } from './model/ApiPropertySignature';\nexport { IApiTypeAliasOptions, ApiTypeAlias } from './model/ApiTypeAlias';\nexport { ITypeParameterOptions, TypeParameter } from './model/TypeParameter';\nexport { IApiVariableOptions, ApiVariable } from './model/ApiVariable';\nexport { IResolveDeclarationReferenceResult } from './model/ModelReferenceResolver';\nexport { HeritageType } from './model/HeritageType';\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA,4FAA4F;AAC5F,2DAA2D;;;AAE3D;;;;;;;GAOG;AAEH,6DAA4D;AAAnD,oHAAA,gBAAgB,OAAA;AACzB,iDAAgD;AAAvC,wGAAA,UAAU,OAAA;AAEnB,QAAQ;AACR,2DAAmF;AAAjD,kHAAA,eAAe,OAAA;AACjD,+DAAyF;AAArD,sHAAA,iBAAiB,OAAA;AACrD,2CAA6F;AAApF,sGAAA,WAAW,OAAA;AAAmB,kGAAA,OAAO,OAAA;AAC9C,2DAAmF;AAAjD,kHAAA,eAAe,OAAA;AAEjD,SAAS;AACT,wEAIwC;AADtC,8HAAA,qBAAqB,OAAA;AAEvB,gFAI4C;AAD1C,sIAAA,yBAAyB,OAAA;AAE3B,wEAAsG;AAA9D,8HAAA,qBAAqB,OAAA;AAC7D,gEAA0F;AAAtD,sHAAA,iBAAiB,OAAA;AACrD,kEAA6F;AAAxD,wHAAA,kBAAkB,OAAA;AACv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DAA0E;AAA3C,4GAAA,YAAY,OAAA;AAC3C,uDAA6E;AAA7C,8GAAA,aAAa,OAAA;AAC7C,mDAAuE;AAAzC,0GAAA,WAAW,OAAA;AAEzC,qDAAoD;AAA3C,4GAAA,YAAY,OAAA","sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.\n// See LICENSE in the project root for license information.\n\n/**\n * Use this library to read and write *.api.json files as defined by the\n * {@link https://api-extractor.com/ | API Extractor} tool. These files are used to generate a documentation\n * website for your TypeScript package. The files store the API signatures and doc comments that were extracted\n * from your package.\n *\n * @packageDocumentation\n */\n\nexport { AedocDefinitions } from './aedoc/AedocDefinitions';\nexport { ReleaseTag } from './aedoc/ReleaseTag';\n\n// items\nexport { IApiDeclaredItemOptions, ApiDeclaredItem } from './items/ApiDeclaredItem';\nexport { IApiDocumentedItemOptions, ApiDocumentedItem } from './items/ApiDocumentedItem';\nexport { ApiItemKind, IApiItemOptions, ApiItem, IApiItemConstructor } from './items/ApiItem';\nexport { IApiPropertyItemOptions, ApiPropertyItem } from './items/ApiPropertyItem';\n\n// mixins\nexport {\n IApiParameterListMixinOptions,\n IApiParameterOptions,\n ApiParameterListMixin\n} from './mixins/ApiParameterListMixin';\nexport {\n IApiTypeParameterOptions,\n IApiTypeParameterListMixinOptions,\n ApiTypeParameterListMixin\n} from './mixins/ApiTypeParameterListMixin';\nexport { IApiItemContainerMixinOptions, ApiItemContainerMixin } from './mixins/ApiItemContainerMixin';\nexport { IApiProtectedMixinOptions, ApiProtectedMixin } from './mixins/ApiProtectedMixin';\nexport { IApiReleaseTagMixinOptions, ApiReleaseTagMixin } from './mixins/ApiReleaseTagMixin';\nexport { IApiReturnTypeMixinOptions, ApiReturnTypeMixin } from './mixins/ApiReturnTypeMixin';\nexport { IApiStaticMixinOptions, ApiStaticMixin } from './mixins/ApiStaticMixin';\nexport { IApiNameMixinOptions, ApiNameMixin } from './mixins/ApiNameMixin';\nexport { IApiOptionalMixinOptions, ApiOptionalMixin } from './mixins/ApiOptionalMixin';\nexport { IApiReadonlyMixinOptions, ApiReadonlyMixin } from './mixins/ApiReadonlyMixin';\nexport { IApiInitializerMixinOptions, ApiInitializerMixin } from './mixins/ApiInitializerMixin';\nexport { IApiExportedMixinOptions, ApiExportedMixin } from './mixins/ApiExportedMixin';\nexport {\n IFindApiItemsResult,\n IFindApiItemsMessage,\n FindApiItemsMessageId\n} from './mixins/IFindApiItemsResult';\n\nexport { ExcerptTokenKind, IExcerptTokenRange, IExcerptToken, ExcerptToken, Excerpt } from './mixins/Excerpt';\nexport { Constructor, PropertiesOf } from './mixins/Mixin';\n\n// model\nexport { IApiCallSignatureOptions, ApiCallSignature } from './model/ApiCallSignature';\nexport { IApiClassOptions, ApiClass } from './model/ApiClass';\nexport { IApiConstructorOptions, ApiConstructor } from './model/ApiConstructor';\nexport { IApiConstructSignatureOptions, ApiConstructSignature } from './model/ApiConstructSignature';\nexport { IApiEntryPointOptions, ApiEntryPoint } from './model/ApiEntryPoint';\nexport { IApiEnumOptions, ApiEnum } from './model/ApiEnum';\nexport { IApiEnumMemberOptions, ApiEnumMember, EnumMemberOrder } from './model/ApiEnumMember';\nexport { IApiFunctionOptions, ApiFunction } from './model/ApiFunction';\nexport { IApiIndexSignatureOptions, ApiIndexSignature } from './model/ApiIndexSignature';\nexport { IApiInterfaceOptions, ApiInterface } from './model/ApiInterface';\nexport { IApiMethodOptions, ApiMethod } from './model/ApiMethod';\nexport { IApiMethodSignatureOptions, ApiMethodSignature } from './model/ApiMethodSignature';\nexport { ApiModel } from './model/ApiModel';\nexport { IApiNamespaceOptions, ApiNamespace } from './model/ApiNamespace';\nexport { IApiPackageOptions, ApiPackage, IApiPackageSaveOptions } from './model/ApiPackage';\nexport { IParameterOptions, Parameter } from './model/Parameter';\nexport { IApiPropertyOptions, ApiProperty } from './model/ApiProperty';\nexport { IApiPropertySignatureOptions, ApiPropertySignature } from './model/ApiPropertySignature';\nexport { IApiTypeAliasOptions, ApiTypeAlias } from './model/ApiTypeAlias';\nexport { ITypeParameterOptions, TypeParameter } from './model/TypeParameter';\nexport { IApiVariableOptions, ApiVariable } from './model/ApiVariable';\nexport { IResolveDeclarationReferenceResult } from './model/ModelReferenceResolver';\nexport { HeritageType } from './model/HeritageType';\n"]}
@@ -0,0 +1,83 @@
1
+ import { ApiItem, IApiItemJson, IApiItemConstructor, IApiItemOptions } from '../items/ApiItem';
2
+ /**
3
+ * Constructor options for {@link (IApiExportedMixinOptions:interface)}.
4
+ * @public
5
+ */
6
+ export interface IApiExportedMixinOptions extends IApiItemOptions {
7
+ isExported: boolean;
8
+ }
9
+ export interface IApiExportedMixinJson extends IApiItemJson {
10
+ isExported: boolean;
11
+ }
12
+ /**
13
+ * The mixin base class for API items that can be exported.
14
+ *
15
+ * @remarks
16
+ *
17
+ * This is part of the {@link ApiModel} hierarchy of classes, which are serializable representations of
18
+ * API declarations. The non-abstract classes (e.g. `ApiClass`, `ApiEnum`, `ApiInterface`, etc.) use
19
+ * TypeScript "mixin" functions (e.g. `ApiDeclaredItem`, `ApiItemContainerMixin`, etc.) to add various
20
+ * features that cannot be represented as a normal inheritance chain (since TypeScript does not allow a child class
21
+ * to extend more than one base class). The "mixin" is a TypeScript merged declaration with three components:
22
+ * the function that generates a subclass, an interface that describes the members of the subclass, and
23
+ * a namespace containing static members of the class.
24
+ *
25
+ * @public
26
+ */
27
+ export interface ApiExportedMixin extends ApiItem {
28
+ /**
29
+ * Whether the declaration is exported from its parent item container (i.e. either an `ApiEntryPoint` or an
30
+ * `ApiNamespace`).
31
+ *
32
+ * @remarks
33
+ * Suppose `index.ts` is your entry point:
34
+ *
35
+ * ```ts
36
+ * // index.ts
37
+ *
38
+ * export class A {}
39
+ * class B {}
40
+ *
41
+ * namespace n {
42
+ * export class C {}
43
+ * class D {}
44
+ * }
45
+ *
46
+ * // file.ts
47
+ * export class E {}
48
+ * ```
49
+ *
50
+ * Classes `A` and `C` are both exported, while classes `B`, `D`, and `E` are not. `E` is exported from its
51
+ * local file, but not from its parent item container (i.e. the entry point).
52
+ *
53
+ */
54
+ readonly isExported: boolean;
55
+ /** @override */
56
+ serializeInto(jsonObject: Partial<IApiItemJson>): void;
57
+ }
58
+ /**
59
+ * Mixin function for {@link (ApiExportedMixin:interface)}.
60
+ *
61
+ * @param baseClass - The base class to be extended
62
+ * @returns A child class that extends baseClass, adding the {@link (ApiExportedMixin:interface)} functionality.
63
+ *
64
+ * @public
65
+ */
66
+ export declare function ApiExportedMixin<TBaseClass extends IApiItemConstructor>(baseClass: TBaseClass): TBaseClass & (new (...args: any[]) => ApiExportedMixin);
67
+ /**
68
+ * Static members for {@link (ApiExportedMixin:interface)}.
69
+ * @public
70
+ */
71
+ export declare namespace ApiExportedMixin {
72
+ /**
73
+ * A type guard that tests whether the specified `ApiItem` subclass extends the `ApiExportedMixin` mixin.
74
+ *
75
+ * @remarks
76
+ *
77
+ * The JavaScript `instanceof` operator cannot be used to test for mixin inheritance, because each invocation of
78
+ * the mixin function produces a different subclass. (This could be mitigated by `Symbol.hasInstance`, however
79
+ * the TypeScript type system cannot invoke a runtime test.)
80
+ */
81
+ function isBaseClassOf(apiItem: ApiItem): apiItem is ApiExportedMixin;
82
+ }
83
+ //# sourceMappingURL=ApiExportedMixin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ApiExportedMixin.d.ts","sourceRoot":"","sources":["../../src/mixins/ApiExportedMixin.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAG/F;;;GAGG;AACH,MAAM,WAAW,wBAAyB,SAAQ,eAAe;IAC/D,UAAU,EAAE,OAAO,CAAC;CACrB;AAED,MAAM,WAAW,qBAAsB,SAAQ,YAAY;IACzD,UAAU,EAAE,OAAO,CAAC;CACrB;AAID;;;;;;;;;;;;;;GAcG;AAEH,MAAM,WAAW,gBAAiB,SAAQ,OAAO;IAC/C;;;;;;;;;;;;;;;;;;;;;;;;;OAyBG;IACH,QAAQ,CAAC,UAAU,EAAE,OAAO,CAAC;IAE7B,gBAAgB;IAChB,aAAa,CAAC,UAAU,EAAE,OAAO,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC;CACxD;AAED;;;;;;;GAOG;AACH,wBAAgB,gBAAgB,CAAC,UAAU,SAAS,mBAAmB,EACrE,SAAS,EAAE,UAAU,GAEpB,UAAU,GAAG,CAAC,KAAK,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,gBAAgB,CAAC,CAyCzD;AAED;;;GAGG;AACH,yBAAiB,gBAAgB,CAAC;IAChC;;;;;;;;OAQG;IACH,SAAgB,aAAa,CAAC,OAAO,EAAE,OAAO,GAAG,OAAO,IAAI,gBAAgB,CAE3E;CACF"}
@@ -0,0 +1,66 @@
1
+ "use strict";
2
+ // Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
3
+ // See LICENSE in the project root for license information.s
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.ApiExportedMixin = void 0;
6
+ const DeclarationReference_1 = require("@microsoft/tsdoc/lib-commonjs/beta/DeclarationReference");
7
+ const _isExported = Symbol('ApiExportedMixin._isExported');
8
+ /**
9
+ * Mixin function for {@link (ApiExportedMixin:interface)}.
10
+ *
11
+ * @param baseClass - The base class to be extended
12
+ * @returns A child class that extends baseClass, adding the {@link (ApiExportedMixin:interface)} functionality.
13
+ *
14
+ * @public
15
+ */
16
+ function ApiExportedMixin(baseClass
17
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
18
+ ) {
19
+ class MixedClass extends baseClass {
20
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
21
+ constructor(...args) {
22
+ super(...args);
23
+ const options = args[0];
24
+ this[_isExported] = options.isExported;
25
+ }
26
+ /** @override */
27
+ static onDeserializeInto(options, context, jsonObject) {
28
+ baseClass.onDeserializeInto(options, context, jsonObject);
29
+ const declarationReference = DeclarationReference_1.DeclarationReference.parse(jsonObject.canonicalReference);
30
+ options.isExported = declarationReference.navigation === "." /* Navigation.Exports */;
31
+ }
32
+ get isExported() {
33
+ return this[_isExported];
34
+ }
35
+ /**
36
+ * The `isExported` property is intentionally not serialized because the information is already present
37
+ * in the item's `canonicalReference`.
38
+ * @override
39
+ */
40
+ serializeInto(jsonObject) {
41
+ super.serializeInto(jsonObject);
42
+ }
43
+ }
44
+ return MixedClass;
45
+ }
46
+ exports.ApiExportedMixin = ApiExportedMixin;
47
+ /**
48
+ * Static members for {@link (ApiExportedMixin:interface)}.
49
+ * @public
50
+ */
51
+ (function (ApiExportedMixin) {
52
+ /**
53
+ * A type guard that tests whether the specified `ApiItem` subclass extends the `ApiExportedMixin` mixin.
54
+ *
55
+ * @remarks
56
+ *
57
+ * The JavaScript `instanceof` operator cannot be used to test for mixin inheritance, because each invocation of
58
+ * the mixin function produces a different subclass. (This could be mitigated by `Symbol.hasInstance`, however
59
+ * the TypeScript type system cannot invoke a runtime test.)
60
+ */
61
+ function isBaseClassOf(apiItem) {
62
+ return apiItem.hasOwnProperty(_isExported);
63
+ }
64
+ ApiExportedMixin.isBaseClassOf = isBaseClassOf;
65
+ })(ApiExportedMixin = exports.ApiExportedMixin || (exports.ApiExportedMixin = {}));
66
+ //# sourceMappingURL=ApiExportedMixin.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ApiExportedMixin.js","sourceRoot":"","sources":["../../src/mixins/ApiExportedMixin.ts"],"names":[],"mappings":";AAAA,4FAA4F;AAC5F,4DAA4D;;;AAE5D,kGAA2G;AAgB3G,MAAM,WAAW,GAAkB,MAAM,CAAC,8BAA8B,CAAC,CAAC;AAmD1E;;;;;;;GAOG;AACH,SAAgB,gBAAgB,CAC9B,SAAqB;AACrB,8DAA8D;;IAE9D,MAAM,UAAW,SAAQ,SAAS;QAGhC,8DAA8D;QAC9D,YAAmB,GAAG,IAAW;YAC/B,KAAK,CAAC,GAAG,IAAI,CAAC,CAAC;YAEf,MAAM,OAAO,GAA6B,IAAI,CAAC,CAAC,CAAC,CAAC;YAClD,IAAI,CAAC,WAAW,CAAC,GAAG,OAAO,CAAC,UAAU,CAAC;QACzC,CAAC;QAED,gBAAgB;QACT,MAAM,CAAC,iBAAiB,CAC7B,OAA0C,EAC1C,OAA4B,EAC5B,UAAiC;YAEjC,SAAS,CAAC,iBAAiB,CAAC,OAAO,EAAE,OAAO,EAAE,UAAU,CAAC,CAAC;YAE1D,MAAM,oBAAoB,GAAyB,2CAAoB,CAAC,KAAK,CAC3E,UAAU,CAAC,kBAAkB,CAC9B,CAAC;YACF,OAAO,CAAC,UAAU,GAAG,oBAAoB,CAAC,UAAU,iCAAuB,CAAC;QAC9E,CAAC;QAED,IAAW,UAAU;YACnB,OAAO,IAAI,CAAC,WAAW,CAAC,CAAC;QAC3B,CAAC;QAED;;;;WAIG;QACI,aAAa,CAAC,UAA0C;YAC7D,KAAK,CAAC,aAAa,CAAC,UAAU,CAAC,CAAC;QAClC,CAAC;KACF;IAED,OAAO,UAAU,CAAC;AACpB,CAAC;AA5CD,4CA4CC;AAED;;;GAGG;AACH,WAAiB,gBAAgB;IAC/B;;;;;;;;OAQG;IACH,SAAgB,aAAa,CAAC,OAAgB;QAC5C,OAAO,OAAO,CAAC,cAAc,CAAC,WAAW,CAAC,CAAC;IAC7C,CAAC;IAFe,8BAAa,gBAE5B,CAAA;AACH,CAAC,EAbgB,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAahC","sourcesContent":["// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.\n// See LICENSE in the project root for license information.s\n\nimport { DeclarationReference, Navigation } from '@microsoft/tsdoc/lib-commonjs/beta/DeclarationReference';\nimport { ApiItem, IApiItemJson, IApiItemConstructor, IApiItemOptions } from '../items/ApiItem';\nimport { DeserializerContext } from '../model/DeserializerContext';\n\n/**\n * Constructor options for {@link (IApiExportedMixinOptions:interface)}.\n * @public\n */\nexport interface IApiExportedMixinOptions extends IApiItemOptions {\n isExported: boolean;\n}\n\nexport interface IApiExportedMixinJson extends IApiItemJson {\n isExported: boolean;\n}\n\nconst _isExported: unique symbol = Symbol('ApiExportedMixin._isExported');\n\n/**\n * The mixin base class for API items that can be exported.\n *\n * @remarks\n *\n * This is part of the {@link ApiModel} hierarchy of classes, which are serializable representations of\n * API declarations. The non-abstract classes (e.g. `ApiClass`, `ApiEnum`, `ApiInterface`, etc.) use\n * TypeScript \"mixin\" functions (e.g. `ApiDeclaredItem`, `ApiItemContainerMixin`, etc.) to add various\n * features that cannot be represented as a normal inheritance chain (since TypeScript does not allow a child class\n * to extend more than one base class). The \"mixin\" is a TypeScript merged declaration with three components:\n * the function that generates a subclass, an interface that describes the members of the subclass, and\n * a namespace containing static members of the class.\n *\n * @public\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport interface ApiExportedMixin extends ApiItem {\n /**\n * Whether the declaration is exported from its parent item container (i.e. either an `ApiEntryPoint` or an\n * `ApiNamespace`).\n *\n * @remarks\n * Suppose `index.ts` is your entry point:\n *\n * ```ts\n * // index.ts\n *\n * export class A {}\n * class B {}\n *\n * namespace n {\n * export class C {}\n * class D {}\n * }\n *\n * // file.ts\n * export class E {}\n * ```\n *\n * Classes `A` and `C` are both exported, while classes `B`, `D`, and `E` are not. `E` is exported from its\n * local file, but not from its parent item container (i.e. the entry point).\n *\n */\n readonly isExported: boolean;\n\n /** @override */\n serializeInto(jsonObject: Partial<IApiItemJson>): void;\n}\n\n/**\n * Mixin function for {@link (ApiExportedMixin:interface)}.\n *\n * @param baseClass - The base class to be extended\n * @returns A child class that extends baseClass, adding the {@link (ApiExportedMixin:interface)} functionality.\n *\n * @public\n */\nexport function ApiExportedMixin<TBaseClass extends IApiItemConstructor>(\n baseClass: TBaseClass\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n): TBaseClass & (new (...args: any[]) => ApiExportedMixin) {\n class MixedClass extends baseClass implements ApiExportedMixin {\n public [_isExported]: boolean;\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n public constructor(...args: any[]) {\n super(...args);\n\n const options: IApiExportedMixinOptions = args[0];\n this[_isExported] = options.isExported;\n }\n\n /** @override */\n public static onDeserializeInto(\n options: Partial<IApiExportedMixinOptions>,\n context: DeserializerContext,\n jsonObject: IApiExportedMixinJson\n ): void {\n baseClass.onDeserializeInto(options, context, jsonObject);\n\n const declarationReference: DeclarationReference = DeclarationReference.parse(\n jsonObject.canonicalReference\n );\n options.isExported = declarationReference.navigation === Navigation.Exports;\n }\n\n public get isExported(): boolean {\n return this[_isExported];\n }\n\n /**\n * The `isExported` property is intentionally not serialized because the information is already present\n * in the item's `canonicalReference`.\n * @override\n */\n public serializeInto(jsonObject: Partial<IApiExportedMixinJson>): void {\n super.serializeInto(jsonObject);\n }\n }\n\n return MixedClass;\n}\n\n/**\n * Static members for {@link (ApiExportedMixin:interface)}.\n * @public\n */\nexport namespace ApiExportedMixin {\n /**\n * A type guard that tests whether the specified `ApiItem` subclass extends the `ApiExportedMixin` mixin.\n *\n * @remarks\n *\n * The JavaScript `instanceof` operator cannot be used to test for mixin inheritance, because each invocation of\n * the mixin function produces a different subclass. (This could be mitigated by `Symbol.hasInstance`, however\n * the TypeScript type system cannot invoke a runtime test.)\n */\n export function isBaseClassOf(apiItem: ApiItem): apiItem is ApiExportedMixin {\n return apiItem.hasOwnProperty(_isExported);\n }\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"ApiItemContainerMixin.d.ts","sourceRoot":"","sources":["../../src/mixins/ApiItemContainerMixin.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,OAAO,EAEP,YAAY,EACZ,eAAe,EACf,mBAAmB,EAEpB,MAAM,kBAAkB,CAAC;AAO1B,OAAO,EAAE,mBAAmB,EAA+C,MAAM,uBAAuB,CAAC;AAMzG;;;GAGG;AACH,MAAM,WAAW,6BAA8B,SAAQ,eAAe;IACpE,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,OAAO,CAAC,EAAE,OAAO,EAAE,CAAC;CACrB;AAED,MA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AK,qBAAqB,CAAC,CAkV9D;AAED;;;GAGG;AACH,yBAAiB,qBAAqB,CAAC;IACrC;;;;;;;;OAQG;IACH,SAAgB,aAAa,CAAC,OAAO,EAAE,OAAO,GAAG,OAAO,IAAI,qBAAqB,CAEhF;CACF"}
@@ -53,7 +53,7 @@ function ApiItemContainerMixin(baseClass
53
53
  /** @override */
54
54
  get members() {
55
55
  if (!this[_membersSorted] && !this[_preserveMemberOrder]) {
56
- node_core_library_1.LegacyAdapters.sortStable(this[_members], (x, y) => x.getSortKey().localeCompare(y.getSortKey()));
56
+ this[_members].sort((x, y) => x.getSortKey().localeCompare(y.getSortKey()));
57
57
  this[_membersSorted] = true;
58
58
  }
59
59
  return this[_members];
@@ -223,7 +223,7 @@ function ApiItemContainerMixin(baseClass
223
223
  //
224
224
  // interface FooBar extends Foo, Bar {}
225
225
  // ```
226
- node_core_library_1.LegacyAdapters.sortStable(extendedItems, (x, y) => x.getSortKey().localeCompare(y.getSortKey()));
226
+ extendedItems.sort((x, y) => x.getSortKey().localeCompare(y.getSortKey()));
227
227
  toVisit.push(...extendedItems);
228
228
  next = toVisit.shift();
229
229
  }
@@ -234,7 +234,7 @@ function ApiItemContainerMixin(baseClass
234
234
  for (const members of membersByKind.values()) {
235
235
  items.push(...members);
236
236
  }
237
- node_core_library_1.LegacyAdapters.sortStable(items, (x, y) => x.getSortKey().localeCompare(y.getSortKey()));
237
+ items.sort((x, y) => x.getSortKey().localeCompare(y.getSortKey()));
238
238
  return {
239
239
  items,
240
240
  messages,