import { DateField } from '@dvn/core/doldurma/src/fields/date';
import { DateDataType } from '@dvn/core/doldurma/src/fields/date/date';
import { TextField } from '@dvn/core/doldurma/src/fields/text';
import { DataModel } from '@dvn/core/models/data-model';
export const dataConfigs = {
  'devingen-workspaces': DataModel.decode({
    _id: 'devingen-workspaces',
    base: 'devingen-dev',
    fields: [
      new DateField('_created', 'Created')
        .setDataType(DateDataType.Unix)
        .setDateFormat('DD MMM YYYY HH:mm'),
      new TextField('name', 'Name'),
    ],
    name: 'devingen-workspaces',
  }),
};
