Skip to content

detectNamingSchemas

reference
1 min readUpdated

Kind: Function

Source: atloria-monorepo/libs/parser-core/src/techdocs/naming-schemas.ts

The naming conventions a corpus actually follows, most populous first.

total is the population the share cap is measured against — pass the full entity count so a convention is judged against the whole codebase and not against the slice being rendered.

Signature

ts
function detectNamingSchemas(entities: Entity[], total): NamingSchema[]

Parameters

NameType
entitiesEntity[]
totalany

Returns: NamingSchema[]

Was this page helpful?

Download as PDF