Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1
import
path from
'path'
;
2
import
{ readFile } from
'fs/promises'
;
3
import
{ availableLangs } from
'@freecodecamp/shared/config/i18n'
;
4
import
introSchema from
'./locales/english/intro.json'
;
Callers
nothing calls this directly
Calls
6
flattenAnObject
Function · 0.85
translationSchemaValidation
Function · 0.85
motivationSchemaValidation
Function · 0.85
introSchemaValidation
Function · 0.85
metaTagsSchemaValidation
Function · 0.85
linksSchemaValidation
Function · 0.85
Tested by
no test coverage detected