MCPcopy Create free account
hub / github.com/freeCodeCamp/freeCodeCamp / schema-validation.ts

File schema-validation.ts

client/i18n/schema-validation.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import path from 'path';
2import { readFile } from 'fs/promises';
3import { availableLangs } from '@freecodecamp/shared/config/i18n';
4import introSchema from './locales/english/intro.json';

Callers

nothing calls this directly

Calls 6

flattenAnObjectFunction · 0.85
introSchemaValidationFunction · 0.85
metaTagsSchemaValidationFunction · 0.85
linksSchemaValidationFunction · 0.85

Tested by

no test coverage detected