28 lines
487 B
TypeScript
28 lines
487 B
TypeScript
import { CollectionConfig } from '../../../src/collections/config/types';
|
|
|
|
export const Pages: CollectionConfig = {
|
|
slug: 'pages',
|
|
// TODO: wire up versions methods
|
|
// versions: {
|
|
// drafts: true,
|
|
// },
|
|
fields: [
|
|
{
|
|
name: 'slug',
|
|
type: 'text',
|
|
localized: true,
|
|
},
|
|
{
|
|
name: 'meta',
|
|
type: 'group',
|
|
fields: [
|
|
{
|
|
type: 'text',
|
|
name: 'title',
|
|
localized: true,
|
|
},
|
|
],
|
|
},
|
|
],
|
|
};
|