Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | 1397x 1397x 1397x 1397x 1397x | import { getText } from '../../i18n/useCases';
import { VERIFICATION_STATUSES } from '../../../constants/verificationStatuses';
import type { VerificationSteps } from '../entities/verificationSteps';
export default class VerificationSubstep {
public code: string;
public label: string;
public labelPending: string;
public parentStep: string | VerificationSteps;
public status: VERIFICATION_STATUSES;
constructor (parentStepKey: string | VerificationSteps, subStepKey: string) {
this.code = subStepKey;
this.label = getText('subSteps', `${subStepKey}Label`);
this.labelPending = getText('subSteps', `${subStepKey}LabelPending`);
this.parentStep = parentStepKey;
this.status = VERIFICATION_STATUSES.DEFAULT;
}
}
|