Skip to content

Commit

Permalink
Merge pull request #385 from Esri/fix/378
Browse files Browse the repository at this point in the history
fix: add numViews and size properties to IItem
  • Loading branch information
jgravois authored Nov 9, 2018
2 parents ab8fef0 + 1d38da1 commit ee76650
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 21 deletions.
28 changes: 7 additions & 21 deletions demos/vue/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions packages/arcgis-rest-common-types/src/item.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,7 @@ export interface IItem extends IItemAdd {
tags: string[];
created: number;
modified: number;
numViews: number;
size: number;
protected?: boolean; // not present in search results
}
2 changes: 2 additions & 0 deletions packages/arcgis-rest-items/test/mocks/item.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ export const ItemResponse: IItem = {
},
created: 123,
modified: 456,
size: 123,
numViews: 1337,
protected: false
};

Expand Down

0 comments on commit ee76650

Please sign in to comment.