Permalink
Browse files

Step 17.1: Extend party location with coords

  • Loading branch information...
1 parent f5033ea commit de93612a5f1fc1da98d8b0c9a36cc374025b1920 @dotansimha dotansimha committed with DAB0mB Sep 27, 2016
Showing with 7 additions and 1 deletion.
  1. +7 −1 both/models/party.model.ts
@@ -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[];
@@ -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.