TypeScript 5.9 erasableSyntaxOnly rejects enum declarations in .ts files (they emit runtime code). Switch protoc-gen-es from target=ts to target=js+dts which generates .js runtime + .d.ts type declarations. Also fix type mismatches in useApi.ts (OrderSide/OrderType enum types, StartBacktestRequest field mapping) and MLDashboard signal defaulting. Add web-dashboard network policy for MinIO egress + proxy ingress. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
8 lines
118 B
YAML
8 lines
118 B
YAML
version: v2
|
|
plugins:
|
|
- local: protoc-gen-es
|
|
out: src/gen
|
|
opt: target=js+dts
|
|
inputs:
|
|
- directory: ../proto
|