feat(frontend): add typed backend API client (openapi-fetch) with codegen script

This commit is contained in:
2026-07-06 01:52:25 +02:00
parent dadeac3571
commit 72a7d13f6d
6 changed files with 57 additions and 1 deletions
+16
View File
@@ -10,6 +10,7 @@
"dependencies": {
"@sveltejs/adapter-node": "^5.5.7",
"jose": "^6.2.3",
"openapi-fetch": "^0.17.0",
"openid-client": "^6.8.4"
},
"devDependencies": {
@@ -1834,6 +1835,21 @@
"node": ">=12.20.0"
}
},
"node_modules/openapi-fetch": {
"version": "0.17.0",
"resolved": "https://registry.npmjs.org/openapi-fetch/-/openapi-fetch-0.17.0.tgz",
"integrity": "sha512-PsbZR1wAPcG91eEthKhN+Zn92FMHxv+/faECIwjXdxfTODGSGegYv0sc1Olz+HYPvKOuoXfp+0pA2XVt2cI0Ig==",
"license": "MIT",
"dependencies": {
"openapi-typescript-helpers": "^0.1.0"
}
},
"node_modules/openapi-typescript-helpers": {
"version": "0.1.0",
"resolved": "https://registry.npmjs.org/openapi-typescript-helpers/-/openapi-typescript-helpers-0.1.0.tgz",
"integrity": "sha512-OKTGPthhivLw/fHz6c3OPtg72vi86qaMlqbJuVJ23qOvQ+53uw1n7HdmkJFibloF7QEjDrDkzJiOJuockM/ljw==",
"license": "MIT"
},
"node_modules/openid-client": {
"version": "6.8.4",
"resolved": "https://registry.npmjs.org/openid-client/-/openid-client-6.8.4.tgz",