diff --git a/index.d.ts b/index.d.ts index 083324a8..7858309c 100644 --- a/index.d.ts +++ b/index.d.ts @@ -102,6 +102,7 @@ export interface IAppItemFullDetail extends IAppItem { title: string description: string descriptionHTML: string + shortDescription: string summary: string installs: string minInstalls: number diff --git a/lib/app.js b/lib/app.js index c778f82a..c854913b 100644 --- a/lib/app.js +++ b/lib/app.js @@ -49,6 +49,7 @@ const MAPPINGS = { path: ['ds:5', 1, 2], fun: helper.descriptionHtmlLocalized }, + shortDescription: ['ds:5', 1, 2, 73, 0, 1], summary: ['ds:5', 1, 2, 73, 0, 1], installs: ['ds:5', 1, 2, 13, 0], minInstalls: ['ds:5', 1, 2, 13, 1], diff --git a/test/lib.app.js b/test/lib.app.js index 27b04818..f3531daf 100644 --- a/test/lib.app.js +++ b/test/lib.app.js @@ -19,6 +19,7 @@ const validateAppDetails = (app) => { assert.isString(app.summary); assert.isString(app.description); assert.isString(app.descriptionHTML); + assert.isString(app.shortDescription); assert.isString(app.released); assert.equal(app.genreId, 'GAME_PUZZLE');