Ghost/ghost/collections/test/fixtures/posts.ts

38 lines
1.2 KiB
TypeScript
Raw Normal View History

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