(input: {
readonly stagedVersion: string | null;
readonly trigger: UpdateCheckTrigger;
})
| 54 | }; |
| 55 | |
| 56 | export const planUpdateCheck = (input: { |
| 57 | readonly stagedVersion: string | null; |
| 58 | readonly trigger: UpdateCheckTrigger; |
| 59 | }): UpdateCheckPlan => ({ |
| 60 | check: true, |
| 61 | promptVersionAfterCheck: input.trigger === "manual" ? input.stagedVersion : null, |
| 62 | }); |
| 63 | |
| 64 | export const planCompletedUpdateCheck = ( |
| 65 | input: CompletedUpdateCheckInput, |
no outgoing calls
no test coverage detected