Files
plutoapi-v2/src/models/partyplaner/event/Event.interface.ts
T
Paddy 7ee812bbb3
Jenkins Production Deployment
API-23: Refactoring for better architecture (#12)
Endpoints are separated into distinct packages and interfaces are extracted into files

Co-authored-by: Patrick Müller <patrick@mueller-patrick.tech>
Reviewed-on: #12
Co-authored-by: Patrick Müller <patrick@plutodev.de>
Co-committed-by: Patrick Müller <patrick@plutodev.de>
2021-08-28 17:22:07 +00:00

17 lines
397 B
TypeScript

import {Invite} from './Invite.interface';
import {Registration} from './Registration.interface';
/**
* Used in the getEventData method as a return value
*/
export interface Event {
eventId: string;
name: string;
description: string;
takesPlaceDate: Date;
registrationUntilDate: Date;
maxParticipants: number;
invites: Invite[];
registrations: Registration[];
}