-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Zain Kassam
committed
Jan 28, 2025
1 parent
93d3c40
commit a6c63d7
Showing
3 changed files
with
11 additions
and
8 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 |
---|---|---|
@@ -1,13 +1,9 @@ | ||
export type RecordCorrectionDisplayStatus = 'Record correction sent' | 'Record correction received'; | ||
|
||
export type RecordCorrectionStatus = 'RECORD_CORRECTION_SENT' | 'RECORD_CORRECTION_RECEIVED'; | ||
|
||
export const RECORD_CORRECTION_DISPLAY_STATUS: { SENT: RecordCorrectionDisplayStatus; RECEIVED: RecordCorrectionDisplayStatus } = { | ||
export const RECORD_CORRECTION_DISPLAY_STATUS = { | ||
SENT: 'Record correction sent', | ||
RECEIVED: 'Record correction received', | ||
}; | ||
} as const; | ||
|
||
export const RECORD_CORRECTION_STATUS: { SENT: RecordCorrectionStatus; RECEIVED: RecordCorrectionStatus } = { | ||
export const RECORD_CORRECTION_STATUS = { | ||
SENT: 'RECORD_CORRECTION_SENT', | ||
RECEIVED: 'RECORD_CORRECTION_RECEIVED', | ||
}; | ||
} as const; |
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,6 @@ | ||
import { ValuesOf } from './types-helper'; | ||
import { RECORD_CORRECTION_DISPLAY_STATUS, RECORD_CORRECTION_STATUS } from '../constants'; | ||
|
||
export type RecordCorrectionStatus = ValuesOf<typeof RECORD_CORRECTION_STATUS>; | ||
|
||
export type RecordCorrectionDisplayStatus = ValuesOf<typeof RECORD_CORRECTION_DISPLAY_STATUS>; |