const { Integer, Text } = require('@keystonejs/fields'); const { AutoIncrement } = require('@keystonejs/fields-auto-increment'); module.exports = { fields: { id: { type: Integer, label: 'ID VAT' }, value: { type: Integer, isRequired: true, label: 'Wartosc' }, name: { type: Text, isRequired: true, label: 'Nazwa' }, value_display: { type: Text, label: 'Wartosc wyswietlana' }, ptu: { type: Text, isRequired: true, label: 'Stawka PTU' }, }, label: 'Stawki VAT'//, plural: 'Stawka VAT' };