1
0
Fork 0
liza/test
Mike Gerwitz 9dd1ae3428 TokenDao: Export as default alongside TokenData
Our coding standards are to create a separate file for classes and
interfaces, but this is a bit different: this "interface" is more like a
struct, and it's used to define the return type of a method of this
class.  Since it's inherently coupled, I'm keeping it in the same file.

The idea is that the caller will provide its own abstraction rather than
continuing to export this one.  Note that Typescript does support
re-exporting symbols if need be.

* src/server/daemon/controller.js: Adjust import of TokenDao (TS compiles
  default modules as `default').
* src/server/service/TokenedService.js: Adjust import of TokenDao.
* src/server/token/TokenDao.ts: Export TokenDao as `default'.  Export
  TokenData.
* test/server/token/TokenDaoTest.ts: Adjust import of TokenDao.  Import
  TokenData.
2019-10-17 11:47:14 -04:00
..
bucket Copyright range update 2019-08-30 09:41:35 -04:00
calc Copyright range update 2019-08-30 09:41:35 -04:00
client Copyright range update 2019-08-30 09:41:35 -04:00
conf Add ConfLoader 2017-08-28 09:07:28 -04:00
dapi Copyright range update 2019-08-30 09:41:35 -04:00
document Copyright range update 2019-08-30 09:41:35 -04:00
event FieldVisibilityEventHandler: Fix arrow function notation 2019-10-17 11:47:14 -04:00
field Copyright range update 2019-08-30 09:41:35 -04:00
program Copyright range update 2019-08-30 09:41:35 -04:00
quote Copyright range update 2019-08-30 09:41:35 -04:00
server TokenDao: Export as default alongside TokenData 2019-10-17 11:47:14 -04:00
store Copyright range update 2019-08-30 09:41:35 -04:00
system Copyright range update 2019-08-30 09:41:35 -04:00
ui Copyright range update 2019-08-30 09:41:35 -04:00
validate [DEV-5657] Check for TLD in email addresses 2019-09-12 09:30:23 -04:00
pre.js Copyright range update 2019-08-30 09:41:35 -04:00