feat: 리소스 스키마 및 검증 스크립트 추가, 기존 스키마 파일 삭제

This commit is contained in:
2026-01-18 08:49:19 +00:00
parent 2f05e5a1e1
commit cbe960364d
7 changed files with 30 additions and 10 deletions
@@ -24,7 +24,7 @@ const RESOURCE_SCHEMAS: Record<string, (value: unknown) => void> = {
const listJsonFiles = async (dirPath: string): Promise<string[]> => {
const entries = await fs.readdir(dirPath, { withFileTypes: true });
return entries
.filter((entry) => entry.isFile() && entry.name.endsWith('.json') && entry.name !== 'schema.json')
.filter((entry) => entry.isFile() && entry.name.endsWith('.json'))
.map((entry) => entry.name)
.sort((a, b) => a.localeCompare(b));
};