---
to: <%- collectionName -%>.ts
---
import type { DataCollection } from '<%- builderPackage -%>'

export const collectionIdSuffix = '<%- collectionName -%>';

export default {
  idSuffix: collectionIdSuffix,
  displayName: '<%- collectionName -%>',
  fields: [
    {
      type: 'TEXT',
      displayName: 'Title',
      key: 'title',
    },
    {
      type: 'IMAGE',
      displayName: 'Image',
      key: 'image',
    },
  ],
  displayField: 'title',
  dataPermissions: {
    itemInsert: 'CMS_EDITOR',
    itemRead: 'CMS_EDITOR',
    itemRemove: 'CMS_EDITOR',
    itemUpdate: 'CMS_EDITOR',
  },
  indexes: [],
  initialData: [],
} satisfies DataCollection;
