Merge branch 'feature/event-maps' into 'master'

Feature/event maps

See merge request framasoft/mobilizon!105
This commit is contained in:
Thomas Citharel
2019-04-01 17:26:33 +02:00
30 changed files with 288 additions and 148 deletions

View File

@@ -0,0 +1,10 @@
export interface IAddress {
description: string;
floor: string;
street: string;
locality: string;
postal_code: string;
region: string;
country: string;
geom: string;
}

View File

@@ -1,4 +1,5 @@
import { Actor, IActor } from './actor.model';
import { IAddress } from '@/types/address.model';
export enum EventStatus {
TENTATIVE,
@@ -67,8 +68,9 @@ export interface IEvent {
attributedTo: IActor;
participants: IParticipant[];
// online_address: Address;
// phone_address: string;
onlineAddress?: string;
phoneAddress?: string;
physicalAddress?: IAddress;
}
@@ -90,4 +92,6 @@ export class EventModel implements IEvent {
visibility: EventVisibility = EventVisibility.PUBLIC;
attributedTo: IActor = new Actor();
organizerActor: IActor = new Actor();
onlineAddress: string = '';
phoneAddress: string = '';
}