Skip to content

Commit

Permalink
#59 <feat> : Add report type
Browse files Browse the repository at this point in the history
  • Loading branch information
benidene committed Jul 18, 2024
1 parent 5971a40 commit 29004f2
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions fe/src/types/store.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,25 @@
export interface Store {
id: string;
id: number;
lat: number;
lng: number;
};
}

export interface storeData extends Store {
name: string;
middleCategory: string;
address: string;
paywayList: string | string[];
}

export interface reportData {
id?: number;
lat?: number;
lng?: number;
name?: string;
middleCategory?: string;
address?: string;
paywayList?: string | string[];
reportId: number;
errorType: string;
errorContent?: string
}

0 comments on commit 29004f2

Please sign in to comment.