mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-06-03 03:31:09 +02:00
19 lines
568 B
Python
19 lines
568 B
Python
from enum import Enum
|
|
from typing import Any
|
|
|
|
|
|
class GDriveMimeType(str, Enum):
|
|
DOC = "application/vnd.google-apps.document"
|
|
SPREADSHEET = "application/vnd.google-apps.spreadsheet"
|
|
PDF = "application/pdf"
|
|
WORD_DOC = "application/vnd.openxmlformats-officedocument.wordprocessingml.document"
|
|
PPT = "application/vnd.google-apps.presentation"
|
|
POWERPOINT = (
|
|
"application/vnd.openxmlformats-officedocument.presentationml.presentation"
|
|
)
|
|
PLAIN_TEXT = "text/plain"
|
|
MARKDOWN = "text/markdown"
|
|
|
|
|
|
GoogleDriveFileType = dict[str, Any]
|