const { DateTime, Relationship } = require('@keystonejs/fields'); const { AutoIncrement } = require('@keystonejs/fields-auto-increment'); module.exports = { fields: { eshop_removed_id: { type: AutoIncrement, isRequired: true, label: 'eshop_removed' }, shops_id: { type: Relationship, ref: 'shops', many: false, label: 'Magazyn' }, items_id: { type: Relationship, ref: 'items', many: false, label: 'Egzemplarze' }, article_id: { type: Relationship, ref: 'items', many: false, label: 'Artykul' }, productsguid_id: { type: Relationship, ref: 'products', many: false, label: 'Produkt' }, removed_at: { type: DateTime, format: 'DD.MM.YYYY h:mm', isRequired: true, label: 'Data usuniecia' }, }//, label: 'Usuniete z e-sklepu'////, plural: 'Usuniete z e-sklepu' };