quick export WIP

This commit is contained in:
Jan Prochazka
2021-06-03 20:58:38 +02:00
parent 6362e2137b
commit 6b8bf8161e
6 changed files with 197 additions and 90 deletions

View File

@@ -43,4 +43,29 @@ const fileFormat = {
export default {
fileFormats: [fileFormat],
quickExports: [
{
label: 'CSV file',
extension: 'csv',
createWriter: (fileName) => ({
functionName: 'writer',
props: {
fileName,
delimiter: ',',
},
}),
},
{
label: 'CSV file (semicolor separated)',
extension: 'csv',
createWriter: (fileName) => ({
functionName: 'writer',
props: {
fileName,
delimiter: ';',
},
}),
},
],
};