- 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. |
||
|---|---|---|
| .. | ||
| actions | ||
| api | ||
| fonts | ||
| note | ||
| tmpl | ||
| wordaddin | ||
| globals.css | ||
| layout.tsx | ||
| page.tsx | ||