Files
payload/test/postgres/collections/LocalizedArrays.ts

20 lines
371 B
TypeScript

import type { CollectionConfig } from '../../../src/collections/config/types'
export const LocalizedArrays: CollectionConfig = {
slug: 'localized-arrays',
fields: [
{
name: 'array',
type: 'array',
required: true,
localized: true,
fields: [
{
name: 'text',
type: 'text',
},
],
},
],
}