All files / src/content/diagrams index.ts

100% Statements 1/1
100% Branches 0/0
100% Functions 0/0
100% Lines 1/1

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18                    4x              
/**
 * The Mermaid charts of the hand-written docs pages, by id (ADR-071).
 * localizedChart(id, lang) in @/lib/i18n/diagrams picks the language. A
 * translator adds a language to a chart's own module and never edits this
 * file; a new chart is one module and one line here.
 */
import qualityGatesPipeline from "./quality-gates-pipeline";
import userGuideCompliance from "./user-guide-compliance";
import userGuideWorkflow from "./user-guide-workflow";
 
export const DIAGRAMS = {
  "quality-gates-pipeline": qualityGatesPipeline,
  "user-guide-compliance": userGuideCompliance,
  "user-guide-workflow": userGuideWorkflow,
};
 
export type ChartId = keyof typeof DIAGRAMS;