-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor and better organization server functions (#23)
* refactor and better organization server functions * 1.1.3
- Loading branch information
1 parent
5c9ba5e
commit d75ee02
Showing
11 changed files
with
236 additions
and
229 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import { getSheetById } from './utils'; | ||
|
||
export const fireColumns = [ | ||
'ref', | ||
'iban', | ||
'date', | ||
'amount', | ||
'balance', | ||
'contra_account', | ||
'description', | ||
'satisfaction', | ||
'icon', | ||
'category', | ||
'label', | ||
'hours', | ||
'contra_iban', | ||
'disabled', | ||
'currency', | ||
]; | ||
|
||
export const SOURCE_SHEET_ID = 1093484485; | ||
export const FireSpreadsheet = SpreadsheetApp.getActiveSpreadsheet(); | ||
export const sheets = FireSpreadsheet.getSheets(); | ||
export const sourceSheet = getSheetById(SOURCE_SHEET_ID); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
// Functions to setup the initial UI | ||
export { onOpen, fileUploadDialog, openAboutDialog } from './ui'; | ||
|
||
export { | ||
generatePreview, | ||
getStrategyOptions, | ||
processCSV, | ||
} from './remote-calls'; | ||
// Remote procedure calls made by the client UI executed on the server | ||
export { getStrategyOptions, processCSV } from './remote-calls'; | ||
|
||
// Custom functions that can be used within the Spreadsheet UI | ||
export { IMPORTJSON, MD5 } from './exposed_functions'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.