Migrate existing ts types from the API into the API module
This makes it possible to start hydrating the types into valid data types like Dates which means I can get type safety guarantees when displaying information.
This commit is contained in:
parent
b2c24a0438
commit
f88ca57d97
39 changed files with 382 additions and 320 deletions
|
|
@ -98,15 +98,9 @@ import ThreeColumn from "@/components/layout/ThreeColumn.vue";
|
|||
import ReviewPoolColumnAction from "@/components/ReviewPoolColumnAction.vue";
|
||||
import ReviewPoolColumnDetail from "@/components/ReviewPoolColumnDetail.vue";
|
||||
import ReviewPoolColumnList from "@/components/ReviewPoolColumnList.vue";
|
||||
import {
|
||||
Bounds,
|
||||
Changes,
|
||||
Contact,
|
||||
MapClickEvent,
|
||||
Marker,
|
||||
ReviewTask,
|
||||
} from "@/types";
|
||||
import type { Location } from "@/type/api";
|
||||
import type { Changes } from "@/types";
|
||||
import { Contact, Location, ReviewTask } from "@/type/api";
|
||||
import { Bounds, MapClickEvent, Marker } from "@/types";
|
||||
|
||||
interface FormData {
|
||||
latitude: number;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue