eCourt-note/app/api/template
Suphonchai Phoonsawat cdae1ceedd Refactor document versioning to extract fields from uploaded .docx files on the server side
- Removed the `fields` parameter from the version upload form, as it is now extracted from the uploaded .docx file using the `extractContentControls` function.
- Updated related types and interfaces to reflect the new structure of version fields.
- Modified the OpenAPI specification to document the changes in the versioning process.
- Adjusted tests to ensure compliance with the new behavior, including validation for the absence of the `fields` parameter.
- Implemented a new function `extractDocumentSnapshot` to handle the extraction of content controls and document properties from .docx files.
- Updated metadata and versioning services to align with the new extraction logic.
2026-10-31 10:21:17 +07:00
..
download-docx Fix Link bug: Replace <a> with <Link> and add more demo page(dl.html) 2026-10-27 13:24:15 +07:00
extract Refactor document versioning to extract fields from uploaded .docx files on the server side 2026-10-31 10:21:17 +07:00
generate Fix Link bug: Replace <a> with <Link> and add more demo page(dl.html) 2026-10-27 13:24:15 +07:00
render Fix build time fail: export applyTemplate not compatible with Next.js(move to lib-tmpl), add var in .env.example 2026-10-27 10:15:35 +07:00
test Add generate API, Prototype for developer, Clean data 2026-10-27 01:47:08 +07:00