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

20 lines
368 B
TypeScript

import { 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',
},
],
},
],
};