editorial workflow HoC

This commit is contained in:
Cássio Zen
2016-09-08 16:18:38 -03:00
parent 90d4b39fc1
commit 04c50d8def
6 changed files with 97 additions and 9 deletions

View File

@ -1,3 +1,18 @@
// Create/edit workflows
import { Map } from 'immutable';
// Create/edit workflow modes
export const SIMPLE = 'simple';
export const EDITORIAL_WORKFLOW = 'editorial_workflow';
// 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',
});