mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-04 20:59:44 +08:00
# Conflicts: # deeptutor/api/router_index.json # web/locales/de/app.json # web/locales/en/app.json # web/locales/fr/app.json # web/locales/hu/app.json # web/locales/it/app.json # web/locales/ja/app.json # web/locales/ko/app.json # web/locales/pl/app.json # web/locales/pt/app.json # web/locales/tr/app.json # web/locales/uk/app.json # web/locales/vi/app.json # web/locales/zh/app.json
Generated frontend contracts
The backend owns the wire contract. Do not edit files under schema/ or
generated/ by hand.
From the repository root, refresh both layers after a backend contract change:
python scripts/export_frontend_contracts.py
cd web && npm run contracts:generate
CI runs python scripts/export_frontend_contracts.py --check in backend contract
tests and npm run contracts:check before frontend typechecking. A drift failure
means the committed artifacts must be regenerated with the commands above.