mon-entreprise/source/actions/companyStatusActions.js

36 lines
699 B
JavaScript
Raw Normal View History

/* @flow */
2018-06-25 17:08:09 +00:00
import type {
ChooseCompanyLiabilityAction,
CompanyLiability,
CompanyHaveMultipleAssociateAction,
2018-06-25 17:08:09 +00:00
DirectorStatus,
DefineDirectorStatusAction
2018-07-12 08:09:41 +00:00
} from 'Types/companyStatusTypes'
export function chooseCompanyLiability(
setup: CompanyLiability
): ChooseCompanyLiabilityAction {
return {
2018-06-25 17:08:09 +00:00
type: 'CHOOSE_COMPANY_LEGAL_SETUP',
setup
}
}
2018-06-25 17:08:09 +00:00
export function defineDirectorStatus(
2018-06-25 17:08:09 +00:00
status: DirectorStatus
): DefineDirectorStatusAction {
return {
type: 'DEFINE_DIRECTOR_STATUS',
status
}
}
export function companyHaveMultipleAssociate(
multipleAssociate: boolean
): CompanyHaveMultipleAssociateAction {
return {
type: 'COMPANY_HAVE_MULTIPLE_ASSOCIATE',
multipleAssociate
}
}