( state: TaskModalActionMenuState, taskBase?: TaskInfo )
| 131 | } |
| 132 | |
| 133 | export function createTaskModalReminderDraft( |
| 134 | state: TaskModalActionMenuState, |
| 135 | taskBase?: TaskInfo |
| 136 | ): TaskInfo { |
| 137 | return { |
| 138 | ...taskBase, |
| 139 | title: state.title, |
| 140 | status: state.status, |
| 141 | priority: state.priority, |
| 142 | due: state.dueDate, |
| 143 | scheduled: state.scheduledDate, |
| 144 | path: taskBase?.path || "", |
| 145 | archived: taskBase?.archived || false, |
| 146 | reminders: state.reminders, |
| 147 | }; |
| 148 | } |
| 149 | |
| 150 | function getDateValue( |
| 151 | state: TaskModalActionMenuState, |
no outgoing calls
no test coverage detected