| 12345678910111213 |
- const { DateTime, Relationship, Integer } = require('@keystonejs/fields');
- const { AutoIncrement } = require('@keystonejs/fields-auto-increment');
- module.exports = {
- fields: {
- id: { type: Integer, 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'
- };
|