Kind: Class
Source: atloria-monorepo/packages/doc-automation/src/v2/stages/stage-03-features/cross-stack-mapper.ts
Cross-Stack Mapper
Maps frontend to backend features to understand full-stack data flow.
Implements: ICrossStackMapper
Methods
| Method | Signature | Returns |
|---|---|---|
mapCrossStackFeatures | mapCrossStackFeatures(chunks: Chunk[], features: UserFeature[]) | CrossStackMappingResult |
Where it refuses work
CrossStackMapperstops the work with an early return whennormalizedApiPath === normalizedEndpoint.CrossStackMapperstops the work with an early return whenthis.pathsMatchWithParams(normalizedApiPath, normalizedEndpoint).CrossStackMapperstops the work with an early return whennormalizedApiPath.endsWith(normalizedEndpoint).CrossStackMapperstops the work with an early return whenapiParts.length !== endpointParts.length.CrossStackMapperstops the work with an early return whenapiPart !== endpointPart.CrossStackMapperstops the work with an early return whenseen.has(a.name).
Was this page helpful?