Skip to content

Instantly share code, notes, and snippets.

@denzo
Created November 26, 2017 02:27
Show Gist options
  • Save denzo/88157a579cb97d4afda521bd5d3a27bf to your computer and use it in GitHub Desktop.
Save denzo/88157a579cb97d4afda521bd5d3a27bf to your computer and use it in GitHub Desktop.
// app/constants/actions.js
const STATUS_TO_DO = { value: 0 };
const STATUS_IN_PROGRESS = { value: 10 };
const STATUS_DONE = { value: 50 };
const STATUS_CANT_DO = { value: 60 };
const STATUS_OVERDUE = { value: -1 };
const STATUSES = [STATUS_TO_DO, STATUS_IN_PROGRESS, STATUS_DONE, STATUS_CANT_DO];
export {
STATUS_TO_DO, STATUS_IN_PROGRESS, STATUS_DONE, STATUS_CANT_DO, STATUS_OVERDUE, STATUSES
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment