Export data to excel
Issue: https://github.com/podkrepi-bg/frontend/issues/700
- Add Export module.
- Export service to be used around the app in different services that would require exporting.
- There is an option to specify everything about the template in a single JSON or you could use a default setup with all columns from the data provided for exporting.
- Add new dependency: https://github.com/exceljs/exceljs
- Use types for the exportable data and add types for the template as well
❌ Not all tests have run for this PR. Please add the run tests label to trigger them.
@kachar yes will do I had a merge conflict on it and probably I didn't resolve it right
@AndreyGoranov You can delete the local file and run yarn to regenerate it.
I hope you're using yarn 3 (yarn set version berry)
@AndreyGoranov I think this yarn update has messed up the versions of a couple of dependencies, for example, @prisma/client has been updated from 4.3.1 to 4.7.1 because it's defined with ^ prefix in package.json

@kachar I think its ok now ?
@AndreyGoranov Can you please create a PR with the update that @igoychev mentioned above?
@kachar https://github.com/podkrepi-bg/api/pull/396