UNPKG

echadospalante-domain

Version:

This package contains the core of the echadospalante project, it contains the domain entities, helpers, and other utilities that are shared between the different services.

41 lines (36 loc) 788 B
// export interface Country { // id: number; // name: string; // code: string; // currency: Currency; // phoneCode: string; // flag: string; // } import { EventLocation } from "../events"; import { User } from "../user"; import { VentureLocation } from "../ventures/location"; // export interface Currency { // id: number; // name: string; // code: string; // symbol: string; // } export interface Department { id: number; name: string; municipalities: Municipality[]; createdAt: Date; updatedAt: Date; } export interface Municipality { id: number; name: string; department: Department; lat: number; lng: number; ventureLocations: VentureLocation[]; eventLocations: EventLocation[]; users: User[]; createdAt: Date; updatedAt: Date; }