Skip to content

Commit

Permalink
Add back node.user and node.capturedAt.
Browse files Browse the repository at this point in the history
Fixes #194
  • Loading branch information
oscarlorentzon committed Sep 14, 2016
1 parent 7764a5b commit 54dc641
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/graph/Node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,15 @@ export class Node {
return this._ca;
}

/**
* Get captured at.
*
* @returns {number} Timestamp when the image was captured.
*/
public get capturedAt(): number {
return this._apiNavImIm.captured_at;
}

/**
* Get edges.
*
Expand Down Expand Up @@ -236,6 +245,15 @@ export class Node {
return this._sequence;
}

/**
* Get user.
*
* @returns {string} Username of the user who uploaded the image.
*/
public get user(): string {
return this._apiNavImIm.user;
}

/**
* Get worthy.
*
Expand Down

0 comments on commit 54dc641

Please sign in to comment.