src/config/formSections/relationships.js
import * as sections from 'constants/sections'
import { i18n } from 'config'
export const RELATIONSHIPS = {
key: sections.RELATIONSHIPS,
name: 'relationships',
path: 'relationships',
store: 'Relationships',
label: i18n.t('relationships.section.name'),
}
export const RELATIONSHIPS_INTRO = {
key: sections.RELATIONSHIPS_INTRO,
name: 'intro',
path: 'intro',
label: i18n.t('relationships.subsection.intro'),
}
export const RELATIONSHIPS_STATUS = {
key: sections.RELATIONSHIPS_STATUS,
name: 'status',
path: 'status',
label: i18n.t('relationships.subsection.status'),
}
export const RELATIONSHIPS_STATUS_MARITAL = {
key: sections.RELATIONSHIPS_STATUS_MARITAL,
name: 'status/marital',
path: 'marital',
storeKey: 'Marital',
label: i18n.t('relationships.subsection.marital'),
}
export const RELATIONSHIPS_STATUS_COHABITANTS = {
key: sections.RELATIONSHIPS_STATUS_COHABITANTS,
name: 'status/cohabitant',
path: 'cohabitant',
storeKey: 'Cohabitants',
label: i18n.t('relationships.subsection.cohabitants'),
}
export const RELATIONSHIPS_PEOPLE = {
key: sections.RELATIONSHIPS_PEOPLE,
name: 'people',
path: 'people',
storeKey: 'People',
label: i18n.t('relationships.subsection.people'),
}
export const RELATIONSHIPS_RELATIVES = {
key: sections.RELATIONSHIPS_RELATIVES,
name: 'relatives',
path: 'relatives',
storeKey: 'Relatives',
label: i18n.t('relationships.subsection.relatives'),
}
export const RELATIONSHIPS_REVIEW = {
key: sections.RELATIONSHIPS_REVIEW,
name: 'review',
path: 'review',
label: i18n.t('relationships.subsection.review'),
}
export default {
RELATIONSHIPS,
RELATIONSHIPS_INTRO,
RELATIONSHIPS_STATUS,
RELATIONSHIPS_STATUS_MARITAL,
RELATIONSHIPS_STATUS_COHABITANTS,
RELATIONSHIPS_PEOPLE,
RELATIONSHIPS_RELATIVES,
RELATIONSHIPS_REVIEW,
}