* Support importing .docx as new documents * Add html file support, build types and interface for easily adding file types to importer * fix: Upload embedded images in docx to storage * refactor: Bulk of logic to command * refactor: Do all importing on server, so we're not splitting logic for import into two places * test: Add documentImporter tests Co-authored-by: Lance Whatley <whatl3y@gmail.com>
6 lines
216 B
JavaScript
6 lines
216 B
JavaScript
/* eslint-disable flowtype/require-valid-file-annotation */
|
|
|
|
export const uploadToS3FromBuffer = jest.fn().mockReturnValue("/endpoint/key");
|
|
|
|
export const publicS3Endpoint = jest.fn().mockReturnValue("http://mock");
|