Kind: Class
Source: atloria-monorepo/libs/parser-core/src/generators/versioning/visibility-filter.ts
Methods
| Method | Signature | Returns |
|---|---|---|
filter | filter(entities: Entity[], config: VisibilityFilterConfig) | FilteredEntities |
generateFilterUI | generateFilterUI(config: VisibilityFilterConfig) | string |
generateFrontmatter | generateFrontmatter(entity: Entity) | Record<string, unknown> |
Where it refuses work
VisibilityFilterstops the work with an early return whenmetadata?.['deprecated'] === true || description.includes('@deprecated'), in 2 places.VisibilityFilterstops the work with an early return whenconfig.customFilter && !config.customFilter(entity).VisibilityFilterstops the work with an early return whenmetadata?.['access'] === 'private' || tags.includes('private').VisibilityFilterstops the work with an early return whenmetadata?.['internal'] === true || description.includes('@internal').VisibilityFilterstops the work with an early return whenmetadata?.['access'] === 'protected' || tags.includes('protected').VisibilityFilterstops the work with an early return whenstability === 'alpha' || tags.includes('alpha').
Was this page helpful?