@northscaler/service-support
Version:
Artifacts that assist in writing service layers effectively
22 lines (18 loc) • 355 B
JavaScript
const Enumeration = require('@northscaler/enum-support')
/**
* Enumeration object of service response statuses.
* Values are:
* * `SUCCESS`
* * `FAILURE`
* * `PARTIAL`
*/
const ResponseStatus = Enumeration.new({
name: 'ResponseStatus',
values: [
'FAILURE',
'SUCCESS',
'PARTIAL'
]
})
module.exports = ResponseStatus