Working file export; need to test out error handling and flows

This commit is contained in:
efarooqui
2021-02-09 15:38:54 -08:00
parent fb77e1c365
commit 7c963eb1d0
5 changed files with 26 additions and 17 deletions

View File

@@ -1,7 +1,11 @@
export default {
errors: {
update: 'The server could not update. Check your API credentials and internet connection and try again.',
export: 'The server could not export. Check that you provided a file path to export to and try again.',
export: {
fileMissing: 'The server could not export. Check that you provided a file path to export to and try again.',
writeFailed: 'The server could not export the data to the file. There is an issue with the data format'
},
exportFileMissing: 'The server could not export. Check that you provided a file path to export to and try again.',
onlySheet: 'You cannot query a sheet directly. The URL needs to be in the format /:sheet/:tab/:resource.',
onlyTab: 'You cannot query a tab directly. The URL needs to be in the format /:sheet/:tab/:resource.',
noSheet: sheet => `The sheet ${sheet} is not available in this server.`,