20 lines
368 B
TypeScript
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',
|
|
},
|
|
],
|
|
},
|
|
],
|
|
};
|