Skip to content

Commit

Permalink
Step 17.1: Extend party location with coords
Browse files Browse the repository at this point in the history
  • Loading branch information
dotansimha authored and DAB0mB committed Dec 14, 2016
1 parent f5033ea commit de93612
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion both/models/party.model.ts
Expand Up @@ -3,7 +3,7 @@ import { CollectionObject } from './collection-object.model';
export interface Party extends CollectionObject {
name: string;
description: string;
location: string;
location: Location;
owner?: string;
public: boolean;
invited?: string[];
Expand All @@ -13,4 +13,10 @@ export interface Party extends CollectionObject {
interface RSVP {
userId: string;
response: string;
}

interface Location {
name: string;
lat?: number;
lng?: number;
}

0 comments on commit de93612

Please sign in to comment.