graycoreio/daffodil

View on GitHub
libs/docs-utils/src/kind/path-segment-map.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { DaffDocKind } from './enum';

export const DAFF_DOC_KIND_PATH_SEGMENT_MAP = <const>{
  [DaffDocKind.GUIDE]: 'guides',
  [DaffDocKind.EXPLANATION]: 'explanations',
  [DaffDocKind.PACKAGE]: 'packages',
  [DaffDocKind.API]: 'api',
  [DaffDocKind.EXAMPLE]: 'examples',
  [DaffDocKind.COMPONENT]: 'components',
};