Ghost/core/server/data
Kevin Ansfield c2793eedd3 Fixed no-restricted-require warning for core/shared/url-utils.js
no issue

Our server-defined `mobiledoc` object was required by `UrlUtils.cardTransformers` property to help set up a shortcut for url transform functions but that was breaking the independence of `UrlUtils` by crossing the shared/server boundary.

- `cardTransformers` is only needed for the `mobiledocToTransformReady` utility function that will only be used by the server
- removed `UrlUtils.cardTransformers` (and associated require) from our `UrlUtils` instance and updated the few areas the server uses `mobiledocToTransformReady()` to pass in the mobiledoc card objects directly as an option
2021-05-25 21:13:57 +01:00
..
db 💡 Enabled foreign key checks on sqlite3 2021-03-02 11:13:19 +01:00
exporter Split data exporter's index file into separate module 2021-05-21 19:13:55 +04:00
importer Moved i18n to shared 2021-05-04 13:03:38 +01:00
migrations Fixed no-restricted-require warning for core/shared/url-utils.js 2021-05-25 21:13:57 +01:00
schema Replaced members 'comped' status with 'paid' 2021-05-19 18:49:18 +01:00
validation Moved i18n to shared 2021-05-04 13:03:38 +01:00