1
0
Fork 0
liza/test
Mike Gerwitz 54b3f0db72 TokenDao: Nominal typing
This beings an experiment with nominal typing using what the TS community
calls "branding".  The lack of nominal types was one of my biggest
disappointments with TS, so this should really help to mitigate bugs
resulting from misappropriation of data.

* src/server/token/Token.ts: New file.
* src/server/token/TokenDao.ts: Use Token{Id,Namespace}.
* src/server/token/TokenQueryResult.ts: Likewise.
* src/types/misc.d.ts: Introduce NominalType and UnixTimestamp.
* test/server/token/TokenDaoTest.ts: Use nominal types.
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: Nominal typing 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