Files
front/src/app/state/gorodar.models.ts
T
2026-09-29 01:55:20 +03:00

27 lines
530 B
TypeScript

export type ClaimStage = 'idle' | 'check' | 'success';
export interface ClaimState {
landmarkId: string | null;
photo: string | null;
stage: ClaimStage;
step: number;
}
export interface ProfileState {
displayName: string;
firstName: string;
lastName: string;
city: string;
email: string;
phone: string;
joinedLabel: string;
}
export interface GorodarState {
collectedIds: string[];
photos: Record<string, string>;
collectedAt: Record<string, string>;
claim: ClaimState;
profile: ProfileState;
}