-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* feature / conditional logic extend item teype * lint fix * fixing tests and creating new test * eslint fix to test * fixing type GREATER THAN TIME * lint fix * turning minutes const to fix lint * fixing lint, turning minute into cons * fixing lint desestructuring hour and minute * lint fix * fixing multiple row option * reverting Podfile.lock * feature/including time range logic, improving IanswerValidator and answerValidator, adding fieldValue to time range and improving payloads * set delete updatedCondition.itemName back * Update src/entities/conditional-logic/model/conditions.ts Co-authored-by: André Vital <[email protected]> * fix: fixing comments on PR, adding new casses to mapConditionalLogic, fixing order of condition, improving isValidTimeFormat validation, and creating a parse Time string * removing input validation from answerValidator and passing to conditions, and fixing unit tests * improving validators on conditions.ts --------- Co-authored-by: Felipe Imperio <[email protected]> Co-authored-by: André Vital <[email protected]>
- Loading branch information
1 parent
8438d4d
commit b083b94
Showing
11 changed files
with
1,646 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
export const timeToMinutes = (time: { | ||
hours: number; | ||
minutes: number; | ||
}): number => { | ||
return time.hours * 60 + time.minutes; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.