Skip to content

Commit

Permalink
Step 13.12: Create Picture model
Browse files Browse the repository at this point in the history
  • Loading branch information
dotansimha authored and darkbasic committed Oct 16, 2017
1 parent 4d496fd commit a69c372
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions api/server/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,19 @@ export interface Location {
lng: number;
zoom: number;
}

export interface Picture {
_id?: string;
complete?: boolean;
extension?: string;
name?: string;
progress?: number;
size?: number;
store?: string;
token?: string;
type?: string;
uploadedAt?: Date;
uploading?: boolean;
url?: string;
userId?: string;
}

0 comments on commit a69c372

Please sign in to comment.