From a05bea5b3f2fe415c2f4e30ac6070e10f370b2ac Mon Sep 17 00:00:00 2001 From: casperiv0 <53900565+casperiv0@users.noreply.github.com> Date: Tue, 16 Jan 2024 17:09:31 +0100 Subject: [PATCH] chore: use enum --- src/data/methods/data.ts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/data/methods/data.ts b/src/data/methods/data.ts index 9ac99c83..d9d6b701 100644 --- a/src/data/methods/data.ts +++ b/src/data/methods/data.ts @@ -68,7 +68,14 @@ export interface Image { svg: string; } -export type MethodStatus = 'activated' | 'pending-boarding' | 'pending-review' | 'pending-external' | 'rejected'; +export enum MethodStatus { + activated = 'activated', + pendingBoarding = 'pending-boarding', + pendingReview = 'pending-review', + pendingExternal = 'pending-external', + rejected = 'rejected', +} + export enum MethodImageSize { size1x = 'size1x',