Ghost/ghost/collections/test/fixtures/posts.ts
Naz 66d489b8b3 Added Posts relation support to collections package
refs https://github.com/TryGhost/Team/issues/3260

- Adds "posts" relation to Collection entity to manage posts belonging to the collection
2023-05-31 22:55:35 +07:00

20 lines
442 B
TypeScript

export const posts = [{
id: 'post-1',
title: 'Post 1',
slug: 'post-1',
featured: false,
published_at: new Date('2023-03-15T07:19:07.447Z')
}, {
id: 'post-2',
title: 'Post 2',
slug: 'post-2',
featured: false,
published_at: new Date('2023-04-05T07:20:07.447Z')
}, {
id: 'post-3',
title: 'Post 3',
slug: 'post-3',
featured: true,
published_at: new Date('2023-05-25T07:21:07.447Z')
}];