Apply wahoo-route-update: PUT on re-push instead of duplicate POST
Re-pushing an edited route to Wahoo now updates the existing remote route via PUT against the stored remote_id instead of POSTing a new copy. external_id drops the version suffix and identifies the logical route. sync_pushes is keyed by (user, route, provider) and tracks last_pushed_version for the "local newer" UI state. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
parent
4853a116ff
commit
db3eeed60f
14 changed files with 435 additions and 99 deletions
|
|
@ -18,6 +18,7 @@
|
|||
"test:e2e:ui": "playwright test --ui",
|
||||
"typecheck": "turbo typecheck",
|
||||
"db:push": "drizzle-kit push --config packages/db/drizzle.config.ts --force",
|
||||
"db:migrate-data": "tsx packages/db/src/migrate-data.ts",
|
||||
"db:studio": "drizzle-kit studio --config packages/db/drizzle.config.ts",
|
||||
"dev:services": "docker compose -f docker-compose.dev.yml up -d",
|
||||
"dev:full": "./scripts/dev.sh",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue