add pages
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user