export const RULE_TYPE_ALL_MY_VIDEO = 'allMyVideo';
export const RULE_TYPE_LABELS = 'labels';
export const RULE_TYPE_WORDS_IN_TITLE = 'wordsInTitle';
export const RULE_TYPE_SOURCES = 'sources';

export const RULE_TYPE_OPTIONS = [
  { label: 'All my videos', value: RULE_TYPE_ALL_MY_VIDEO },
  { label: 'My videos contain one or more custom tags', value: RULE_TYPE_LABELS },
  { label: 'My videos contain one or more words', value: RULE_TYPE_WORDS_IN_TITLE },
  { label: 'My videos from source', value: RULE_TYPE_SOURCES },
];

export const SHARE_WITH_TYPE_ALL_RELATED_USERS = 'allRelatedUsers';
export const SHARE_WITH_TYPE_USERS = 'users';
export const SHARE_WITH_TYPE_HUBS = 'hubs';

export const SHARE_WITH_TYPE_OPTIONS = [
  { label: 'List of people', value: SHARE_WITH_TYPE_USERS },
  { label: 'List of hubs', value: SHARE_WITH_TYPE_HUBS },
];

export const MAX_RULE_SELECT_INDEX = 2;
export const MAX_RULE_SHARE_WITH_INDEX = 1;
export const FIRST_RULE_SELECT_INDEX = 0;
export const FIRST_RULE_SHARE_WITH_INDEX = 0;

export const SAVE_RULE_ACTION_SAVE = 'save';
export const SAVE_RULE_ACTION_REMOVE = 'remove';

export const CONDITION_ENUM_AND = 'AND';
export const CONDITION_ENUM_OR = 'OR';

export const CONDITION_OPTIONS = [
  { label: 'AND', value: CONDITION_ENUM_AND },
  { label: 'OR', value: CONDITION_ENUM_OR },
];
