7699ac7139
Gitea Auto Deploy / Deploy-Container (push) Successful in 49s
- Reformatted multiple TypeScript interfaces across various files to ensure consistent spacing and indentation. - Updated `changelog.ts`, `enka.ts`, `extraData.ts`, `gloval.d.ts`, `index.ts`, `lightconeDetail.ts`, `metaData.ts`, `mics.ts`, `modelConfig.ts`, `monsterDetail.ts`, `peakDetail.ts`, `pfDetail.ts`, `psConnect.ts`, `relicDetail.ts`, `showcase.ts`, `srtools.ts`, and `zod/index.ts` for improved code clarity. - Ensured all interfaces are properly formatted with consistent line breaks and spacing. - Made minor adjustments to the `tsconfig.json` file for formatting consistency.
14 lines
344 B
Batchfile
14 lines
344 B
Batchfile
@echo off
|
|
echo [INFO] Create folder src\zod if not exist...
|
|
if not exist src\zod (
|
|
mkdir src\zod
|
|
)
|
|
|
|
echo [INFO] Start convert file .ts from src\types to Zod schemas...
|
|
for %%f in (src\types\*.ts) do (
|
|
echo [ZOD] Chuyển %%f -> src\zod\%%~nf.zod.ts
|
|
npx ts-to-zod src\types\%%~nxf src\zod\%%~nf.zod.ts
|
|
)
|
|
|
|
echo [DONE] ✅ Done
|