refactor(api)!: align client with canonical HTTP contract
Route all feature requests through business API modules, sync generated DTOs, and add communication tests and architecture documentation. BREAKING CHANGE: migrate the client to plural resource paths, canonical snake_case fields, ISO timestamps, and explicit paginated responses.
This commit is contained in:
+5
-2
@@ -10,10 +10,13 @@
|
||||
"format": "prettier --write .",
|
||||
"format:check": "prettier --check .",
|
||||
"typecheck": "vue-tsc -b",
|
||||
"check": "npm run lint && npm run format:check && npm run check:styles && npm run typecheck",
|
||||
"check": "npm run lint && npm run format:check && npm run check:styles && npm run typecheck && npm test",
|
||||
"check:styles": "node scripts/check-style-system.mjs",
|
||||
"build": "vue-tsc -b && vite build",
|
||||
"preview": "vite preview"
|
||||
"preview": "vite preview",
|
||||
"api:sync": "node scripts/sync-api-contract.mjs",
|
||||
"api:check": "node scripts/sync-api-contract.mjs --check",
|
||||
"test": "node --import ./scripts/test-resolver.mjs --test tests/*.test.mjs"
|
||||
},
|
||||
"dependencies": {
|
||||
"@amap/amap-jsapi-loader": "^1.0.1",
|
||||
|
||||
Reference in New Issue
Block a user