feat: admin OpenAPI type generation (gen:api) + envelope/entity types

This commit is contained in:
2026-07-07 22:07:05 +08:00
parent 2cdb4c5a23
commit 95a3dee29f
3 changed files with 4361 additions and 2 deletions

View File

@ -10,7 +10,8 @@
"generate-routes": "tsr generate",
"build": "vite build",
"preview": "vite preview",
"test": "vitest run"
"test": "vitest run",
"gen:api": "openapi-typescript ../gig-platform/public/api-docs/admin/openapi.yaml -o src/api/types.gen.ts"
},
"dependencies": {
"@hookform/resolvers": "^5.4.0",
@ -64,4 +65,4 @@
"lightningcss"
]
}
}
}