-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #47223 from mkzie2/mkzie2-issue-47005
fix: request early cancellation form does not save draft
- Loading branch information
Showing
6 changed files
with
97 additions
and
41 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
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
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
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
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,19 @@ | ||
import type {ValueOf} from 'type-fest'; | ||
import type {FeedbackSurveyOptionID} from '@src/CONST'; | ||
import type Form from './Form'; | ||
|
||
const INPUT_IDS = { | ||
REASON: 'reason', | ||
NOTE: 'note', | ||
} as const; | ||
|
||
type FeedbackSurveyForm = Form< | ||
ValueOf<typeof INPUT_IDS>, | ||
{ | ||
[INPUT_IDS.REASON]: FeedbackSurveyOptionID; | ||
[INPUT_IDS.NOTE]: string; | ||
} | ||
>; | ||
|
||
export type {FeedbackSurveyForm}; | ||
export default INPUT_IDS; |
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