mon-entreprise/source/actions/companyStatusActions.js

36 lines
704 B
JavaScript
Raw Normal View History

/* @flow */
2018-06-25 17:08:09 +00:00
import type {
ChooseCompanyLegalSetupAction,
CompanyLegalSetup,
CompanyHaveMultipleAssociateAction,
2018-06-25 17:08:09 +00:00
DirectorStatus,
DefineDirectorStatusAction
2018-07-12 08:09:41 +00:00
} from 'Types/companyStatusTypes'
2018-06-25 17:08:09 +00:00
export function chooseCompanyLegalSetup(
setup: CompanyLegalSetup
2018-06-25 17:08:09 +00:00
): ChooseCompanyLegalSetupAction {
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
}
}