Files
payload/test/int/array-update/config.ts
Elliot DeNolf 90ba15f9bd feat: testing refactor (e2e/int) (#748)
Co-authored-by: James <james@trbl.design>
Co-authored-by: Dan Ribbens <dan.ribbens@gmail.com>
2022-07-13 11:00:10 -07:00

25 lines
427 B
TypeScript

import { buildConfig } from '../buildConfig';
export default buildConfig({
collections: [{
slug: 'arrays',
fields: [
{
name: 'array',
type: 'array',
fields: [
{
type: 'text',
name: 'required',
required: true,
},
{
type: 'text',
name: 'optional',
},
],
},
],
}],
});