-
Notifications
You must be signed in to change notification settings - Fork 441
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(integration-templates): improve google-drive templates #2727
feat(integration-templates): improve google-drive templates #2727
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. I'm wondering what happen in the UI if you have fetch-pdf enabled
|
||
export const mimeTypeMapping: Record<string, MimeTypeMapping> = { | ||
// Documents | ||
'application/vnd.google-apps.document': { mimeType: 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', responseType: 'text' }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
where does this mapping and the one below come from?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
application/vnd.google-apps.document
: This is a MIME type used by Google Drive to represent Google Docs documents.mimeType
:application/vnd.openxmlformats-officedocument.wordprocessingml.document
specifies the desired MIME type for the converted file, which is the standard MIME type for Microsoft Word documents in the Office Open XML format.
Describe your changes
google-drive
integration templatesIssue ticket number and link
EXT-145