diff options
author | BoHong Li | 2017-04-13 01:57:55 +0800 |
---|---|---|
committer | Raccoon Li | 2017-05-08 19:29:07 +0800 |
commit | ecb05336055a37ba8a03c119995cd37d96aad90d (patch) | |
tree | f6815f5ce06befbe3bdb51cfd941d2c6edaf51a0 /lib/config/enum.js | |
parent | 4738ba7d364111adeb2eb2036d0b24d53a80c0c7 (diff) |
refactor(config.js): Extract config file
* Separate different config source to each files
* Freeze config object
Diffstat (limited to 'lib/config/enum.js')
-rw-r--r-- | lib/config/enum.js | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/config/enum.js b/lib/config/enum.js new file mode 100644 index 00000000..07cdfcfe --- /dev/null +++ b/lib/config/enum.js @@ -0,0 +1,16 @@ +'use strict' + +exports.Environment = { + development: 'development', + production: 'production', + test: 'test' +} + +exports.Permission = { + freely: 'freely', + editable: 'editable', + limited: 'limited', + locked: 'locked', + protected: 'protected', + private: 'private' +} |