eCourt-note/wordaddin/services
Suphonchai Phoonsawat 0b2c9e6343
All checks were successful
Deploy eCourt Note Web to Server / Validate Database Schema (Drizzle) (push) Successful in 3s
Deploy eCourt Note Web to Server / Build Web Docker Image (push) Successful in 1m9s
Deploy eCourt Note Web to Server / Deploy eCourt Note Web to Server (push) Successful in 4s
Deploy eCourt Note Web to Server / Notify Deployment Status (push) Successful in 1s
feat(docver): derive docId from fid claim and drop [docId] URL segment
- docId of every docver operation now comes from the Bearer token: the fid
  claim (e-Court fileId) is used directly as docId; segment [docId] removed
  from URLs — POST/GET /api/documents/versions and
  GET /api/documents/versions/{versionId}/download-link
- fid is required and must be a string (trim 1-200): token issuance rejects
  missing/blank/non-string fid with 400, verify rejects fid-less tokens with 401
- parseDocId removed from lib/document-versioning.ts (dead code, no callers)
- openapi spec: paths renamed, docId path params removed, fid required + string
- PLAN-DOCVER.md / CLAUDE.md / wordaddin versioningService comment updated
- tests: fid required/string cases added, parseDocId describe removed (256 pass)

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-10-26 10:05:01 +07:00
..
apiClient.ts feat(wordaddin): port Word add-in taskpane from poc 2026-10-16 12:07:25 +07:00
authService.ts feat(wordaddin): add e-Court pass-through sign-in 2026-10-16 13:06:28 +07:00
autoSaveService.ts feat(wordaddin): port Word add-in taskpane from poc 2026-10-16 12:07:25 +07:00
documentService.ts feat(wordaddin): port Word add-in taskpane from poc 2026-10-16 12:07:25 +07:00
errors.ts feat(wordaddin): add template tools tab 2026-10-20 09:49:17 +07:00
fileService.ts feat(wordaddin): port Word add-in taskpane from poc 2026-10-16 12:07:25 +07:00
metadataService.ts feat(wordaddin): add e-Court pass-through sign-in 2026-10-16 13:06:28 +07:00
templateService.ts feat(wordaddin): add template tools tab 2026-10-20 09:49:17 +07:00
versionFlow.ts feat(wordaddin): port Word add-in taskpane from poc 2026-10-16 12:07:25 +07:00
versioningService.ts feat(docver): derive docId from fid claim and drop [docId] URL segment 2026-10-26 10:05:01 +07:00