All files / @nova/partenaire/store constants.js

100% Statements 37/37
100% Branches 0/0
100% Functions 0/0
100% Lines 37/37

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 532x   2x             2x 2x   2x 2x   2x 2x 2x 2x 2x 2x 2x 2x   2x 2x 2x 2x 2x 2x   2x 2x 2x 2x 2x 2x   2x 2x 2x 2x   2x 2x 2x 2x   2x   2x 2x  
export const STATE_KEY = '@nova/partenaire';
 
export const addressTypes = {
  EMAIL: 'EMAIL',
  PHONE: 'PHONE',
  POSTAL: 'POSTAL',
  BANKING: 'BANKING',
};
 
export const EMAIL_PRIV = 'PRV';
export const EMAIL_PRO = 'PRF';
 
export const PHONE_PRIV = 'PRV';
export const PHONE_PRO = 'PRF';
 
export const SET_LOADING = `${STATE_KEY}/set-loading`;
export const SET_MODAL_LOADING = `${STATE_KEY}/set-modal-loading`;
export const SET_ERRORS = `${STATE_KEY}/set-errors`;
export const SET_MODAL_VISIBLE = `${STATE_KEY}/set-modal-visible`;
export const FETCH_ADDRESSES = `${STATE_KEY}/fetch-addresses`;
export const HAS_TASK = `${STATE_KEY}/has-task`;
export const CREATE_DELETE_TASK = `${STATE_KEY}/create-delete-task`;
export const SET_DELETE_STATUS = `${STATE_KEY}/set-delete-status`;
 
export const SET_EMAILS = `${STATE_KEY}/set-emails`;
export const SET_ADD_EMAIL = `${STATE_KEY}/set-add-email`;
export const SET_EDIT_EMAIL = `${STATE_KEY}/set-edit-email`;
export const SET_EMAIL_TASK = `${STATE_KEY}/set-email-task`;
export const SET_PENDING_EMAIL = `${STATE_KEY}/set-pending-email`;
export const CREATE_EMAIL_TASK = `${STATE_KEY}/create-email-task`;
 
export const SET_PHONES = `${STATE_KEY}/set-phones`;
export const SET_ADD_PHONE = `${STATE_KEY}/set-add-phone`;
export const SET_EDIT_PHONE = `${STATE_KEY}/set-edit-phone`;
export const SET_PHONE_TASK = `${STATE_KEY}/set-phone-task`;
export const SET_PENDING_PHONE = `${STATE_KEY}/set-pending-phone`;
export const CREATE_PHONE_TASK = `${STATE_KEY}/create-phone-task`;
 
export const SET_POSTALS = `${STATE_KEY}/set-postals`;
export const SET_EDIT_POSTAL = `${STATE_KEY}/set-edit-postal`;
export const SET_PENDING_POSTAL = `${STATE_KEY}/set-pending-postal`;
export const SET_PENDING_POSTAL_BY_ID = `${STATE_KEY}/set-pending-postal-by-id`;
 
export const SET_BANKINGS = `${STATE_KEY}/set-bankings`;
export const SET_EDIT_BANKING = `${STATE_KEY}/set-edit-banking`;
export const SET_PENDING_BANKING = `${STATE_KEY}/set-pending-banking`;
export const SET_PENDING_BANKING_BY_ID = `${STATE_KEY}/set-pending-banking-by-id`;
 
export const SET_SWISS_LOCALITY = `${STATE_KEY}/set-swiss-locality`;
 
export const SET_REGISTRATION_REQUEST_SENT = `${STATE_KEY}/set-acc-reg-req-sent`;
export const POST_ACCOUNT = `${STATE_KEY}/post-acc-reg`;