overleaf/services/web/scripts/recurly
Antoine Clausse 01188589f8 Add some JSDoc types to @overleaf/logger (#19153)
* Add some JSDoc types to `@overleaf/logger`

* Update `logger.error` calls

* Fixup `logger.err` JSDoc

* Update `logger.err` calls

* Fix `args` type

* Remove "Error message" description

* Replace `arguments` by actual arguments of the method

* Fix: "ESLint: Unnecessary '.apply()'.(no-useless-call)"

* Add JSDoc params to `debug` `info` `warn`

* Remove extra `args` param in JSDoc so developers aren't invited to use it

Not sure if this is the best thing to do because it creates a warning in the IDE: "Parameter args is not described in JSDoc"

* Add comment about serialization of `err` `req` `res`

* Allow strings as first param in `debug` `info` `warn`

* Fix syntax for optional parameters in JSDoc

* Add 2 signatures, to avoid "string, string" params

* Fix `@signature` names copy-pastes

Co-authored-by: Jakob Ackermann <jakob.ackermann@overleaf.com>

* Revert the double `@param attributes`. It doesn't work

---------

Co-authored-by: Jakob Ackermann <jakob.ackermann@overleaf.com>
GitOrigin-RevId: 086dee8bbf30d577c5e1f844a9df5e518c46aca7
2024-06-28 08:04:25 +00:00
..
change_prices_at_renewal.js Merge pull request #11435 from overleaf/em-price-increase-script 2023-01-26 09:04:21 +00:00
collect_paypal_past_due_invoice.js Add some JSDoc types to @overleaf/logger (#19153) 2024-06-28 08:04:25 +00:00
Gemfile Merge pull request #1107 from sharelatex/ja-purchase-groups 2018-11-13 13:50:46 +00:00
generate_recurly_prices.js Merge pull request #12816 from overleaf/bg-recurly-scripts-cleanup 2023-04-27 08:05:52 +00:00
get_paypal_accounts_csv.js Merge pull request #3942 from overleaf/prettier-trailing-comma 2021-04-28 02:10:01 +00:00
get_recurly_group_prices.js convert price_in_unit to price_in_cents 2022-01-21 09:03:29 +00:00
recurly_prices.js Merge pull request #12816 from overleaf/bg-recurly-scripts-cleanup 2023-04-27 08:05:52 +00:00
resync_subscriptions.js Merge pull request #18850 from overleaf/ac-promisify-resync-subscriptions 2024-06-26 08:04:57 +00:00
sync_recurly.rb Set tax type to digital in Recurly plans script 2018-11-13 15:02:30 +00:00