Ghost/ghost/admin/app/adapters
Simon Backx 3a11faf0b6 Updated publishing with renamed newsletter and email_segment options (#2380)
refs https://github.com/TryGhost/Team/issues/1596

This commit updates admin to align with the changes in the backend in https://github.com/TryGhost/Ghost/pull/14798

- `post.email_recipient_filter` option and property is renamed to `email_segment`
- `newsletter_id` option is renamed to `newsletter` (and now uses slug instead of id)
- Sending a post via email, means you need to set the `newsletter` option. The `email_segment` option is optional now and defaults to `all`. Not setting `newsletter` means not sending an email, setting `email_segment` is ignored if `newsletter` is missing.
- We can no longer use `email_recipient_filter` (now renamed to `email_segment`) to know whether a post is published/scheduled to be sent as an email. We need to rely on the newsletter relation now. The `email_segment` `none` value has been dropped and will be `all` even if no email will be sent (newsletter will be null). 
- `sendEmailWhenPublished` option is no longer supported in the backend.
2022-05-16 10:18:46 +02:00
..
api-key.js [chore] runs native classes codemod for app/adapters (#2239) 2022-02-02 16:57:22 +00:00
application.js [chore] runs native classes codemod for app/adapters (#2239) 2022-02-02 16:57:22 +00:00
base.js Fixed API path generation for multi-segmented model names 2021-09-23 23:52:50 +01:00
custom-theme-setting-list.js Added customThemeSettings service with all-records-in-one save request 2021-09-28 16:50:28 +01:00
email.js [chore] runs native classes codemod for app/adapters (#2239) 2022-02-02 16:57:22 +00:00
embedded-relation-adapter.js Fixed include transformation in query for embedded relations 2022-02-28 15:44:57 +05:30
label.js [chore] runs native classes codemod for app/adapters (#2239) 2022-02-02 16:57:22 +00:00
member.js [chore] runs native classes codemod for app/adapters (#2239) 2022-02-02 16:57:22 +00:00
newsletter.js Fixed newsletter includes when adding or editing (#2365) 2022-05-05 11:31:45 +02:00
offer.js [chore] runs native classes codemod for app/adapters (#2239) 2022-02-02 16:57:22 +00:00
page.js [chore] runs native classes codemod for app/adapters (#2239) 2022-02-02 16:57:22 +00:00
post.js Updated publishing with renamed newsletter and email_segment options (#2380) 2022-05-16 10:18:46 +02:00
setting.js [chore] runs native classes codemod for app/adapters (#2239) 2022-02-02 16:57:22 +00:00
tag.js [chore] runs native classes codemod for app/adapters (#2239) 2022-02-02 16:57:22 +00:00
theme.js [chore] runs native classes codemod for app/adapters (#2239) 2022-02-02 16:57:22 +00:00
tier.js Renamed products to tiers (#2372) 2022-05-11 22:41:54 +05:30
user.js [chore] runs native classes codemod for app/adapters (#2239) 2022-02-02 16:57:22 +00:00