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 committed Nov 27, 2016
1 parent ec854e5 commit b7ae2d7
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 b7ae2d7

Please sign in to comment.