mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 00:53:31 +01:00
feat(api-extractor): support multiple entrypoints (#10829)
* feat(api-extractor): support multiple entrypoints * chore: initial support in generateSplitDocumentation * chore: bring in line with upstream * refactor: multiple entrypoints in scripts * fix: split docs * feat: website * fix: docs failing on next * fix: don't include dtypes for now * refactor: don't fetch entrypoint if there is none --------- Co-authored-by: iCrawl <buechler.noel@outlook.com>
This commit is contained in:
@@ -8,10 +8,10 @@ import type { AstSymbol } from './AstSymbol.js';
|
||||
/**
|
||||
* Represents information collected by {@link AstSymbolTable.fetchAstModuleExportInfo}
|
||||
*/
|
||||
export class AstModuleExportInfo {
|
||||
public readonly exportedLocalEntities: Map<string, AstEntity> = new Map<string, AstEntity>();
|
||||
|
||||
public readonly starExportedExternalModules: Set<AstModule> = new Set<AstModule>();
|
||||
export interface IAstModuleExportInfo {
|
||||
readonly exportedLocalEntities: Map<string, AstEntity>;
|
||||
readonly starExportedExternalModules: Set<AstModule>;
|
||||
readonly visitedAstModules: Set<AstModule>;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -64,7 +64,7 @@ export class AstModule {
|
||||
/**
|
||||
* Additional state calculated by `AstSymbolTable.fetchWorkingPackageModule()`.
|
||||
*/
|
||||
public astModuleExportInfo: AstModuleExportInfo | undefined;
|
||||
public astModuleExportInfo: IAstModuleExportInfo | undefined;
|
||||
|
||||
public constructor(options: IAstModuleOptions) {
|
||||
this.sourceFile = options.sourceFile;
|
||||
|
||||
Reference in New Issue
Block a user