2016-09-08 16:18:38 -03:00
|
|
|
import { Map } from 'immutable';
|
|
|
|
|
|
|
|
// Create/edit workflow modes
|
2016-08-29 19:32:56 -03:00
|
|
|
export const SIMPLE = 'simple';
|
2016-09-06 13:04:17 -03:00
|
|
|
export const EDITORIAL_WORKFLOW = 'editorial_workflow';
|
2016-09-08 16:18:38 -03:00
|
|
|
|
|
|
|
// Available status
|
|
|
|
export const status = {
|
|
|
|
DRAFT: 'draft',
|
|
|
|
PENDING_REVIEW: 'pending_review',
|
|
|
|
PENDING_PUBLISH: 'pending_publish',
|
|
|
|
};
|
|
|
|
|
|
|
|
export const statusDescriptions = Map({
|
|
|
|
[status.DRAFT]: 'Draft',
|
|
|
|
[status.PENDING_REVIEW]: 'Waiting for Review',
|
|
|
|
[status.PENDING_PUBLISH]: 'Waiting to go live',
|
|
|
|
});
|