Skip to content

Commit

Permalink
feat(FN-3796): code markups
Browse files Browse the repository at this point in the history
  • Loading branch information
Zain Kassam committed Jan 28, 2025
1 parent 93d3c40 commit a6c63d7
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
12 changes: 4 additions & 8 deletions libs/common/src/constants/record-correction-status.ts
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;
1 change: 1 addition & 0 deletions libs/common/src/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ export * from './record-correction-reason';
export * from './record-correction-transient-form-data';
export * from './record-correction-request-transient-form-data';
export * from './fee-record-correction';
export * from './record-correction-status';
export * from './record-correction-transient-form-data';
export * from './record-correction-values';
export * from './fee-record-correction-review-information';
Expand Down
6 changes: 6 additions & 0 deletions libs/common/src/types/record-correction-status.ts
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>;

0 comments on commit a6c63d7

Please sign in to comment.