0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/test/utils/fixtures
naz ffd866cedc
💥 Reduced default exports content for DB APIs (#12818)
refs https://github.com/TryGhost/Team/issues/555

- Export files included a lot of data which was not used in the importer, for example: members,  labels, migrations and many more. This lead to a lot of clutter in the import files and made it hard to reason about their purpose.
- The main purpose of exports - is to export importable resources. These are posts, tags, and users. The rest of data like members or migrations either have their own importer (like CSV importer for members) or does not and should not have any ways to be imported.
- These changes are in now way complete. It's a first step towards resource-based exports which could be properly versioned in the future on API level and not be a mirror of the DB structure.
- This is sort of a breaking change. But we are doing it because: (1) its an internal API that should not be used by external clients, (2) there was no public contract to have this API stable at any point, (3) we really need to get back the control over export files structure and size
- In case an external client was dependent on some structure of the exported json file they can still pass in ALL of previously exported data by passing table names in `include` query parameter.
2021-03-25 19:27:49 +13:00
..
config Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00
csv Updated canary members controller to use new Importer 2020-12-09 19:25:57 +00:00
data 🐛 Fixed redirects "to" query params forwarding (#12333) 2021-01-05 14:11:06 +13:00
export 💥 Reduced default exports content for DB APIs (#12818) 2021-03-25 19:27:49 +13:00
filter-param Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
images New logo in Admin (#12768) 2021-03-18 17:27:27 +00:00
import Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00
settings Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00
themes 🐛 Fixed @price template data to work with price helper (#12764) 2021-03-18 16:13:10 +00:00
cache-rules.js Moved cacheRules from testUtils into fixtures 2021-02-17 17:55:38 +00:00
context.js Split test utilities out into separate files 2021-02-16 20:17:04 +00:00
data-generator.js 🐛 Fixed complimentary members' content gating (#12761) 2021-03-15 19:13:48 +13:00
test.hbs Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00