- Step 10: Extended file upload for Excel/CSV/images/URLs (openpyxl, trafilatura) - Step 11: Content intelligence service with rule-based + LLM classification - Step 12: Slide mapping engine mapping content blocks to master deck layouts - Step 13: Chart data extractor, native PPTX chart service (bar/line/pie/gantt/waterfall), ChartDataEditor skeleton Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
31 lines
828 B
Python
31 lines
828 B
Python
PDF_MIME_TYPES = ["application/pdf"]
|
|
TEXT_MIME_TYPES = ["text/plain"]
|
|
POWERPOINT_TYPES = [
|
|
"application/vnd.openxmlformats-officedocument.presentationml.presentation"
|
|
]
|
|
WORD_TYPES = [
|
|
"application/msword",
|
|
"application/vnd.openxmlformats-officedocument.wordprocessingml.document",
|
|
]
|
|
SPREADSHEET_TYPES = ["text/csv", "application/csv"]
|
|
EXCEL_TYPES = [
|
|
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
|
|
"application/vnd.ms-excel",
|
|
]
|
|
IMAGE_UPLOAD_TYPES = ["image/png", "image/jpeg", "image/webp", "image/gif"]
|
|
|
|
|
|
PNG_MIME_TYPES = ["image/png"]
|
|
JPEG_MIME_TYPES = ["image/jpeg"]
|
|
WEBP_MIME_TYPES = ["image/webp"]
|
|
|
|
|
|
UPLOAD_ACCEPTED_FILE_TYPES = (
|
|
PDF_MIME_TYPES
|
|
+ TEXT_MIME_TYPES
|
|
+ POWERPOINT_TYPES
|
|
+ WORD_TYPES
|
|
+ SPREADSHEET_TYPES
|
|
+ EXCEL_TYPES
|
|
+ IMAGE_UPLOAD_TYPES
|
|
)
|