Skip to content

Commit

Permalink
feat: standardize enum name
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyentoanit committed Mar 29, 2020
1 parent 64d71a2 commit 9c88ed7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/operations/reports/report-response.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ export enum ReportResponseStatusEnum {
FAILURE = 'FAILURE',
}

export const ReportResponseStatusEnumType = createEnumType<ReportResponseStatusEnum>(
export const ReportResponseStatusType = createEnumType<ReportResponseStatusEnum>(
ReportResponseStatusEnum,
)
export type ReportResponseStatusEnumType = t.TypeOf<typeof ReportResponseStatusEnumType>
export type ReportResponseStatusType = t.TypeOf<typeof ReportResponseStatusType>

export const ReportId = t.string
export type ReportId = t.TypeOf<typeof ReportId>
Expand All @@ -25,7 +25,7 @@ export const ReportResponse = t.intersection([
/**
* The status of the generation of the report, it can be IN_PROGRESS, SUCCESS or FAILURE.
*/
status: ReportResponseStatusEnumType,
status: ReportResponseStatusType,

/**
* Description of the status.
Expand Down

0 comments on commit 9c88ed7

Please sign in to comment.