Commit Graph

12 Commits

Author SHA1 Message Date
Lachlan Kermode
6c090549c7 Add blueprinterWithSchema exporter 2021-05-17 16:01:18 +12:00
SAM LUDFORD
9deb5aae3f multiple resources collapsed into single blueprint 2019-05-23 11:43:10 +01:00
Lachlan Kermode
df239c8f58 rm debugging logic 2018-12-13 15:59:03 +00:00
Lachlan Kermode
5431b2be3f abstract generic logic from blueprinters to blueprinters.js
The logic in the files in the 'blueprinters' folder is now _only_ the data transformation logic. Instead of taking in arguments like the sheetId, the tabName, and the sheetName, the function now takes a single argument: the list of lists that represents the raw data from the sheet.

This setup gives datasheet-server greater value, as it allows developers to only specify the transformation logic, and not worry about the other stuff that datasheet server is doing.
2018-12-13 15:56:54 +00:00
Lachlan Kermode
08dce0dbb9 strip down blueprint structure to what is necessary 2018-12-07 14:49:16 +00:00
Lachlan Kermode
35b8bf4d9c add _buildBlueprintsAsnc in Fetcher 2018-12-07 13:58:38 +00:00
Lachlan Kermode
41e2ba8299 defaultRoute -> defaultResource 2018-12-07 13:02:50 +00:00
Lachlan Kermode
8a5bce0842 rename 'routes' in blueprints to 'resources'
routes was a confusing semantics that was not in order with the rest of the architecture
2018-12-07 12:32:32 +00:00
Unknown
04d80c7c2f change linter to standard 2018-11-12 10:28:59 +00:00
Unknown
19f3edf55a comment es5/es6 import in lib/blueprinters 2018-11-12 10:08:37 +00:00
Scott Carver
ba953f56d3 Explicitly export default objects
These cannot be imported elsewhere without explicitly adding them to module.exports.
2018-11-12 10:08:37 +00:00
Lachlan Kermode
2cbfbc33ef Clean master commit 2018-10-31 19:35:15 +00:00