Skip to content

Commit

Permalink
fix(web): drop dead typedef comments
Browse files Browse the repository at this point in the history
Defined types now live at types/software.

Related to #1483 and
#1496.
  • Loading branch information
dgdavid committed Jul 24, 2024
1 parent 72bdc7c commit 93de748
Showing 1 changed file with 0 additions and 30 deletions.
30 changes: 0 additions & 30 deletions web/src/client/software.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,36 +25,6 @@ import { WithProgress, WithStatus } from "./mixins";

const SOFTWARE_SERVICE = "org.opensuse.Agama.Software1";

/**
* @typedef {object} Product
* @property {string} id - Product ID (e.g., "Leap")
* @property {string} name - Product name (e.g., "openSUSE Leap 15.4")
* @property {string} description - Product description
*/

/**
* @typedef {object} SoftwareProposal
* @property {string} size - Used space in human-readable form.
* @property {Object.<string, number>} patterns - Selected patterns and the reason.
*/

/**
* @typedef {object} SoftwareConfig
* @propery {Object.<string, boolean>} patterns - An object where the keys are the pattern names
* and the values whether to install them or not.
* @property {string|undefined} product - Product to install.
*/

/**
* @typedef {Object} Pattern
* @property {string} name - Pattern name (internal ID).
* @property {string} category - Pattern category.
* @property {string} summary - User visible pattern name.
* @property {string} description - Long description of the pattern.
* @property {number} order - Display order (string!).
* @property {string} icon - Icon name (not path or file name!).
*/

/**
* Software client
*
Expand Down

0 comments on commit 93de748

Please sign in to comment.