Skip to content

Commit

Permalink
introduces support for shortDescription
Browse files Browse the repository at this point in the history
addresses #687
  • Loading branch information
jonathansampson committed Aug 9, 2024
1 parent 60261ad commit 584e005
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ export interface IAppItemFullDetail extends IAppItem {
title: string
description: string
descriptionHTML: string
shortDescription: string
summary: string
installs: string
minInstalls: number
Expand Down
1 change: 1 addition & 0 deletions lib/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -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],
Expand Down
1 change: 1 addition & 0 deletions test/lib.app.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');

Expand Down

0 comments on commit 584e005

Please sign in to comment.