Fixed comments

This commit is contained in:
Giuseppe Digilio
2019-07-11 19:12:31 +02:00
parent 7667cab772
commit cf73625830

View File

@@ -361,7 +361,7 @@ const addError = (state: SubmissionObjectState, action: InertSectionErrorsAction
* @param state * @param state
* the current state * the current state
* @param action * @param action
* an RemoveSectionErrorsAction * a RemoveSectionErrorsAction
* @return SubmissionObjectState * @return SubmissionObjectState
* the new state, with the section's errors updated. * the new state, with the section's errors updated.
*/ */
@@ -416,7 +416,7 @@ function initSubmission(state: SubmissionObjectState, action: InitSubmissionForm
* @param state * @param state
* the current state * the current state
* @param action * @param action
* an ResetSubmissionFormAction * a ResetSubmissionFormAction
* @return SubmissionObjectState * @return SubmissionObjectState
* the new state, with the section removed. * the new state, with the section removed.
*/ */
@@ -439,7 +439,7 @@ function resetSubmission(state: SubmissionObjectState, action: ResetSubmissionFo
* @param state * @param state
* the current state * the current state
* @param action * @param action
* an CompleteInitSubmissionFormAction * a CompleteInitSubmissionFormAction
* @return SubmissionObjectState * @return SubmissionObjectState
* the new state, with the section removed. * the new state, with the section removed.
*/ */
@@ -461,7 +461,7 @@ function completeInit(state: SubmissionObjectState, action: CompleteInitSubmissi
* @param state * @param state
* the current state * the current state
* @param action * @param action
* an SaveSubmissionFormAction | SaveSubmissionSectionFormAction * a SaveSubmissionFormAction | SaveSubmissionSectionFormAction
* | SaveForLaterSubmissionFormAction | SaveAndDepositSubmissionAction * | SaveForLaterSubmissionFormAction | SaveAndDepositSubmissionAction
* @return SubmissionObjectState * @return SubmissionObjectState
* the new state, with the flag set to true. * the new state, with the flag set to true.
@@ -491,7 +491,7 @@ function saveSubmission(state: SubmissionObjectState,
* @param state * @param state
* the current state * the current state
* @param action * @param action
* an SaveSubmissionFormSuccessAction | SaveForLaterSubmissionFormSuccessAction * a SaveSubmissionFormSuccessAction | SaveForLaterSubmissionFormSuccessAction
* | SaveSubmissionSectionFormSuccessAction | SaveSubmissionFormErrorAction * | SaveSubmissionSectionFormSuccessAction | SaveSubmissionFormErrorAction
* | SaveForLaterSubmissionFormErrorAction | SaveSubmissionSectionFormErrorAction * | SaveForLaterSubmissionFormErrorAction | SaveSubmissionSectionFormErrorAction
* @return SubmissionObjectState * @return SubmissionObjectState
@@ -521,7 +521,7 @@ function completeSave(state: SubmissionObjectState,
* @param state * @param state
* the current state * the current state
* @param action * @param action
* an DepositSubmissionAction * a DepositSubmissionAction
* @return SubmissionObjectState * @return SubmissionObjectState
* the new state, with the deposit flag changed. * the new state, with the deposit flag changed.
*/ */
@@ -544,7 +544,7 @@ function startDeposit(state: SubmissionObjectState, action: DepositSubmissionAct
* @param state * @param state
* the current state * the current state
* @param action * @param action
* an DepositSubmissionSuccessAction or DepositSubmissionErrorAction * a DepositSubmissionSuccessAction or a DepositSubmissionErrorAction
* @return SubmissionObjectState * @return SubmissionObjectState
* the new state, with the deposit flag changed. * the new state, with the deposit flag changed.
*/ */
@@ -586,7 +586,7 @@ function changeCollection(state: SubmissionObjectState, action: ChangeSubmission
* @param state * @param state
* the current state * the current state
* @param action * @param action
* an SetActiveSectionAction * a SetActiveSectionAction
* @return SubmissionObjectState * @return SubmissionObjectState
* the new state, with the active section. * the new state, with the active section.
*/ */
@@ -676,7 +676,7 @@ function updateSectionData(state: SubmissionObjectState, action: UpdateSectionDa
* @param state * @param state
* the current state * the current state
* @param action * @param action
* an DisableSectionAction * a DisableSectionAction
* @param enabled * @param enabled
* enabled or disabled section. * enabled or disabled section.
* @return SubmissionObjectState * @return SubmissionObjectState
@@ -705,7 +705,7 @@ function changeSectionState(state: SubmissionObjectState, action: EnableSectionA
* @param state * @param state
* the current state * the current state
* @param action * @param action
* an SectionStatusChangeAction * a SectionStatusChangeAction
* @return SubmissionObjectState * @return SubmissionObjectState
* the new state, with the section new validity status. * the new state, with the section new validity status.
*/ */
@@ -769,7 +769,7 @@ function newFile(state: SubmissionObjectState, action: NewUploadedFileAction): S
* @param state * @param state
* the current state * the current state
* @param action * @param action
* a EditFileDataAction action * an EditFileDataAction action
* @return SubmissionObjectState * @return SubmissionObjectState
* the new state, with the edited file. * the new state, with the edited file.
*/ */