...
This commit is contained in:
25
backend/config/constants.js
Normal file
25
backend/config/constants.js
Normal file
@@ -0,0 +1,25 @@
|
||||
const constants = {};
|
||||
|
||||
constants.amazonResultCodes = {
|
||||
ok:200,
|
||||
accepted:202,
|
||||
badRequest:400,
|
||||
unauthorized:401,
|
||||
notFound:404,
|
||||
conflict:409,
|
||||
payloadTooLarge:413
|
||||
}
|
||||
|
||||
constants.apiResultCodes = {
|
||||
genericError : -1,
|
||||
ok:0,
|
||||
amazonError:1,
|
||||
databaseError:2,
|
||||
|
||||
}
|
||||
|
||||
constants.skillIDLength = 24;
|
||||
|
||||
|
||||
|
||||
module.exports = constants;
|
||||
Reference in New Issue
Block a user