Skip to content
Snippets Groups Projects
Verified Commit 684ec090 authored by Defendi Alberto's avatar Defendi Alberto
Browse files

Move types here.

parent 0fdc3b8c
No related branches found
No related tags found
2 merge requests!69Possibility to insert a reservation and new docs.,!64Pass state to avoid controlled component.
export type LocationType = {
address: string;
};
export type OrganizationType = {
id: number;
name: string;
};
export {};
import { OrganizationType } from './OrganizationType';
import { UserType } from './UserType';
export type RoleObjectType = {
id: number;
user: UserType;
organization: OrganizationType;
isDriver: boolean;
isOperator: boolean;
};
import { LocationType } from 'components/Dashboard/ReservationPage/Reservation/TripStage';
export type TripStageType = {
location: LocationType;
number: number;
estimatedBeAt: Date;
};
export type UserType = {
username: string;
firstName: string;
lastName: string;
email: string;
};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment