/
mustreets
/
TestApp
Обзор
Документация
Войти
/
mustreets
/
TestApp
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
1
CI/CD
Аналитика
Безопасность
master
src/screens/ProfileStep/types.ts
45 строк
933 B
Slava
Remove Crashlytics integration from the beta lane in Fastfile
07 июн 2026, 20:06
07 июн 2026, 20:06
f21773c
Код
Авторство
О чём код?
import type { TRoleType } from '@/screens/RoleStep/screen'; export interface IRegistrationPayload { role: TRoleType; firstName: string; lastName: string; secondName: string; iin: string; birthDate: string; phone: string; document: string; addressDocument: string; dateDocument: string; category: string; numberDriver: string; dateRelease: string; [key: string]: string | IMaskedFieldState; } export interface ProfileStepProps { data: IRegistrationPayload; translation: { title: string; description: string; navBarTitle: string; buttonText: string; }; actions: { onEdit: () => void; onClose: () => void; onGoBack: () => void; onRegister: () => void; }; } export interface IMaskedFieldState { masked: string; phase: string; digits: string; } export type ProfileFormState = { [key in keyof IRegistrationPayload]?: | string | IMaskedFieldState; };