Ghost/ghost/collections/src
Naz 694ab1d32d Added support for expansions in collection filters
refs https://github.com/TryGhost/Arch/issues/46

- Similarly to post filters, collection filters now support both 'tag' and 'tags' nql filter keys when defining a filter for related tag slugs. For example, both `tag:avocado` and `tags:avocado` would both be valid collection filters that would filter by the same 'slug' property of the tags assigned to a post.
- Along with these changes had to rework the tags property of the collection posts to match the shape used in post resources. Moved from:
`tags: ['bacon', 'broc']`
to
`tags:[{slug: 'bacon'}, {slug: 'broc'}]`
2023-07-25 19:01:56 +08:00
..
events Added support for expansions in collection filters 2023-07-25 19:01:56 +08:00
Collection.ts Added support for expansions in collection filters 2023-07-25 19:01:56 +08:00
CollectionPost.ts Added support for expansions in collection filters 2023-07-25 19:01:56 +08:00
CollectionRepository.ts Reworked PostsRepository to use model layer 2023-07-21 19:46:22 +08:00
CollectionsRepositoryInMemory.ts Wrapped collection's post adding logic in transaction 2023-07-21 19:46:22 +08:00
CollectionsService.ts Added support for expansions in collection filters 2023-07-25 19:01:56 +08:00
index.ts Removed CollectionResourceChangeEvent handling 2023-07-21 19:46:22 +08:00
libraries.d.ts
RepositoryUniqueChecker.ts
UniqueChecker.ts