Files
payload/test/live-preview/seed/post-3.ts
2024-03-08 14:42:24 -05:00

52 lines
1.1 KiB
TypeScript

import type { Post } from '../payload-types.js'
export const post3: Omit<Post, 'createdAt' | 'id' | 'updatedAt'> = {
title: 'Post 3',
slug: 'post-3',
meta: {
title: 'Post 3',
description: 'This is the third post.',
image: '{{IMAGE}}',
},
tenant: '{{TENANT_1_ID}}',
hero: {
type: 'lowImpact',
richText: [
{
children: [
{
text: 'Post 3',
},
],
type: 'h1',
},
],
media: null,
},
layout: [
{
blockType: 'content',
columns: [
{
size: 'twoThirds',
richText: [
{
children: [
{
text: "This content is completely dynamic using custom layout building blocks configured in the CMS. This can be anything you'd like from rich text and images, to highly designed, complex components.",
},
],
},
],
link: {
type: 'custom',
url: '',
label: '',
},
},
],
},
],
relatedPosts: [], // this is populated by the seed script
}