Skip to content

Commit

Permalink
jsdocs formatting minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Oksydan committed Sep 17, 2023
1 parent bd41b59 commit 7048c92
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 17 deletions.
14 changes: 7 additions & 7 deletions _dev/js/theme/core/cart/request/addVoucherToCartRequest.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ import useHttpRequest from '../../../components/http/useHttpRequest';
/**
* @typedef ServerResponse
* @type {object}
* @property {string|string[]} errors The errors returned by the server
* @property {number} id_customization Always 0
* @property {number} id_product Always 0
* @property {number} id_product_attribute Always 0
* @property {number} quantity Always 0
* @property {boolean} success Always 0
* @property {object} cart cart front object
* @property {string|string[]} errors - the errors returned by the server
* @property {number} id_customization - always 0
* @property {number} id_product - always 0
* @property {number} id_product_attribute - always 0
* @property {number} quantity - always 0
* @property {boolean} success - always 0
* @property {object} cart - cart front object
*/

/**
Expand Down
14 changes: 7 additions & 7 deletions _dev/js/theme/core/cart/request/deleteVoucherFromCartRequest.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ import useHttpRequest from '../../../components/http/useHttpRequest';
/**
* @typedef ServerResponse
* @type {object}
* @property {string|string[]} errors The errors returned by the server
* @property {number} id_customization Always 0
* @property {number} id_product Always 0
* @property {number} id_product_attribute Always 0
* @property {number} quantity Always 0
* @property {boolean} success Always 0
* @property {object} cart cart front object
* @property {string|string[]} errors - the errors returned by the server
* @property {number} id_customization - always 0
* @property {number} id_product - always 0
* @property {number} id_product_attribute - always 0
* @property {number} quantity - always 0
* @property {boolean} success - always 0
* @property {object} cart - cart front object
*/

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import useHttpRequest from '../../../components/http/useHttpRequest';
/**
* @typedef ServerResponse
* @type {object}
* @property {string} cartUrl cart page url
* @property {boolean} errors errors flag (true if errors)
* @property {string} cartUrl - cart page url
* @property {boolean} errors - errors flag (true if errors)
*/

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import useHttpRequest from '../../../components/http/useHttpRequest';
/**
* @typedef ServerResponse
* @type {object}
* @property {string} preview checkout summary html content
* @property {string} preview - checkout summary html content
*/

/**
Expand Down

0 comments on commit 7048c92

Please sign in to comment.