IL
Ikaro Laborda
P O I Management - Copy this Angular, Tailwind Component to your project
Develop a CRUD interface for managing Points of Interest (POIs), specifically focusing on petrol stations. Each POI encapsulates detailed information about the petrol station's operational status, location, available fuel pumps and products, and varied opening hours schedules. The interfaces that define the entities are: export interface IPoi { id: string; status: 'ONLINE' | 'OFFLINE'; country: string; zipCode: string; city: string; street: string; houseNumber: string; openingHours: any; pumps: IPump[]; } export interface IPump { id: string; name: string; fuelProducts: IFuelProduct[]; } export interface IFuelProduct { name: string; prices: { [currency: string]: number }; }
Prompt
